diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7735a274..fd1fa53e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,6 +11,7 @@ updates: interval: "weekly" labels: - "maintenance" + - "dependencies" - package-ecosystem: "github-actions" directory: "/" @@ -18,10 +19,12 @@ updates: interval: "weekly" labels: - "maintenance" - + - "dependencies" + - package-ecosystem: "pip" # See documentation for possible values directory: "/ansys-grantami-serverapi-openapi/" # Location of package manifests schedule: interval: "weekly" labels: - "maintenance" + - "dependencies" diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..efdb35ce --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,20 @@ +api-definition: +- changed-files: + - any-glob-to-any-file: ['yaml/*'] +code-gen: +- changed-files: + - any-glob-to-any-file: ['pom.xml'] +documentation: +- changed-files: + - any-glob-to-any-file: ['doc/source/**/*', 'examples/**/*'] +enhancement: +- head-branch: ['^feat/'] +bug: +- head-branch: ['^fix/', '^patch/'] +maintenance: +- changed-files: + - any-glob-to-any-file: ['.github/**/*', '.flake8', 'pyproject.toml'] +- head-branch: ['^maint/', '^ci/', '^no-ci/'] +dependencies: +- changed-files: + - any-glob-to-any-file: ['poetry.lock'] \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..fe796992 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,23 @@ +changelog: + exclude: + labels: + - dependencies + categories: + - title: "API Definition" + labels: + - api-definition + - title: "Code generation" + labels: + - code-gen + - title: "Features" + labels: + - enhancement + - title: "Bug fixes" + labels: + - bug + - title: "Maintenance" + labels: + - maintenance + - title: "Other changes" + labels: + - "*" \ No newline at end of file diff --git a/.github/workflows/build_and_test_library.yml b/.github/workflows/build_and_test_library.yml index 42e5928f..3f01a340 100644 --- a/.github/workflows/build_and_test_library.yml +++ b/.github/workflows/build_and_test_library.yml @@ -127,6 +127,7 @@ jobs: TWINE_REPOSITORY_URL: "https://upload.pypi.org/legacy/" - name: "Release to GitHub" - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: ~/dist/ansys-grantami-serverapi-openapi-wheel/*.whl + generate_release_notes: true \ No newline at end of file diff --git a/.github/workflows/generate_library.yml b/.github/workflows/generate_library.yml index 11cf0a1b..e0dbae70 100644 --- a/.github/workflows/generate_library.yml +++ b/.github/workflows/generate_library.yml @@ -19,7 +19,7 @@ jobs: steps: - name: "Get Bot Application Token" id: get_workflow_token - uses: peter-murray/workflow-application-token-action@v2 + uses: peter-murray/workflow-application-token-action@v3 with: application_id: ${{ secrets.BOT_APPLICATION_ID }} application_private_key: ${{ secrets.BOT_APPLICATION_PRIVATE_KEY }} @@ -29,7 +29,7 @@ jobs: with: token: ${{ steps.get_workflow_token.outputs.token }} ref: ${{ github.event.pull_request.head.ref }} - + - name: "Set up JDK 11" uses: actions/setup-java@v4 with: @@ -58,11 +58,11 @@ jobs: poetry lock --no-update working-directory: ansys-grantami-serverapi-openapi - - name: "Install and run black" + - name: "Install and run pre-commit" run: | - pip install black - black ./src ./tests - working-directory: ansys-grantami-serverapi-openapi + pip install pre-commit + git add ansys-grantami-serverapi-openapi/ + ! pre-commit run --all-files - name: "Commit changes to library code" uses: EndBug/add-and-commit@v9 diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 00000000..4a44868d --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,41 @@ +name: Labeler +on: + pull_request: + push: + branches: [ main ] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + + labeler: + name: Set labels + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + + - name: Label based on changed files + uses: actions/labeler@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + + commenter: + runs-on: ubuntu-latest + steps: + - name: Suggest to add labels + uses: peter-evans/create-or-update-comment@v4 + # Execute only when no labels have been applied to the pull request + if: toJSON(github.event.pull_request.labels.*.name) == '{}' + with: + issue-number: ${{ github.event.pull_request.number }} + body: | + Please add one of the following labels to add this contribution to the Release Notes :point_down: + - [api-definition](https://github.com/ansys/grantami-serverapi-openapi/pulls?q=label%3Aapi-definition) + - [code-gen](https://github.com/ansys/grantami-serverapi-openapi/pulls?q=label%3Acode-gen+) + - [enhancement](https://github.com/ansys/grantami-serverapi-openapi/pulls?q=label%3Aenhancement+) + - [maintenance](https://github.com/ansys/grantami-serverapi-openapi/pulls?q=label%3Amaintenance+) + - [bug](https://github.com/ansys/grantami-serverapi-openapi/pulls?q=label%3Abug+) \ No newline at end of file diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 00000000..16f2683c --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,6 @@ +[settings] +profile=black +force_sort_within_sections=true +line_length=100 +default_section=THIRDPARTY +src_paths=src,tests \ No newline at end of file diff --git a/.m2/settings.xml b/.m2/settings.xml index ca2e249d..7c2f9f06 100644 --- a/.m2/settings.xml +++ b/.m2/settings.xml @@ -38,7 +38,7 @@ - + github diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..e4af08ae --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,31 @@ +repos: + +- repo: https://github.com/psf/black + rev: 24.3.0 + hooks: + - id: black + files: '^ansys-grantami-serverapi-openapi/(src|tests)' + args: + - '--line-length=100' + +- repo: https://github.com/pycqa/isort + rev: 5.13.2 + hooks: + - id: isort + files: '^ansys-grantami-serverapi-openapi/(src|tests)' + +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-yaml + - id: debug-statements + - id: check-merge-conflict + - id: trailing-whitespace + +- repo: https://github.com/ansys/pre-commit-hooks + rev: v0.2.8 + hooks: + - id: add-license-headers + args: + - --start_year=2023 + files: 'ansys-grantami-serverapi-openapi/(src|tests)/.*\.(py)' \ No newline at end of file diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..ad2280c9 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,16 @@ +# This is the list of GRANTA MI Server API Client significant contributors. +# +# This file does not necessarily list everyone who has contributed code, +# especially since many employees of one corporation may be contributing. +# To see the full list of contributors, see the revision history in +# source control. +# +# For contributions made under a Corporate CLA, then the copyright +# belongs to that organization. +# +# If a contribution was made under an Individual CLA, the submitter +# has indicated that they own the copyright. If that is your case, and +# you want to be added to this file, please submit a request. +# +# +ANSYS, Inc. diff --git a/AUTHORS.md b/CONTRIBUTORS.md similarity index 53% rename from AUTHORS.md rename to CONTRIBUTORS.md index d9ae2d50..cc3f1a4b 100644 --- a/AUTHORS.md +++ b/CONTRIBUTORS.md @@ -1,10 +1,8 @@ -# Authors - -## Project Lead or Owner +## Project Lead * [Andy Grigg](https://github.com/Andy-Grigg) ## Contributors * [Doug Addy](https://github.com/da1910) -* [Ludovic Steinbach](https://github.com/ludovicsteinbach) \ No newline at end of file +* [Ludovic Steinbach](https://github.com/ludovicsteinbach) diff --git a/README.md b/README.md index 50a0cdcb..5dec01e3 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,12 @@ Once the tag is pushed to GitHub, a workflow will build and publish the release. As stated above, direct use of this package is unsupported. The recommended approach is to use the idiomatic libraries written for specific API areas. -We do understand that internal or external users might want to experiment with Granta MI Server API functionality that +We do understand that internal or external users might want to experiment with Granta MI Server API functionality that is not exposed via an idiomatic python library. To that extent, the following sections demonstrate how to install and get started with the library. ### Requirements -The `ansys-grantami-serverapi-openapi` package requires Granta MI. The following table details compatibility between +The `ansys-grantami-serverapi-openapi` package requires Granta MI. The following table details compatibility between Granta MI releases and versions of the Python package. | Granta MI | ansys-grantami-serverapi-openapi | @@ -69,8 +69,8 @@ Granta MI releases and versions of the Python package. ### Installation -During active development phases of Granta MI, this repository is kept up to date with new versions of the API -documentation. To use the most up-to-date version of this package in another project, add a dependency on the +During active development phases of Granta MI, this repository is kept up to date with new versions of the API +documentation. To use the most up-to-date version of this package in another project, add a dependency on the repository's main branch, e.g. with poetry: ```console @@ -84,7 +84,7 @@ Or with pip: ``` ### Minimal setup -The following code snippet demonstrates how to perform the minimal setup required to interact with the API using this +The following code snippet demonstrates how to perform the minimal setup required to interact with the API using this library. ```python @@ -130,11 +130,11 @@ class Connection(ApiClientFactory): if __name__ == '__main__': from ansys.grantami.serverapi_openapi import api - + # Update URL and connection method for your system URL = "http://my_server_name/mi_servicelayer" api_client = Connection(api_url=URL).with_autologon().connect() - + schema_api = api.SchemaApi(api_client) server_version = schema_api.v1alpha_schema_mi_version_get() print(server_version.version) diff --git a/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION b/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION index 97e616f0..248908e6 100644 --- a/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION +++ b/ansys-grantami-serverapi-openapi/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.52 \ No newline at end of file +3.0.54 \ No newline at end of file diff --git a/ansys-grantami-serverapi-openapi/poetry.lock b/ansys-grantami-serverapi-openapi/poetry.lock index 246d310c..4d63659e 100644 --- a/ansys-grantami-serverapi-openapi/poetry.lock +++ b/ansys-grantami-serverapi-openapi/poetry.lock @@ -277,13 +277,13 @@ test = ["pytest (>=6)"] [[package]] name = "idna" -version = "3.4" +version = "3.7" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, + {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, + {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, ] [[package]] @@ -299,38 +299,38 @@ files = [ [[package]] name = "mypy" -version = "1.8.0" +version = "1.9.0" description = "Optional static typing for Python" optional = false python-versions = ">=3.8" files = [ - {file = "mypy-1.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:485a8942f671120f76afffff70f259e1cd0f0cfe08f81c05d8816d958d4577d3"}, - {file = "mypy-1.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:df9824ac11deaf007443e7ed2a4a26bebff98d2bc43c6da21b2b64185da011c4"}, - {file = "mypy-1.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2afecd6354bbfb6e0160f4e4ad9ba6e4e003b767dd80d85516e71f2e955ab50d"}, - {file = "mypy-1.8.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8963b83d53ee733a6e4196954502b33567ad07dfd74851f32be18eb932fb1cb9"}, - {file = "mypy-1.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:e46f44b54ebddbeedbd3d5b289a893219065ef805d95094d16a0af6630f5d410"}, - {file = "mypy-1.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:855fe27b80375e5c5878492f0729540db47b186509c98dae341254c8f45f42ae"}, - {file = "mypy-1.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4c886c6cce2d070bd7df4ec4a05a13ee20c0aa60cb587e8d1265b6c03cf91da3"}, - {file = "mypy-1.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d19c413b3c07cbecf1f991e2221746b0d2a9410b59cb3f4fb9557f0365a1a817"}, - {file = "mypy-1.8.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9261ed810972061388918c83c3f5cd46079d875026ba97380f3e3978a72f503d"}, - {file = "mypy-1.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:51720c776d148bad2372ca21ca29256ed483aa9a4cdefefcef49006dff2a6835"}, - {file = "mypy-1.8.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:52825b01f5c4c1c4eb0db253ec09c7aa17e1a7304d247c48b6f3599ef40db8bd"}, - {file = "mypy-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f5ac9a4eeb1ec0f1ccdc6f326bcdb464de5f80eb07fb38b5ddd7b0de6bc61e55"}, - {file = "mypy-1.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afe3fe972c645b4632c563d3f3eff1cdca2fa058f730df2b93a35e3b0c538218"}, - {file = "mypy-1.8.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:42c6680d256ab35637ef88891c6bd02514ccb7e1122133ac96055ff458f93fc3"}, - {file = "mypy-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:720a5ca70e136b675af3af63db533c1c8c9181314d207568bbe79051f122669e"}, - {file = "mypy-1.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:028cf9f2cae89e202d7b6593cd98db6759379f17a319b5faf4f9978d7084cdc6"}, - {file = "mypy-1.8.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4e6d97288757e1ddba10dd9549ac27982e3e74a49d8d0179fc14d4365c7add66"}, - {file = "mypy-1.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f1478736fcebb90f97e40aff11a5f253af890c845ee0c850fe80aa060a267c6"}, - {file = "mypy-1.8.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:42419861b43e6962a649068a61f4a4839205a3ef525b858377a960b9e2de6e0d"}, - {file = "mypy-1.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:2b5b6c721bd4aabaadead3a5e6fa85c11c6c795e0c81a7215776ef8afc66de02"}, - {file = "mypy-1.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5c1538c38584029352878a0466f03a8ee7547d7bd9f641f57a0f3017a7c905b8"}, - {file = "mypy-1.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ef4be7baf08a203170f29e89d79064463b7fc7a0908b9d0d5114e8009c3a259"}, - {file = "mypy-1.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7178def594014aa6c35a8ff411cf37d682f428b3b5617ca79029d8ae72f5402b"}, - {file = "mypy-1.8.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ab3c84fa13c04aeeeabb2a7f67a25ef5d77ac9d6486ff33ded762ef353aa5592"}, - {file = "mypy-1.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:99b00bc72855812a60d253420d8a2eae839b0afa4938f09f4d2aa9bb4654263a"}, - {file = "mypy-1.8.0-py3-none-any.whl", hash = "sha256:538fd81bb5e430cc1381a443971c0475582ff9f434c16cd46d2c66763ce85d9d"}, - {file = "mypy-1.8.0.tar.gz", hash = "sha256:6ff8b244d7085a0b425b56d327b480c3b29cafbd2eff27316a004f9a7391ae07"}, + {file = "mypy-1.9.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f8a67616990062232ee4c3952f41c779afac41405806042a8126fe96e098419f"}, + {file = "mypy-1.9.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d357423fa57a489e8c47b7c85dfb96698caba13d66e086b412298a1a0ea3b0ed"}, + {file = "mypy-1.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49c87c15aed320de9b438ae7b00c1ac91cd393c1b854c2ce538e2a72d55df150"}, + {file = "mypy-1.9.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:48533cdd345c3c2e5ef48ba3b0d3880b257b423e7995dada04248725c6f77374"}, + {file = "mypy-1.9.0-cp310-cp310-win_amd64.whl", hash = "sha256:4d3dbd346cfec7cb98e6cbb6e0f3c23618af826316188d587d1c1bc34f0ede03"}, + {file = "mypy-1.9.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:653265f9a2784db65bfca694d1edd23093ce49740b2244cde583aeb134c008f3"}, + {file = "mypy-1.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3a3c007ff3ee90f69cf0a15cbcdf0995749569b86b6d2f327af01fd1b8aee9dc"}, + {file = "mypy-1.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2418488264eb41f69cc64a69a745fad4a8f86649af4b1041a4c64ee61fc61129"}, + {file = "mypy-1.9.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:68edad3dc7d70f2f17ae4c6c1b9471a56138ca22722487eebacfd1eb5321d612"}, + {file = "mypy-1.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:85ca5fcc24f0b4aeedc1d02f93707bccc04733f21d41c88334c5482219b1ccb3"}, + {file = "mypy-1.9.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aceb1db093b04db5cd390821464504111b8ec3e351eb85afd1433490163d60cd"}, + {file = "mypy-1.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0235391f1c6f6ce487b23b9dbd1327b4ec33bb93934aa986efe8a9563d9349e6"}, + {file = "mypy-1.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4d5ddc13421ba3e2e082a6c2d74c2ddb3979c39b582dacd53dd5d9431237185"}, + {file = "mypy-1.9.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:190da1ee69b427d7efa8aa0d5e5ccd67a4fb04038c380237a0d96829cb157913"}, + {file = "mypy-1.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:fe28657de3bfec596bbeef01cb219833ad9d38dd5393fc649f4b366840baefe6"}, + {file = "mypy-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:e54396d70be04b34f31d2edf3362c1edd023246c82f1730bbf8768c28db5361b"}, + {file = "mypy-1.9.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:5e6061f44f2313b94f920e91b204ec600982961e07a17e0f6cd83371cb23f5c2"}, + {file = "mypy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:81a10926e5473c5fc3da8abb04119a1f5811a236dc3a38d92015cb1e6ba4cb9e"}, + {file = "mypy-1.9.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:b685154e22e4e9199fc95f298661deea28aaede5ae16ccc8cbb1045e716b3e04"}, + {file = "mypy-1.9.0-cp38-cp38-win_amd64.whl", hash = "sha256:5d741d3fc7c4da608764073089e5f58ef6352bedc223ff58f2f038c2c4698a89"}, + {file = "mypy-1.9.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:587ce887f75dd9700252a3abbc9c97bbe165a4a630597845c61279cf32dfbf02"}, + {file = "mypy-1.9.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f88566144752999351725ac623471661c9d1cd8caa0134ff98cceeea181789f4"}, + {file = "mypy-1.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61758fabd58ce4b0720ae1e2fea5cfd4431591d6d590b197775329264f86311d"}, + {file = "mypy-1.9.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:e49499be624dead83927e70c756970a0bc8240e9f769389cdf5714b0784ca6bf"}, + {file = "mypy-1.9.0-cp39-cp39-win_amd64.whl", hash = "sha256:571741dc4194b4f82d344b15e8837e8c5fcc462d66d076748142327626a1b6e9"}, + {file = "mypy-1.9.0-py3-none-any.whl", hash = "sha256:a260627a570559181a9ea5de61ac6297aa5af202f06fd7ab093ce74e7181e43e"}, + {file = "mypy-1.9.0.tar.gz", hash = "sha256:3cc5da0127e6a478cddd906068496a97a7618a21ce9b54bde5bf7e539c7af974"}, ] [package.dependencies] @@ -368,13 +368,13 @@ files = [ [[package]] name = "pluggy" -version = "1.3.0" +version = "1.4.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" files = [ - {file = "pluggy-1.3.0-py3-none-any.whl", hash = "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7"}, - {file = "pluggy-1.3.0.tar.gz", hash = "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"}, + {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, + {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, ] [package.extras] @@ -441,13 +441,13 @@ yaml = ["ruamel.yaml"] [[package]] name = "pytest" -version = "8.0.0" +version = "8.1.1" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.0.0-py3-none-any.whl", hash = "sha256:50fb9cbe836c3f20f0dfa99c565201fb75dc54c8d76373cd1bde06b06657bdb6"}, - {file = "pytest-8.0.0.tar.gz", hash = "sha256:249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c"}, + {file = "pytest-8.1.1-py3-none-any.whl", hash = "sha256:2a8386cfc11fa9d2c50ee7b2a57e7d898ef90470a7a34c4b949ff59662bb78b7"}, + {file = "pytest-8.1.1.tar.gz", hash = "sha256:ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044"}, ] [package.dependencies] @@ -455,21 +455,21 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.3.0,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} +pluggy = ">=1.4,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -521,22 +521,20 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] [[package]] name = "requests-mock" -version = "1.11.0" +version = "1.12.1" description = "Mock out responses from the requests package" optional = false -python-versions = "*" +python-versions = ">=3.5" files = [ - {file = "requests-mock-1.11.0.tar.gz", hash = "sha256:ef10b572b489a5f28e09b708697208c4a3b2b89ef80a9f01584340ea357ec3c4"}, - {file = "requests_mock-1.11.0-py2.py3-none-any.whl", hash = "sha256:f7fae383f228633f6bececebdab236c478ace2284d6292c6e7e2867b9ab74d15"}, + {file = "requests-mock-1.12.1.tar.gz", hash = "sha256:e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401"}, + {file = "requests_mock-1.12.1-py2.py3-none-any.whl", hash = "sha256:b1e37054004cdd5e56c84454cc7df12b25f90f382159087f4b6915aaeef39563"}, ] [package.dependencies] -requests = ">=2.3,<3" -six = "*" +requests = ">=2.22,<3" [package.extras] fixture = ["fixtures"] -test = ["fixtures", "mock", "purl", "pytest", "requests-futures", "sphinx", "testtools"] [[package]] name = "requests-negotiate-sspi" diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index 765ff5cc..0a6a5baa 100644 --- a/ansys-grantami-serverapi-openapi/pyproject.toml +++ b/ansys-grantami-serverapi-openapi/pyproject.toml @@ -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 = "3.0.0a3" +version = "3.0.0a4" license = "MIT" authors = ["ANSYS, Inc. "] maintainers = ["ANSYS, Inc. "] @@ -14,7 +14,7 @@ documentation = "https://grantami.docs.pyansys.com" readme = "README.md" keywords = ["Ansys", "OpenAPI"] classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py index 68daa954..1eb1c0b0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/__init__.py @@ -1,3 +1,25 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + # flake8: noqa """ @@ -6,7 +28,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -25,15 +47,12 @@ from .api.metrics_api import MetricsApi from .api.records___record_histories_api import RecordsRecordHistoriesApi from .api.records___record_versions_api import RecordsRecordVersionsApi -from .api.schema_api import SchemaApi from .api.schema___attributes_api import SchemaAttributesApi from .api.schema___configurations_api import SchemaConfigurationsApi from .api.schema___constants_api import SchemaConstantsApi from .api.schema___data_rules_api import SchemaDataRulesApi from .api.schema___databases_api import SchemaDatabasesApi -from .api.schema___discrete_types___discrete_values_api import ( - SchemaDiscreteTypesDiscreteValuesApi, -) +from .api.schema___discrete_types___discrete_values_api import SchemaDiscreteTypesDiscreteValuesApi from .api.schema___discrete_types_api import SchemaDiscreteTypesApi from .api.schema___exporters_api import SchemaExportersApi from .api.schema___expressions_api import SchemaExpressionsApi @@ -49,14 +68,15 @@ from .api.schema___subsets_api import SchemaSubsetsApi from .api.schema___tables_api import SchemaTablesApi from .api.schema___units_api import SchemaUnitsApi +from .api.schema_api import SchemaApi from .api.search_api import SearchApi from .api.selection_searches_api import SelectionSearchesApi from .api.status_api import StatusApi +from .models.folderguid_files_body1 import FolderguidFilesBody1 +from .models.folderguid_files_body2 import FolderguidFilesBody2 # import models into sdk package from .models.folderguid_files_body import FolderguidFilesBody -from .models.folderguid_files_body1 import FolderguidFilesBody1 -from .models.folderguid_files_body2 import FolderguidFilesBody2 from .models.granta_mi_record_property_fake_attribute_identities import ( GrantaMIRecordPropertyFakeAttributeIdentities, ) @@ -151,9 +171,7 @@ from .models.granta_server_api_aggregations_free_text_aggregation_criterion import ( GrantaServerApiAggregationsFreeTextAggregationCriterion, ) -from .models.granta_server_api_aggregations_histogram import ( - GrantaServerApiAggregationsHistogram, -) +from .models.granta_server_api_aggregations_histogram import GrantaServerApiAggregationsHistogram from .models.granta_server_api_aggregations_histogram_bucket import ( GrantaServerApiAggregationsHistogramBucket, ) @@ -250,9 +268,7 @@ from .models.granta_server_api_aggregations_value_with_count_of_system_int32 import ( GrantaServerApiAggregationsValueWithCountOfSystemInt32, ) -from .models.granta_server_api_all_values_specifier import ( - GrantaServerApiAllValuesSpecifier, -) +from .models.granta_server_api_all_values_specifier import GrantaServerApiAllValuesSpecifier from .models.granta_server_api_app_name_license_checkout_request import ( GrantaServerApiAppNameLicenseCheckoutRequest, ) @@ -265,16 +281,12 @@ from .models.granta_server_api_async_jobs_create_job_request import ( GrantaServerApiAsyncJobsCreateJobRequest, ) -from .models.granta_server_api_async_jobs_current_user import ( - GrantaServerApiAsyncJobsCurrentUser, -) +from .models.granta_server_api_async_jobs_current_user import GrantaServerApiAsyncJobsCurrentUser from .models.granta_server_api_async_jobs_get_jobs_response import ( GrantaServerApiAsyncJobsGetJobsResponse, ) from .models.granta_server_api_async_jobs_job import GrantaServerApiAsyncJobsJob -from .models.granta_server_api_async_jobs_job_status import ( - GrantaServerApiAsyncJobsJobStatus, -) +from .models.granta_server_api_async_jobs_job_status import GrantaServerApiAsyncJobsJobStatus from .models.granta_server_api_async_jobs_processing_config import ( GrantaServerApiAsyncJobsProcessingConfig, ) @@ -285,17 +297,11 @@ GrantaServerApiAsyncJobsUpdateJobRequest, ) from .models.granta_server_api_attribute_type import GrantaServerApiAttributeType -from .models.granta_server_api_data_applicable_datum import ( - GrantaServerApiDataApplicableDatum, -) -from .models.granta_server_api_data_date_time_datum import ( - GrantaServerApiDataDateTimeDatum, -) +from .models.granta_server_api_data_applicable_datum import GrantaServerApiDataApplicableDatum +from .models.granta_server_api_data_date_time_datum import GrantaServerApiDataDateTimeDatum from .models.granta_server_api_data_datum import GrantaServerApiDataDatum from .models.granta_server_api_data_datum_type import GrantaServerApiDataDatumType -from .models.granta_server_api_data_discrete_datum import ( - GrantaServerApiDataDiscreteDatum, -) +from .models.granta_server_api_data_discrete_datum import GrantaServerApiDataDiscreteDatum from .models.granta_server_api_data_discrete_parameter_with_value import ( GrantaServerApiDataDiscreteParameterWithValue, ) @@ -320,9 +326,7 @@ from .models.granta_server_api_data_export_datums_date_time_datum import ( GrantaServerApiDataExportDatumsDateTimeDatum, ) -from .models.granta_server_api_data_export_datums_datum import ( - GrantaServerApiDataExportDatumsDatum, -) +from .models.granta_server_api_data_export_datums_datum import GrantaServerApiDataExportDatumsDatum from .models.granta_server_api_data_export_datums_discrete_datum import ( GrantaServerApiDataExportDatumsDiscreteDatum, ) @@ -389,15 +393,11 @@ from .models.granta_server_api_data_export_datums_picture_datum import ( GrantaServerApiDataExportDatumsPictureDatum, ) -from .models.granta_server_api_data_export_datums_point import ( - GrantaServerApiDataExportDatumsPoint, -) +from .models.granta_server_api_data_export_datums_point import GrantaServerApiDataExportDatumsPoint from .models.granta_server_api_data_export_datums_point_datum import ( GrantaServerApiDataExportDatumsPointDatum, ) -from .models.granta_server_api_data_export_datums_range import ( - GrantaServerApiDataExportDatumsRange, -) +from .models.granta_server_api_data_export_datums_range import GrantaServerApiDataExportDatumsRange from .models.granta_server_api_data_export_datums_range_datum import ( GrantaServerApiDataExportDatumsRangeDatum, ) @@ -546,17 +546,11 @@ GrantaServerApiDataExportTabularRowExportBehavior, ) from .models.granta_server_api_data_file_datum import GrantaServerApiDataFileDatum -from .models.granta_server_api_data_hyperlink_datum import ( - GrantaServerApiDataHyperlinkDatum, -) -from .models.granta_server_api_data_hyperlink_target import ( - GrantaServerApiDataHyperlinkTarget, -) +from .models.granta_server_api_data_hyperlink_datum import GrantaServerApiDataHyperlinkDatum +from .models.granta_server_api_data_hyperlink_target import GrantaServerApiDataHyperlinkTarget from .models.granta_server_api_data_integer_datum import GrantaServerApiDataIntegerDatum from .models.granta_server_api_data_logical_datum import GrantaServerApiDataLogicalDatum -from .models.granta_server_api_data_long_text_datum import ( - GrantaServerApiDataLongTextDatum, -) +from .models.granta_server_api_data_long_text_datum import GrantaServerApiDataLongTextDatum from .models.granta_server_api_data_not_applicable_datum import ( GrantaServerApiDataNotApplicableDatum, ) @@ -567,20 +561,12 @@ GrantaServerApiDataParameterWithValue, ) from .models.granta_server_api_data_picture_datum import GrantaServerApiDataPictureDatum -from .models.granta_server_api_data_point_data_value import ( - GrantaServerApiDataPointDataValue, -) +from .models.granta_server_api_data_point_data_value import GrantaServerApiDataPointDataValue from .models.granta_server_api_data_point_datum import GrantaServerApiDataPointDatum from .models.granta_server_api_data_range_datum import GrantaServerApiDataRangeDatum -from .models.granta_server_api_data_rich_text_type import ( - GrantaServerApiDataRichTextType, -) -from .models.granta_server_api_data_rich_text_value import ( - GrantaServerApiDataRichTextValue, -) -from .models.granta_server_api_data_short_text_datum import ( - GrantaServerApiDataShortTextDatum, -) +from .models.granta_server_api_data_rich_text_type import GrantaServerApiDataRichTextType +from .models.granta_server_api_data_rich_text_value import GrantaServerApiDataRichTextValue +from .models.granta_server_api_data_short_text_datum import GrantaServerApiDataShortTextDatum from .models.granta_server_api_data_significant_figures_info import ( GrantaServerApiDataSignificantFiguresInfo, ) @@ -620,9 +606,7 @@ from .models.granta_server_api_exceptions_deletion_table_deletion_exception import ( GrantaServerApiExceptionsDeletionTableDeletionException, ) -from .models.granta_server_api_exceptions_error_detail import ( - GrantaServerApiExceptionsErrorDetail, -) +from .models.granta_server_api_exceptions_error_detail import GrantaServerApiExceptionsErrorDetail from .models.granta_server_api_exceptions_record_history_record_history_copy_exception import ( GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException, ) @@ -656,15 +640,11 @@ from .models.granta_server_api_exceptions_version_control_withdraw_record_version_control_exception import ( GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException, ) -from .models.granta_server_api_exclude_values_specifier import ( - GrantaServerApiExcludeValuesSpecifier, -) +from .models.granta_server_api_exclude_values_specifier import GrantaServerApiExcludeValuesSpecifier from .models.granta_server_api_functional_datum_parameter_info import ( GrantaServerApiFunctionalDatumParameterInfo, ) -from .models.granta_server_api_index_record_failure import ( - GrantaServerApiIndexRecordFailure, -) +from .models.granta_server_api_index_record_failure import GrantaServerApiIndexRecordFailure from .models.granta_server_api_indirect_links import GrantaServerApiIndirectLinks from .models.granta_server_api_integration_data_export_integration_data_export_request import ( GrantaServerApiIntegrationDataExportIntegrationDataExportRequest, @@ -729,9 +709,7 @@ from .models.granta_server_api_integration_schema_source_of_granta_server_api_object_identifier import ( GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier, ) -from .models.granta_server_api_link_attribute_type import ( - GrantaServerApiLinkAttributeType, -) +from .models.granta_server_api_link_attribute_type import GrantaServerApiLinkAttributeType from .models.granta_server_api_lists_dto_create_list_item import ( GrantaServerApiListsDtoCreateListItem, ) @@ -750,15 +728,9 @@ from .models.granta_server_api_lists_dto_list_boolean_criterion import ( GrantaServerApiListsDtoListBooleanCriterion, ) -from .models.granta_server_api_lists_dto_list_criterion import ( - GrantaServerApiListsDtoListCriterion, -) -from .models.granta_server_api_lists_dto_list_item import ( - GrantaServerApiListsDtoListItem, -) -from .models.granta_server_api_lists_dto_paging_options import ( - GrantaServerApiListsDtoPagingOptions, -) +from .models.granta_server_api_lists_dto_list_criterion import GrantaServerApiListsDtoListCriterion +from .models.granta_server_api_lists_dto_list_item import GrantaServerApiListsDtoListItem +from .models.granta_server_api_lists_dto_paging_options import GrantaServerApiListsDtoPagingOptions from .models.granta_server_api_lists_dto_record_list_header import ( GrantaServerApiListsDtoRecordListHeader, ) @@ -801,27 +773,21 @@ from .models.granta_server_api_lists_dto_update_user_permissions_info import ( GrantaServerApiListsDtoUpdateUserPermissionsInfo, ) -from .models.granta_server_api_lists_dto_user_or_group import ( - GrantaServerApiListsDtoUserOrGroup, -) +from .models.granta_server_api_lists_dto_user_or_group import GrantaServerApiListsDtoUserOrGroup from .models.granta_server_api_lists_dto_user_permission import ( GrantaServerApiListsDtoUserPermission, ) from .models.granta_server_api_lists_dto_user_permissions_info import ( GrantaServerApiListsDtoUserPermissionsInfo, ) -from .models.granta_server_api_lists_dto_user_role import ( - GrantaServerApiListsDtoUserRole, -) +from .models.granta_server_api_lists_dto_user_role import GrantaServerApiListsDtoUserRole from .models.granta_server_api_metrics_get_jobs_summary_response import ( GrantaServerApiMetricsGetJobsSummaryResponse, ) from .models.granta_server_api_metrics_job_type_and_status import ( GrantaServerApiMetricsJobTypeAndStatus, ) -from .models.granta_server_api_no_values_specifier import ( - GrantaServerApiNoValuesSpecifier, -) +from .models.granta_server_api_no_values_specifier import GrantaServerApiNoValuesSpecifier from .models.granta_server_api_object_identifier import GrantaServerApiObjectIdentifier from .models.granta_server_api_parameter_info import GrantaServerApiParameterInfo from .models.granta_server_api_parameter_info_interpolation_type import ( @@ -1089,9 +1055,7 @@ GrantaServerApiSchemaDataRulesUpdateDataRule, ) from .models.granta_server_api_schema_database import GrantaServerApiSchemaDatabase -from .models.granta_server_api_schema_databases_info import ( - GrantaServerApiSchemaDatabasesInfo, -) +from .models.granta_server_api_schema_databases_info import GrantaServerApiSchemaDatabasesInfo from .models.granta_server_api_schema_discrete_types_create_discrete_type import ( GrantaServerApiSchemaDiscreteTypesCreateDiscreteType, ) @@ -1137,27 +1101,15 @@ from .models.granta_server_api_schema_files_exporter_refetch_info import ( GrantaServerApiSchemaFilesExporterRefetchInfo, ) -from .models.granta_server_api_schema_files_file_header import ( - GrantaServerApiSchemaFilesFileHeader, -) -from .models.granta_server_api_schema_files_files_info import ( - GrantaServerApiSchemaFilesFilesInfo, -) -from .models.granta_server_api_schema_files_folder import ( - GrantaServerApiSchemaFilesFolder, -) +from .models.granta_server_api_schema_files_file_header import GrantaServerApiSchemaFilesFileHeader +from .models.granta_server_api_schema_files_files_info import GrantaServerApiSchemaFilesFilesInfo +from .models.granta_server_api_schema_files_folder import GrantaServerApiSchemaFilesFolder from .models.granta_server_api_schema_files_folders_info import ( GrantaServerApiSchemaFilesFoldersInfo, ) -from .models.granta_server_api_schema_files_move_file import ( - GrantaServerApiSchemaFilesMoveFile, -) -from .models.granta_server_api_schema_files_move_folder import ( - GrantaServerApiSchemaFilesMoveFolder, -) -from .models.granta_server_api_schema_files_update_file import ( - GrantaServerApiSchemaFilesUpdateFile, -) +from .models.granta_server_api_schema_files_move_file import GrantaServerApiSchemaFilesMoveFile +from .models.granta_server_api_schema_files_move_folder import GrantaServerApiSchemaFilesMoveFolder +from .models.granta_server_api_schema_files_update_file import GrantaServerApiSchemaFilesUpdateFile from .models.granta_server_api_schema_files_update_folder import ( GrantaServerApiSchemaFilesUpdateFolder, ) @@ -1170,9 +1122,7 @@ from .models.granta_server_api_schema_layouts_full_layout_section import ( GrantaServerApiSchemaLayoutsFullLayoutSection, ) -from .models.granta_server_api_schema_layouts_layout import ( - GrantaServerApiSchemaLayoutsLayout, -) +from .models.granta_server_api_schema_layouts_layout import GrantaServerApiSchemaLayoutsLayout from .models.granta_server_api_schema_layouts_layout_attribute_item import ( GrantaServerApiSchemaLayoutsLayoutAttributeItem, ) @@ -1350,9 +1300,7 @@ from .models.granta_server_api_schema_profiles_create_profile import ( GrantaServerApiSchemaProfilesCreateProfile, ) -from .models.granta_server_api_schema_profiles_profile import ( - GrantaServerApiSchemaProfilesProfile, -) +from .models.granta_server_api_schema_profiles_profile import GrantaServerApiSchemaProfilesProfile from .models.granta_server_api_schema_profiles_update_all_profiles_info import ( GrantaServerApiSchemaProfilesUpdateAllProfilesInfo, ) @@ -1494,9 +1442,7 @@ from .models.granta_server_api_schema_subsets_remove_record_history_from_subset import ( GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset, ) -from .models.granta_server_api_schema_subsets_subset import ( - GrantaServerApiSchemaSubsetsSubset, -) +from .models.granta_server_api_schema_subsets_subset import GrantaServerApiSchemaSubsetsSubset from .models.granta_server_api_schema_subsets_subsets_info import ( GrantaServerApiSchemaSubsetsSubsetsInfo, ) @@ -1506,9 +1452,7 @@ from .models.granta_server_api_schema_tables_create_table import ( GrantaServerApiSchemaTablesCreateTable, ) -from .models.granta_server_api_schema_tables_table import ( - GrantaServerApiSchemaTablesTable, -) +from .models.granta_server_api_schema_tables_table import GrantaServerApiSchemaTablesTable from .models.granta_server_api_schema_tables_tables_info import ( GrantaServerApiSchemaTablesTablesInfo, ) @@ -1659,9 +1603,7 @@ from .models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, ) -from .models.granta_server_api_schema_units_create_unit import ( - GrantaServerApiSchemaUnitsCreateUnit, -) +from .models.granta_server_api_schema_units_create_unit import GrantaServerApiSchemaUnitsCreateUnit from .models.granta_server_api_schema_units_create_unit_system import ( GrantaServerApiSchemaUnitsCreateUnitSystem, ) @@ -1675,27 +1617,17 @@ from .models.granta_server_api_schema_units_unit_mapping import ( GrantaServerApiSchemaUnitsUnitMapping, ) -from .models.granta_server_api_schema_units_unit_system import ( - GrantaServerApiSchemaUnitsUnitSystem, -) +from .models.granta_server_api_schema_units_unit_system import GrantaServerApiSchemaUnitsUnitSystem from .models.granta_server_api_schema_units_unit_systems_info import ( GrantaServerApiSchemaUnitsUnitSystemsInfo, ) -from .models.granta_server_api_schema_units_unit_usage import ( - GrantaServerApiSchemaUnitsUnitUsage, -) -from .models.granta_server_api_schema_units_units_info import ( - GrantaServerApiSchemaUnitsUnitsInfo, -) -from .models.granta_server_api_schema_units_update_unit import ( - GrantaServerApiSchemaUnitsUpdateUnit, -) +from .models.granta_server_api_schema_units_unit_usage import GrantaServerApiSchemaUnitsUnitUsage +from .models.granta_server_api_schema_units_units_info import GrantaServerApiSchemaUnitsUnitsInfo +from .models.granta_server_api_schema_units_update_unit import GrantaServerApiSchemaUnitsUpdateUnit from .models.granta_server_api_schema_units_update_unit_system import ( GrantaServerApiSchemaUnitsUpdateUnitSystem, ) -from .models.granta_server_api_schema_update_database import ( - GrantaServerApiSchemaUpdateDatabase, -) +from .models.granta_server_api_schema_update_database import GrantaServerApiSchemaUpdateDatabase from .models.granta_server_api_search_attribute_criterion import ( GrantaServerApiSearchAttributeCriterion, ) @@ -1711,25 +1643,26 @@ from .models.granta_server_api_search_attribute_sort_criterion import ( GrantaServerApiSearchAttributeSortCriterion, ) -from .models.granta_server_api_search_boolean_criterion import ( - GrantaServerApiSearchBooleanCriterion, -) -from .models.granta_server_api_search_boost_by_guid import ( - GrantaServerApiSearchBoostByGuid, -) -from .models.granta_server_api_search_boost_by_identity import ( - GrantaServerApiSearchBoostByIdentity, -) +from .models.granta_server_api_search_boolean_criterion import GrantaServerApiSearchBooleanCriterion +from .models.granta_server_api_search_boost_by_guid import GrantaServerApiSearchBoostByGuid +from .models.granta_server_api_search_boost_by_identity import GrantaServerApiSearchBoostByIdentity from .models.granta_server_api_search_criterion import GrantaServerApiSearchCriterion from .models.granta_server_api_search_date_time_datum_criterion import ( GrantaServerApiSearchDateTimeDatumCriterion, ) -from .models.granta_server_api_search_datum_criterion import ( - GrantaServerApiSearchDatumCriterion, +from .models.granta_server_api_search_date_time_datum_exists_criterion import ( + GrantaServerApiSearchDateTimeDatumExistsCriterion, ) +from .models.granta_server_api_search_datum_criterion import GrantaServerApiSearchDatumCriterion from .models.granta_server_api_search_datum_exists_criterion import ( GrantaServerApiSearchDatumExistsCriterion, ) +from .models.granta_server_api_search_discrete_datum_exists_criterion import ( + GrantaServerApiSearchDiscreteDatumExistsCriterion, +) +from .models.granta_server_api_search_discrete_functional_datum_exists_criterion import ( + GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion, +) from .models.granta_server_api_search_discrete_functional_range_datum_criterion import ( GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion, ) @@ -1769,9 +1702,15 @@ from .models.granta_server_api_search_file_datum_criterion import ( GrantaServerApiSearchFileDatumCriterion, ) +from .models.granta_server_api_search_file_datum_exists_criterion import ( + GrantaServerApiSearchFileDatumExistsCriterion, +) from .models.granta_server_api_search_float_functional_datum_criterion import ( GrantaServerApiSearchFloatFunctionalDatumCriterion, ) +from .models.granta_server_api_search_float_functional_datum_exists_criterion import ( + GrantaServerApiSearchFloatFunctionalDatumExistsCriterion, +) from .models.granta_server_api_search_float_functional_graph_datum_criterion import ( GrantaServerApiSearchFloatFunctionalGraphDatumCriterion, ) @@ -1781,12 +1720,16 @@ from .models.granta_server_api_search_hyperlink_datum_criterion import ( GrantaServerApiSearchHyperlinkDatumCriterion, ) -from .models.granta_server_api_search_index_status import ( - GrantaServerApiSearchIndexStatus, +from .models.granta_server_api_search_hyperlink_datum_exists_criterion import ( + GrantaServerApiSearchHyperlinkDatumExistsCriterion, ) +from .models.granta_server_api_search_index_status import GrantaServerApiSearchIndexStatus from .models.granta_server_api_search_integer_datum_criterion import ( GrantaServerApiSearchIntegerDatumCriterion, ) +from .models.granta_server_api_search_integer_datum_exists_criterion import ( + GrantaServerApiSearchIntegerDatumExistsCriterion, +) from .models.granta_server_api_search_link_datum_criterion import ( GrantaServerApiSearchLinkDatumCriterion, ) @@ -1814,33 +1757,49 @@ from .models.granta_server_api_search_logical_datum_criterion import ( GrantaServerApiSearchLogicalDatumCriterion, ) +from .models.granta_server_api_search_logical_datum_exists_criterion import ( + GrantaServerApiSearchLogicalDatumExistsCriterion, +) from .models.granta_server_api_search_long_sorting_value import ( GrantaServerApiSearchLongSortingValue, ) from .models.granta_server_api_search_long_text_datum_criterion import ( GrantaServerApiSearchLongTextDatumCriterion, ) +from .models.granta_server_api_search_long_text_datum_exists_criterion import ( + GrantaServerApiSearchLongTextDatumExistsCriterion, +) from .models.granta_server_api_search_maths_functional_datum_criterion import ( GrantaServerApiSearchMathsFunctionalDatumCriterion, ) +from .models.granta_server_api_search_maths_functional_datum_exists_criterion import ( + GrantaServerApiSearchMathsFunctionalDatumExistsCriterion, +) from .models.granta_server_api_search_numeric_parameter_constraint import ( GrantaServerApiSearchNumericParameterConstraint, ) -from .models.granta_server_api_search_paging_options import ( - GrantaServerApiSearchPagingOptions, -) +from .models.granta_server_api_search_paging_options import GrantaServerApiSearchPagingOptions from .models.granta_server_api_search_parameter_constraint import ( GrantaServerApiSearchParameterConstraint, ) from .models.granta_server_api_search_picture_datum_criterion import ( GrantaServerApiSearchPictureDatumCriterion, ) +from .models.granta_server_api_search_picture_datum_exists_criterion import ( + GrantaServerApiSearchPictureDatumExistsCriterion, +) from .models.granta_server_api_search_point_datum_criterion import ( GrantaServerApiSearchPointDatumCriterion, ) +from .models.granta_server_api_search_point_datum_exists_criterion import ( + GrantaServerApiSearchPointDatumExistsCriterion, +) from .models.granta_server_api_search_range_datum_criterion import ( GrantaServerApiSearchRangeDatumCriterion, ) +from .models.granta_server_api_search_range_datum_exists_criterion import ( + GrantaServerApiSearchRangeDatumExistsCriterion, +) from .models.granta_server_api_search_record_ancestor_criterion import ( GrantaServerApiSearchRecordAncestorCriterion, ) @@ -1865,15 +1824,9 @@ from .models.granta_server_api_search_relevance_sort_criterion import ( GrantaServerApiSearchRelevanceSortCriterion, ) -from .models.granta_server_api_search_search_request import ( - GrantaServerApiSearchSearchRequest, -) -from .models.granta_server_api_search_search_response import ( - GrantaServerApiSearchSearchResponse, -) -from .models.granta_server_api_search_search_result import ( - GrantaServerApiSearchSearchResult, -) +from .models.granta_server_api_search_search_request import GrantaServerApiSearchSearchRequest +from .models.granta_server_api_search_search_response import GrantaServerApiSearchSearchResponse +from .models.granta_server_api_search_search_result import GrantaServerApiSearchSearchResult from .models.granta_server_api_search_search_results_request import ( GrantaServerApiSearchSearchResultsRequest, ) @@ -1883,22 +1836,19 @@ from .models.granta_server_api_search_short_text_datum_criterion import ( GrantaServerApiSearchShortTextDatumCriterion, ) -from .models.granta_server_api_search_simple_datum_exists_criterion import ( - GrantaServerApiSearchSimpleDatumExistsCriterion, -) -from .models.granta_server_api_search_sort_criterion import ( - GrantaServerApiSearchSortCriterion, -) -from .models.granta_server_api_search_sort_direction import ( - GrantaServerApiSearchSortDirection, +from .models.granta_server_api_search_short_text_datum_exists_criterion import ( + GrantaServerApiSearchShortTextDatumExistsCriterion, ) +from .models.granta_server_api_search_sort_criterion import GrantaServerApiSearchSortCriterion +from .models.granta_server_api_search_sort_direction import GrantaServerApiSearchSortDirection from .models.granta_server_api_search_sort_type import GrantaServerApiSearchSortType -from .models.granta_server_api_search_sorting_value import ( - GrantaServerApiSearchSortingValue, -) +from .models.granta_server_api_search_sorting_value import GrantaServerApiSearchSortingValue from .models.granta_server_api_search_string_sorting_value import ( GrantaServerApiSearchStringSortingValue, ) +from .models.granta_server_api_search_tabular_datum_exists_criterion import ( + GrantaServerApiSearchTabularDatumExistsCriterion, +) from .models.granta_server_api_search_tabular_linking_value_criterion import ( GrantaServerApiSearchTabularLinkingValueCriterion, ) @@ -1927,18 +1877,14 @@ GrantaServerApiSpecificValuesSpecifier, ) from .models.granta_server_api_value_specifier import GrantaServerApiValueSpecifier -from .models.granta_server_api_value_specifier_type import ( - GrantaServerApiValueSpecifierType, -) +from .models.granta_server_api_value_specifier_type import GrantaServerApiValueSpecifierType from .models.granta_server_api_version_state import GrantaServerApiVersionState from .models.jobqueue_files_body import JobqueueFilesBody from .models.json_patch_document import JsonPatchDocument from .models.microsoft_asp_net_core_mvc_formatters_i_output_formatter import ( MicrosoftAspNetCoreMvcFormattersIOutputFormatter, ) -from .models.microsoft_asp_net_core_mvc_object_result import ( - MicrosoftAspNetCoreMvcObjectResult, -) +from .models.microsoft_asp_net_core_mvc_object_result import MicrosoftAspNetCoreMvcObjectResult from .models.system_net_http_status_code import SystemNetHttpStatusCode __all__ = [ @@ -2555,8 +2501,11 @@ "GrantaServerApiSearchBoostByIdentity", "GrantaServerApiSearchCriterion", "GrantaServerApiSearchDateTimeDatumCriterion", + "GrantaServerApiSearchDateTimeDatumExistsCriterion", "GrantaServerApiSearchDatumCriterion", "GrantaServerApiSearchDatumExistsCriterion", + "GrantaServerApiSearchDiscreteDatumExistsCriterion", + "GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion", "GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion", "GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion", "GrantaServerApiSearchDiscreteGuidDatumCriterion", @@ -2570,12 +2519,16 @@ "GrantaServerApiSearchDiscreteTextValuesDatumCriterion", "GrantaServerApiSearchDoubleSortingValue", "GrantaServerApiSearchFileDatumCriterion", + "GrantaServerApiSearchFileDatumExistsCriterion", "GrantaServerApiSearchFloatFunctionalDatumCriterion", + "GrantaServerApiSearchFloatFunctionalDatumExistsCriterion", "GrantaServerApiSearchFloatFunctionalGraphDatumCriterion", "GrantaServerApiSearchFreeTextCriterion", "GrantaServerApiSearchHyperlinkDatumCriterion", + "GrantaServerApiSearchHyperlinkDatumExistsCriterion", "GrantaServerApiSearchIndexStatus", "GrantaServerApiSearchIntegerDatumCriterion", + "GrantaServerApiSearchIntegerDatumExistsCriterion", "GrantaServerApiSearchLinkDatumCriterion", "GrantaServerApiSearchLinkExistsDatumCriterion", "GrantaServerApiSearchLinkingValueMatchBehavior", @@ -2585,15 +2538,21 @@ "GrantaServerApiSearchLocalColumnNotApplicableCriterion", "GrantaServerApiSearchLocalRowsBehavior", "GrantaServerApiSearchLogicalDatumCriterion", + "GrantaServerApiSearchLogicalDatumExistsCriterion", "GrantaServerApiSearchLongSortingValue", "GrantaServerApiSearchLongTextDatumCriterion", + "GrantaServerApiSearchLongTextDatumExistsCriterion", "GrantaServerApiSearchMathsFunctionalDatumCriterion", + "GrantaServerApiSearchMathsFunctionalDatumExistsCriterion", "GrantaServerApiSearchNumericParameterConstraint", "GrantaServerApiSearchPagingOptions", "GrantaServerApiSearchParameterConstraint", "GrantaServerApiSearchPictureDatumCriterion", + "GrantaServerApiSearchPictureDatumExistsCriterion", "GrantaServerApiSearchPointDatumCriterion", + "GrantaServerApiSearchPointDatumExistsCriterion", "GrantaServerApiSearchRangeDatumCriterion", + "GrantaServerApiSearchRangeDatumExistsCriterion", "GrantaServerApiSearchRecordAncestorCriterion", "GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion", "GrantaServerApiSearchRecordListMemberCriterion", @@ -2608,12 +2567,13 @@ "GrantaServerApiSearchSearchResultsRequest", "GrantaServerApiSearchSearchableRecordProperty", "GrantaServerApiSearchShortTextDatumCriterion", - "GrantaServerApiSearchSimpleDatumExistsCriterion", + "GrantaServerApiSearchShortTextDatumExistsCriterion", "GrantaServerApiSearchSortCriterion", "GrantaServerApiSearchSortDirection", "GrantaServerApiSearchSortType", "GrantaServerApiSearchSortingValue", "GrantaServerApiSearchStringSortingValue", + "GrantaServerApiSearchTabularDatumExistsCriterion", "GrantaServerApiSearchTabularLinkingValueCriterion", "GrantaServerApiSearchTextMatchBehavior", "GrantaServerApiSelectionSearchesCreateSearchRequest", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/__init__.py index 099fbcfd..86a59a54 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/__init__.py @@ -1,3 +1,25 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + # flake8: noqa # import API ABC @@ -18,15 +40,12 @@ from .metrics_api import MetricsApi from .records___record_histories_api import RecordsRecordHistoriesApi from .records___record_versions_api import RecordsRecordVersionsApi -from .schema_api import SchemaApi from .schema___attributes_api import SchemaAttributesApi from .schema___configurations_api import SchemaConfigurationsApi from .schema___constants_api import SchemaConstantsApi from .schema___data_rules_api import SchemaDataRulesApi from .schema___databases_api import SchemaDatabasesApi -from .schema___discrete_types___discrete_values_api import ( - SchemaDiscreteTypesDiscreteValuesApi, -) +from .schema___discrete_types___discrete_values_api import SchemaDiscreteTypesDiscreteValuesApi from .schema___discrete_types_api import SchemaDiscreteTypesApi from .schema___exporters_api import SchemaExportersApi from .schema___expressions_api import SchemaExpressionsApi @@ -42,6 +61,7 @@ from .schema___subsets_api import SchemaSubsetsApi from .schema___tables_api import SchemaTablesApi from .schema___units_api import SchemaUnitsApi +from .schema_api import SchemaApi from .search_api import SearchApi from .selection_searches_api import SelectionSearchesApi from .status_api import StatusApi diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py index df408fff..0f4002dd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/aggregation_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -122,12 +137,7 @@ def _database_aggregation_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -179,12 +189,7 @@ def database_aggregation_for_table_with_guid( Union[GrantaServerApiAggregationsAggregationsResponse, None] """ data = self._database_aggregation_for_table_with_guid_with_http_info( - database_key, - table_guid, - body, - x_ansys_vc_mode, - mode, - _return_http_data_only=True, + database_key, table_guid, body, x_ansys_vc_mode, mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -256,12 +261,7 @@ def _database_aggregation_for_table_with_guid_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -313,12 +313,7 @@ def database_aggregation_for_table_with_identity( Union[GrantaServerApiAggregationsAggregationsResponse, None] """ data = self._database_aggregation_for_table_with_identity_with_http_info( - database_key, - table_identity, - body, - x_ansys_vc_mode, - mode, - _return_http_data_only=True, + database_key, table_identity, body, x_ansys_vc_mode, mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -390,12 +385,7 @@ def _database_aggregation_for_table_with_identity_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -494,12 +484,7 @@ def _integration_aggregation_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py index 3d13d78d..3c7513a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -761,9 +776,7 @@ def _get_datum_for_latest_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiDataDatum", @@ -902,9 +915,7 @@ def _get_datum_for_latest_from_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiDataDatum", @@ -1043,9 +1054,7 @@ def _get_datum_for_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiDataDatum", @@ -1196,9 +1205,7 @@ def _get_datum_for_version_from_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiDataDatum", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py index 6bbea870..ac96582f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/data_export_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -84,9 +99,7 @@ def _export_data_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method export_data" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method export_data") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -122,12 +135,7 @@ def _export_data_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -227,12 +235,7 @@ def _export_data_from_integration_schema_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py index 13fb2ada..e2b49360 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/database_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -56,11 +71,7 @@ def generate_schema_from_layout( return data # type: ignore[no-any-return] def _generate_schema_from_layout_with_http_info( - self, - database_key: "str", - table_identity: "int", - layout_identity: "int", - **kwargs: Any, + self, database_key: "str", table_identity: "int", layout_identity: "int", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -163,11 +174,7 @@ def generate_schema_from_layout_name( return data # type: ignore[no-any-return] def _generate_schema_from_layout_name_with_http_info( - self, - database_key: "str", - table_identity: "int", - layout_name: "str", - **kwargs: Any, + self, database_key: "str", table_identity: "int", layout_name: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -373,11 +380,7 @@ def generate_schema_from_layout_with_table_name( return data # type: ignore[no-any-return] def _generate_schema_from_layout_with_table_name_with_http_info( - self, - database_key: "str", - table_name: "str", - layout_identity: "int", - **kwargs: Any, + self, database_key: "str", table_name: "str", layout_identity: "int", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -526,12 +529,7 @@ def _generate_schema_from_standard_names_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -579,12 +577,7 @@ def generate_schema_from_standard_names_all_databases( def _generate_schema_from_standard_names_all_databases_with_http_info( self, body: "Optional[List[str]]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -616,12 +609,7 @@ def _generate_schema_from_standard_names_all_databases_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -856,10 +844,7 @@ def get_search_index_status( return data # type: ignore[no-any-return] def _get_search_index_status_with_http_info( - self, - database_key: "str", - include_diagnostics: "Optional[bool]" = None, - **kwargs: Any, + self, database_key: "str", include_diagnostics: "Optional[bool]" = None, **kwargs: Any ) -> Any: all_params = [ "database_key", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py index ac5625ba..93ab8b13 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/help_location_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -51,12 +66,7 @@ def get_help_url(self, *, help_key: "str") -> "None": return data # type: ignore[no-any-return] def _get_help_url_with_http_info(self, help_key: "str", **kwargs: Any) -> Any: - all_params = [ - "help_key", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["help_key", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -121,20 +131,11 @@ def get_help_url_redirect(self, *, help_key: "str") -> "None": ------- None """ - data = self._get_help_url_redirect_with_http_info( - help_key, _return_http_data_only=True - ) + data = self._get_help_url_redirect_with_http_info(help_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_help_url_redirect_with_http_info( - self, help_key: "str", **kwargs: Any - ) -> Any: - all_params = [ - "help_key", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + def _get_help_url_redirect_with_http_info(self, help_key: "str", **kwargs: Any) -> Any: + all_params = ["help_key", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py index f86bb0e4..b50873da 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/integration_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -58,19 +73,12 @@ def _add_schema_with_http_info( body: "Optional[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationSchemaOfGrantaServerApiObjectIdentifier]" = None, **kwargs: Any, ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method add_schema" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method add_schema") params[key] = val del params["kwargs"] @@ -95,12 +103,7 @@ def _add_schema_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -221,12 +224,7 @@ def delete_schema(self, *, schema: "str") -> "None": return data # type: ignore[no-any-return] def _delete_schema_with_http_info(self, schema: "str", **kwargs: Any) -> Any: - all_params = [ - "schema", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["schema", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -238,9 +236,7 @@ def _delete_schema_with_http_info(self, schema: "str", **kwargs: Any) -> Any: del params["kwargs"] # verify the required parameter "schema" is set if "schema" not in params or params["schema"] is None: - raise ValueError( - "Missing the required parameter 'schema' when calling 'delete_schema'" - ) + raise ValueError("Missing the required parameter 'schema' when calling 'delete_schema'") collection_formats: Dict[str, Any] = {} @@ -303,10 +299,7 @@ def get_schema( return data # type: ignore[no-any-return] def _get_schema_with_http_info( - self, - schema: "str", - include_implicit_attributes: "Optional[bool]" = None, - **kwargs: Any, + self, schema: "str", include_implicit_attributes: "Optional[bool]" = None, **kwargs: Any ) -> Any: all_params = [ "schema", @@ -319,16 +312,12 @@ def _get_schema_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_schema" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_schema") params[key] = val del params["kwargs"] # verify the required parameter "schema" is set if "schema" not in params or params["schema"] is None: - raise ValueError( - "Missing the required parameter 'schema' when calling 'get_schema'" - ) + raise ValueError("Missing the required parameter 'schema' when calling 'get_schema'") collection_formats: Dict[str, Any] = {} @@ -337,10 +326,7 @@ def _get_schema_with_http_info( path_params["schema"] = params["schema"] query_params: List[Any] = [] - if ( - "include_implicit_attributes" in params - and include_implicit_attributes is not None - ): + if "include_implicit_attributes" in params and include_implicit_attributes is not None: query_params.append( ("includeImplicitAttributes", params["include_implicit_attributes"]) ) @@ -466,7 +452,9 @@ def _get_status_for_integration_schema_with_http_info( def schema_table_mappings( self, *, schema: "str", database_key: "str", table_identity: "int" - ) -> "Union[List[GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier], None]": + ) -> ( + "Union[List[GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier], None]" + ): """Returns a list of the schema source mapping from the given table. Will fail if the database is not loaded in MI. Names and identities of source items will be populated. This method makes a synchronous HTTP request. @@ -590,10 +578,7 @@ def schema_targets( return data # type: ignore[no-any-return] def _schema_targets_with_http_info( - self, - schema: "str", - include_implicit_attributes: "Optional[bool]" = None, - **kwargs: Any, + self, schema: "str", include_implicit_attributes: "Optional[bool]" = None, **kwargs: Any ) -> Any: all_params = [ "schema", @@ -624,10 +609,7 @@ def _schema_targets_with_http_info( path_params["schema"] = params["schema"] query_params: List[Any] = [] - if ( - "include_implicit_attributes" in params - and include_implicit_attributes is not None - ): + if "include_implicit_attributes" in params and include_implicit_attributes is not None: query_params.append( ("includeImplicitAttributes", params["include_implicit_attributes"]) ) @@ -682,9 +664,7 @@ def _schemas_with_http_info(self, **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method schemas" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method schemas") params[key] = val del params["kwargs"] @@ -744,9 +724,7 @@ def update_schema( ------- Union[GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier, None] """ - data = self._update_schema_with_http_info( - schema, body, _return_http_data_only=True - ) + data = self._update_schema_with_http_info(schema, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _update_schema_with_http_info( @@ -773,9 +751,7 @@ def _update_schema_with_http_info( del params["kwargs"] # verify the required parameter "schema" is set if "schema" not in params or params["schema"] is None: - raise ValueError( - "Missing the required parameter 'schema' when calling 'update_schema'" - ) + raise ValueError("Missing the required parameter 'schema' when calling 'update_schema'") collection_formats: Dict[str, Any] = {} @@ -800,12 +776,7 @@ def _update_schema_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py index c27a2f30..9e5e0321 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/job_queue_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -52,23 +67,14 @@ def create_job( return data # type: ignore[no-any-return] def _create_job_with_http_info( - self, - body: "Optional[GrantaServerApiAsyncJobsCreateJobRequest]" = None, - **kwargs: Any, + self, body: "Optional[GrantaServerApiAsyncJobsCreateJobRequest]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method create_job" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method create_job") params[key] = val del params["kwargs"] @@ -93,12 +99,7 @@ def _create_job_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -138,26 +139,17 @@ def delete_job(self, *, id: "str") -> "None": return data # type: ignore[no-any-return] def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: - all_params = [ - "id", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method delete_job" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_job") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'delete_job'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'delete_job'") collection_formats: Dict[str, Any] = {} @@ -196,9 +188,7 @@ def _delete_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def delete_jobs( - self, *, body: "Optional[List[str]]" = None - ) -> "Union[List[str], None]": + def delete_jobs(self, *, body: "Optional[List[str]]" = None) -> "Union[List[str], None]": """Delete specified jobs. This method makes a synchronous HTTP request. @@ -214,22 +204,13 @@ def delete_jobs( data = self._delete_jobs_with_http_info(body, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _delete_jobs_with_http_info( - self, body: "Optional[List[str]]" = None, **kwargs: Any - ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + def _delete_jobs_with_http_info(self, body: "Optional[List[str]]" = None, **kwargs: Any) -> Any: + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method delete_jobs" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_jobs") params[key] = val del params["kwargs"] @@ -254,12 +235,7 @@ def _delete_jobs_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -362,26 +338,17 @@ def get_job(self, *, id: "str") -> "Union[GrantaServerApiAsyncJobsJob, None]": return data # type: ignore[no-any-return] def _get_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: - all_params = [ - "id", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_job" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_job") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'get_job'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'get_job'") collection_formats: Dict[str, Any] = {} @@ -437,9 +404,7 @@ def get_job_output_file(self, *, id: "str", file_name: "str") -> "Union[None, st ------- Union[None, str] """ - data = self._get_job_output_file_with_http_info( - id, file_name, _return_http_data_only=True - ) + data = self._get_job_output_file_with_http_info(id, file_name, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_job_output_file_with_http_info( @@ -489,9 +454,7 @@ def _get_job_output_file_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/octet-stream"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/octet-stream"]) response_type_map: Dict[int, Optional[str]] = { 200: "file", @@ -582,9 +545,7 @@ def _get_jobs_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_jobs" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_jobs") params[key] = val del params["kwargs"] @@ -602,9 +563,7 @@ def _get_jobs_with_http_info( if "description_filter" in params and description_filter is not None: query_params.append(("descriptionFilter", params["description_filter"])) if "submitter_name_filter" in params and submitter_name_filter is not None: - query_params.append( - ("submitterNameFilter", params["submitter_name_filter"]) - ) + query_params.append(("submitterNameFilter", params["submitter_name_filter"])) if "page_size" in params and page_size is not None: query_params.append(("pageSize", params["page_size"])) if "page_number" in params and page_number is not None: @@ -654,18 +613,11 @@ def get_output_filenames(self, *, id: "str") -> "Union[List[str], None]": ------- Union[List[str], None] """ - data = self._get_output_filenames_with_http_info( - id, _return_http_data_only=True - ) + data = self._get_output_filenames_with_http_info(id, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_output_filenames_with_http_info(self, id: "str", **kwargs: Any) -> Any: - all_params = [ - "id", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -799,26 +751,17 @@ def move_to_top(self, *, id: "str") -> "None": return data # type: ignore[no-any-return] def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any: - all_params = [ - "id", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method move_to_top" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method move_to_top") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'move_to_top'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'move_to_top'") collection_formats: Dict[str, Any] = {} @@ -856,9 +799,7 @@ def _move_to_top_with_http_info(self, id: "str", **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def restore_job( - self, *, id: "str" - ) -> "Union[GrantaServerApiAsyncJobsCreateJobRequest, None]": + def restore_job(self, *, id: "str") -> "Union[GrantaServerApiAsyncJobsCreateJobRequest, None]": """Get a job creation object based on an existing job. This method makes a synchronous HTTP request. @@ -875,26 +816,17 @@ def restore_job( return data # type: ignore[no-any-return] def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: - all_params = [ - "id", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["id", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method restore_job" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method restore_job") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'restore_job'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'restore_job'") collection_formats: Dict[str, Any] = {} @@ -937,10 +869,7 @@ def _restore_job_with_http_info(self, id: "str", **kwargs: Any) -> Any: ) def resubmit( - self, - *, - id: "str", - body: "Optional[GrantaServerApiAsyncJobsResubmitJobRequest]" = None, + self, *, id: "str", body: "Optional[GrantaServerApiAsyncJobsResubmitJobRequest]" = None ) -> "Union[GrantaServerApiAsyncJobsJob, None]": """Resubmit a job. @@ -975,16 +904,12 @@ def _resubmit_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method resubmit" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method resubmit") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'resubmit'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'resubmit'") collection_formats: Dict[str, Any] = {} @@ -1009,12 +934,7 @@ def _resubmit_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1039,10 +959,7 @@ def _resubmit_with_http_info( ) def update_job( - self, - *, - id: "str", - body: "Optional[GrantaServerApiAsyncJobsUpdateJobRequest]" = None, + self, *, id: "str", body: "Optional[GrantaServerApiAsyncJobsUpdateJobRequest]" = None ) -> "Union[GrantaServerApiAsyncJobsJob, None]": """Update a job. @@ -1077,16 +994,12 @@ def _update_job_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method update_job" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_job") params[key] = val del params["kwargs"] # verify the required parameter "id" is set if "id" not in params or params["id"] is None: - raise ValueError( - "Missing the required parameter 'id' when calling 'update_job'" - ) + raise ValueError("Missing the required parameter 'id' when calling 'update_job'") collection_formats: Dict[str, Any] = {} @@ -1111,12 +1024,7 @@ def _update_job_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1140,9 +1048,7 @@ def _update_job_with_http_info( response_type_map=response_type_map, ) - def upload_file( - self, *, file: "Optional[Union[BinaryIO, pathlib.Path]]" = None - ) -> "str": + def upload_file(self, *, file: "Optional[Union[BinaryIO, pathlib.Path]]" = None) -> "str": """Uploads an ephemeral file and returns an ID which can subsequently be used to refer to that file in a job creation request. Ephemeral files have a short lifespan and should be used to provide file data to jobs only. They should not be used as file storage. This method makes a synchronous HTTP request. @@ -1161,19 +1067,12 @@ def upload_file( def _upload_file_with_http_info( self, file: "Optional[Union[BinaryIO, pathlib.Path]]" = None, **kwargs: Any ) -> Any: - all_params = [ - "file", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["file", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method upload_file" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method upload_file") params[key] = val del params["kwargs"] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py index 5972b520..910a50cc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/license_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -48,22 +63,13 @@ def checkout_app_license( ------- GrantaServerApiAppNameLicenseCheckoutResponse """ - data = self._checkout_app_license_with_http_info( - body, _return_http_data_only=True - ) + data = self._checkout_app_license_with_http_info(body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _checkout_app_license_with_http_info( - self, - body: "Optional[GrantaServerApiAppNameLicenseCheckoutRequest]" = None, - **kwargs: Any, + self, body: "Optional[GrantaServerApiAppNameLicenseCheckoutRequest]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -95,12 +101,7 @@ def _checkout_app_license_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -123,9 +124,7 @@ def _checkout_app_license_with_http_info( response_type_map=response_type_map, ) - def ensure_user_license_available( - self, - ) -> "Union[MicrosoftAspNetCoreMvcObjectResult, None]": + def ensure_user_license_available(self) -> "Union[MicrosoftAspNetCoreMvcObjectResult, None]": """Either checks out a user license for the requesting user, or returns an error response if no such license is available. This method is a no-op because it relies on license check to happen within Granta.Server.Api.Auth.UserContextFilter This method makes a synchronous HTTP request. @@ -134,9 +133,7 @@ def ensure_user_license_available( ------- Union[MicrosoftAspNetCoreMvcObjectResult, None] """ - data = self._ensure_user_license_available_with_http_info( - _return_http_data_only=True - ) + data = self._ensure_user_license_available_with_http_info(_return_http_data_only=True) return data # type: ignore[no-any-return] def _ensure_user_license_available_with_http_info(self, **kwargs: Any) -> Any: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py index e77651af..70543bad 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_item_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -108,12 +123,7 @@ def _add_items_to_list_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -154,14 +164,10 @@ def get_list_items( ------- Union[GrantaServerApiListsDtoRecordListItemsInfo, None] """ - data = self._get_list_items_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._get_list_items_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_list_items_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _get_list_items_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -299,12 +305,7 @@ def _remove_items_from_list_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py index 8bc5a950..f8e588a6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_management_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -48,9 +63,7 @@ def copy_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._copy_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._copy_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _copy_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -64,9 +77,7 @@ def _copy_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method copy_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method copy_list") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -135,23 +146,14 @@ def create_list( return data # type: ignore[no-any-return] def _create_list_with_http_info( - self, - body: "Optional[GrantaServerApiListsDtoCreateRecordList]" = None, - **kwargs: Any, + self, body: "Optional[GrantaServerApiListsDtoCreateRecordList]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method create_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method create_list") params[key] = val del params["kwargs"] @@ -176,12 +178,7 @@ def _create_list_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -219,9 +216,7 @@ def delete_list(self, *, list_identifier: "str") -> "None": ------- None """ - data = self._delete_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._delete_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _delete_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -235,9 +230,7 @@ def _delete_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method delete_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_list") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -283,9 +276,7 @@ def _delete_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> response_type_map=response_type_map, ) - def get_all_lists( - self, - ) -> "Union[GrantaServerApiListsDtoRecordListHeadersInfo, None]": + def get_all_lists(self) -> "Union[GrantaServerApiListsDtoRecordListHeadersInfo, None]": """Returns all lists visible to the calling user This method makes a synchronous HTTP request. @@ -362,9 +353,7 @@ def get_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._get_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._get_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -378,9 +367,7 @@ def _get_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_list") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -480,13 +467,8 @@ def _get_record_list_search_results_with_http_info( collection_formats: Dict[str, Any] = {} path_params: Dict[str, Any] = {} - if ( - "result_resource_identifier" in params - and result_resource_identifier is not None - ): - path_params["resultResourceIdentifier"] = params[ - "result_resource_identifier" - ] + if "result_resource_identifier" in params and result_resource_identifier is not None: + path_params["resultResourceIdentifier"] = params["result_resource_identifier"] query_params: List[Any] = [] @@ -539,14 +521,10 @@ def publish_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._publish_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._publish_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _publish_list_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _publish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -625,14 +603,10 @@ def request_approval( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._request_approval_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._request_approval_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _request_approval_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _request_approval_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -716,9 +690,7 @@ def reset_awaiting_approval( ) return data # type: ignore[no-any-return] - def _reset_awaiting_approval_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _reset_awaiting_approval_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -797,9 +769,7 @@ def revise_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._revise_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._revise_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _revise_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -813,9 +783,7 @@ def _revise_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method revise_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method revise_list") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -881,22 +849,13 @@ def run_record_lists_search( ------- Union[GrantaServerApiListsDtoRecordListSearchInfo, None] """ - data = self._run_record_lists_search_with_http_info( - body, _return_http_data_only=True - ) + data = self._run_record_lists_search_with_http_info(body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _run_record_lists_search_with_http_info( - self, - body: "Optional[GrantaServerApiListsDtoRecordListSearchRequest]" = None, - **kwargs: Any, + self, body: "Optional[GrantaServerApiListsDtoRecordListSearchRequest]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -928,12 +887,7 @@ def _run_record_lists_search_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -973,14 +927,10 @@ def unpublish_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._unpublish_list_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._unpublish_list_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _unpublish_list_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _unpublish_list_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -1063,9 +1013,7 @@ def update_list( ------- Union[GrantaServerApiListsDtoRecordListHeader, None] """ - data = self._update_list_with_http_info( - list_identifier, body, _return_http_data_only=True - ) + data = self._update_list_with_http_info(list_identifier, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _update_list_with_http_info( @@ -1085,9 +1033,7 @@ def _update_list_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method update_list" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_list") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -1119,12 +1065,7 @@ def _update_list_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py index ce6dd072..136c4cdc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/list_permissions_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -48,14 +63,10 @@ def get_permissions( ------- Union[GrantaServerApiListsDtoUserPermissionsInfo, None] """ - data = self._get_permissions_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._get_permissions_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_permissions_with_http_info( - self, list_identifier: "str", **kwargs: Any - ) -> Any: + def _get_permissions_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: all_params = [ "list_identifier", "_return_http_data_only", @@ -287,12 +298,7 @@ def _set_permissions_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -404,12 +410,7 @@ def _set_permissions_for_user_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -450,9 +451,7 @@ def subscribe( ------- Union[GrantaServerApiListsDtoUserPermission, None] """ - data = self._subscribe_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._subscribe_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _subscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -466,9 +465,7 @@ def _subscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> An params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method subscribe" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method subscribe") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set @@ -534,9 +531,7 @@ def unsubscribe( ------- Union[GrantaServerApiListsDtoUserPermission, None] """ - data = self._unsubscribe_with_http_info( - list_identifier, _return_http_data_only=True - ) + data = self._unsubscribe_with_http_info(list_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] def _unsubscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> Any: @@ -550,9 +545,7 @@ def _unsubscribe_with_http_info(self, list_identifier: "str", **kwargs: Any) -> params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method unsubscribe" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method unsubscribe") params[key] = val del params["kwargs"] # verify the required parameter "list_identifier" is set diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py index 1bef6b3f..2889a6f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/metrics_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -51,15 +66,8 @@ def get_jobs_summary( data = self._get_jobs_summary_with_http_info(start, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_jobs_summary_with_http_info( - self, start: "Optional[str]" = None, **kwargs: Any - ) -> Any: - all_params = [ - "start", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + def _get_jobs_summary_with_http_info(self, start: "Optional[str]" = None, **kwargs: Any) -> Any: + all_params = ["start", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py index 35ee1e63..f547bad9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_histories_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _copy_record_history_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -174,11 +182,7 @@ def copy_record_history_in_table( Union[GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException, GrantaServerApiRecordsRecordHistoriesRecordHistory, None] """ data = self._copy_record_history_in_table_with_http_info( - database_key, - table_guid, - record_history_guid, - body, - _return_http_data_only=True, + database_key, table_guid, record_history_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -245,18 +249,11 @@ def _copy_record_history_in_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -362,18 +359,11 @@ def _create_record_history_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -425,11 +415,7 @@ def get_latest_record_version( Union[GrantaServerApiRecordsRecordVersionsRecordVersion, None] """ data = self._get_latest_record_version_with_http_info( - database_key, - record_history_guid, - mode, - x_ansys_vc_mode, - _return_http_data_only=True, + database_key, record_history_guid, mode, x_ansys_vc_mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -491,9 +477,7 @@ def _get_latest_record_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordVersionsRecordVersion", @@ -620,9 +604,7 @@ def _get_latest_record_version_from_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordVersionsRecordVersion", @@ -671,11 +653,7 @@ def get_record_history( Union[GrantaServerApiRecordsRecordHistoriesRecordHistory, None] """ data = self._get_record_history_with_http_info( - database_key, - record_history_guid, - mode, - x_ansys_vc_mode, - _return_http_data_only=True, + database_key, record_history_guid, mode, x_ansys_vc_mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -737,9 +715,7 @@ def _get_record_history_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordHistoriesRecordHistory", @@ -866,9 +842,7 @@ def _get_record_history_from_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordHistoriesRecordHistory", @@ -971,18 +945,11 @@ def _move_record_history_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1032,11 +999,7 @@ def move_record_history_in_table( Union[GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException, GrantaServerApiRecordsRecordHistoriesRecordHistory, None] """ data = self._move_record_history_in_table_with_http_info( - database_key, - table_guid, - record_history_guid, - body, - _return_http_data_only=True, + database_key, table_guid, record_history_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -1103,18 +1066,11 @@ def _move_record_history_in_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py index 0bf56daf..e2f7a57f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/records___record_versions_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -255,9 +270,7 @@ def _get_modifiable_record_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 201: "GrantaServerApiRecordsRecordVersionsRecordVersion", @@ -398,9 +411,7 @@ def _get_record_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordVersionsRecordVersion", @@ -523,9 +534,7 @@ def _release_record_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordVersionsRecordVersion", @@ -650,9 +659,7 @@ def _withdraw_record_version_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiRecordsRecordVersionsRecordVersion", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py index eb6084f7..54ae9b8d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___attributes_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _create_attribute_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -173,11 +181,7 @@ def delete_attribute( return data # type: ignore[no-any-return] def _delete_attribute_with_http_info( - self, - database_key: "str", - table_guid: "str", - attribute_guid: "str", - **kwargs: Any, + self, database_key: "str", table_guid: "str", attribute_guid: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -231,9 +235,7 @@ def _delete_attribute_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionAttributeDeletionException", @@ -281,11 +283,7 @@ def delete_meta_attribute( return data # type: ignore[no-any-return] def _delete_meta_attribute_with_http_info( - self, - database_key: "str", - table_guid: "str", - meta_attribute_guid: "str", - **kwargs: Any, + self, database_key: "str", table_guid: "str", meta_attribute_guid: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -339,9 +337,7 @@ def _delete_meta_attribute_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionAttributeDeletionException", @@ -470,9 +466,7 @@ def _get_attribute_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaAttributesAttribute", @@ -583,9 +577,7 @@ def _get_attributes_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaAttributesAttributesInfo", @@ -712,9 +704,7 @@ def _get_meta_attribute_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaAttributesAttribute", @@ -825,9 +815,7 @@ def _get_meta_attributes_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaAttributesAttributesInfo", @@ -954,9 +942,7 @@ def _get_meta_attributes_for_attribute_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaAttributesAttributesInfo", @@ -1070,18 +1056,11 @@ def _update_attribute_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1131,11 +1110,7 @@ def update_meta_attribute( Union[GrantaServerApiSchemaAttributesAttribute, None] """ data = self._update_meta_attribute_with_http_info( - database_key, - table_guid, - meta_attribute_guid, - body, - _return_http_data_only=True, + database_key, table_guid, meta_attribute_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -1202,18 +1177,11 @@ def _update_meta_attribute_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1330,18 +1298,11 @@ def _validate_attribute_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1391,11 +1352,7 @@ def validate_meta_attribute( Union[GrantaServerApiSchemaAttributesAttributeValidateResponse, None] """ data = self._validate_meta_attribute_with_http_info( - database_key, - table_guid, - meta_attribute_guid, - body, - _return_http_data_only=True, + database_key, table_guid, meta_attribute_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -1462,18 +1419,11 @@ def _validate_meta_attribute_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py index 834b7804..a17a202f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___configurations_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -114,18 +129,11 @@ def _create_configuration_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -152,11 +160,7 @@ def _create_configuration_with_http_info( ) def delete_configuration( - self, - *, - database_key: "str", - configuration_type: "str", - configuration_guid: "str", + self, *, database_key: "str", configuration_type: "str", configuration_guid: "str" ) -> "None": """Delete a configuration @@ -174,10 +178,7 @@ def delete_configuration( None """ data = self._delete_configuration_with_http_info( - database_key, - configuration_type, - configuration_guid, - _return_http_data_only=True, + database_key, configuration_type, configuration_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -263,11 +264,7 @@ def _delete_configuration_with_http_info( ) def export_configuration( - self, - *, - database_key: "str", - configuration_type: "str", - configuration_guid: "str", + self, *, database_key: "str", configuration_type: "str", configuration_guid: "str" ) -> "None": """Get individual configuration as a file @@ -285,10 +282,7 @@ def export_configuration( None """ data = self._export_configuration_with_http_info( - database_key, - configuration_type, - configuration_guid, - _return_http_data_only=True, + database_key, configuration_type, configuration_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -373,11 +367,7 @@ def _export_configuration_with_http_info( ) def get_configuration( - self, - *, - database_key: "str", - configuration_type: "str", - configuration_guid: "str", + self, *, database_key: "str", configuration_type: "str", configuration_guid: "str" ) -> "Union[GrantaServerApiSchemaConfigurationsConfiguration, None]": """Get individual configuration @@ -395,10 +385,7 @@ def get_configuration( Union[GrantaServerApiSchemaConfigurationsConfiguration, None] """ data = self._get_configuration_with_http_info( - database_key, - configuration_type, - configuration_guid, - _return_http_data_only=True, + database_key, configuration_type, configuration_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -461,9 +448,7 @@ def _get_configuration_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaConfigurationsConfiguration", @@ -555,9 +540,7 @@ def _get_configurations_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaConfigurationsConfigurationsInfo", @@ -605,11 +588,7 @@ def update_configuration( Union[GrantaServerApiSchemaConfigurationsConfiguration, None] """ data = self._update_configuration_with_http_info( - database_key, - configuration_type, - configuration_guid, - body, - _return_http_data_only=True, + database_key, configuration_type, configuration_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -676,18 +655,11 @@ def _update_configuration_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py index cbf19292..57efa841 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___constants_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -54,9 +69,7 @@ def create_constant( ------- Union[GrantaServerApiSchemaConstantsConstant, None] """ - data = self._create_constant_with_http_info( - database_key, body, _return_http_data_only=True - ) + data = self._create_constant_with_http_info(database_key, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _create_constant_with_http_info( @@ -104,18 +117,11 @@ def _create_constant_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -211,9 +217,7 @@ def _delete_constant_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionConstantDeletionException", @@ -308,9 +312,7 @@ def _get_constant_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaConstantsConstant", @@ -348,9 +350,7 @@ def get_constants( ------- Union[GrantaServerApiSchemaConstantsConstantsInfo, None] """ - data = self._get_constants_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_constants_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_constants_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: @@ -390,9 +390,7 @@ def _get_constants_with_http_info(self, database_key: "str", **kwargs: Any) -> A body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaConstantsConstantsInfo", @@ -498,18 +496,11 @@ def _update_constant_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py index 8b70112b..144f7272 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___data_rules_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -102,18 +117,11 @@ def _create_data_rule_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -296,9 +304,7 @@ def _get_data_rule_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDataRulesDataRule", @@ -336,9 +342,7 @@ def get_data_rules( ------- Union[GrantaServerApiSchemaDataRulesDataRulesInfo, None] """ - data = self._get_data_rules_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_data_rules_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_data_rules_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: @@ -378,9 +382,7 @@ def _get_data_rules_with_http_info(self, database_key: "str", **kwargs: Any) -> body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDataRulesDataRulesInfo", @@ -483,18 +485,11 @@ def _update_data_rule_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py index 62754d21..ed4283d7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___databases_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -70,9 +85,7 @@ def _get_all_databases_with_http_info(self, **kwargs: Any) -> Any: body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDatabasesInfo", @@ -94,9 +107,7 @@ def _get_all_databases_with_http_info(self, **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def get_database( - self, *, database_key: "str" - ) -> "Union[GrantaServerApiSchemaDatabase, None]": + def get_database(self, *, database_key: "str") -> "Union[GrantaServerApiSchemaDatabase, None]": """Returns details for a given database. This method makes a synchronous HTTP request. @@ -109,9 +120,7 @@ def get_database( ------- Union[GrantaServerApiSchemaDatabase, None] """ - data = self._get_database_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_database_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_database_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: @@ -151,9 +160,7 @@ def _get_database_with_http_info(self, database_key: "str", **kwargs: Any) -> An body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDatabase", @@ -176,9 +183,7 @@ def _get_database_with_http_info(self, database_key: "str", **kwargs: Any) -> An response_type_map=response_type_map, ) - def lock_database( - self, *, database_key: "str" - ) -> "Union[GrantaServerApiSchemaDatabase, None]": + def lock_database(self, *, database_key: "str") -> "Union[GrantaServerApiSchemaDatabase, None]": """Lock database This method makes a synchronous HTTP request. @@ -192,9 +197,7 @@ def lock_database( ------- Union[GrantaServerApiSchemaDatabase, None] """ - data = self._lock_database_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._lock_database_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] def _lock_database_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: @@ -234,9 +237,7 @@ def _lock_database_with_http_info(self, database_key: "str", **kwargs: Any) -> A body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDatabase", @@ -277,14 +278,10 @@ def unlock_database( ------- Union[GrantaServerApiSchemaDatabase, None] """ - data = self._unlock_database_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._unlock_database_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _unlock_database_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _unlock_database_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -321,9 +318,7 @@ def _unlock_database_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDatabase", @@ -349,10 +344,7 @@ def _unlock_database_with_http_info( ) def update_database( - self, - *, - database_key: "str", - body: "Optional[GrantaServerApiSchemaUpdateDatabase]" = None, + self, *, database_key: "str", body: "Optional[GrantaServerApiSchemaUpdateDatabase]" = None ) -> "Union[GrantaServerApiSchemaDatabase, None]": """Update database details. @@ -367,9 +359,7 @@ def update_database( ------- Union[GrantaServerApiSchemaDatabase, None] """ - data = self._update_database_with_http_info( - database_key, body, _return_http_data_only=True - ) + data = self._update_database_with_http_info(database_key, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _update_database_with_http_info( @@ -417,18 +407,11 @@ def _update_database_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py index f7e79aa9..a7bfada0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types___discrete_values_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _create_discrete_value_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -151,11 +159,7 @@ def _create_discrete_value_with_http_info( ) def delete_discrete_value( - self, - *, - database_key: "str", - discrete_type_guid: "str", - discrete_value_guid: "str", + self, *, database_key: "str", discrete_type_guid: "str", discrete_value_guid: "str" ) -> "Union[GrantaServerApiExceptionsDeletionDiscreteValueDeletionException, None]": """Delete a single discrete value. It must not be used by any data, or the operation will fail. @@ -172,10 +176,7 @@ def delete_discrete_value( Union[GrantaServerApiExceptionsDeletionDiscreteValueDeletionException, None] """ data = self._delete_discrete_value_with_http_info( - database_key, - discrete_type_guid, - discrete_value_guid, - _return_http_data_only=True, + database_key, discrete_type_guid, discrete_value_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -238,9 +239,7 @@ def _delete_discrete_value_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionDiscreteValueDeletionException", @@ -333,9 +332,7 @@ def _find_unused_discrete_values_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDiscreteValuesDiscreteValuesInfo", @@ -360,11 +357,7 @@ def _find_unused_discrete_values_with_http_info( ) def get_discrete_value( - self, - *, - database_key: "str", - discrete_type_guid: "str", - discrete_value_guid: "str", + self, *, database_key: "str", discrete_type_guid: "str", discrete_value_guid: "str" ) -> "Union[GrantaServerApiSchemaDiscreteValuesDiscreteValue, None]": """Gets specific discrete value for a given discreteType within a given database. @@ -381,10 +374,7 @@ def get_discrete_value( Union[GrantaServerApiSchemaDiscreteValuesDiscreteValue, None] """ data = self._get_discrete_value_with_http_info( - database_key, - discrete_type_guid, - discrete_value_guid, - _return_http_data_only=True, + database_key, discrete_type_guid, discrete_value_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -447,9 +437,7 @@ def _get_discrete_value_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDiscreteValuesDiscreteValue", @@ -540,9 +528,7 @@ def _get_discrete_values_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDiscreteValuesDiscreteValuesInfo", @@ -645,18 +631,11 @@ def _replace_discrete_values_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -706,11 +685,7 @@ def update_discrete_value( Union[GrantaServerApiSchemaDiscreteValuesDiscreteValue, None] """ data = self._update_discrete_value_with_http_info( - database_key, - discrete_type_guid, - discrete_value_guid, - body, - _return_http_data_only=True, + database_key, discrete_type_guid, discrete_value_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -777,18 +752,11 @@ def _update_discrete_value_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py index 8d74e972..9ff6dece 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___discrete_types_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -102,18 +117,11 @@ def _create_discrete_type_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -207,9 +215,7 @@ def _delete_discrete_type_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionDiscreteTypeDeletionException", @@ -302,9 +308,7 @@ def _get_attributes_for_type_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaSlimEntitiesSlimObjects", @@ -396,9 +400,7 @@ def _get_discrete_type_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDiscreteTypesDiscreteType", @@ -436,14 +438,10 @@ def get_discrete_types( ------- Union[GrantaServerApiSchemaDiscreteTypesDiscreteTypesInfo, None] """ - data = self._get_discrete_types_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_discrete_types_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_discrete_types_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_discrete_types_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -480,9 +478,7 @@ def _get_discrete_types_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaDiscreteTypesDiscreteTypesInfo", @@ -586,18 +582,11 @@ def _update_discrete_type_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py index a3b6d364..861dfe0e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___exporters_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -224,12 +239,7 @@ def _create_exporters_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -354,9 +364,7 @@ def _delete_exporters_file_with_http_info( response_type_map=response_type_map, ) - def delete_exporters_folder( - self, *, database_key: "str", folder_guid: "str" - ) -> "None": + def delete_exporters_folder(self, *, database_key: "str", folder_guid: "str") -> "None": """Delete an Exporter Folder. This method makes a synchronous HTTP request. @@ -938,14 +946,10 @@ def get_exporters_folders( ------- Union[GrantaServerApiSchemaFilesFoldersInfo, None] """ - data = self._get_exporters_folders_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_exporters_folders_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_exporters_folders_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_exporters_folders_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1027,9 +1031,7 @@ def get_exporters_root_folder( ) return data # type: ignore[no-any-return] - def _get_exporters_root_folder_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_exporters_root_folder_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1188,12 +1190,7 @@ def _move_exporters_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1305,12 +1302,7 @@ def _move_exporters_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1351,14 +1343,10 @@ def refetch_exporters( ------- Union[GrantaServerApiSchemaFilesExporterRefetchInfo, None] """ - data = self._refetch_exporters_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._refetch_exporters_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _refetch_exporters_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _refetch_exporters_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1519,12 +1507,7 @@ def _update_exporters_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1636,12 +1619,7 @@ def _update_exporters_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py index 1457ddec..0d09af24 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___expressions_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _create_expression_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -173,11 +181,7 @@ def delete_expression( return data # type: ignore[no-any-return] def _delete_expression_with_http_info( - self, - database_key: "str", - table_guid: "str", - expression_guid: "str", - **kwargs: Any, + self, database_key: "str", table_guid: "str", expression_guid: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -358,9 +362,7 @@ def _get_expression_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaExpressionsExpression", @@ -471,9 +473,7 @@ def _get_expressions_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaExpressionsExpressionsInfo", @@ -587,18 +587,11 @@ def _update_expression_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py index 107a4751..6f05713e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___help_files_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -224,12 +239,7 @@ def _create_help_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -936,14 +946,10 @@ def get_help_folders( ------- Union[GrantaServerApiSchemaFilesFoldersInfo, None] """ - data = self._get_help_folders_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_help_folders_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_help_folders_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_help_folders_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1020,14 +1026,10 @@ def get_help_root_folder( ------- Union[GrantaServerApiSchemaFilesFolder, None] """ - data = self._get_help_root_folder_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_help_root_folder_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_help_root_folder_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_help_root_folder_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1186,12 +1188,7 @@ def _move_help_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1303,12 +1300,7 @@ def _move_help_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1431,12 +1423,7 @@ def _update_help_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1548,12 +1535,7 @@ def _update_help_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py index 90204817..ee10b945 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___home_pages_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -224,12 +239,7 @@ def _create_home_page_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -354,9 +364,7 @@ def _delete_home_page_file_with_http_info( response_type_map=response_type_map, ) - def delete_home_page_folder( - self, *, database_key: "str", folder_guid: "str" - ) -> "None": + def delete_home_page_folder(self, *, database_key: "str", folder_guid: "str") -> "None": """Delete a Home Page Folder. This method makes a synchronous HTTP request. @@ -938,14 +946,10 @@ def get_home_page_folders( ------- Union[GrantaServerApiSchemaFilesFoldersInfo, None] """ - data = self._get_home_page_folders_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_home_page_folders_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_home_page_folders_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_home_page_folders_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1027,9 +1031,7 @@ def get_home_page_root_folder( ) return data # type: ignore[no-any-return] - def _get_home_page_root_folder_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_home_page_root_folder_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -1188,12 +1190,7 @@ def _move_home_page_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1305,12 +1302,7 @@ def _move_home_page_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1433,12 +1425,7 @@ def _update_home_page_file_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1550,12 +1537,7 @@ def _update_home_page_folder_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py index 87ba56ed..aa401b5d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layout_sections_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -59,12 +74,7 @@ def create_layout_item( Union[GrantaServerApiSchemaLayoutsNewLayoutItem, None] """ data = self._create_layout_item_with_http_info( - database_key, - table_guid, - layout_guid, - section_guid, - body, - _return_http_data_only=True, + database_key, table_guid, layout_guid, section_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -140,18 +150,11 @@ def _create_layout_item_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -268,18 +271,11 @@ def _create_section_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -363,9 +359,7 @@ def _delete_item_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method delete_item" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_item") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -441,12 +435,7 @@ def _delete_item_with_http_info( ) def delete_section( - self, - *, - database_key: "str", - table_guid: "str", - layout_guid: "str", - section_guid: "str", + self, *, database_key: "str", table_guid: "str", layout_guid: "str", section_guid: "str" ) -> "None": """Delete a layout section. @@ -464,11 +453,7 @@ def delete_section( None """ data = self._delete_section_with_http_info( - database_key, - table_guid, - layout_guid, - section_guid, - _return_http_data_only=True, + database_key, table_guid, layout_guid, section_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -686,9 +671,7 @@ def _get_layout_section_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaLayoutsLayoutSection", @@ -822,9 +805,7 @@ def _get_layout_sections_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaLayoutsLayoutSectionsInfo", @@ -938,18 +919,11 @@ def _reorder_sections_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py index 32b34085..cc04a818 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___layouts_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _create_layout_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -315,9 +323,7 @@ def _get_layout_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_layout" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_layout") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -361,9 +367,7 @@ def _get_layout_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaLayoutsLayout", @@ -437,9 +441,7 @@ def _get_layouts_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_layouts" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_layouts") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -474,9 +476,7 @@ def _get_layouts_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaLayoutsLayoutsInfo", @@ -590,18 +590,11 @@ def _update_layout_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py index 64d919bd..37c7ff79 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___parameters_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -102,18 +117,11 @@ def _create_parameter_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -219,18 +227,11 @@ def _create_parameter_value_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -324,9 +325,7 @@ def _delete_parameter_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionParameterDeletionException", @@ -353,9 +352,7 @@ def _delete_parameter_with_http_info( def delete_parameter_value( self, *, database_key: "str", parameter_guid: "str", parameter_value_guid: "str" - ) -> ( - "Union[GrantaServerApiExceptionsDeletionParameterValueDeletionException, None]" - ): + ) -> "Union[GrantaServerApiExceptionsDeletionParameterValueDeletionException, None]": """Delete a parameter value. This method makes a synchronous HTTP request. @@ -371,19 +368,12 @@ def delete_parameter_value( Union[GrantaServerApiExceptionsDeletionParameterValueDeletionException, None] """ data = self._delete_parameter_value_with_http_info( - database_key, - parameter_guid, - parameter_value_guid, - _return_http_data_only=True, + database_key, parameter_guid, parameter_value_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] def _delete_parameter_value_with_http_info( - self, - database_key: "str", - parameter_guid: "str", - parameter_value_guid: "str", - **kwargs: Any, + self, database_key: "str", parameter_guid: "str", parameter_value_guid: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -413,10 +403,7 @@ def _delete_parameter_value_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'delete_parameter_value'" ) # verify the required parameter "parameter_value_guid" is set - if ( - "parameter_value_guid" not in params - or params["parameter_value_guid"] is None - ): + if "parameter_value_guid" not in params or params["parameter_value_guid"] is None: raise ValueError( "Missing the required parameter 'parameter_value_guid' when calling 'delete_parameter_value'" ) @@ -440,9 +427,7 @@ def _delete_parameter_value_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionParameterValueDeletionException", @@ -535,9 +520,7 @@ def _get_objects_using_parameter_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaSlimEntitiesSlimObjects", @@ -628,9 +611,7 @@ def _get_parameter_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaParametersParameter", @@ -671,19 +652,12 @@ def get_parameter_value( Union[GrantaServerApiSchemaParametersParameterValue, None] """ data = self._get_parameter_value_with_http_info( - database_key, - parameter_guid, - parameter_value_guid, - _return_http_data_only=True, + database_key, parameter_guid, parameter_value_guid, _return_http_data_only=True ) return data # type: ignore[no-any-return] def _get_parameter_value_with_http_info( - self, - database_key: "str", - parameter_guid: "str", - parameter_value_guid: "str", - **kwargs: Any, + self, database_key: "str", parameter_guid: "str", parameter_value_guid: "str", **kwargs: Any ) -> Any: all_params = [ "database_key", @@ -713,10 +687,7 @@ def _get_parameter_value_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'get_parameter_value'" ) # verify the required parameter "parameter_value_guid" is set - if ( - "parameter_value_guid" not in params - or params["parameter_value_guid"] is None - ): + if "parameter_value_guid" not in params or params["parameter_value_guid"] is None: raise ValueError( "Missing the required parameter 'parameter_value_guid' when calling 'get_parameter_value'" ) @@ -740,9 +711,7 @@ def _get_parameter_value_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaParametersParameterValue", @@ -780,9 +749,7 @@ def get_parameters( ------- Union[GrantaServerApiSchemaParametersParametersInfo, None] """ - data = self._get_parameters_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_parameters_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_parameters_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: @@ -822,9 +789,7 @@ def _get_parameters_with_http_info(self, database_key: "str", **kwargs: Any) -> body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaParametersParametersInfo", @@ -927,18 +892,11 @@ def _update_parameter_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -988,11 +946,7 @@ def update_parameter_value( Union[GrantaServerApiSchemaParametersParameterValue, None] """ data = self._update_parameter_value_with_http_info( - database_key, - parameter_guid, - parameter_value_guid, - body, - _return_http_data_only=True, + database_key, parameter_guid, parameter_value_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -1033,10 +987,7 @@ def _update_parameter_value_with_http_info( "Missing the required parameter 'parameter_guid' when calling 'update_parameter_value'" ) # verify the required parameter "parameter_value_guid" is set - if ( - "parameter_value_guid" not in params - or params["parameter_value_guid"] is None - ): + if "parameter_value_guid" not in params or params["parameter_value_guid"] is None: raise ValueError( "Missing the required parameter 'parameter_value_guid' when calling 'update_parameter_value'" ) @@ -1062,18 +1013,11 @@ def _update_parameter_value_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py index 2821a7df..c9700b43 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profile_tables_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -102,18 +117,11 @@ def _create_profile_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -139,9 +147,7 @@ def _create_profile_table_with_http_info( response_type_map=response_type_map, ) - def delete_profile_table( - self, *, profile_guid: "str", profile_table_guid: "str" - ) -> "None": + def delete_profile_table(self, *, profile_guid: "str", profile_table_guid: "str") -> "None": """Delete a profile table This method makes a synchronous HTTP request. @@ -297,9 +303,7 @@ def _get_profile_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaProfileTablesProfileTable", @@ -338,14 +342,10 @@ def get_profile_tables( ------- Union[GrantaServerApiSchemaProfileTablesProfileTablesInfo, None] """ - data = self._get_profile_tables_with_http_info( - profile_guid, _return_http_data_only=True - ) + data = self._get_profile_tables_with_http_info(profile_guid, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_profile_tables_with_http_info( - self, profile_guid: "str", **kwargs: Any - ) -> Any: + def _get_profile_tables_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any: all_params = [ "profile_guid", "_return_http_data_only", @@ -382,9 +382,7 @@ def _get_profile_tables_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaProfileTablesProfileTablesInfo", @@ -488,18 +486,11 @@ def _update_profile_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py index 12454ce3..0bd8caaf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___profiles_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -52,16 +67,9 @@ def create_profile( return data # type: ignore[no-any-return] def _create_profile_with_http_info( - self, - body: "Optional[GrantaServerApiSchemaProfilesCreateProfile]" = None, - **kwargs: Any, + self, body: "Optional[GrantaServerApiSchemaProfilesCreateProfile]" = None, **kwargs: Any ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -87,18 +95,11 @@ def _create_profile_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -136,9 +137,7 @@ def delete_profile(self, *, profile_guid: "str") -> "None": ------- None """ - data = self._delete_profile_with_http_info( - profile_guid, _return_http_data_only=True - ) + data = self._delete_profile_with_http_info(profile_guid, _return_http_data_only=True) return data # type: ignore[no-any-return] def _delete_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any: @@ -216,9 +215,7 @@ def get_profile( ------- Union[GrantaServerApiSchemaProfilesProfile, None] """ - data = self._get_profile_with_http_info( - profile_guid, _return_http_data_only=True - ) + data = self._get_profile_with_http_info(profile_guid, _return_http_data_only=True) return data # type: ignore[no-any-return] def _get_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any: @@ -232,9 +229,7 @@ def _get_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_profile" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_profile") params[key] = val del params["kwargs"] # verify the required parameter "profile_guid" is set @@ -258,9 +253,7 @@ def _get_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaProfilesProfile", @@ -284,9 +277,7 @@ def _get_profile_with_http_info(self, profile_guid: "str", **kwargs: Any) -> Any response_type_map=response_type_map, ) - def get_profiles( - self, - ) -> "Union[GrantaServerApiSchemaProfilesAllProfilesInfo, None]": + def get_profiles(self) -> "Union[GrantaServerApiSchemaProfilesAllProfilesInfo, None]": """Get AllProfilesInfo This method makes a synchronous HTTP request. @@ -323,9 +314,7 @@ def _get_profiles_with_http_info(self, **kwargs: Any) -> Any: body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaProfilesAllProfilesInfo", @@ -349,9 +338,7 @@ def _get_profiles_with_http_info(self, **kwargs: Any) -> Any: ) def update_all_profiles_info( - self, - *, - body: "Optional[GrantaServerApiSchemaProfilesUpdateAllProfilesInfo]" = None, + self, *, body: "Optional[GrantaServerApiSchemaProfilesUpdateAllProfilesInfo]" = None ) -> "Union[GrantaServerApiSchemaProfilesAllProfilesInfo, None]": """Update AllProfilesInfo @@ -365,9 +352,7 @@ def update_all_profiles_info( ------- Union[GrantaServerApiSchemaProfilesAllProfilesInfo, None] """ - data = self._update_all_profiles_info_with_http_info( - body, _return_http_data_only=True - ) + data = self._update_all_profiles_info_with_http_info(body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _update_all_profiles_info_with_http_info( @@ -375,12 +360,7 @@ def _update_all_profiles_info_with_http_info( body: "Optional[GrantaServerApiSchemaProfilesUpdateAllProfilesInfo]" = None, **kwargs: Any, ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -406,18 +386,11 @@ def _update_all_profiles_info_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -462,9 +435,7 @@ def update_profile( ------- Union[GrantaServerApiSchemaProfilesProfile, None] """ - data = self._update_profile_with_http_info( - profile_guid, body, _return_http_data_only=True - ) + data = self._update_profile_with_http_info(profile_guid, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _update_profile_with_http_info( @@ -512,18 +483,11 @@ def _update_profile_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py index 83c508d3..787c129a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___record_link_groups_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -113,18 +128,11 @@ def _create_record_link_group_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -220,18 +228,12 @@ def _delete_record_link_group_with_http_info( "Missing the required parameter 'table_guid' when calling 'delete_record_link_group'" ) # verify the required parameter "record_link_group_guid" is set - if ( - "record_link_group_guid" not in params - or params["record_link_group_guid"] is None - ): + if "record_link_group_guid" not in params or params["record_link_group_guid"] is None: raise ValueError( "Missing the required parameter 'record_link_group_guid' when calling 'delete_record_link_group'" ) # verify the required parameter "record_link_group_type" is set - if ( - "record_link_group_type" not in params - or params["record_link_group_type"] is None - ): + if "record_link_group_type" not in params or params["record_link_group_type"] is None: raise ValueError( "Missing the required parameter 'record_link_group_type' when calling 'delete_record_link_group'" ) @@ -367,9 +369,7 @@ def _get_inbound_record_link_groups_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo", @@ -474,18 +474,12 @@ def _get_record_link_group_with_http_info( "Missing the required parameter 'table_guid' when calling 'get_record_link_group'" ) # verify the required parameter "record_link_group_guid" is set - if ( - "record_link_group_guid" not in params - or params["record_link_group_guid"] is None - ): + if "record_link_group_guid" not in params or params["record_link_group_guid"] is None: raise ValueError( "Missing the required parameter 'record_link_group_guid' when calling 'get_record_link_group'" ) # verify the required parameter "record_link_group_type" is set - if ( - "record_link_group_type" not in params - or params["record_link_group_type"] is None - ): + if "record_link_group_type" not in params or params["record_link_group_type"] is None: raise ValueError( "Missing the required parameter 'record_link_group_type' when calling 'get_record_link_group'" ) @@ -515,9 +509,7 @@ def _get_record_link_group_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup", @@ -628,9 +620,7 @@ def _get_record_link_groups_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo", @@ -677,11 +667,7 @@ def update_record_link_group( Union[GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup, None] """ data = self._update_record_link_group_with_http_info( - database_key, - table_guid, - record_link_group_guid, - body, - _return_http_data_only=True, + database_key, table_guid, record_link_group_guid, body, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -722,10 +708,7 @@ def _update_record_link_group_with_http_info( "Missing the required parameter 'table_guid' when calling 'update_record_link_group'" ) # verify the required parameter "record_link_group_guid" is set - if ( - "record_link_group_guid" not in params - or params["record_link_group_guid"] is None - ): + if "record_link_group_guid" not in params or params["record_link_group_guid"] is None: raise ValueError( "Missing the required parameter 'record_link_group_guid' when calling 'update_record_link_group'" ) @@ -751,18 +734,11 @@ def _update_record_link_group_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py index f16a536f..c9a055e2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___standard_names_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -102,18 +117,11 @@ def _create_standard_name_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -139,9 +147,7 @@ def _create_standard_name_with_http_info( response_type_map=response_type_map, ) - def delete_standard_name( - self, *, database_key: "str", standard_name_guid: "str" - ) -> "None": + def delete_standard_name(self, *, database_key: "str", standard_name_guid: "str") -> "None": """Delete a standard name. This method makes a synchronous HTTP request. @@ -298,9 +304,7 @@ def _get_standard_name_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaStandardNamesStandardName", @@ -338,14 +342,10 @@ def get_standard_names( ------- Union[GrantaServerApiSchemaStandardNamesStandardNamesInfo, None] """ - data = self._get_standard_names_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_standard_names_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_standard_names_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_standard_names_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -382,9 +382,7 @@ def _get_standard_names_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaStandardNamesStandardNamesInfo", @@ -487,18 +485,11 @@ def _update_standard_name_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py index 96f29d4b..fb50fc15 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___subsets_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -125,12 +140,7 @@ def _add_to_subset_with_http_info( body_params = params["body"] # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -236,18 +246,11 @@ def _create_subset_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -433,9 +436,7 @@ def _get_subset_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_subset" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_subset") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -477,9 +478,7 @@ def _get_subset_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaSubsetsSubset", @@ -553,9 +552,7 @@ def _get_subsets_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_subsets" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_subsets") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -590,9 +587,7 @@ def _get_subsets_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaSubsetsSubsetsInfo", @@ -707,12 +702,7 @@ def _remove_from_subset_with_http_info( body_params = params["body"] # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -829,18 +819,11 @@ def _update_subset_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py index fed3be57..f4688345 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___tables_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -52,9 +67,7 @@ def create_table( ------- Union[GrantaServerApiSchemaTablesTable, None] """ - data = self._create_table_with_http_info( - database_key, body, _return_http_data_only=True - ) + data = self._create_table_with_http_info(database_key, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _create_table_with_http_info( @@ -102,18 +115,11 @@ def _create_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -207,9 +213,7 @@ def _delete_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 400: "GrantaServerApiExceptionsDeletionTableDeletionException", @@ -302,9 +306,7 @@ def _enable_version_control_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaTablesTable", @@ -380,9 +382,7 @@ def _get_table_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_table" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_table") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -392,9 +392,7 @@ def _get_table_with_http_info( ) # verify the required parameter "table_guid" is set if "table_guid" not in params or params["table_guid"] is None: - raise ValueError( - "Missing the required parameter 'table_guid' when calling 'get_table'" - ) + raise ValueError("Missing the required parameter 'table_guid' when calling 'get_table'") collection_formats: Dict[str, Any] = {} @@ -417,9 +415,7 @@ def _get_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaTablesTable", @@ -489,9 +485,7 @@ def _get_tables_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_tables" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_tables") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -519,9 +513,7 @@ def _get_tables_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaTablesTablesInfo", @@ -612,9 +604,7 @@ def _release_table_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaTablesTable", @@ -719,18 +709,11 @@ def _update_table_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py index bb7289e5..bcb39aff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema___units_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -34,10 +49,7 @@ class SchemaUnitsApi(ApiBase): """ def create_unit( - self, - *, - database_key: "str", - body: "Optional[GrantaServerApiSchemaUnitsCreateUnit]" = None, + self, *, database_key: "str", body: "Optional[GrantaServerApiSchemaUnitsCreateUnit]" = None ) -> "Union[GrantaServerApiSchemaUnitsUnit, None]": """Create a new unit. @@ -52,9 +64,7 @@ def create_unit( ------- Union[GrantaServerApiSchemaUnitsUnit, None] """ - data = self._create_unit_with_http_info( - database_key, body, _return_http_data_only=True - ) + data = self._create_unit_with_http_info(database_key, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _create_unit_with_http_info( @@ -74,9 +84,7 @@ def _create_unit_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method create_unit" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method create_unit") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -102,18 +110,11 @@ def _create_unit_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -208,18 +209,11 @@ def _create_unit_system_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -278,9 +272,7 @@ def _delete_unit_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method delete_unit" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method delete_unit") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -334,9 +326,7 @@ def _delete_unit_with_http_info( response_type_map=response_type_map, ) - def delete_unit_system( - self, *, database_key: "str", unit_system_guid: "str" - ) -> "None": + def delete_unit_system(self, *, database_key: "str", unit_system_guid: "str") -> "None": """Delete a unit system. This method makes a synchronous HTTP request. @@ -493,9 +483,7 @@ def _get_compatible_units_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitsInfo", @@ -534,14 +522,10 @@ def get_unit( ------- Union[GrantaServerApiSchemaUnitsUnit, None] """ - data = self._get_unit_with_http_info( - database_key, unit_guid, _return_http_data_only=True - ) + data = self._get_unit_with_http_info(database_key, unit_guid, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_unit_with_http_info( - self, database_key: "str", unit_guid: "str", **kwargs: Any - ) -> Any: + def _get_unit_with_http_info(self, database_key: "str", unit_guid: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "unit_guid", @@ -553,9 +537,7 @@ def _get_unit_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_unit" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_unit") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -565,9 +547,7 @@ def _get_unit_with_http_info( ) # verify the required parameter "unit_guid" is set if "unit_guid" not in params or params["unit_guid"] is None: - raise ValueError( - "Missing the required parameter 'unit_guid' when calling 'get_unit'" - ) + raise ValueError("Missing the required parameter 'unit_guid' when calling 'get_unit'") collection_formats: Dict[str, Any] = {} @@ -586,9 +566,7 @@ def _get_unit_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnit", @@ -679,9 +657,7 @@ def _get_unit_equivalents_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitEquivalentsInfo", @@ -772,9 +748,7 @@ def _get_unit_system_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitSystem", @@ -812,14 +786,10 @@ def get_unit_systems( ------- Union[GrantaServerApiSchemaUnitsUnitSystemsInfo, None] """ - data = self._get_unit_systems_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_unit_systems_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_unit_systems_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_unit_systems_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -856,9 +826,7 @@ def _get_unit_systems_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitSystemsInfo", @@ -949,9 +917,7 @@ def _get_unit_usages_with_http_info( body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitUsage", @@ -1003,9 +969,7 @@ def _get_units_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_units" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_units") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -1029,9 +993,7 @@ def _get_units_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSchemaUnitsUnitsInfo", @@ -1128,10 +1090,7 @@ def _set_unit_equivalent_with_http_info( "Missing the required parameter 'unit_system_guid' when calling 'set_unit_equivalent'" ) # verify the required parameter "equivalent_unit_guid" is set - if ( - "equivalent_unit_guid" not in params - or params["equivalent_unit_guid"] is None - ): + if "equivalent_unit_guid" not in params or params["equivalent_unit_guid"] is None: raise ValueError( "Missing the required parameter 'equivalent_unit_guid' when calling 'set_unit_equivalent'" ) @@ -1223,9 +1182,7 @@ def _update_unit_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method update_unit" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method update_unit") params[key] = val del params["kwargs"] # verify the required parameter "database_key" is set @@ -1258,18 +1215,11 @@ def _update_unit_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -1375,18 +1325,11 @@ def _update_unit_system_with_http_info( if "body" in params and body is not None: body_params = params["body"] # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py index b08760d7..4f0a8f74 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/schema_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -51,9 +66,7 @@ def _get_version_with_http_info(self, **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_version" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_version") params[key] = val del params["kwargs"] @@ -70,9 +83,7 @@ def _get_version_with_http_info(self, **kwargs: Any) -> Any: body_params = None # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["application/json"] - ) + header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiAdminMiVersion", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py index 8c1f0912..6f407f57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/search_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -122,12 +137,7 @@ def _database_search_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -178,12 +188,7 @@ def database_search_in_table_with_guid( GrantaServerApiSearchSearchResponse """ data = self._database_search_in_table_with_guid_with_http_info( - database_key, - table_guid, - body, - x_ansys_vc_mode, - mode, - _return_http_data_only=True, + database_key, table_guid, body, x_ansys_vc_mode, mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -255,12 +260,7 @@ def _database_search_in_table_with_guid_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -311,12 +311,7 @@ def database_search_in_table_with_identity( GrantaServerApiSearchSearchResponse """ data = self._database_search_in_table_with_identity_with_http_info( - database_key, - table_identity, - body, - x_ansys_vc_mode, - mode, - _return_http_data_only=True, + database_key, table_identity, body, x_ansys_vc_mode, mode, _return_http_data_only=True ) return data # type: ignore[no-any-return] @@ -388,12 +383,7 @@ def _database_search_in_table_with_identity_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -434,9 +424,7 @@ def delete_search_results(self, *, search_identifier: "str") -> "None": ) return data # type: ignore[no-any-return] - def _delete_search_results_with_http_info( - self, search_identifier: "str", **kwargs: Any - ) -> Any: + def _delete_search_results_with_http_info(self, search_identifier: "str", **kwargs: Any) -> Any: all_params = [ "search_identifier", "_return_http_data_only", @@ -475,6 +463,7 @@ def _delete_search_results_with_http_info( response_type_map: Dict[int, Optional[str]] = { 200: None, + 403: None, 404: None, } @@ -569,16 +558,12 @@ def _get_search_results_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { 200: "GrantaServerApiSearchSearchResponse", + 403: None, 404: None, } @@ -599,10 +584,7 @@ def _get_search_results_with_http_info( ) def integration_search( - self, - *, - schema: "str", - body: "Optional[GrantaServerApiSearchSearchRequest]" = None, + self, *, schema: "str", body: "Optional[GrantaServerApiSearchSearchRequest]" = None ) -> "Union[GrantaServerApiSearchSearchResponse, None]": """Runs a search against the integration schema. @@ -617,9 +599,7 @@ def integration_search( ------- Union[GrantaServerApiSearchSearchResponse, None] """ - data = self._integration_search_with_http_info( - schema, body, _return_http_data_only=True - ) + data = self._integration_search_with_http_info(schema, body, _return_http_data_only=True) return data # type: ignore[no-any-return] def _integration_search_with_http_info( @@ -673,12 +653,7 @@ def _integration_search_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py index a4fa9772..3dc62fd7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/selection_searches_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -34,9 +49,7 @@ class SelectionSearchesApi(ApiBase): """ def create_search( - self, - *, - body: "Optional[GrantaServerApiSelectionSearchesCreateSearchRequest]" = None, + self, *, body: "Optional[GrantaServerApiSelectionSearchesCreateSearchRequest]" = None ) -> "Union[GrantaServerApiSelectionSearchesSelectionSearch, None]": """Creates a new search with the specified properties. @@ -58,12 +71,7 @@ def _create_search_with_http_info( body: "Optional[GrantaServerApiSelectionSearchesCreateSearchRequest]" = None, **kwargs: Any, ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): @@ -95,12 +103,7 @@ def _create_search_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -138,14 +141,10 @@ def delete_search(self, *, search_identifier: "str") -> "None": ------- None """ - data = self._delete_search_with_http_info( - search_identifier, _return_http_data_only=True - ) + data = self._delete_search_with_http_info(search_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _delete_search_with_http_info( - self, search_identifier: "str", **kwargs: Any - ) -> Any: + def _delete_search_with_http_info(self, search_identifier: "str", **kwargs: Any) -> Any: all_params = [ "search_identifier", "_return_http_data_only", @@ -204,9 +203,7 @@ def _delete_search_with_http_info( response_type_map=response_type_map, ) - def get_all( - self, - ) -> "Union[List[GrantaServerApiSelectionSearchesSelectionSearch], None]": + def get_all(self) -> "Union[List[GrantaServerApiSelectionSearchesSelectionSearch], None]": """Returns all searches visible to the calling user. This method makes a synchronous HTTP request. @@ -224,9 +221,7 @@ def _get_all_with_http_info(self, **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_all" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_all") params[key] = val del params["kwargs"] @@ -283,14 +278,10 @@ def get_search( ------- Union[GrantaServerApiSelectionSearchesSelectionSearch, None] """ - data = self._get_search_with_http_info( - search_identifier, _return_http_data_only=True - ) + data = self._get_search_with_http_info(search_identifier, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_search_with_http_info( - self, search_identifier: "str", **kwargs: Any - ) -> Any: + def _get_search_with_http_info(self, search_identifier: "str", **kwargs: Any) -> Any: all_params = [ "search_identifier", "_return_http_data_only", @@ -301,9 +292,7 @@ def _get_search_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_search" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_search") params[key] = val del params["kwargs"] # verify the required parameter "search_identifier" is set @@ -395,9 +384,7 @@ def _save_search_with_http_info( params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method save_search" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method save_search") params[key] = val del params["kwargs"] # verify the required parameter "search_identifier" is set @@ -424,12 +411,7 @@ def _save_search_with_http_info( body_params = params["body"] # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { @@ -456,9 +438,7 @@ def _save_search_with_http_info( ) def search( - self, - *, - body: "Optional[GrantaServerApiSelectionSearchesFindSearchRequest]" = None, + self, *, body: "Optional[GrantaServerApiSelectionSearchesFindSearchRequest]" = None ) -> "Union[GrantaServerApiSelectionSearchesSelectionSearch, None]": """Retrieves a collection of searches that match the specified criteria. @@ -480,19 +460,12 @@ def _search_with_http_info( body: "Optional[GrantaServerApiSelectionSearchesFindSearchRequest]" = None, **kwargs: Any, ) -> Any: - all_params = [ - "body", - "_return_http_data_only", - "_preload_content", - "_request_timeout", - ] + all_params = ["body", "_return_http_data_only", "_preload_content", "_request_timeout"] params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method search" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method search") params[key] = val del params["kwargs"] @@ -517,12 +490,7 @@ def _search_with_http_info( # HTTP header 'Content-Type' header_params["Content-Type"] = self.api_client.select_header_content_type( - [ - "application/json-patch+json", - "application/json", - "text/json", - "application/*+json", - ] + ["application/json-patch+json", "application/json", "text/json", "application/*+json"] ) response_type_map: Dict[int, Optional[str]] = { diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py index a32f7472..9884476c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/api/status_api.py @@ -1,28 +1,43 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - Dict, - BinaryIO, - List, - Optional, - Union, -) # noqa: F401 -from . import ApiBase +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 +from . import ApiBase if TYPE_CHECKING: import pathlib + from ..models import * @@ -51,9 +66,7 @@ def _get_with_http_info(self, **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get") params[key] = val del params["kwargs"] @@ -105,14 +118,10 @@ def get_database_status( ------- GrantaServerApiDatabaseStatusInformation """ - data = self._get_database_status_with_http_info( - database_key, _return_http_data_only=True - ) + data = self._get_database_status_with_http_info(database_key, _return_http_data_only=True) return data # type: ignore[no-any-return] - def _get_database_status_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: + def _get_database_status_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: all_params = [ "database_key", "_return_http_data_only", @@ -191,9 +200,7 @@ def _get_status_with_http_info(self, **kwargs: Any) -> Any: params = locals() for key, val in params["kwargs"].items(): if key not in all_params: - raise TypeError( - f"Got an unexpected keyword argument '{key}' to method get_status" - ) + raise TypeError(f"Got an unexpected keyword argument '{key}' to method get_status") params[key] = val del params["kwargs"] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/__init__.py index 1c093c71..60c74063 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/__init__.py @@ -1,3 +1,25 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + # flake8: noqa """ @@ -6,24 +28,23 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ # import Model ABC from ansys.openapi.common import ModelBase, Unset, Unset_Type -# import models into model package -from .folderguid_files_body import FolderguidFilesBody from .folderguid_files_body1 import FolderguidFilesBody1 from .folderguid_files_body2 import FolderguidFilesBody2 + +# import models into model package +from .folderguid_files_body import FolderguidFilesBody from .granta_mi_record_property_fake_attribute_identities import ( GrantaMIRecordPropertyFakeAttributeIdentities, ) from .granta_server_api_admin_mi_version import GrantaServerApiAdminMiVersion -from .granta_server_api_aggregations_aggregation import ( - GrantaServerApiAggregationsAggregation, -) +from .granta_server_api_aggregations_aggregation import GrantaServerApiAggregationsAggregation from .granta_server_api_aggregations_aggregation_criterion import ( GrantaServerApiAggregationsAggregationCriterion, ) @@ -111,9 +132,7 @@ from .granta_server_api_aggregations_free_text_aggregation_criterion import ( GrantaServerApiAggregationsFreeTextAggregationCriterion, ) -from .granta_server_api_aggregations_histogram import ( - GrantaServerApiAggregationsHistogram, -) +from .granta_server_api_aggregations_histogram import GrantaServerApiAggregationsHistogram from .granta_server_api_aggregations_histogram_bucket import ( GrantaServerApiAggregationsHistogramBucket, ) @@ -198,9 +217,7 @@ from .granta_server_api_aggregations_short_text_aggregation_datum_criterion import ( GrantaServerApiAggregationsShortTextAggregationDatumCriterion, ) -from .granta_server_api_aggregations_term_with_count import ( - GrantaServerApiAggregationsTermWithCount, -) +from .granta_server_api_aggregations_term_with_count import GrantaServerApiAggregationsTermWithCount from .granta_server_api_aggregations_value_with_count_of_system_boolean import ( GrantaServerApiAggregationsValueWithCountOfSystemBoolean, ) @@ -223,17 +240,11 @@ from .granta_server_api_async_jobs_create_job_request import ( GrantaServerApiAsyncJobsCreateJobRequest, ) -from .granta_server_api_async_jobs_current_user import ( - GrantaServerApiAsyncJobsCurrentUser, -) -from .granta_server_api_async_jobs_get_jobs_response import ( - GrantaServerApiAsyncJobsGetJobsResponse, -) +from .granta_server_api_async_jobs_current_user import GrantaServerApiAsyncJobsCurrentUser +from .granta_server_api_async_jobs_get_jobs_response import GrantaServerApiAsyncJobsGetJobsResponse from .granta_server_api_async_jobs_job import GrantaServerApiAsyncJobsJob from .granta_server_api_async_jobs_job_status import GrantaServerApiAsyncJobsJobStatus -from .granta_server_api_async_jobs_processing_config import ( - GrantaServerApiAsyncJobsProcessingConfig, -) +from .granta_server_api_async_jobs_processing_config import GrantaServerApiAsyncJobsProcessingConfig from .granta_server_api_async_jobs_resubmit_job_request import ( GrantaServerApiAsyncJobsResubmitJobRequest, ) @@ -270,9 +281,7 @@ from .granta_server_api_data_export_datums_date_time_datum import ( GrantaServerApiDataExportDatumsDateTimeDatum, ) -from .granta_server_api_data_export_datums_datum import ( - GrantaServerApiDataExportDatumsDatum, -) +from .granta_server_api_data_export_datums_datum import GrantaServerApiDataExportDatumsDatum from .granta_server_api_data_export_datums_discrete_datum import ( GrantaServerApiDataExportDatumsDiscreteDatum, ) @@ -312,9 +321,7 @@ from .granta_server_api_data_export_datums_grid_point import ( GrantaServerApiDataExportDatumsGridPoint, ) -from .granta_server_api_data_export_datums_hyperlink import ( - GrantaServerApiDataExportDatumsHyperlink, -) +from .granta_server_api_data_export_datums_hyperlink import GrantaServerApiDataExportDatumsHyperlink from .granta_server_api_data_export_datums_hyperlink_datum import ( GrantaServerApiDataExportDatumsHyperlinkDatum, ) @@ -339,15 +346,11 @@ from .granta_server_api_data_export_datums_picture_datum import ( GrantaServerApiDataExportDatumsPictureDatum, ) -from .granta_server_api_data_export_datums_point import ( - GrantaServerApiDataExportDatumsPoint, -) +from .granta_server_api_data_export_datums_point import GrantaServerApiDataExportDatumsPoint from .granta_server_api_data_export_datums_point_datum import ( GrantaServerApiDataExportDatumsPointDatum, ) -from .granta_server_api_data_export_datums_range import ( - GrantaServerApiDataExportDatumsRange, -) +from .granta_server_api_data_export_datums_range import GrantaServerApiDataExportDatumsRange from .granta_server_api_data_export_datums_range_datum import ( GrantaServerApiDataExportDatumsRangeDatum, ) @@ -366,9 +369,7 @@ from .granta_server_api_data_export_datums_rollup_values_rollup_datum import ( GrantaServerApiDataExportDatumsRollupValuesRollupDatum, ) -from .granta_server_api_data_export_datums_series import ( - GrantaServerApiDataExportDatumsSeries, -) +from .granta_server_api_data_export_datums_series import GrantaServerApiDataExportDatumsSeries from .granta_server_api_data_export_datums_series_point import ( GrantaServerApiDataExportDatumsSeriesPoint, ) @@ -486,9 +487,7 @@ from .granta_server_api_data_export_properties_version_state_property import ( GrantaServerApiDataExportPropertiesVersionStateProperty, ) -from .granta_server_api_data_export_record_with_data import ( - GrantaServerApiDataExportRecordWithData, -) +from .granta_server_api_data_export_record_with_data import GrantaServerApiDataExportRecordWithData from .granta_server_api_data_export_simple_attribute_to_export import ( GrantaServerApiDataExportSimpleAttributeToExport, ) @@ -501,15 +500,11 @@ from .granta_server_api_data_integer_datum import GrantaServerApiDataIntegerDatum from .granta_server_api_data_logical_datum import GrantaServerApiDataLogicalDatum from .granta_server_api_data_long_text_datum import GrantaServerApiDataLongTextDatum -from .granta_server_api_data_not_applicable_datum import ( - GrantaServerApiDataNotApplicableDatum, -) +from .granta_server_api_data_not_applicable_datum import GrantaServerApiDataNotApplicableDatum from .granta_server_api_data_numeric_parameter_with_value import ( GrantaServerApiDataNumericParameterWithValue, ) -from .granta_server_api_data_parameter_with_value import ( - GrantaServerApiDataParameterWithValue, -) +from .granta_server_api_data_parameter_with_value import GrantaServerApiDataParameterWithValue from .granta_server_api_data_picture_datum import GrantaServerApiDataPictureDatum from .granta_server_api_data_point_data_value import GrantaServerApiDataPointDataValue from .granta_server_api_data_point_datum import GrantaServerApiDataPointDatum @@ -521,9 +516,7 @@ GrantaServerApiDataSignificantFiguresInfo, ) from .granta_server_api_database_status import GrantaServerApiDatabaseStatus -from .granta_server_api_database_status_information import ( - GrantaServerApiDatabaseStatusInformation, -) +from .granta_server_api_database_status_information import GrantaServerApiDatabaseStatusInformation from .granta_server_api_discrete_value import GrantaServerApiDiscreteValue from .granta_server_api_disk_status import GrantaServerApiDiskStatus from .granta_server_api_exceptions_data_modification_data_modification_error_detail import ( @@ -556,9 +549,7 @@ from .granta_server_api_exceptions_deletion_table_deletion_exception import ( GrantaServerApiExceptionsDeletionTableDeletionException, ) -from .granta_server_api_exceptions_error_detail import ( - GrantaServerApiExceptionsErrorDetail, -) +from .granta_server_api_exceptions_error_detail import GrantaServerApiExceptionsErrorDetail from .granta_server_api_exceptions_record_history_record_history_copy_exception import ( GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException, ) @@ -592,9 +583,7 @@ from .granta_server_api_exceptions_version_control_withdraw_record_version_control_exception import ( GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException, ) -from .granta_server_api_exclude_values_specifier import ( - GrantaServerApiExcludeValuesSpecifier, -) +from .granta_server_api_exclude_values_specifier import GrantaServerApiExcludeValuesSpecifier from .granta_server_api_functional_datum_parameter_info import ( GrantaServerApiFunctionalDatumParameterInfo, ) @@ -648,9 +637,7 @@ from .granta_server_api_integration_schema_integration_schema_of_granta_server_api_object_identifier import ( GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier, ) -from .granta_server_api_integration_schema_layout import ( - GrantaServerApiIntegrationSchemaLayout, -) +from .granta_server_api_integration_schema_layout import GrantaServerApiIntegrationSchemaLayout from .granta_server_api_integration_schema_link_source_type import ( GrantaServerApiIntegrationSchemaLinkSourceType, ) @@ -664,12 +651,8 @@ GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier, ) from .granta_server_api_link_attribute_type import GrantaServerApiLinkAttributeType -from .granta_server_api_lists_dto_create_list_item import ( - GrantaServerApiListsDtoCreateListItem, -) -from .granta_server_api_lists_dto_create_record_list import ( - GrantaServerApiListsDtoCreateRecordList, -) +from .granta_server_api_lists_dto_create_list_item import GrantaServerApiListsDtoCreateListItem +from .granta_server_api_lists_dto_create_record_list import GrantaServerApiListsDtoCreateRecordList from .granta_server_api_lists_dto_create_record_list_items_info import ( GrantaServerApiListsDtoCreateRecordListItemsInfo, ) @@ -682,16 +665,10 @@ from .granta_server_api_lists_dto_list_boolean_criterion import ( GrantaServerApiListsDtoListBooleanCriterion, ) -from .granta_server_api_lists_dto_list_criterion import ( - GrantaServerApiListsDtoListCriterion, -) +from .granta_server_api_lists_dto_list_criterion import GrantaServerApiListsDtoListCriterion from .granta_server_api_lists_dto_list_item import GrantaServerApiListsDtoListItem -from .granta_server_api_lists_dto_paging_options import ( - GrantaServerApiListsDtoPagingOptions, -) -from .granta_server_api_lists_dto_record_list_header import ( - GrantaServerApiListsDtoRecordListHeader, -) +from .granta_server_api_lists_dto_paging_options import GrantaServerApiListsDtoPagingOptions +from .granta_server_api_lists_dto_record_list_header import GrantaServerApiListsDtoRecordListHeader from .granta_server_api_lists_dto_record_list_headers_info import ( GrantaServerApiListsDtoRecordListHeadersInfo, ) @@ -716,9 +693,7 @@ from .granta_server_api_lists_dto_record_list_search_results_info import ( GrantaServerApiListsDtoRecordListSearchResultsInfo, ) -from .granta_server_api_lists_dto_response_options import ( - GrantaServerApiListsDtoResponseOptions, -) +from .granta_server_api_lists_dto_response_options import GrantaServerApiListsDtoResponseOptions from .granta_server_api_lists_dto_update_record_list_permission_flags import ( GrantaServerApiListsDtoUpdateRecordListPermissionFlags, ) @@ -731,12 +706,8 @@ from .granta_server_api_lists_dto_update_user_permissions_info import ( GrantaServerApiListsDtoUpdateUserPermissionsInfo, ) -from .granta_server_api_lists_dto_user_or_group import ( - GrantaServerApiListsDtoUserOrGroup, -) -from .granta_server_api_lists_dto_user_permission import ( - GrantaServerApiListsDtoUserPermission, -) +from .granta_server_api_lists_dto_user_or_group import GrantaServerApiListsDtoUserOrGroup +from .granta_server_api_lists_dto_user_permission import GrantaServerApiListsDtoUserPermission from .granta_server_api_lists_dto_user_permissions_info import ( GrantaServerApiListsDtoUserPermissionsInfo, ) @@ -744,9 +715,7 @@ from .granta_server_api_metrics_get_jobs_summary_response import ( GrantaServerApiMetricsGetJobsSummaryResponse, ) -from .granta_server_api_metrics_job_type_and_status import ( - GrantaServerApiMetricsJobTypeAndStatus, -) +from .granta_server_api_metrics_job_type_and_status import GrantaServerApiMetricsJobTypeAndStatus from .granta_server_api_no_values_specifier import GrantaServerApiNoValuesSpecifier from .granta_server_api_object_identifier import GrantaServerApiObjectIdentifier from .granta_server_api_parameter_info import GrantaServerApiParameterInfo @@ -756,9 +725,7 @@ from .granta_server_api_parameter_info_parameter_type import ( GrantaServerApiParameterInfoParameterType, ) -from .granta_server_api_parameter_info_scale_type import ( - GrantaServerApiParameterInfoScaleType, -) +from .granta_server_api_parameter_info_scale_type import GrantaServerApiParameterInfoScaleType from .granta_server_api_record_color import GrantaServerApiRecordColor from .granta_server_api_record_property import GrantaServerApiRecordProperty from .granta_server_api_record_type import GrantaServerApiRecordType @@ -786,9 +753,7 @@ from .granta_server_api_records_record_versions_slim_record_version import ( GrantaServerApiRecordsRecordVersionsSlimRecordVersion, ) -from .granta_server_api_schema_attributes_attribute import ( - GrantaServerApiSchemaAttributesAttribute, -) +from .granta_server_api_schema_attributes_attribute import GrantaServerApiSchemaAttributesAttribute from .granta_server_api_schema_attributes_attribute_attribute_info import ( GrantaServerApiSchemaAttributesAttributeAttributeInfo, ) @@ -990,9 +955,7 @@ from .granta_server_api_schema_configurations_update_configuration import ( GrantaServerApiSchemaConfigurationsUpdateConfiguration, ) -from .granta_server_api_schema_constants_constant import ( - GrantaServerApiSchemaConstantsConstant, -) +from .granta_server_api_schema_constants_constant import GrantaServerApiSchemaConstantsConstant from .granta_server_api_schema_constants_constants_info import ( GrantaServerApiSchemaConstantsConstantsInfo, ) @@ -1005,9 +968,7 @@ from .granta_server_api_schema_data_rules_create_data_rule import ( GrantaServerApiSchemaDataRulesCreateDataRule, ) -from .granta_server_api_schema_data_rules_data_rule import ( - GrantaServerApiSchemaDataRulesDataRule, -) +from .granta_server_api_schema_data_rules_data_rule import GrantaServerApiSchemaDataRulesDataRule from .granta_server_api_schema_data_rules_data_rules_info import ( GrantaServerApiSchemaDataRulesDataRulesInfo, ) @@ -1055,35 +1016,19 @@ from .granta_server_api_schema_expressions_update_expression import ( GrantaServerApiSchemaExpressionsUpdateExpression, ) -from .granta_server_api_schema_files_create_folder import ( - GrantaServerApiSchemaFilesCreateFolder, -) +from .granta_server_api_schema_files_create_folder import GrantaServerApiSchemaFilesCreateFolder from .granta_server_api_schema_files_exporter_refetch_info import ( GrantaServerApiSchemaFilesExporterRefetchInfo, ) -from .granta_server_api_schema_files_file_header import ( - GrantaServerApiSchemaFilesFileHeader, -) -from .granta_server_api_schema_files_files_info import ( - GrantaServerApiSchemaFilesFilesInfo, -) +from .granta_server_api_schema_files_file_header import GrantaServerApiSchemaFilesFileHeader +from .granta_server_api_schema_files_files_info import GrantaServerApiSchemaFilesFilesInfo from .granta_server_api_schema_files_folder import GrantaServerApiSchemaFilesFolder -from .granta_server_api_schema_files_folders_info import ( - GrantaServerApiSchemaFilesFoldersInfo, -) +from .granta_server_api_schema_files_folders_info import GrantaServerApiSchemaFilesFoldersInfo from .granta_server_api_schema_files_move_file import GrantaServerApiSchemaFilesMoveFile -from .granta_server_api_schema_files_move_folder import ( - GrantaServerApiSchemaFilesMoveFolder, -) -from .granta_server_api_schema_files_update_file import ( - GrantaServerApiSchemaFilesUpdateFile, -) -from .granta_server_api_schema_files_update_folder import ( - GrantaServerApiSchemaFilesUpdateFolder, -) -from .granta_server_api_schema_layouts_create_layout import ( - GrantaServerApiSchemaLayoutsCreateLayout, -) +from .granta_server_api_schema_files_move_folder import GrantaServerApiSchemaFilesMoveFolder +from .granta_server_api_schema_files_update_file import GrantaServerApiSchemaFilesUpdateFile +from .granta_server_api_schema_files_update_folder import GrantaServerApiSchemaFilesUpdateFolder +from .granta_server_api_schema_layouts_create_layout import GrantaServerApiSchemaLayoutsCreateLayout from .granta_server_api_schema_layouts_create_layout_section import ( GrantaServerApiSchemaLayoutsCreateLayoutSection, ) @@ -1094,9 +1039,7 @@ from .granta_server_api_schema_layouts_layout_attribute_item import ( GrantaServerApiSchemaLayoutsLayoutAttributeItem, ) -from .granta_server_api_schema_layouts_layout_item import ( - GrantaServerApiSchemaLayoutsLayoutItem, -) +from .granta_server_api_schema_layouts_layout_item import GrantaServerApiSchemaLayoutsLayoutItem from .granta_server_api_schema_layouts_layout_item_link_type import ( GrantaServerApiSchemaLayoutsLayoutItemLinkType, ) @@ -1118,9 +1061,7 @@ from .granta_server_api_schema_layouts_layout_tabular_column import ( GrantaServerApiSchemaLayoutsLayoutTabularColumn, ) -from .granta_server_api_schema_layouts_layouts_info import ( - GrantaServerApiSchemaLayoutsLayoutsInfo, -) +from .granta_server_api_schema_layouts_layouts_info import GrantaServerApiSchemaLayoutsLayoutsInfo from .granta_server_api_schema_layouts_new_layout_association_chain_item import ( GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem, ) @@ -1148,9 +1089,7 @@ from .granta_server_api_schema_layouts_reorder_sections_info import ( GrantaServerApiSchemaLayoutsReorderSectionsInfo, ) -from .granta_server_api_schema_layouts_update_layout import ( - GrantaServerApiSchemaLayoutsUpdateLayout, -) +from .granta_server_api_schema_layouts_update_layout import GrantaServerApiSchemaLayoutsUpdateLayout from .granta_server_api_schema_parameters_continuous_range import ( GrantaServerApiSchemaParametersContinuousRange, ) @@ -1193,9 +1132,7 @@ from .granta_server_api_schema_parameters_numeric_parameter_value import ( GrantaServerApiSchemaParametersNumericParameterValue, ) -from .granta_server_api_schema_parameters_parameter import ( - GrantaServerApiSchemaParametersParameter, -) +from .granta_server_api_schema_parameters_parameter import GrantaServerApiSchemaParametersParameter from .granta_server_api_schema_parameters_parameter_content import ( GrantaServerApiSchemaParametersParameterContent, ) @@ -1268,9 +1205,7 @@ from .granta_server_api_schema_profiles_create_profile import ( GrantaServerApiSchemaProfilesCreateProfile, ) -from .granta_server_api_schema_profiles_profile import ( - GrantaServerApiSchemaProfilesProfile, -) +from .granta_server_api_schema_profiles_profile import GrantaServerApiSchemaProfilesProfile from .granta_server_api_schema_profiles_update_all_profiles_info import ( GrantaServerApiSchemaProfilesUpdateAllProfilesInfo, ) @@ -1406,29 +1341,17 @@ from .granta_server_api_schema_subsets_add_record_history_to_subset import ( GrantaServerApiSchemaSubsetsAddRecordHistoryToSubset, ) -from .granta_server_api_schema_subsets_create_subset import ( - GrantaServerApiSchemaSubsetsCreateSubset, -) +from .granta_server_api_schema_subsets_create_subset import GrantaServerApiSchemaSubsetsCreateSubset from .granta_server_api_schema_subsets_remove_record_history_from_subset import ( GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset, ) from .granta_server_api_schema_subsets_subset import GrantaServerApiSchemaSubsetsSubset -from .granta_server_api_schema_subsets_subsets_info import ( - GrantaServerApiSchemaSubsetsSubsetsInfo, -) -from .granta_server_api_schema_subsets_update_subset import ( - GrantaServerApiSchemaSubsetsUpdateSubset, -) -from .granta_server_api_schema_tables_create_table import ( - GrantaServerApiSchemaTablesCreateTable, -) +from .granta_server_api_schema_subsets_subsets_info import GrantaServerApiSchemaSubsetsSubsetsInfo +from .granta_server_api_schema_subsets_update_subset import GrantaServerApiSchemaSubsetsUpdateSubset +from .granta_server_api_schema_tables_create_table import GrantaServerApiSchemaTablesCreateTable from .granta_server_api_schema_tables_table import GrantaServerApiSchemaTablesTable -from .granta_server_api_schema_tables_tables_info import ( - GrantaServerApiSchemaTablesTablesInfo, -) -from .granta_server_api_schema_tables_update_table import ( - GrantaServerApiSchemaTablesUpdateTable, -) +from .granta_server_api_schema_tables_tables_info import GrantaServerApiSchemaTablesTablesInfo +from .granta_server_api_schema_tables_update_table import GrantaServerApiSchemaTablesUpdateTable from .granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_attribute_tabular_column import ( GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLinkedAttributeTabularColumn, ) @@ -1573,46 +1496,28 @@ from .granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, ) -from .granta_server_api_schema_units_create_unit import ( - GrantaServerApiSchemaUnitsCreateUnit, -) +from .granta_server_api_schema_units_create_unit import GrantaServerApiSchemaUnitsCreateUnit from .granta_server_api_schema_units_create_unit_system import ( GrantaServerApiSchemaUnitsCreateUnitSystem, ) from .granta_server_api_schema_units_unit import GrantaServerApiSchemaUnitsUnit -from .granta_server_api_schema_units_unit_equivalent import ( - GrantaServerApiSchemaUnitsUnitEquivalent, -) +from .granta_server_api_schema_units_unit_equivalent import GrantaServerApiSchemaUnitsUnitEquivalent from .granta_server_api_schema_units_unit_equivalents_info import ( GrantaServerApiSchemaUnitsUnitEquivalentsInfo, ) -from .granta_server_api_schema_units_unit_mapping import ( - GrantaServerApiSchemaUnitsUnitMapping, -) -from .granta_server_api_schema_units_unit_system import ( - GrantaServerApiSchemaUnitsUnitSystem, -) +from .granta_server_api_schema_units_unit_mapping import GrantaServerApiSchemaUnitsUnitMapping +from .granta_server_api_schema_units_unit_system import GrantaServerApiSchemaUnitsUnitSystem from .granta_server_api_schema_units_unit_systems_info import ( GrantaServerApiSchemaUnitsUnitSystemsInfo, ) -from .granta_server_api_schema_units_unit_usage import ( - GrantaServerApiSchemaUnitsUnitUsage, -) -from .granta_server_api_schema_units_units_info import ( - GrantaServerApiSchemaUnitsUnitsInfo, -) -from .granta_server_api_schema_units_update_unit import ( - GrantaServerApiSchemaUnitsUpdateUnit, -) +from .granta_server_api_schema_units_unit_usage import GrantaServerApiSchemaUnitsUnitUsage +from .granta_server_api_schema_units_units_info import GrantaServerApiSchemaUnitsUnitsInfo +from .granta_server_api_schema_units_update_unit import GrantaServerApiSchemaUnitsUpdateUnit from .granta_server_api_schema_units_update_unit_system import ( GrantaServerApiSchemaUnitsUpdateUnitSystem, ) -from .granta_server_api_schema_update_database import ( - GrantaServerApiSchemaUpdateDatabase, -) -from .granta_server_api_search_attribute_criterion import ( - GrantaServerApiSearchAttributeCriterion, -) +from .granta_server_api_schema_update_database import GrantaServerApiSchemaUpdateDatabase +from .granta_server_api_search_attribute_criterion import GrantaServerApiSearchAttributeCriterion from .granta_server_api_search_attribute_exists_criterion import ( GrantaServerApiSearchAttributeExistsCriterion, ) @@ -1625,23 +1530,26 @@ from .granta_server_api_search_attribute_sort_criterion import ( GrantaServerApiSearchAttributeSortCriterion, ) -from .granta_server_api_search_boolean_criterion import ( - GrantaServerApiSearchBooleanCriterion, -) +from .granta_server_api_search_boolean_criterion import GrantaServerApiSearchBooleanCriterion from .granta_server_api_search_boost_by_guid import GrantaServerApiSearchBoostByGuid -from .granta_server_api_search_boost_by_identity import ( - GrantaServerApiSearchBoostByIdentity, -) +from .granta_server_api_search_boost_by_identity import GrantaServerApiSearchBoostByIdentity from .granta_server_api_search_criterion import GrantaServerApiSearchCriterion from .granta_server_api_search_date_time_datum_criterion import ( GrantaServerApiSearchDateTimeDatumCriterion, ) -from .granta_server_api_search_datum_criterion import ( - GrantaServerApiSearchDatumCriterion, +from .granta_server_api_search_date_time_datum_exists_criterion import ( + GrantaServerApiSearchDateTimeDatumExistsCriterion, ) +from .granta_server_api_search_datum_criterion import GrantaServerApiSearchDatumCriterion from .granta_server_api_search_datum_exists_criterion import ( GrantaServerApiSearchDatumExistsCriterion, ) +from .granta_server_api_search_discrete_datum_exists_criterion import ( + GrantaServerApiSearchDiscreteDatumExistsCriterion, +) +from .granta_server_api_search_discrete_functional_datum_exists_criterion import ( + GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion, +) from .granta_server_api_search_discrete_functional_range_datum_criterion import ( GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion, ) @@ -1675,31 +1583,35 @@ from .granta_server_api_search_discrete_text_values_datum_criterion import ( GrantaServerApiSearchDiscreteTextValuesDatumCriterion, ) -from .granta_server_api_search_double_sorting_value import ( - GrantaServerApiSearchDoubleSortingValue, -) -from .granta_server_api_search_file_datum_criterion import ( - GrantaServerApiSearchFileDatumCriterion, +from .granta_server_api_search_double_sorting_value import GrantaServerApiSearchDoubleSortingValue +from .granta_server_api_search_file_datum_criterion import GrantaServerApiSearchFileDatumCriterion +from .granta_server_api_search_file_datum_exists_criterion import ( + GrantaServerApiSearchFileDatumExistsCriterion, ) from .granta_server_api_search_float_functional_datum_criterion import ( GrantaServerApiSearchFloatFunctionalDatumCriterion, ) +from .granta_server_api_search_float_functional_datum_exists_criterion import ( + GrantaServerApiSearchFloatFunctionalDatumExistsCriterion, +) from .granta_server_api_search_float_functional_graph_datum_criterion import ( GrantaServerApiSearchFloatFunctionalGraphDatumCriterion, ) -from .granta_server_api_search_free_text_criterion import ( - GrantaServerApiSearchFreeTextCriterion, -) +from .granta_server_api_search_free_text_criterion import GrantaServerApiSearchFreeTextCriterion from .granta_server_api_search_hyperlink_datum_criterion import ( GrantaServerApiSearchHyperlinkDatumCriterion, ) +from .granta_server_api_search_hyperlink_datum_exists_criterion import ( + GrantaServerApiSearchHyperlinkDatumExistsCriterion, +) from .granta_server_api_search_index_status import GrantaServerApiSearchIndexStatus from .granta_server_api_search_integer_datum_criterion import ( GrantaServerApiSearchIntegerDatumCriterion, ) -from .granta_server_api_search_link_datum_criterion import ( - GrantaServerApiSearchLinkDatumCriterion, +from .granta_server_api_search_integer_datum_exists_criterion import ( + GrantaServerApiSearchIntegerDatumExistsCriterion, ) +from .granta_server_api_search_link_datum_criterion import GrantaServerApiSearchLinkDatumCriterion from .granta_server_api_search_link_exists_datum_criterion import ( GrantaServerApiSearchLinkExistsDatumCriterion, ) @@ -1718,36 +1630,44 @@ from .granta_server_api_search_local_column_not_applicable_criterion import ( GrantaServerApiSearchLocalColumnNotApplicableCriterion, ) -from .granta_server_api_search_local_rows_behavior import ( - GrantaServerApiSearchLocalRowsBehavior, -) +from .granta_server_api_search_local_rows_behavior import GrantaServerApiSearchLocalRowsBehavior from .granta_server_api_search_logical_datum_criterion import ( GrantaServerApiSearchLogicalDatumCriterion, ) -from .granta_server_api_search_long_sorting_value import ( - GrantaServerApiSearchLongSortingValue, +from .granta_server_api_search_logical_datum_exists_criterion import ( + GrantaServerApiSearchLogicalDatumExistsCriterion, ) +from .granta_server_api_search_long_sorting_value import GrantaServerApiSearchLongSortingValue from .granta_server_api_search_long_text_datum_criterion import ( GrantaServerApiSearchLongTextDatumCriterion, ) +from .granta_server_api_search_long_text_datum_exists_criterion import ( + GrantaServerApiSearchLongTextDatumExistsCriterion, +) from .granta_server_api_search_maths_functional_datum_criterion import ( GrantaServerApiSearchMathsFunctionalDatumCriterion, ) +from .granta_server_api_search_maths_functional_datum_exists_criterion import ( + GrantaServerApiSearchMathsFunctionalDatumExistsCriterion, +) from .granta_server_api_search_numeric_parameter_constraint import ( GrantaServerApiSearchNumericParameterConstraint, ) from .granta_server_api_search_paging_options import GrantaServerApiSearchPagingOptions -from .granta_server_api_search_parameter_constraint import ( - GrantaServerApiSearchParameterConstraint, -) +from .granta_server_api_search_parameter_constraint import GrantaServerApiSearchParameterConstraint from .granta_server_api_search_picture_datum_criterion import ( GrantaServerApiSearchPictureDatumCriterion, ) -from .granta_server_api_search_point_datum_criterion import ( - GrantaServerApiSearchPointDatumCriterion, +from .granta_server_api_search_picture_datum_exists_criterion import ( + GrantaServerApiSearchPictureDatumExistsCriterion, ) -from .granta_server_api_search_range_datum_criterion import ( - GrantaServerApiSearchRangeDatumCriterion, +from .granta_server_api_search_point_datum_criterion import GrantaServerApiSearchPointDatumCriterion +from .granta_server_api_search_point_datum_exists_criterion import ( + GrantaServerApiSearchPointDatumExistsCriterion, +) +from .granta_server_api_search_range_datum_criterion import GrantaServerApiSearchRangeDatumCriterion +from .granta_server_api_search_range_datum_exists_criterion import ( + GrantaServerApiSearchRangeDatumExistsCriterion, ) from .granta_server_api_search_record_ancestor_criterion import ( GrantaServerApiSearchRecordAncestorCriterion, @@ -1774,9 +1694,7 @@ GrantaServerApiSearchRelevanceSortCriterion, ) from .granta_server_api_search_search_request import GrantaServerApiSearchSearchRequest -from .granta_server_api_search_search_response import ( - GrantaServerApiSearchSearchResponse, -) +from .granta_server_api_search_search_response import GrantaServerApiSearchSearchResponse from .granta_server_api_search_search_result import GrantaServerApiSearchSearchResult from .granta_server_api_search_search_results_request import ( GrantaServerApiSearchSearchResultsRequest, @@ -1787,22 +1705,21 @@ from .granta_server_api_search_short_text_datum_criterion import ( GrantaServerApiSearchShortTextDatumCriterion, ) -from .granta_server_api_search_simple_datum_exists_criterion import ( - GrantaServerApiSearchSimpleDatumExistsCriterion, +from .granta_server_api_search_short_text_datum_exists_criterion import ( + GrantaServerApiSearchShortTextDatumExistsCriterion, ) from .granta_server_api_search_sort_criterion import GrantaServerApiSearchSortCriterion from .granta_server_api_search_sort_direction import GrantaServerApiSearchSortDirection from .granta_server_api_search_sort_type import GrantaServerApiSearchSortType from .granta_server_api_search_sorting_value import GrantaServerApiSearchSortingValue -from .granta_server_api_search_string_sorting_value import ( - GrantaServerApiSearchStringSortingValue, +from .granta_server_api_search_string_sorting_value import GrantaServerApiSearchStringSortingValue +from .granta_server_api_search_tabular_datum_exists_criterion import ( + GrantaServerApiSearchTabularDatumExistsCriterion, ) from .granta_server_api_search_tabular_linking_value_criterion import ( GrantaServerApiSearchTabularLinkingValueCriterion, ) -from .granta_server_api_search_text_match_behavior import ( - GrantaServerApiSearchTextMatchBehavior, -) +from .granta_server_api_search_text_match_behavior import GrantaServerApiSearchTextMatchBehavior from .granta_server_api_selection_searches_create_search_request import ( GrantaServerApiSelectionSearchesCreateSearchRequest, ) @@ -1821,9 +1738,7 @@ from .granta_server_api_selection_searches_user_or_group import ( GrantaServerApiSelectionSearchesUserOrGroup, ) -from .granta_server_api_specific_values_specifier import ( - GrantaServerApiSpecificValuesSpecifier, -) +from .granta_server_api_specific_values_specifier import GrantaServerApiSpecificValuesSpecifier from .granta_server_api_value_specifier import GrantaServerApiValueSpecifier from .granta_server_api_value_specifier_type import GrantaServerApiValueSpecifierType from .granta_server_api_version_state import GrantaServerApiVersionState @@ -1835,7 +1750,6 @@ from .microsoft_asp_net_core_mvc_object_result import MicrosoftAspNetCoreMvcObjectResult from .system_net_http_status_code import SystemNetHttpStatusCode - __all__ = [ "ModelBase", "Unset", @@ -2414,8 +2328,11 @@ "GrantaServerApiSearchBoostByIdentity", "GrantaServerApiSearchCriterion", "GrantaServerApiSearchDateTimeDatumCriterion", + "GrantaServerApiSearchDateTimeDatumExistsCriterion", "GrantaServerApiSearchDatumCriterion", "GrantaServerApiSearchDatumExistsCriterion", + "GrantaServerApiSearchDiscreteDatumExistsCriterion", + "GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion", "GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion", "GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion", "GrantaServerApiSearchDiscreteGuidDatumCriterion", @@ -2429,12 +2346,16 @@ "GrantaServerApiSearchDiscreteTextValuesDatumCriterion", "GrantaServerApiSearchDoubleSortingValue", "GrantaServerApiSearchFileDatumCriterion", + "GrantaServerApiSearchFileDatumExistsCriterion", "GrantaServerApiSearchFloatFunctionalDatumCriterion", + "GrantaServerApiSearchFloatFunctionalDatumExistsCriterion", "GrantaServerApiSearchFloatFunctionalGraphDatumCriterion", "GrantaServerApiSearchFreeTextCriterion", "GrantaServerApiSearchHyperlinkDatumCriterion", + "GrantaServerApiSearchHyperlinkDatumExistsCriterion", "GrantaServerApiSearchIndexStatus", "GrantaServerApiSearchIntegerDatumCriterion", + "GrantaServerApiSearchIntegerDatumExistsCriterion", "GrantaServerApiSearchLinkDatumCriterion", "GrantaServerApiSearchLinkExistsDatumCriterion", "GrantaServerApiSearchLinkingValueMatchBehavior", @@ -2444,15 +2365,21 @@ "GrantaServerApiSearchLocalColumnNotApplicableCriterion", "GrantaServerApiSearchLocalRowsBehavior", "GrantaServerApiSearchLogicalDatumCriterion", + "GrantaServerApiSearchLogicalDatumExistsCriterion", "GrantaServerApiSearchLongSortingValue", "GrantaServerApiSearchLongTextDatumCriterion", + "GrantaServerApiSearchLongTextDatumExistsCriterion", "GrantaServerApiSearchMathsFunctionalDatumCriterion", + "GrantaServerApiSearchMathsFunctionalDatumExistsCriterion", "GrantaServerApiSearchNumericParameterConstraint", "GrantaServerApiSearchPagingOptions", "GrantaServerApiSearchParameterConstraint", "GrantaServerApiSearchPictureDatumCriterion", + "GrantaServerApiSearchPictureDatumExistsCriterion", "GrantaServerApiSearchPointDatumCriterion", + "GrantaServerApiSearchPointDatumExistsCriterion", "GrantaServerApiSearchRangeDatumCriterion", + "GrantaServerApiSearchRangeDatumExistsCriterion", "GrantaServerApiSearchRecordAncestorCriterion", "GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion", "GrantaServerApiSearchRecordListMemberCriterion", @@ -2467,12 +2394,13 @@ "GrantaServerApiSearchSearchResultsRequest", "GrantaServerApiSearchSearchableRecordProperty", "GrantaServerApiSearchShortTextDatumCriterion", - "GrantaServerApiSearchSimpleDatumExistsCriterion", + "GrantaServerApiSearchShortTextDatumExistsCriterion", "GrantaServerApiSearchSortCriterion", "GrantaServerApiSearchSortDirection", "GrantaServerApiSearchSortType", "GrantaServerApiSearchSortingValue", "GrantaServerApiSearchStringSortingValue", + "GrantaServerApiSearchTabularDatumExistsCriterion", "GrantaServerApiSearchTabularLinkingValueCriterion", "GrantaServerApiSearchTextMatchBehavior", "GrantaServerApiSelectionSearchesCreateSearchRequest", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py index d92d16b7..a9be4c75 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py index 7a1dbdcd..e5c6bb1d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body1.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py index c988738f..6f51d7df 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/folderguid_files_body2.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_mi_record_property_fake_attribute_identities.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_mi_record_property_fake_attribute_identities.py index c9b16113..491a2139 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_mi_record_property_fake_attribute_identities.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_mi_record_property_fake_attribute_identities.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -20,12 +42,30 @@ class GrantaMIRecordPropertyFakeAttributeIdentities(Enum): """ Allowed Enum values """ - BREADCRUMBS_IDENTITY_10_GUID_00000007_0000_0000_0000_000000000000_ = '{"name":"Breadcrumbs","identity":-10,"guid":"00000007-0000-0000-0000-000000000000"}' - TREENAME_IDENTITY_9_GUID_00000006_0000_0000_0000_000000000000_ = '{"name":"TreeName","identity":-9,"guid":"00000006-0000-0000-0000-000000000000"}' - TABLEIDENTITY_IDENTITY_8_GUID_00000005_0000_0000_0000_000000000000_ = '{"name":"TableIdentity","identity":-8,"guid":"00000005-0000-0000-0000-000000000000"}' - TABLENAME_IDENTITY_7_GUID_00000004_0000_0000_0000_000000000000_ = '{"name":"TableName","identity":-7,"guid":"00000004-0000-0000-0000-000000000000"}' - RECORDCOLOR_IDENTITY_6_GUID_00000003_0000_0000_0000_000000000000_ = '{"name":"RecordColor","identity":-6,"guid":"00000003-0000-0000-0000-000000000000"}' - DATABASEKEY_IDENTITY_5_GUID_00000002_0000_0000_0000_000000000000_ = '{"name":"DatabaseKey","identity":-5,"guid":"00000002-0000-0000-0000-000000000000"}' - RECORDNAME_IDENTITY_4_GUID_00000001_0000_0000_0000_000000000000_ = '{"name":"RecordName","identity":-4,"guid":"00000001-0000-0000-0000-000000000000"}' - RECORDMODIFIEDBY_IDENTITY_3_GUID_00000009_0000_0000_0000_000000000000_ = '{"name":"RecordModifiedBy","identity":-3,"guid":"00000009-0000-0000-0000-000000000000"}' - RECORDCREATEDBY_IDENTITY_2_GUID_00000008_0000_0000_0000_000000000000_ = '{"name":"RecordCreatedBy","identity":-2,"guid":"00000008-0000-0000-0000-000000000000"}' + BREADCRUMBS_IDENTITY_10_GUID_00000007_0000_0000_0000_000000000000_ = ( + '{"name":"Breadcrumbs","identity":-10,"guid":"00000007-0000-0000-0000-000000000000"}' + ) + TREENAME_IDENTITY_9_GUID_00000006_0000_0000_0000_000000000000_ = ( + '{"name":"TreeName","identity":-9,"guid":"00000006-0000-0000-0000-000000000000"}' + ) + TABLEIDENTITY_IDENTITY_8_GUID_00000005_0000_0000_0000_000000000000_ = ( + '{"name":"TableIdentity","identity":-8,"guid":"00000005-0000-0000-0000-000000000000"}' + ) + TABLENAME_IDENTITY_7_GUID_00000004_0000_0000_0000_000000000000_ = ( + '{"name":"TableName","identity":-7,"guid":"00000004-0000-0000-0000-000000000000"}' + ) + RECORDCOLOR_IDENTITY_6_GUID_00000003_0000_0000_0000_000000000000_ = ( + '{"name":"RecordColor","identity":-6,"guid":"00000003-0000-0000-0000-000000000000"}' + ) + DATABASEKEY_IDENTITY_5_GUID_00000002_0000_0000_0000_000000000000_ = ( + '{"name":"DatabaseKey","identity":-5,"guid":"00000002-0000-0000-0000-000000000000"}' + ) + RECORDNAME_IDENTITY_4_GUID_00000001_0000_0000_0000_000000000000_ = ( + '{"name":"RecordName","identity":-4,"guid":"00000001-0000-0000-0000-000000000000"}' + ) + RECORDMODIFIEDBY_IDENTITY_3_GUID_00000009_0000_0000_0000_000000000000_ = ( + '{"name":"RecordModifiedBy","identity":-3,"guid":"00000009-0000-0000-0000-000000000000"}' + ) + RECORDCREATEDBY_IDENTITY_2_GUID_00000008_0000_0000_0000_000000000000_ = ( + '{"name":"RecordCreatedBy","identity":-2,"guid":"00000008-0000-0000-0000-000000000000"}' + ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_admin_mi_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_admin_mi_version.py index f9930ad2..2cf5e924 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_admin_mi_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_admin_mi_version.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,9 +126,7 @@ def binary_compatibility_version( """ # Field is not nullable if binary_compatibility_version is None: - raise ValueError( - "Invalid value for 'binary_compatibility_version', must not be 'None'" - ) + raise ValueError("Invalid value for 'binary_compatibility_version', must not be 'None'") self._binary_compatibility_version = binary_compatibility_version @property @@ -154,9 +166,7 @@ def major_minor_version(self) -> "Union[str, Unset_Type]": return self._major_minor_version @major_minor_version.setter - def major_minor_version( - self, major_minor_version: "Union[str, Unset_Type]" - ) -> None: + def major_minor_version(self, major_minor_version: "Union[str, Unset_Type]") -> None: """Sets the major_minor_version of this GrantaServerApiAdminMiVersion. Parameters @@ -166,9 +176,7 @@ def major_minor_version( """ # Field is not nullable if major_minor_version is None: - raise ValueError( - "Invalid value for 'major_minor_version', must not be 'None'" - ) + raise ValueError("Invalid value for 'major_minor_version', must not be 'None'") self._major_minor_version = major_minor_version @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation.py index b8a21619..a4184730 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_criterion.py index f478d2e7..6afab8c0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py index 0daecca0..719272fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_criterion.py index a49e1bb6..3a4ae030 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_exists_criterion.py index bad58521..1811e367 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregation_datum_exists_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +137,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsAggregationDatumExistsCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsAggregationDatumExistsCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_request.py index 5da0de3e..f17c70f2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -98,9 +112,7 @@ def criterion(self) -> "Union[GrantaServerApiSearchCriterion, Unset_Type]": return self._criterion @criterion.setter - def criterion( - self, criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]" - ) -> None: + def criterion(self, criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]") -> None: """Sets the criterion of this GrantaServerApiAggregationsAggregationsRequest. Parameters @@ -116,9 +128,7 @@ def criterion( @property def aggregation_criteria( self, - ) -> ( - "Union[List[GrantaServerApiAggregationsAggregationCriterion], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiAggregationsAggregationCriterion], None, Unset_Type]": """Gets the aggregation_criteria of this GrantaServerApiAggregationsAggregationsRequest. The aggregations you wish to perform. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_response.py index 019dfe59..d79785d7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_aggregations_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,13 @@ def __init__( ---------- results: List[GrantaServerApiAggregationsAggregation], optional """ - self._results: Union[ - List[GrantaServerApiAggregationsAggregation], None, Unset_Type - ] = Unset + self._results: Union[List[GrantaServerApiAggregationsAggregation], None, Unset_Type] = Unset if results is not Unset: self.results = results @property - def results( - self, - ) -> "Union[List[GrantaServerApiAggregationsAggregation], None, Unset_Type]": + def results(self) -> "Union[List[GrantaServerApiAggregationsAggregation], None, Unset_Type]": """Gets the results of this GrantaServerApiAggregationsAggregationsResponse. Returns @@ -93,8 +103,7 @@ def results( @results.setter def results( - self, - results: "Union[List[GrantaServerApiAggregationsAggregation], None, Unset_Type]", + self, results: "Union[List[GrantaServerApiAggregationsAggregation], None, Unset_Type]" ) -> None: """Sets the results of this GrantaServerApiAggregationsAggregationsResponse. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation.py index 3f5733b8..572eef0a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation import ( # noqa: F401 GrantaServerApiAggregationsAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsAttributeAggregation( - GrantaServerApiAggregationsAggregation -): +class GrantaServerApiAggregationsAttributeAggregation(GrantaServerApiAggregationsAggregation): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -120,9 +133,7 @@ def attribute_identity(self) -> "Union[int, None, Unset_Type]": return self._attribute_identity @attribute_identity.setter - def attribute_identity( - self, attribute_identity: "Union[int, None, Unset_Type]" - ) -> None: + def attribute_identity(self, attribute_identity: "Union[int, None, Unset_Type]") -> None: """Sets the attribute_identity of this GrantaServerApiAggregationsAttributeAggregation. The identity of the attribute that was aggregated over. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_criterion.py index 3d6f9fc1..40754190 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -173,9 +188,7 @@ def is_meta_attribute(self, is_meta_attribute: "Union[bool, Unset_Type]") -> Non """ # Field is not nullable if is_meta_attribute is None: - raise ValueError( - "Invalid value for 'is_meta_attribute', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_meta_attribute', must not be 'None'") self._is_meta_attribute = is_meta_attribute @property @@ -233,9 +246,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsAttributeAggregationCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsAttributeAggregationCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_exists_criterion.py index 078e389f..3449a514 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_exists_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsAttributeAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -140,16 +155,12 @@ def attribute_aggregation_criterion_type( raise ValueError( "Invalid value for 'attribute_aggregation_criterion_type', must not be 'Unset'" ) - self._attribute_aggregation_criterion_type = ( - attribute_aggregation_criterion_type - ) + self._attribute_aggregation_criterion_type = attribute_aggregation_criterion_type @property def inner_criterion( self, - ) -> ( - "Union[GrantaServerApiAggregationsAggregationDatumExistsCriterion, Unset_Type]" - ): + ) -> "Union[GrantaServerApiAggregationsAggregationDatumExistsCriterion, Unset_Type]": """Gets the inner_criterion of this GrantaServerApiAggregationsAttributeAggregationExistsCriterion. Returns @@ -198,9 +209,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsAttributeAggregationExistsCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsAttributeAggregationExistsCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_value_criterion.py index a0af7773..9108ab9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_aggregation_value_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsAttributeAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -140,9 +155,7 @@ def attribute_aggregation_criterion_type( raise ValueError( "Invalid value for 'attribute_aggregation_criterion_type', must not be 'Unset'" ) - self._attribute_aggregation_criterion_type = ( - attribute_aggregation_criterion_type - ) + self._attribute_aggregation_criterion_type = attribute_aggregation_criterion_type @property def inner_criterion( @@ -196,9 +209,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsAttributeAggregationValueCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsAttributeAggregationValueCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_exists_aggregation.py index 2388ad6c..b75231e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_exists_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_exists_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation import ( # noqa: F401 GrantaServerApiAggregationsAttributeAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,14 +137,10 @@ def attribute_aggregation_type(self, attribute_aggregation_type: "str") -> None: """ # Field is not nullable if attribute_aggregation_type is None: - raise ValueError( - "Invalid value for 'attribute_aggregation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_aggregation_type', must not be 'None'") # Field is required if attribute_aggregation_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_aggregation_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_aggregation_type', must not be 'Unset'") self._attribute_aggregation_type = attribute_aggregation_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_value_aggregation.py index db839816..ec7d8d9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_value_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_attribute_value_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_attribute_aggregation import ( # noqa: F401 GrantaServerApiAggregationsAttributeAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -103,9 +118,9 @@ def __init__( type=type, ) self._attribute_aggregation_type: str - self._aggregation_datum: Union[ - GrantaServerApiAggregationsAggregationDatum, Unset_Type - ] = Unset + self._aggregation_datum: Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type] = ( + Unset + ) self.attribute_aggregation_type = attribute_aggregation_type if aggregation_datum is not Unset: @@ -133,20 +148,14 @@ def attribute_aggregation_type(self, attribute_aggregation_type: "str") -> None: """ # Field is not nullable if attribute_aggregation_type is None: - raise ValueError( - "Invalid value for 'attribute_aggregation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_aggregation_type', must not be 'None'") # Field is required if attribute_aggregation_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_aggregation_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_aggregation_type', must not be 'Unset'") self._attribute_aggregation_type = attribute_aggregation_type @property - def aggregation_datum( - self, - ) -> "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]": + def aggregation_datum(self) -> "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]": """Gets the aggregation_datum of this GrantaServerApiAggregationsAttributeValueAggregation. Returns @@ -158,8 +167,7 @@ def aggregation_datum( @aggregation_datum.setter def aggregation_datum( - self, - aggregation_datum: "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]", + self, aggregation_datum: "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]" ) -> None: """Sets the aggregation_datum of this GrantaServerApiAggregationsAttributeValueAggregation. @@ -170,9 +178,7 @@ def aggregation_datum( """ # Field is not nullable if aggregation_datum is None: - raise ValueError( - "Invalid value for 'aggregation_datum', must not be 'None'" - ) + raise ValueError("Invalid value for 'aggregation_datum', must not be 'None'") self._aggregation_datum = aggregation_datum @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_calendar_interval.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_calendar_interval.py index f3a2cdb0..cc3089bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_calendar_interval.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_calendar_interval.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation.py index 641dc5cc..6414a571 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsDateTimeAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsDateTimeAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation_datum_criterion.py index cb737fd8..1c929409 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsDateTimeAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsDateTimeAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py index d09663a1..c9805c3e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_calendar_width_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -85,9 +100,7 @@ def __init__( type: str """ super().__init__() - self._interval: Union[ - GrantaServerApiAggregationsCalendarInterval, Unset_Type - ] = Unset + self._interval: Union[GrantaServerApiAggregationsCalendarInterval, Unset_Type] = Unset self._offset: Union[str, None, Unset_Type] = Unset self._type: str @@ -98,9 +111,7 @@ def __init__( self.type = type @property - def interval( - self, - ) -> "Union[GrantaServerApiAggregationsCalendarInterval, Unset_Type]": + def interval(self) -> "Union[GrantaServerApiAggregationsCalendarInterval, Unset_Type]": """Gets the interval of this GrantaServerApiAggregationsDateTimeFixedCalendarWidthHistogramAggregationDatumCriterion. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_width_histogram_aggregation_datum_criterion.py index 7bae0256..1c50c6c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_fixed_width_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -192,8 +207,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiAggregationsDateTimeFixedWidthHistogramAggregationDatumCriterion, + other, GrantaServerApiAggregationsDateTimeFixedWidthHistogramAggregationDatumCriterion ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram.py index d06f8863..affe648e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation.py index 488bf513..9eb6d606 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +96,7 @@ def __init__( histogram: GrantaServerApiAggregationsDateTimeHistogram, optional """ super().__init__() - self._histogram: Union[ - GrantaServerApiAggregationsDateTimeHistogram, Unset_Type - ] = Unset + self._histogram: Union[GrantaServerApiAggregationsDateTimeHistogram, Unset_Type] = Unset self._datum_type: str if histogram is not Unset: @@ -91,9 +104,7 @@ def __init__( self.datum_type = datum_type @property - def histogram( - self, - ) -> "Union[GrantaServerApiAggregationsDateTimeHistogram, Unset_Type]": + def histogram(self) -> "Union[GrantaServerApiAggregationsDateTimeHistogram, Unset_Type]": """Gets the histogram of this GrantaServerApiAggregationsDateTimeHistogramAggregation. Returns @@ -105,8 +116,7 @@ def histogram( @histogram.setter def histogram( - self, - histogram: "Union[GrantaServerApiAggregationsDateTimeHistogram, Unset_Type]", + self, histogram: "Union[GrantaServerApiAggregationsDateTimeHistogram, Unset_Type]" ) -> None: """Sets the histogram of this GrantaServerApiAggregationsDateTimeHistogramAggregation. @@ -170,9 +180,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsDateTimeHistogramAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsDateTimeHistogramAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation_datum_criterion.py index 3a9c7f2e..70bc6bb6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,9 +127,7 @@ def maximum_number_of_buckets( """ # Field is not nullable if maximum_number_of_buckets is None: - raise ValueError( - "Invalid value for 'maximum_number_of_buckets', must not be 'None'" - ) + raise ValueError("Invalid value for 'maximum_number_of_buckets', must not be 'None'") self._maximum_number_of_buckets = maximum_number_of_buckets @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_bucket.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_bucket.py index 3b6964d8..5043cb3f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_bucket.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_date_time_histogram_bucket.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation.py index d7fd41f3..14788a44 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +96,7 @@ def __init__( terms: List[GrantaServerApiAggregationsTermWithCount], optional """ super().__init__() - self._terms: Union[ - List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type - ] = Unset + self._terms: Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type] = Unset self._datum_type: str if terms is not Unset: @@ -91,9 +104,7 @@ def __init__( self.datum_type = datum_type @property - def terms( - self, - ) -> "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]": + def terms(self) -> "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]": """Gets the terms of this GrantaServerApiAggregationsDiscreteTextAggregation. Returns @@ -105,8 +116,7 @@ def terms( @terms.setter def terms( - self, - terms: "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]", + self, terms: "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]" ) -> None: """Sets the terms of this GrantaServerApiAggregationsDiscreteTextAggregation. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation_datum_criterion.py index b40b7633..acaf131c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_discrete_text_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -194,9 +209,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsDiscreteTextAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsDiscreteTextAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation.py index 76be6f2a..6c7049f1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation_datum_criterion.py index 7c8fd72a..6c04ad27 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,9 +127,7 @@ def number_of_parameter_values( """ # Field is not nullable if number_of_parameter_values is None: - raise ValueError( - "Invalid value for 'number_of_parameter_values', must not be 'None'" - ) + raise ValueError("Invalid value for 'number_of_parameter_values', must not be 'None'") self._number_of_parameter_values = number_of_parameter_values @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_grid_graph_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_grid_graph_aggregation.py index 531797fb..27876b6b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_grid_graph_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_grid_graph_aggregation.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,32 +108,22 @@ def __init__( show_as_table_values: List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], optional """ self._default_x_axis_parameter_identity_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], None, Unset_Type ] = Unset self._default_x_axis_parameter_guid_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemGuid], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemGuid], None, Unset_Type ] = Unset self._show_as_table_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], None, Unset_Type ] = Unset self._minimum_number_of_points: Union[int, None, Unset_Type] = Unset self._maximum_number_of_points: Union[int, None, Unset_Type] = Unset self._count: Union[int, Unset_Type] = Unset if default_x_axis_parameter_identity_values is not Unset: - self.default_x_axis_parameter_identity_values = ( - default_x_axis_parameter_identity_values - ) + self.default_x_axis_parameter_identity_values = default_x_axis_parameter_identity_values if default_x_axis_parameter_guid_values is not Unset: - self.default_x_axis_parameter_guid_values = ( - default_x_axis_parameter_guid_values - ) + self.default_x_axis_parameter_guid_values = default_x_axis_parameter_guid_values if show_as_table_values is not Unset: self.show_as_table_values = show_as_table_values if minimum_number_of_points is not Unset: @@ -154,9 +158,7 @@ def default_x_axis_parameter_identity_values( default_x_axis_parameter_identity_values: Union[List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], None, Unset_Type] The default_x_axis_parameter_identity_values of this GrantaServerApiAggregationsFloatFunctionalGridGraphAggregation. """ - self._default_x_axis_parameter_identity_values = ( - default_x_axis_parameter_identity_values - ) + self._default_x_axis_parameter_identity_values = default_x_axis_parameter_identity_values @property def default_x_axis_parameter_guid_values( @@ -183,9 +185,7 @@ def default_x_axis_parameter_guid_values( default_x_axis_parameter_guid_values: Union[List[GrantaServerApiAggregationsValueWithCountOfSystemGuid], None, Unset_Type] The default_x_axis_parameter_guid_values of this GrantaServerApiAggregationsFloatFunctionalGridGraphAggregation. """ - self._default_x_axis_parameter_guid_values = ( - default_x_axis_parameter_guid_values - ) + self._default_x_axis_parameter_guid_values = default_x_axis_parameter_guid_values @property def show_as_table_values( @@ -311,9 +311,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsFloatFunctionalGridGraphAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsFloatFunctionalGridGraphAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_series_graph_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_series_graph_aggregation.py index 0aca1556..1fcf48a0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_series_graph_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_float_functional_series_graph_aggregation.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,19 +108,13 @@ def __init__( x_axis_parameter_identity_values: List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], optional """ self._x_axis_parameter_identity_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemInt32], None, Unset_Type ] = Unset self._x_axis_parameter_guid_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemGuid], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemGuid], None, Unset_Type ] = Unset self._show_as_table_values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], None, Unset_Type ] = Unset self._minimum_number_of_series: Union[int, None, Unset_Type] = Unset self._maximum_number_of_series: Union[int, None, Unset_Type] = Unset @@ -303,9 +311,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsFloatFunctionalSeriesGraphAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsFloatFunctionalSeriesGraphAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation.py index f0a8ed40..065806ec 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation import ( # noqa: F401 GrantaServerApiAggregationsAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsFreeTextAggregation( - GrantaServerApiAggregationsAggregation -): +class GrantaServerApiAggregationsFreeTextAggregation(GrantaServerApiAggregationsAggregation): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation_criterion.py index b3d9a989..9ac33715 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_free_text_aggregation_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -205,9 +220,7 @@ def attributes(self) -> "Union[GrantaServerApiValueSpecifier, Unset_Type]": return self._attributes @attributes.setter - def attributes( - self, attributes: "Union[GrantaServerApiValueSpecifier, Unset_Type]" - ) -> None: + def attributes(self, attributes: "Union[GrantaServerApiValueSpecifier, Unset_Type]") -> None: """Sets the attributes of this GrantaServerApiAggregationsFreeTextAggregationCriterion. Parameters @@ -297,9 +310,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsFreeTextAggregationCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsFreeTextAggregationCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram.py index 0c85a361..b4b37752 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,9 +85,9 @@ def __init__( ---------- buckets: List[GrantaServerApiAggregationsHistogramBucket], optional """ - self._buckets: Union[ - List[GrantaServerApiAggregationsHistogramBucket], None, Unset_Type - ] = Unset + self._buckets: Union[List[GrantaServerApiAggregationsHistogramBucket], None, Unset_Type] = ( + Unset + ) if buckets is not Unset: self.buckets = buckets @@ -93,8 +107,7 @@ def buckets( @buckets.setter def buckets( - self, - buckets: "Union[List[GrantaServerApiAggregationsHistogramBucket], None, Unset_Type]", + self, buckets: "Union[List[GrantaServerApiAggregationsHistogramBucket], None, Unset_Type]" ) -> None: """Sets the buckets of this GrantaServerApiAggregationsHistogram. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram_bucket.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram_bucket.py index 91971fbe..967c9fc2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram_bucket.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_histogram_bucket.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation.py index 17ba64ab..174fca81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsIntegerAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsIntegerAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation_datum_criterion.py index 396d2529..2fe70159 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsIntegerAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsIntegerAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_fixed_width_histogram_aggregation_datum_criterion.py index 49aec71f..28090562 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_fixed_width_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -198,8 +213,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiAggregationsIntegerFixedWidthHistogramAggregationDatumCriterion, + other, GrantaServerApiAggregationsIntegerFixedWidthHistogramAggregationDatumCriterion ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation.py index 9a5cd5fb..26006e7d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -165,9 +180,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsIntegerHistogramAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsIntegerHistogramAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation_datum_criterion.py index 82c265d1..4083aeb5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_integer_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -110,9 +125,7 @@ def maximum_number_of_buckets( """ # Field is not nullable if maximum_number_of_buckets is None: - raise ValueError( - "Invalid value for 'maximum_number_of_buckets', must not be 'None'" - ) + raise ValueError("Invalid value for 'maximum_number_of_buckets', must not be 'None'") self._maximum_number_of_buckets = maximum_number_of_buckets @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation.py index ea4e836e..6b47c9bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsLinkAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsLinkAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation_datum_criterion.py index 9f89e894..97ca1952 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_link_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -83,9 +98,7 @@ def __init__( super().__init__() self._type: str self._local_aggregation_criteria: Union[ - List[GrantaServerApiAggregationsLocalColumnAggregationCriterion], - None, - Unset_Type, + List[GrantaServerApiAggregationsLocalColumnAggregationCriterion], None, Unset_Type ] = Unset self.type = type @@ -123,7 +136,9 @@ def type(self, type: "str") -> None: @property def local_aggregation_criteria( self, - ) -> "Union[List[GrantaServerApiAggregationsLocalColumnAggregationCriterion], None, Unset_Type]": + ) -> ( + "Union[List[GrantaServerApiAggregationsLocalColumnAggregationCriterion], None, Unset_Type]" + ): """Gets the local_aggregation_criteria of this GrantaServerApiAggregationsLinkAggregationDatumCriterion. Returns @@ -169,9 +184,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLinkAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsLinkAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py index fa3dcee2..89f3fb84 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -108,9 +122,7 @@ def local_column_identity(self) -> "Union[int, None, Unset_Type]": return self._local_column_identity @local_column_identity.setter - def local_column_identity( - self, local_column_identity: "Union[int, None, Unset_Type]" - ) -> None: + def local_column_identity(self, local_column_identity: "Union[int, None, Unset_Type]") -> None: """Sets the local_column_identity of this GrantaServerApiAggregationsLocalColumnAggregation. The identity of the local column that was aggregated over. @@ -134,9 +146,7 @@ def local_column_guid(self) -> "Union[str, None, Unset_Type]": return self._local_column_guid @local_column_guid.setter - def local_column_guid( - self, local_column_guid: "Union[str, None, Unset_Type]" - ) -> None: + def local_column_guid(self, local_column_guid: "Union[str, None, Unset_Type]") -> None: """Sets the local_column_guid of this GrantaServerApiAggregationsLocalColumnAggregation. The GUID of the local column that was aggregated over. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py index dcbd6028..f5f4a5ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -159,9 +173,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLocalColumnAggregationCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsLocalColumnAggregationCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_exists_criterion.py index 3837f415..a26db006 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_exists_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsLocalColumnAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +109,7 @@ def __init__( GrantaServerApiAggregationsAggregationDatumExistsCriterion, Unset_Type ] = Unset - self.local_column_aggregation_criterion_type = ( - local_column_aggregation_criterion_type - ) + self.local_column_aggregation_criterion_type = local_column_aggregation_criterion_type if inner_criterion is not Unset: self.inner_criterion = inner_criterion @@ -132,16 +145,12 @@ def local_column_aggregation_criterion_type( raise ValueError( "Invalid value for 'local_column_aggregation_criterion_type', must not be 'Unset'" ) - self._local_column_aggregation_criterion_type = ( - local_column_aggregation_criterion_type - ) + self._local_column_aggregation_criterion_type = local_column_aggregation_criterion_type @property def inner_criterion( self, - ) -> ( - "Union[GrantaServerApiAggregationsAggregationDatumExistsCriterion, Unset_Type]" - ): + ) -> "Union[GrantaServerApiAggregationsAggregationDatumExistsCriterion, Unset_Type]": """Gets the inner_criterion of this GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion. Returns @@ -190,9 +199,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsLocalColumnAggregationExistsCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_value_criterion.py index 74b4a7fc..f1741660 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_aggregation_value_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation_criterion import ( # noqa: F401 GrantaServerApiAggregationsLocalColumnAggregationCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +109,7 @@ def __init__( GrantaServerApiAggregationsAggregationDatumCriterion, Unset_Type ] = Unset - self.local_column_aggregation_criterion_type = ( - local_column_aggregation_criterion_type - ) + self.local_column_aggregation_criterion_type = local_column_aggregation_criterion_type if inner_criterion is not Unset: self.inner_criterion = inner_criterion @@ -132,9 +145,7 @@ def local_column_aggregation_criterion_type( raise ValueError( "Invalid value for 'local_column_aggregation_criterion_type', must not be 'Unset'" ) - self._local_column_aggregation_criterion_type = ( - local_column_aggregation_criterion_type - ) + self._local_column_aggregation_criterion_type = local_column_aggregation_criterion_type @property def inner_criterion( @@ -188,9 +199,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLocalColumnAggregationValueCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsLocalColumnAggregationValueCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_exists_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_exists_aggregation.py index 865c2756..540df56c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_exists_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_exists_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation import ( # noqa: F401 GrantaServerApiAggregationsLocalColumnAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -107,9 +122,7 @@ def local_column_aggregation_type(self) -> "str": return self._local_column_aggregation_type @local_column_aggregation_type.setter - def local_column_aggregation_type( - self, local_column_aggregation_type: "str" - ) -> None: + def local_column_aggregation_type(self, local_column_aggregation_type: "str") -> None: """Sets the local_column_aggregation_type of this GrantaServerApiAggregationsLocalColumnExistsAggregation. Parameters @@ -151,9 +164,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLocalColumnExistsAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsLocalColumnExistsAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_value_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_value_aggregation.py index bd449f81..59780a0d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_value_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_local_column_value_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_local_column_aggregation import ( # noqa: F401 GrantaServerApiAggregationsLocalColumnAggregation, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -97,9 +112,9 @@ def __init__( local_column_guid=local_column_guid, local_column_identity=local_column_identity, ) - self._aggregation_datum: Union[ - GrantaServerApiAggregationsAggregationDatum, Unset_Type - ] = Unset + self._aggregation_datum: Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type] = ( + Unset + ) self._local_column_aggregation_type: str if aggregation_datum is not Unset: @@ -107,9 +122,7 @@ def __init__( self.local_column_aggregation_type = local_column_aggregation_type @property - def aggregation_datum( - self, - ) -> "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]": + def aggregation_datum(self) -> "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]": """Gets the aggregation_datum of this GrantaServerApiAggregationsLocalColumnValueAggregation. Returns @@ -121,8 +134,7 @@ def aggregation_datum( @aggregation_datum.setter def aggregation_datum( - self, - aggregation_datum: "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]", + self, aggregation_datum: "Union[GrantaServerApiAggregationsAggregationDatum, Unset_Type]" ) -> None: """Sets the aggregation_datum of this GrantaServerApiAggregationsLocalColumnValueAggregation. @@ -133,9 +145,7 @@ def aggregation_datum( """ # Field is not nullable if aggregation_datum is None: - raise ValueError( - "Invalid value for 'aggregation_datum', must not be 'None'" - ) + raise ValueError("Invalid value for 'aggregation_datum', must not be 'None'") self._aggregation_datum = aggregation_datum @property @@ -150,9 +160,7 @@ def local_column_aggregation_type(self) -> "str": return self._local_column_aggregation_type @local_column_aggregation_type.setter - def local_column_aggregation_type( - self, local_column_aggregation_type: "str" - ) -> None: + def local_column_aggregation_type(self, local_column_aggregation_type: "str") -> None: """Sets the local_column_aggregation_type of this GrantaServerApiAggregationsLocalColumnValueAggregation. Parameters @@ -194,9 +202,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLocalColumnValueAggregation - ): + if not isinstance(other, GrantaServerApiAggregationsLocalColumnValueAggregation): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation.py index 3a55a063..5aad27c0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsLogicalAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsLogicalAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -82,9 +95,7 @@ def __init__( """ super().__init__() self._values: Union[ - List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], - None, - Unset_Type, + List[GrantaServerApiAggregationsValueWithCountOfSystemBoolean], None, Unset_Type ] = Unset self._datum_type: str diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation_datum_criterion.py index 61da016b..083a666d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_logical_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsLogicalAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsLogicalAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation.py index 44c8c69a..23293ff8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsPointAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsPointAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation_datum_criterion.py index 2cf94731..6ca13422 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsPointAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsPointAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_fixed_width_histogram_aggregation_datum_criterion.py index 6dc33f41..0d3342b2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_fixed_width_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -198,8 +213,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiAggregationsPointFixedWidthHistogramAggregationDatumCriterion, + other, GrantaServerApiAggregationsPointFixedWidthHistogramAggregationDatumCriterion ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation.py index c293d9d2..003e1e9f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation_datum_criterion.py index 74c33040..47cbf4c6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_point_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -110,9 +125,7 @@ def maximum_number_of_buckets( """ # Field is not nullable if maximum_number_of_buckets is None: - raise ValueError( - "Invalid value for 'maximum_number_of_buckets', must not be 'None'" - ) + raise ValueError("Invalid value for 'maximum_number_of_buckets', must not be 'None'") self._maximum_number_of_buckets = maximum_number_of_buckets @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation.py index aaa11838..5cdf7281 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsRangeAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsRangeAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation_datum_criterion.py index ff38ad4c..71156d56 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsRangeAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsRangeAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_fixed_width_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_fixed_width_histogram_aggregation_datum_criterion.py index 82ab9177..773fa734 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_fixed_width_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_fixed_width_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -198,8 +213,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiAggregationsRangeFixedWidthHistogramAggregationDatumCriterion, + other, GrantaServerApiAggregationsRangeFixedWidthHistogramAggregationDatumCriterion ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation.py index 3fa43169..205e119a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation_datum_criterion.py index 41b47209..365c6fe7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_range_histogram_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -110,9 +125,7 @@ def maximum_number_of_buckets( """ # Field is not nullable if maximum_number_of_buckets is None: - raise ValueError( - "Invalid value for 'maximum_number_of_buckets', must not be 'None'" - ) + raise ValueError("Invalid value for 'maximum_number_of_buckets', must not be 'None'") self._maximum_number_of_buckets = maximum_number_of_buckets @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation.py index deab4bb8..a87e2993 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiAggregationsShortTextAggregation( - GrantaServerApiAggregationsAggregationDatum -): +class GrantaServerApiAggregationsShortTextAggregation(GrantaServerApiAggregationsAggregationDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -81,9 +94,7 @@ def __init__( terms: List[GrantaServerApiAggregationsTermWithCount], optional """ super().__init__() - self._terms: Union[ - List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type - ] = Unset + self._terms: Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type] = Unset self._datum_type: str if terms is not Unset: @@ -91,9 +102,7 @@ def __init__( self.datum_type = datum_type @property - def terms( - self, - ) -> "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]": + def terms(self) -> "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]": """Gets the terms of this GrantaServerApiAggregationsShortTextAggregation. Returns @@ -105,8 +114,7 @@ def terms( @terms.setter def terms( - self, - terms: "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]", + self, terms: "Union[List[GrantaServerApiAggregationsTermWithCount], None, Unset_Type]" ) -> None: """Sets the terms of this GrantaServerApiAggregationsShortTextAggregation. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation_datum_criterion.py index 8af176d3..b2720a45 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_short_text_aggregation_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_aggregations_aggregation_datum_criterion import ( # noqa: F401 GrantaServerApiAggregationsAggregationDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -194,9 +209,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsShortTextAggregationDatumCriterion - ): + if not isinstance(other, GrantaServerApiAggregationsShortTextAggregationDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_term_with_count.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_term_with_count.py index 8959edd9..424f0de9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_term_with_count.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_term_with_count.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_boolean.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_boolean.py index 39cfe21a..c517fb8f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_boolean.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_boolean.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -153,9 +167,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsValueWithCountOfSystemBoolean - ): + if not isinstance(other, GrantaServerApiAggregationsValueWithCountOfSystemBoolean): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_guid.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_guid.py index 500cc2c7..19fb24c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_guid.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_guid.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_int32.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_int32.py index 464f9784..87f99ec8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_int32.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_aggregations_value_with_count_of_system_int32.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -153,9 +167,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiAggregationsValueWithCountOfSystemInt32 - ): + if not isinstance(other, GrantaServerApiAggregationsValueWithCountOfSystemInt32): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_all_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_all_values_specifier.py index 3217bb69..8684c961 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_all_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_all_values_specifier.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( # noqa: F401 GrantaServerApiValueSpecifier, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_request.py index 632e90b8..17c3cb6a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_response.py index a8d9bd2e..36a9104b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -93,8 +107,7 @@ def results( @results.setter def results( - self, - results: "Union[List[GrantaServerApiAppNameLicenseCheckoutResult], None, Unset_Type]", + self, results: "Union[List[GrantaServerApiAppNameLicenseCheckoutResult], None, Unset_Type]" ) -> None: """Sets the results of this GrantaServerApiAppNameLicenseCheckoutResponse. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_result.py index 23dbb374..0b4a6816 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_app_name_license_checkout_result.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_create_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_create_job_request.py index f56bcb6d..2bf44970 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_create_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_create_job_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -273,9 +287,7 @@ def input_file_ids(self) -> "Union[List[str], None, Unset_Type]": return self._input_file_ids @input_file_ids.setter - def input_file_ids( - self, input_file_ids: "Union[List[str], None, Unset_Type]" - ) -> None: + def input_file_ids(self, input_file_ids: "Union[List[str], None, Unset_Type]") -> None: """Sets the input_file_ids of this GrantaServerApiAsyncJobsCreateJobRequest. Names of temporary input files that were uploaded prior to creating this job. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_current_user.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_current_user.py index 6adb3a61..6b536065 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_current_user.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_current_user.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_get_jobs_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_get_jobs_response.py index a608ecd3..85729c53 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_get_jobs_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_get_jobs_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -76,9 +90,7 @@ def __init__( total_result_count: int, optional """ self._total_result_count: Union[int, Unset_Type] = Unset - self._results: Union[List[GrantaServerApiAsyncJobsJob], None, Unset_Type] = ( - Unset - ) + self._results: Union[List[GrantaServerApiAsyncJobsJob], None, Unset_Type] = Unset if total_result_count is not Unset: self.total_result_count = total_result_count @@ -107,9 +119,7 @@ def total_result_count(self, total_result_count: "Union[int, Unset_Type]") -> No """ # Field is not nullable if total_result_count is None: - raise ValueError( - "Invalid value for 'total_result_count', must not be 'None'" - ) + raise ValueError("Invalid value for 'total_result_count', must not be 'None'") self._total_result_count = total_result_count @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job.py index ea9a0a38..520f1bf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -299,9 +313,7 @@ def submitter_roles(self) -> "Union[List[str], None, Unset_Type]": return self._submitter_roles @submitter_roles.setter - def submitter_roles( - self, submitter_roles: "Union[List[str], None, Unset_Type]" - ) -> None: + def submitter_roles(self, submitter_roles: "Union[List[str], None, Unset_Type]") -> None: """Sets the submitter_roles of this GrantaServerApiAsyncJobsJob. Parameters @@ -323,9 +335,7 @@ def submission_date(self) -> "Union[datetime, None, Unset_Type]": return self._submission_date @submission_date.setter - def submission_date( - self, submission_date: "Union[datetime, None, Unset_Type]" - ) -> None: + def submission_date(self, submission_date: "Union[datetime, None, Unset_Type]") -> None: """Sets the submission_date of this GrantaServerApiAsyncJobsJob. Parameters @@ -371,9 +381,7 @@ def execution_date(self) -> "Union[datetime, None, Unset_Type]": return self._execution_date @execution_date.setter - def execution_date( - self, execution_date: "Union[datetime, None, Unset_Type]" - ) -> None: + def execution_date(self, execution_date: "Union[datetime, None, Unset_Type]") -> None: """Sets the execution_date of this GrantaServerApiAsyncJobsJob. Parameters @@ -395,9 +403,7 @@ def completion_date(self) -> "Union[datetime, None, Unset_Type]": return self._completion_date @completion_date.setter - def completion_date( - self, completion_date: "Union[datetime, None, Unset_Type]" - ) -> None: + def completion_date(self, completion_date: "Union[datetime, None, Unset_Type]") -> None: """Sets the completion_date of this GrantaServerApiAsyncJobsJob. Parameters @@ -419,9 +425,7 @@ def status(self) -> "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]": return self._status @status.setter - def status( - self, status: "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]" - ) -> None: + def status(self, status: "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]") -> None: """Sets the status of this GrantaServerApiAsyncJobsJob. Parameters @@ -446,9 +450,7 @@ def input_file_ids(self) -> "Union[List[str], None, Unset_Type]": return self._input_file_ids @input_file_ids.setter - def input_file_ids( - self, input_file_ids: "Union[List[str], None, Unset_Type]" - ) -> None: + def input_file_ids(self, input_file_ids: "Union[List[str], None, Unset_Type]") -> None: """Sets the input_file_ids of this GrantaServerApiAsyncJobsJob. Parameters @@ -470,9 +472,7 @@ def output_file_names(self) -> "Union[List[str], None, Unset_Type]": return self._output_file_names @output_file_names.setter - def output_file_names( - self, output_file_names: "Union[List[str], None, Unset_Type]" - ) -> None: + def output_file_names(self, output_file_names: "Union[List[str], None, Unset_Type]") -> None: """Sets the output_file_names of this GrantaServerApiAsyncJobsJob. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job_status.py index fc9d5d1e..b77e8953 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_job_status.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_processing_config.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_processing_config.py index 1740372c..d2d48ef2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_processing_config.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_processing_config.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_resubmit_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_resubmit_job_request.py index 66fc2ae1..bb9fc2b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_resubmit_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_resubmit_job_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_update_job_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_update_job_request.py index 044fc266..650559b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_update_job_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_async_jobs_update_job_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -177,9 +191,7 @@ def status(self) -> "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]": return self._status @status.setter - def status( - self, status: "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]" - ) -> None: + def status(self, status: "Union[GrantaServerApiAsyncJobsJobStatus, Unset_Type]") -> None: """Sets the status of this GrantaServerApiAsyncJobsUpdateJobRequest. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_attribute_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_attribute_type.py index 0df5d393..9a73b355 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_attribute_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_attribute_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_applicable_datum.py index e5bd569c..e411b211 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_applicable_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_datum import ( # noqa: F401 GrantaServerApiDataDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_date_time_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_date_time_datum.py index 7d474d7d..6e75175c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_date_time_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_date_time_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum.py index 88ca2403..687edfb4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum_type.py index 241fc11b..c70d577d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_datum_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_datum.py index 9548b18a..fa80958c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -118,9 +133,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def discrete_values( - self, - ) -> "List[GrantaServerApiSchemaDiscreteValuesDiscreteValue]": + def discrete_values(self) -> "List[GrantaServerApiSchemaDiscreteValuesDiscreteValue]": """Gets the discrete_values of this GrantaServerApiDataDiscreteDatum. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_parameter_with_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_parameter_with_value.py index bd5ad657..311aa789 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_parameter_with_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_discrete_parameter_with_value.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_parameter_with_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_parameter_with_value import ( # noqa: F401 GrantaServerApiDataParameterWithValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataDiscreteParameterWithValue( - GrantaServerApiDataParameterWithValue -): +class GrantaServerApiDataDiscreteParameterWithValue(GrantaServerApiDataParameterWithValue): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -120,9 +133,7 @@ def type(self, type: "str") -> None: self._type = type @property - def parameter_value( - self, - ) -> "GrantaServerApiSchemaParametersDiscreteParameterValue": + def parameter_value(self) -> "GrantaServerApiSchemaParametersDiscreteParameterValue": """Gets the parameter_value of this GrantaServerApiDataDiscreteParameterWithValue. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py index 500a8752..3783a0bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_attribute_to_export.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_request.py index ce36ee85..dc87981e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -83,9 +97,9 @@ def __init__( self._attributes: Union[ List[GrantaServerApiDataExportAttributeToExport], None, Unset_Type ] = Unset - self._record_properties: Union[ - List[GrantaServerApiRecordProperty], None, Unset_Type - ] = Unset + self._record_properties: Union[List[GrantaServerApiRecordProperty], None, Unset_Type] = ( + Unset + ) self._record_history_identities: Union[List[int], None, Unset_Type] = Unset if attributes is not Unset: @@ -123,9 +137,7 @@ def attributes( self._attributes = attributes @property - def record_properties( - self, - ) -> "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]": + def record_properties(self) -> "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]": """Gets the record_properties of this GrantaServerApiDataExportDataExportRequest. Returns @@ -137,8 +149,7 @@ def record_properties( @record_properties.setter def record_properties( - self, - record_properties: "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]", + self, record_properties: "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]" ) -> None: """Sets the record_properties of this GrantaServerApiDataExportDataExportRequest. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_response.py index ba71788a..776c3391 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_data_export_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_applicable_datum.py index 53aa64d2..2acda6ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_applicable_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsApplicableDatum( - GrantaServerApiDataExportDatumsDatum -): +class GrantaServerApiDataExportDatumsApplicableDatum(GrantaServerApiDataExportDatumsDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_binary_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_binary_data.py index eecd9a65..b671a2bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_binary_data.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_binary_data.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_boolean_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_boolean_datum.py index b2b04d01..2683a042 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_boolean_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_boolean_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsBooleanDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsBooleanDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_date_time_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_date_time_datum.py index 5d161faa..58c09a13 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_date_time_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_date_time_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsDateTimeDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsDateTimeDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py index 23dc628a..3c6fdd25 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_datum.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -89,9 +103,9 @@ def __init__( """ self._attribute_identity: Union[int, Unset_Type] = Unset self._attribute_guid: Union[str, Unset_Type] = Unset - self._meta_datums: Union[ - List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type - ] = Unset + self._meta_datums: Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type] = ( + Unset + ) if attribute_identity is not Unset: self.attribute_identity = attribute_identity @@ -122,9 +136,7 @@ def attribute_identity(self, attribute_identity: "Union[int, Unset_Type]") -> No """ # Field is not nullable if attribute_identity is None: - raise ValueError( - "Invalid value for 'attribute_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_identity', must not be 'None'") self._attribute_identity = attribute_identity @property @@ -153,9 +165,7 @@ def attribute_guid(self, attribute_guid: "Union[str, Unset_Type]") -> None: self._attribute_guid = attribute_guid @property - def meta_datums( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": + def meta_datums(self) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": """Gets the meta_datums of this GrantaServerApiDataExportDatumsDatum. Returns @@ -167,8 +177,7 @@ def meta_datums( @meta_datums.setter def meta_datums( - self, - meta_datums: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]", + self, meta_datums: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]" ) -> None: """Sets the meta_datums of this GrantaServerApiDataExportDatumsDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_datum.py index efe4096f..400e8426 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsDiscreteDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsDiscreteDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -103,9 +116,7 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[ - List[GrantaServerApiDiscreteValue], None, Unset_Type - ] = Unset + self._datum_value: Union[List[GrantaServerApiDiscreteValue], None, Unset_Type] = Unset self.datum_type = datum_type if datum_value is not Unset: @@ -140,9 +151,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def datum_value( - self, - ) -> "Union[List[GrantaServerApiDiscreteValue], None, Unset_Type]": + def datum_value(self) -> "Union[List[GrantaServerApiDiscreteValue], None, Unset_Type]": """Gets the datum_value of this GrantaServerApiDataExportDatumsDiscreteDatum. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_datum.py index 80bc11fa..7f3f9a8a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -115,9 +130,9 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._x_axis_parameter: Union[ - GrantaServerApiFunctionalDatumParameterInfo, Unset_Type - ] = Unset + self._x_axis_parameter: Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type] = ( + Unset + ) self._parameters: Union[ List[GrantaServerApiFunctionalDatumParameterInfo], None, Unset_Type ] = Unset @@ -157,9 +172,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def x_axis_parameter( - self, - ) -> "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]": + def x_axis_parameter(self) -> "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]": """Gets the x_axis_parameter of this GrantaServerApiDataExportDatumsDiscreteFunctionalDatum. Returns @@ -171,8 +184,7 @@ def x_axis_parameter( @x_axis_parameter.setter def x_axis_parameter( - self, - x_axis_parameter: "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]", + self, x_axis_parameter: "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]" ) -> None: """Sets the x_axis_parameter of this GrantaServerApiDataExportDatumsDiscreteFunctionalDatum. @@ -240,9 +252,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportDatumsDiscreteFunctionalDatum - ): + if not isinstance(other, GrantaServerApiDataExportDatumsDiscreteFunctionalDatum): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_grid_datum.py index 4ce53dc9..810a76b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_grid_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_discrete_functional_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_discrete_functional_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsDiscreteFunctionalDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -203,9 +218,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportDatumsDiscreteFunctionalGridDatum - ): + if not isinstance(other, GrantaServerApiDataExportDatumsDiscreteFunctionalGridDatum): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_series_datum.py index 146c14fa..5288363a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_functional_series_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_discrete_functional_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_discrete_functional_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsDiscreteFunctionalDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -169,8 +184,7 @@ def series( @series.setter def series( - self, - series: "Union[List[GrantaServerApiDataExportDatumsDiscreteSeries], None, Unset_Type]", + self, series: "Union[List[GrantaServerApiDataExportDatumsDiscreteSeries], None, Unset_Type]" ) -> None: """Sets the series of this GrantaServerApiDataExportDatumsDiscreteFunctionalSeriesDatum. @@ -203,9 +217,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportDatumsDiscreteFunctionalSeriesDatum - ): + if not isinstance(other, GrantaServerApiDataExportDatumsDiscreteFunctionalSeriesDatum): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_grid_point.py index 5b279149..bb5d3776 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_grid_point.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series.py index fb09d69d..80470e88 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series_point.py index a651607a..b47caacd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_discrete_series_point.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_file_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_file_datum.py index 76538818..080b9b21 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_file_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_file_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsFileDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsFileDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -103,9 +116,7 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[ - GrantaServerApiDataExportDatumsBinaryData, Unset_Type - ] = Unset + self._datum_value: Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type] = Unset self.datum_type = datum_type if datum_value is not Unset: @@ -140,9 +151,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def datum_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]": + def datum_value(self) -> "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]": """Gets the datum_value of this GrantaServerApiDataExportDatumsFileDatum. Returns @@ -154,8 +163,7 @@ def datum_value( @datum_value.setter def datum_value( - self, - datum_value: "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]", + self, datum_value: "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]" ) -> None: """Sets the datum_value of this GrantaServerApiDataExportDatumsFileDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_float_functional_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_float_functional_datum.py index 0890750e..b82fdbf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_float_functional_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_float_functional_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -58,6 +73,7 @@ class GrantaServerApiDataExportDatumsFloatFunctionalDatum( "attribute_identity": "int", "datum_type": "str", "is_estimated": "bool", + "is_range": "bool", "meta_datums": "list[GrantaServerApiDataExportDatumsDatum]", "not_applicable": "str", "parameters": "list[GrantaServerApiFunctionalDatumParameterInfo]", @@ -70,6 +86,7 @@ class GrantaServerApiDataExportDatumsFloatFunctionalDatum( "attribute_identity": "attributeIdentity", "datum_type": "datumType", "is_estimated": "isEstimated", + "is_range": "isRange", "meta_datums": "metaDatums", "not_applicable": "notApplicable", "parameters": "parameters", @@ -96,6 +113,7 @@ def __init__( attribute_identity: "Union[int, Unset_Type]" = Unset, datum_type: "str" = "floatFunctional", is_estimated: "Union[bool, Unset_Type]" = Unset, + is_range: "Union[bool, Unset_Type]" = Unset, meta_datums: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]" = Unset, not_applicable: "str" = "applicable", parameters: "Union[List[GrantaServerApiFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, @@ -110,6 +128,7 @@ def __init__( attribute_identity: int, optional datum_type: str is_estimated: bool, optional + is_range: bool, optional meta_datums: List[GrantaServerApiDataExportDatumsDatum], optional not_applicable: str parameters: List[GrantaServerApiFunctionalDatumParameterInfo], optional @@ -124,13 +143,14 @@ def __init__( ) self._datum_type: str self._unit_symbol: Union[str, None, Unset_Type] = Unset - self._x_axis_parameter: Union[ - GrantaServerApiFunctionalDatumParameterInfo, Unset_Type - ] = Unset + self._x_axis_parameter: Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type] = ( + Unset + ) self._parameters: Union[ List[GrantaServerApiFunctionalDatumParameterInfo], None, Unset_Type ] = Unset self._is_estimated: Union[bool, Unset_Type] = Unset + self._is_range: Union[bool, Unset_Type] = Unset self.datum_type = datum_type if unit_symbol is not Unset: @@ -141,6 +161,8 @@ def __init__( self.parameters = parameters if is_estimated is not Unset: self.is_estimated = is_estimated + if is_range is not Unset: + self.is_range = is_range @property def datum_type(self) -> "str": @@ -193,9 +215,7 @@ def unit_symbol(self, unit_symbol: "Union[str, None, Unset_Type]") -> None: self._unit_symbol = unit_symbol @property - def x_axis_parameter( - self, - ) -> "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]": + def x_axis_parameter(self) -> "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]": """Gets the x_axis_parameter of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. Returns @@ -207,8 +227,7 @@ def x_axis_parameter( @x_axis_parameter.setter def x_axis_parameter( - self, - x_axis_parameter: "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]", + self, x_axis_parameter: "Union[GrantaServerApiFunctionalDatumParameterInfo, Unset_Type]" ) -> None: """Sets the x_axis_parameter of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. @@ -274,6 +293,31 @@ def is_estimated(self, is_estimated: "Union[bool, Unset_Type]") -> None: raise ValueError("Invalid value for 'is_estimated', must not be 'None'") self._is_estimated = is_estimated + @property + def is_range(self) -> "Union[bool, Unset_Type]": + """Gets the is_range of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. + + Returns + ------- + Union[bool, Unset_Type] + The is_range of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. + """ + return self._is_range + + @is_range.setter + def is_range(self, is_range: "Union[bool, Unset_Type]") -> None: + """Sets the is_range of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. + + Parameters + ---------- + is_range: Union[bool, Unset_Type] + The is_range of this GrantaServerApiDataExportDatumsFloatFunctionalDatum. + """ + # Field is not nullable + if is_range is None: + raise ValueError("Invalid value for 'is_range', must not be 'None'") + self._is_range = is_range + @classmethod def get_real_child_model(cls, data: Dict[str, str]) -> str: """Returns the real base class as determined by the discriminator diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_grid_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_grid_datum.py index d63fc758..a6fbd57b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_grid_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_grid_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_float_functional_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_float_functional_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsFloatFunctionalDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -57,6 +72,7 @@ class GrantaServerApiDataExportDatumsFunctionalGridDatum( "datum_type": "str", "graph_type": "str", "is_estimated": "bool", + "is_range": "bool", "meta_datums": "list[GrantaServerApiDataExportDatumsDatum]", "not_applicable": "str", "parameters": "list[GrantaServerApiFunctionalDatumParameterInfo]", @@ -71,6 +87,7 @@ class GrantaServerApiDataExportDatumsFunctionalGridDatum( "datum_type": "datumType", "graph_type": "graphType", "is_estimated": "isEstimated", + "is_range": "isRange", "meta_datums": "metaDatums", "not_applicable": "notApplicable", "parameters": "parameters", @@ -93,6 +110,7 @@ def __init__( datum_type: "str" = "floatFunctional", graph_type: "str" = "grid", is_estimated: "Union[bool, Unset_Type]" = Unset, + is_range: "Union[bool, Unset_Type]" = Unset, meta_datums: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]" = Unset, not_applicable: "str" = "applicable", parameters: "Union[List[GrantaServerApiFunctionalDatumParameterInfo], None, Unset_Type]" = Unset, @@ -109,6 +127,7 @@ def __init__( datum_type: str graph_type: str is_estimated: bool, optional + is_range: bool, optional meta_datums: List[GrantaServerApiDataExportDatumsDatum], optional not_applicable: str parameters: List[GrantaServerApiFunctionalDatumParameterInfo], optional @@ -121,6 +140,7 @@ def __init__( attribute_identity=attribute_identity, datum_type=datum_type, is_estimated=is_estimated, + is_range=is_range, meta_datums=meta_datums, not_applicable=not_applicable, parameters=parameters, @@ -128,9 +148,9 @@ def __init__( x_axis_parameter=x_axis_parameter, ) self._graph_type: str - self._points: Union[ - List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type - ] = Unset + self._points: Union[List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type] = ( + Unset + ) self.graph_type = graph_type if points is not Unset: @@ -165,9 +185,7 @@ def graph_type(self, graph_type: "str") -> None: self._graph_type = graph_type @property - def points( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type]": + def points(self) -> "Union[List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type]": """Gets the points of this GrantaServerApiDataExportDatumsFunctionalGridDatum. Returns @@ -179,8 +197,7 @@ def points( @points.setter def points( - self, - points: "Union[List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type]", + self, points: "Union[List[GrantaServerApiDataExportDatumsGridPoint], None, Unset_Type]" ) -> None: """Sets the points of this GrantaServerApiDataExportDatumsFunctionalGridDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_series_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_series_datum.py index 60c36d8b..ff8fcb09 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_series_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_functional_series_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_float_functional_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_float_functional_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsFloatFunctionalDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -133,6 +148,7 @@ def __init__( attribute_identity=attribute_identity, datum_type=datum_type, is_estimated=is_estimated, + is_range=is_range, meta_datums=meta_datums, not_applicable=not_applicable, parameters=parameters, @@ -140,11 +156,8 @@ def __init__( x_axis_parameter=x_axis_parameter, ) self._graph_type: str - self._series: Union[ - List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type - ] = Unset + self._series: Union[List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type] = Unset self._is_logarithmic: Union[bool, Unset_Type] = Unset - self._is_range: Union[bool, Unset_Type] = Unset self._show_as_table: Union[bool, Unset_Type] = Unset self.graph_type = graph_type @@ -152,8 +165,6 @@ def __init__( self.series = series if is_logarithmic is not Unset: self.is_logarithmic = is_logarithmic - if is_range is not Unset: - self.is_range = is_range if show_as_table is not Unset: self.show_as_table = show_as_table @@ -186,9 +197,7 @@ def graph_type(self, graph_type: "str") -> None: self._graph_type = graph_type @property - def series( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type]": + def series(self) -> "Union[List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type]": """Gets the series of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. Returns @@ -200,8 +209,7 @@ def series( @series.setter def series( - self, - series: "Union[List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type]", + self, series: "Union[List[GrantaServerApiDataExportDatumsSeries], None, Unset_Type]" ) -> None: """Sets the series of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. @@ -237,31 +245,6 @@ def is_logarithmic(self, is_logarithmic: "Union[bool, Unset_Type]") -> None: raise ValueError("Invalid value for 'is_logarithmic', must not be 'None'") self._is_logarithmic = is_logarithmic - @property - def is_range(self) -> "Union[bool, Unset_Type]": - """Gets the is_range of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. - - Returns - ------- - Union[bool, Unset_Type] - The is_range of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. - """ - return self._is_range - - @is_range.setter - def is_range(self, is_range: "Union[bool, Unset_Type]") -> None: - """Sets the is_range of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. - - Parameters - ---------- - is_range: Union[bool, Unset_Type] - The is_range of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. - """ - # Field is not nullable - if is_range is None: - raise ValueError("Invalid value for 'is_range', must not be 'None'") - self._is_range = is_range - @property def show_as_table(self) -> "Union[bool, Unset_Type]": """Gets the show_as_table of this GrantaServerApiDataExportDatumsFunctionalSeriesDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_graph_decoration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_graph_decoration.py index 59121eed..934c78a7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_graph_decoration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_graph_decoration.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_grid_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_grid_point.py index 9b13798e..3a12e547 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_grid_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_grid_point.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink.py index cf8aa4e0..0145b0d5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +136,7 @@ def formatted_address(self) -> "Union[str, None, Unset_Type]": return self._formatted_address @formatted_address.setter - def formatted_address( - self, formatted_address: "Union[str, None, Unset_Type]" - ) -> None: + def formatted_address(self, formatted_address: "Union[str, None, Unset_Type]") -> None: """Sets the formatted_address of this GrantaServerApiDataExportDatumsHyperlink. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink_datum.py index 43dbf4e7..22d1de66 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_hyperlink_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsHyperlinkDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsHyperlinkDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -103,9 +116,7 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[ - GrantaServerApiDataExportDatumsHyperlink, Unset_Type - ] = Unset + self._datum_value: Union[GrantaServerApiDataExportDatumsHyperlink, Unset_Type] = Unset self.datum_type = datum_type if datum_value is not Unset: @@ -140,9 +151,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def datum_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsHyperlink, Unset_Type]": + def datum_value(self) -> "Union[GrantaServerApiDataExportDatumsHyperlink, Unset_Type]": """Gets the datum_value of this GrantaServerApiDataExportDatumsHyperlinkDatum. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_link_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_link_datum.py index b9441265..6ed20c6f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_link_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_link_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsLinkDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsLinkDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_linked_records_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_linked_records_datum.py index 380f4651..5debe6d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_linked_records_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_linked_records_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_link_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_link_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsLinkDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsLinkedRecordsDatum( - GrantaServerApiDataExportDatumsLinkDatum -): +class GrantaServerApiDataExportDatumsLinkedRecordsDatum(GrantaServerApiDataExportDatumsLinkDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -138,20 +151,14 @@ def __init__( not_applicable=not_applicable, ) self._link_group_name: Union[str, None, Unset_Type] = Unset - self._link_attribute_type: Union[ - GrantaServerApiLinkAttributeType, Unset_Type - ] = Unset + self._link_attribute_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = Unset self._export_in_reversed_direction: Union[bool, Unset_Type] = Unset self._target_database_guid: Union[str, None, Unset_Type] = Unset self._linked_records: Union[ List[GrantaServerApiDataExportRecordWithData], None, Unset_Type ] = Unset - self._link_group_names_by_database_key: Union[ - Dict[str, str], None, Unset_Type - ] = Unset - self._link_group_identities_by_database_key: Union[ - Dict[str, int], None, Unset_Type - ] = Unset + self._link_group_names_by_database_key: Union[Dict[str, str], None, Unset_Type] = Unset + self._link_group_identities_by_database_key: Union[Dict[str, int], None, Unset_Type] = Unset self._rolled_up_data: Union[ List[GrantaServerApiDataExportDatumsRollupRollupDatum], None, Unset_Type ] = Unset @@ -170,9 +177,7 @@ def __init__( if link_group_names_by_database_key is not Unset: self.link_group_names_by_database_key = link_group_names_by_database_key if link_group_identities_by_database_key is not Unset: - self.link_group_identities_by_database_key = ( - link_group_identities_by_database_key - ) + self.link_group_identities_by_database_key = link_group_identities_by_database_key if rolled_up_data is not Unset: self.rolled_up_data = rolled_up_data self.link_datum_type = link_datum_type @@ -200,9 +205,7 @@ def link_group_name(self, link_group_name: "Union[str, None, Unset_Type]") -> No self._link_group_name = link_group_name @property - def link_attribute_type( - self, - ) -> "Union[GrantaServerApiLinkAttributeType, Unset_Type]": + def link_attribute_type(self) -> "Union[GrantaServerApiLinkAttributeType, Unset_Type]": """Gets the link_attribute_type of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. Returns @@ -225,9 +228,7 @@ def link_attribute_type( """ # Field is not nullable if link_attribute_type is None: - raise ValueError( - "Invalid value for 'link_attribute_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'link_attribute_type', must not be 'None'") self._link_attribute_type = link_attribute_type @property @@ -254,9 +255,7 @@ def export_in_reversed_direction( """ # Field is not nullable if export_in_reversed_direction is None: - raise ValueError( - "Invalid value for 'export_in_reversed_direction', must not be 'None'" - ) + raise ValueError("Invalid value for 'export_in_reversed_direction', must not be 'None'") self._export_in_reversed_direction = export_in_reversed_direction @property @@ -271,9 +270,7 @@ def target_database_guid(self) -> "Union[str, None, Unset_Type]": return self._target_database_guid @target_database_guid.setter - def target_database_guid( - self, target_database_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_database_guid(self, target_database_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_database_guid of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. Parameters @@ -311,9 +308,7 @@ def linked_records( self._linked_records = linked_records @property - def link_group_names_by_database_key( - self, - ) -> "Union[Dict[str, str], None, Unset_Type]": + def link_group_names_by_database_key(self) -> "Union[Dict[str, str], None, Unset_Type]": """Gets the link_group_names_by_database_key of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. Returns @@ -325,8 +320,7 @@ def link_group_names_by_database_key( @link_group_names_by_database_key.setter def link_group_names_by_database_key( - self, - link_group_names_by_database_key: "Union[Dict[str, str], None, Unset_Type]", + self, link_group_names_by_database_key: "Union[Dict[str, str], None, Unset_Type]" ) -> None: """Sets the link_group_names_by_database_key of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. @@ -338,9 +332,7 @@ def link_group_names_by_database_key( self._link_group_names_by_database_key = link_group_names_by_database_key @property - def link_group_identities_by_database_key( - self, - ) -> "Union[Dict[str, int], None, Unset_Type]": + def link_group_identities_by_database_key(self) -> "Union[Dict[str, int], None, Unset_Type]": """Gets the link_group_identities_by_database_key of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. Returns @@ -352,8 +344,7 @@ def link_group_identities_by_database_key( @link_group_identities_by_database_key.setter def link_group_identities_by_database_key( - self, - link_group_identities_by_database_key: "Union[Dict[str, int], None, Unset_Type]", + self, link_group_identities_by_database_key: "Union[Dict[str, int], None, Unset_Type]" ) -> None: """Sets the link_group_identities_by_database_key of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. @@ -362,9 +353,7 @@ def link_group_identities_by_database_key( link_group_identities_by_database_key: Union[Dict[str, int], None, Unset_Type] The link_group_identities_by_database_key of this GrantaServerApiDataExportDatumsLinkedRecordsDatum. """ - self._link_group_identities_by_database_key = ( - link_group_identities_by_database_key - ) + self._link_group_identities_by_database_key = link_group_identities_by_database_key @property def rolled_up_data( diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_long_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_long_text_datum.py index 957caad2..138778a6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_long_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_long_text_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsLongTextDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsLongTextDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_not_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_not_applicable_datum.py index 3ae42d4f..3915c85e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_not_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_not_applicable_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsNotApplicableDatum( - GrantaServerApiDataExportDatumsDatum -): +class GrantaServerApiDataExportDatumsNotApplicableDatum(GrantaServerApiDataExportDatumsDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -116,9 +129,7 @@ def datum_type(self) -> "Union[GrantaServerApiAttributeType, Unset_Type]": return self._datum_type @datum_type.setter - def datum_type( - self, datum_type: "Union[GrantaServerApiAttributeType, Unset_Type]" - ) -> None: + def datum_type(self, datum_type: "Union[GrantaServerApiAttributeType, Unset_Type]") -> None: """Sets the datum_type of this GrantaServerApiDataExportDatumsNotApplicableDatum. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_numeric_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_numeric_datum.py index 58f55d1e..42964d2d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_numeric_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_numeric_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsNumericDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsNumericDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_parameter_value.py index 8bb8fcda..f1982964 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_parameter_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -102,9 +116,7 @@ def parameter(self) -> "Union[GrantaServerApiParameterInfo, Unset_Type]": return self._parameter @parameter.setter - def parameter( - self, parameter: "Union[GrantaServerApiParameterInfo, Unset_Type]" - ) -> None: + def parameter(self, parameter: "Union[GrantaServerApiParameterInfo, Unset_Type]") -> None: """Sets the parameter of this GrantaServerApiDataExportDatumsParameterValue. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_picture_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_picture_datum.py index 45aa7316..efed165a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_picture_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_picture_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsPictureDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsPictureDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -103,9 +116,7 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[ - GrantaServerApiDataExportDatumsBinaryData, Unset_Type - ] = Unset + self._datum_value: Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type] = Unset self.datum_type = datum_type if datum_value is not Unset: @@ -140,9 +151,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def datum_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]": + def datum_value(self) -> "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]": """Gets the datum_value of this GrantaServerApiDataExportDatumsPictureDatum. Returns @@ -154,8 +163,7 @@ def datum_value( @datum_value.setter def datum_value( - self, - datum_value: "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]", + self, datum_value: "Union[GrantaServerApiDataExportDatumsBinaryData, Unset_Type]" ) -> None: """Sets the datum_value of this GrantaServerApiDataExportDatumsPictureDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point.py index 9ae2eb94..8d02538a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point_datum.py index f2f4ae81..f60a77a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_point_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsPointDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsPointDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -111,9 +124,9 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[ - List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type - ] = Unset + self._datum_value: Union[List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type] = ( + Unset + ) self._is_estimated: Union[bool, Unset_Type] = Unset self._unit: Union[str, None, Unset_Type] = Unset @@ -154,9 +167,7 @@ def datum_type(self, datum_type: "str") -> None: self._datum_type = datum_type @property - def datum_value( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type]": + def datum_value(self) -> "Union[List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type]": """Gets the datum_value of this GrantaServerApiDataExportDatumsPointDatum. Returns @@ -168,8 +179,7 @@ def datum_value( @datum_value.setter def datum_value( - self, - datum_value: "Union[List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type]", + self, datum_value: "Union[List[GrantaServerApiDataExportDatumsPoint], None, Unset_Type]" ) -> None: """Sets the datum_value of this GrantaServerApiDataExportDatumsPointDatum. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range.py index dd74e196..8f5a6d88 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -151,9 +165,7 @@ def high_value_is_inclusive(self) -> "Union[bool, Unset_Type]": return self._high_value_is_inclusive @high_value_is_inclusive.setter - def high_value_is_inclusive( - self, high_value_is_inclusive: "Union[bool, Unset_Type]" - ) -> None: + def high_value_is_inclusive(self, high_value_is_inclusive: "Union[bool, Unset_Type]") -> None: """Sets the high_value_is_inclusive of this GrantaServerApiDataExportDatumsRange. Parameters @@ -163,9 +175,7 @@ def high_value_is_inclusive( """ # Field is not nullable if high_value_is_inclusive is None: - raise ValueError( - "Invalid value for 'high_value_is_inclusive', must not be 'None'" - ) + raise ValueError("Invalid value for 'high_value_is_inclusive', must not be 'None'") self._high_value_is_inclusive = high_value_is_inclusive @property @@ -180,9 +190,7 @@ def low_value_is_inclusive(self) -> "Union[bool, Unset_Type]": return self._low_value_is_inclusive @low_value_is_inclusive.setter - def low_value_is_inclusive( - self, low_value_is_inclusive: "Union[bool, Unset_Type]" - ) -> None: + def low_value_is_inclusive(self, low_value_is_inclusive: "Union[bool, Unset_Type]") -> None: """Sets the low_value_is_inclusive of this GrantaServerApiDataExportDatumsRange. Parameters @@ -192,9 +200,7 @@ def low_value_is_inclusive( """ # Field is not nullable if low_value_is_inclusive is None: - raise ValueError( - "Invalid value for 'low_value_is_inclusive', must not be 'None'" - ) + raise ValueError("Invalid value for 'low_value_is_inclusive', must not be 'None'") self._low_value_is_inclusive = low_value_is_inclusive @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range_datum.py index 778d58dc..bc77eed6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_range_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsRangeDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsRangeDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -111,9 +124,7 @@ def __init__( not_applicable=not_applicable, ) self._datum_type: str - self._datum_value: Union[GrantaServerApiDataExportDatumsRange, Unset_Type] = ( - Unset - ) + self._datum_value: Union[GrantaServerApiDataExportDatumsRange, Unset_Type] = Unset self._is_estimated: Union[bool, Unset_Type] = Unset self._unit: Union[str, None, Unset_Type] = Unset diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_count_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_count_rollup_datum.py index 05968a5a..bfac93c4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_count_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_count_rollup_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsRollupRollupDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_numeric_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_numeric_rollup_datum.py index fb200c05..6ae8c9d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_numeric_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_numeric_rollup_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsRollupRollupDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -211,9 +226,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportDatumsRollupNumericRollupDatum - ): + if not isinstance(other, GrantaServerApiDataExportDatumsRollupNumericRollupDatum): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_rollup_datum.py index a004b129..9b4c2856 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_rollup_datum.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -145,9 +159,7 @@ def attribute_identity(self) -> "Union[int, None, Unset_Type]": return self._attribute_identity @attribute_identity.setter - def attribute_identity( - self, attribute_identity: "Union[int, None, Unset_Type]" - ) -> None: + def attribute_identity(self, attribute_identity: "Union[int, None, Unset_Type]") -> None: """Sets the attribute_identity of this GrantaServerApiDataExportDatumsRollupRollupDatum. The attribute identity of the rolled up data. If the data came from a local column, this is the column identity. If the data came from linked records, this is the identity of the tabular attribute @@ -185,9 +197,7 @@ def attribute_guid(self, attribute_guid: "Union[str, None, Unset_Type]") -> None @property def roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the roll_up_type of this GrantaServerApiDataExportDatumsRollupRollupDatum. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_value_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_value_rollup_datum.py index 72a5dc15..661f2421 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_value_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_value_rollup_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsRollupRollupDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_values_rollup_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_values_rollup_datum.py index 5b4a66cb..d3655d4a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_values_rollup_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_rollup_values_rollup_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_rollup_rollup_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsRollupRollupDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -208,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportDatumsRollupValuesRollupDatum - ): + if not isinstance(other, GrantaServerApiDataExportDatumsRollupValuesRollupDatum): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series.py index 5d9caa7e..4217adcd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,9 +98,9 @@ def __init__( self._parameter_values: Union[ List[GrantaServerApiDataExportDatumsParameterValue], None, Unset_Type ] = Unset - self._points: Union[ - List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type - ] = Unset + self._points: Union[List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type] = ( + Unset + ) self._graph_decoration: Union[ GrantaServerApiDataExportDatumsGraphDecoration, Unset_Type ] = Unset @@ -126,9 +140,7 @@ def parameter_values( self._parameter_values = parameter_values @property - def points( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type]": + def points(self) -> "Union[List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type]": """Gets the points of this GrantaServerApiDataExportDatumsSeries. Returns @@ -140,8 +152,7 @@ def points( @points.setter def points( - self, - points: "Union[List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type]", + self, points: "Union[List[GrantaServerApiDataExportDatumsSeriesPoint], None, Unset_Type]" ) -> None: """Sets the points of this GrantaServerApiDataExportDatumsSeries. @@ -167,8 +178,7 @@ def graph_decoration( @graph_decoration.setter def graph_decoration( - self, - graph_decoration: "Union[GrantaServerApiDataExportDatumsGraphDecoration, Unset_Type]", + self, graph_decoration: "Union[GrantaServerApiDataExportDatumsGraphDecoration, Unset_Type]" ) -> None: """Sets the graph_decoration of this GrantaServerApiDataExportDatumsSeries. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series_point.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series_point.py index 63727777..ad131ad2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series_point.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_series_point.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_short_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_short_text_datum.py index 21f6f24a..9e25153c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_short_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_short_text_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_applicable_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsShortTextDatum( - GrantaServerApiDataExportDatumsApplicableDatum -): +class GrantaServerApiDataExportDatumsShortTextDatum(GrantaServerApiDataExportDatumsApplicableDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_datum.py index 34549354..b93674ac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_datum.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_link_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_link_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsLinkDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportDatumsTabularDatum( - GrantaServerApiDataExportDatumsLinkDatum -): +class GrantaServerApiDataExportDatumsTabularDatum(GrantaServerApiDataExportDatumsLinkDatum): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_row.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_row.py index afe69289..71275441 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_row.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_tabular_row.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -101,9 +115,9 @@ def __init__( self._row_guid: Union[str, Unset_Type] = Unset self._linking_value: Union[str, None, Unset_Type] = Unset self._row_number: Union[int, Unset_Type] = Unset - self._local_data: Union[ - List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type - ] = Unset + self._local_data: Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type] = ( + Unset + ) self._linked_records: Union[ List[GrantaServerApiIntegrationDataExportRecordReference], None, Unset_Type ] = Unset @@ -202,9 +216,7 @@ def row_number(self, row_number: "Union[int, Unset_Type]") -> None: self._row_number = row_number @property - def local_data( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": + def local_data(self) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": """Gets the local_data of this GrantaServerApiDataExportDatumsTabularRow. Returns @@ -216,8 +228,7 @@ def local_data( @local_data.setter def local_data( - self, - local_data: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]", + self, local_data: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]" ) -> None: """Sets the local_data of this GrantaServerApiDataExportDatumsTabularRow. @@ -273,8 +284,7 @@ def linked_data( @linked_data.setter def linked_data( - self, - linked_data: "Union[List[GrantaServerApiDataExportRecordWithData], None, Unset_Type]", + self, linked_data: "Union[List[GrantaServerApiDataExportRecordWithData], None, Unset_Type]" ) -> None: """Sets the linked_data of this GrantaServerApiDataExportDatumsTabularRow. Data for the linked records, if the request included linked data to export diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_unknown_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_unknown_datum.py index 032d48db..fcc52bde 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_unknown_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_datums_unknown_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_datums_datum import ( # noqa: F401 GrantaServerApiDataExportDatumsDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_export_failure.py index 503c7583..ce721d77 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_export_failure.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( # noqa: F401 GrantaServerApiDataExportExportFailuresExportFailure, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -89,9 +104,7 @@ def __init__( type: str """ super().__init__(failure_details=failure_details, failure_reason=failure_reason) - self._failed_attributes: List[ - GrantaServerApiDataExportExportFailuresAttributeReference - ] + self._failed_attributes: List[GrantaServerApiDataExportExportFailuresAttributeReference] self._type: str self.failed_attributes = failed_attributes @@ -112,8 +125,7 @@ def failed_attributes( @failed_attributes.setter def failed_attributes( - self, - failed_attributes: "List[GrantaServerApiDataExportExportFailuresAttributeReference]", + self, failed_attributes: "List[GrantaServerApiDataExportExportFailuresAttributeReference]" ) -> None: """Sets the failed_attributes of this GrantaServerApiDataExportExportFailuresAttributeExportFailure. @@ -124,14 +136,10 @@ def failed_attributes( """ # Field is not nullable if failed_attributes is None: - raise ValueError( - "Invalid value for 'failed_attributes', must not be 'None'" - ) + raise ValueError("Invalid value for 'failed_attributes', must not be 'None'") # Field is required if failed_attributes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'failed_attributes', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'failed_attributes', must not be 'Unset'") self._failed_attributes = failed_attributes @property @@ -184,9 +192,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresAttributeExportFailure - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresAttributeExportFailure): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_reference.py index ae6d873d..d0b8f50a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_attribute_reference.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -127,9 +141,7 @@ def attribute_identity(self) -> "Union[int, None, Unset_Type]": return self._attribute_identity @attribute_identity.setter - def attribute_identity( - self, attribute_identity: "Union[int, None, Unset_Type]" - ) -> None: + def attribute_identity(self, attribute_identity: "Union[int, None, Unset_Type]") -> None: """Sets the attribute_identity of this GrantaServerApiDataExportExportFailuresAttributeReference. Parameters @@ -183,9 +195,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresAttributeReference - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresAttributeReference): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_export_failure.py index cc48934a..a4f6147e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_export_failure.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( # noqa: F401 GrantaServerApiDataExportExportFailuresExportFailure, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -175,9 +190,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresDatumExportFailure - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresDatumExportFailure): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_reference.py index f77de5c3..5bbce947 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_datum_reference.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -142,14 +156,10 @@ def record_history_identity(self, record_history_identity: "int") -> None: """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") # Field is required if record_history_identity is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'Unset'") self._record_history_identity = record_history_identity @property @@ -174,14 +184,10 @@ def attribute_identity(self, attribute_identity: "int") -> None: """ # Field is not nullable if attribute_identity is None: - raise ValueError( - "Invalid value for 'attribute_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_identity', must not be 'None'") # Field is required if attribute_identity is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_identity', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_identity', must not be 'Unset'") self._attribute_identity = attribute_identity @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure.py index f9d9f6ae..af1099eb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure_type.py index 38689cd1..cb65da40 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_export_failure_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_export_failure.py index 9835c40b..97cfdf30 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_export_failure.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( # noqa: F401 GrantaServerApiDataExportExportFailuresExportFailure, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -175,9 +190,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresLinkExportFailure - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresLinkExportFailure): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_reference.py index b53e870c..3faea1c3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_link_reference.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -108,9 +122,7 @@ def target_database_guid(self) -> "Union[str, None, Unset_Type]": return self._target_database_guid @target_database_guid.setter - def target_database_guid( - self, target_database_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_database_guid(self, target_database_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_database_guid of this GrantaServerApiDataExportExportFailuresLinkReference. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_record_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_record_export_failure.py index 448e172c..8ec71ac9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_record_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_record_export_failure.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( # noqa: F401 GrantaServerApiDataExportExportFailuresExportFailure, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +111,7 @@ def __init__( self.type = type @property - def failed_records( - self, - ) -> "List[GrantaServerApiIntegrationDataExportRecordReference]": + def failed_records(self) -> "List[GrantaServerApiIntegrationDataExportRecordReference]": """Gets the failed_records of this GrantaServerApiDataExportExportFailuresRecordExportFailure. Returns @@ -110,8 +123,7 @@ def failed_records( @failed_records.setter def failed_records( - self, - failed_records: "List[GrantaServerApiIntegrationDataExportRecordReference]", + self, failed_records: "List[GrantaServerApiIntegrationDataExportRecordReference]" ) -> None: """Sets the failed_records of this GrantaServerApiDataExportExportFailuresRecordExportFailure. @@ -178,9 +190,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresRecordExportFailure - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresRecordExportFailure): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_export_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_export_failure.py index 7f77a0de..f1862d71 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_export_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_export_failure.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_export_failures_export_failure import ( # noqa: F401 GrantaServerApiDataExportExportFailuresExportFailure, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -175,9 +190,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresRollupExportFailure - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresRollupExportFailure): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_reference.py index bb632098..164c8b78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_export_failures_rollup_reference.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -135,9 +149,7 @@ def attribute_identity(self) -> "Union[int, None, Unset_Type]": return self._attribute_identity @attribute_identity.setter - def attribute_identity( - self, attribute_identity: "Union[int, None, Unset_Type]" - ) -> None: + def attribute_identity(self, attribute_identity: "Union[int, None, Unset_Type]") -> None: """Sets the attribute_identity of this GrantaServerApiDataExportExportFailuresRollupReference. Parameters @@ -170,9 +182,7 @@ def attribute_guid(self, attribute_guid: "Union[str, None, Unset_Type]") -> None self._attribute_guid = attribute_guid @property - def rollup_type( - self, - ) -> "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType": + def rollup_type(self) -> "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType": """Gets the rollup_type of this GrantaServerApiDataExportExportFailuresRollupReference. Returns @@ -223,9 +233,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportExportFailuresRollupReference - ): + if not isinstance(other, GrantaServerApiDataExportExportFailuresRollupReference): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_link_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_link_attribute_to_export.py index 64a58575..c409f8c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_link_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_link_attribute_to_export.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_attribute_to_export import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_attribute_to_export import ( # noqa: F401 GrantaServerApiDataExportAttributeToExport, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportLinkAttributeToExport( - GrantaServerApiDataExportAttributeToExport -): +class GrantaServerApiDataExportLinkAttributeToExport(GrantaServerApiDataExportAttributeToExport): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -137,22 +150,18 @@ def __init__( self._target_database_guid: Union[str, None, Unset_Type] = Unset self._target_attribute_guid: Union[str, None, Unset_Type] = Unset self._attribute_type: str - self._link_attribute_type: Union[ - GrantaServerApiLinkAttributeType, Unset_Type - ] = Unset + self._link_attribute_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = Unset self._export_in_reversed_direction: Union[bool, Unset_Type] = Unset - self._record_properties: Union[ - List[GrantaServerApiRecordProperty], None, Unset_Type - ] = Unset + self._record_properties: Union[List[GrantaServerApiRecordProperty], None, Unset_Type] = ( + Unset + ) self._attributes: Union[ List[GrantaServerApiDataExportAttributeToExport], None, Unset_Type ] = Unset self._linked_records_export_behavior: Union[ GrantaServerApiDataExportLinkedRecordExportBehavior, Unset_Type ] = Unset - self._indirect_links_behavior: Union[ - GrantaServerApiIndirectLinks, Unset_Type - ] = Unset + self._indirect_links_behavior: Union[GrantaServerApiIndirectLinks, Unset_Type] = Unset if local_data is not Unset: self.local_data = local_data @@ -218,9 +227,7 @@ def target_table_guid(self) -> "Union[str, None, Unset_Type]": return self._target_table_guid @target_table_guid.setter - def target_table_guid( - self, target_table_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_table_guid(self, target_table_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_table_guid of this GrantaServerApiDataExportLinkAttributeToExport. Table containing the linked records @@ -244,9 +251,7 @@ def target_database_guid(self) -> "Union[str, None, Unset_Type]": return self._target_database_guid @target_database_guid.setter - def target_database_guid( - self, target_database_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_database_guid(self, target_database_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_database_guid of this GrantaServerApiDataExportLinkAttributeToExport. Database containing the linked records. For reverse cross database links, this is the database where the link is defined. This is not required for cross-database link groups that don't have a target database. @@ -270,9 +275,7 @@ def target_attribute_guid(self) -> "Union[str, None, Unset_Type]": return self._target_attribute_guid @target_attribute_guid.setter - def target_attribute_guid( - self, target_attribute_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_attribute_guid(self, target_attribute_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_attribute_guid of this GrantaServerApiDataExportLinkAttributeToExport. For tabular searching: this is the identifier of the short-text linking attribute. Otherwise null. @@ -312,9 +315,7 @@ def attribute_type(self, attribute_type: "str") -> None: self._attribute_type = attribute_type @property - def link_attribute_type( - self, - ) -> "Union[GrantaServerApiLinkAttributeType, Unset_Type]": + def link_attribute_type(self) -> "Union[GrantaServerApiLinkAttributeType, Unset_Type]": """Gets the link_attribute_type of this GrantaServerApiDataExportLinkAttributeToExport. Returns @@ -337,9 +338,7 @@ def link_attribute_type( """ # Field is not nullable if link_attribute_type is None: - raise ValueError( - "Invalid value for 'link_attribute_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'link_attribute_type', must not be 'None'") self._link_attribute_type = link_attribute_type @property @@ -366,15 +365,11 @@ def export_in_reversed_direction( """ # Field is not nullable if export_in_reversed_direction is None: - raise ValueError( - "Invalid value for 'export_in_reversed_direction', must not be 'None'" - ) + raise ValueError("Invalid value for 'export_in_reversed_direction', must not be 'None'") self._export_in_reversed_direction = export_in_reversed_direction @property - def record_properties( - self, - ) -> "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]": + def record_properties(self) -> "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]": """Gets the record_properties of this GrantaServerApiDataExportLinkAttributeToExport. The properties to export on any linked records. @@ -387,8 +382,7 @@ def record_properties( @record_properties.setter def record_properties( - self, - record_properties: "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]", + self, record_properties: "Union[List[GrantaServerApiRecordProperty], None, Unset_Type]" ) -> None: """Sets the record_properties of this GrantaServerApiDataExportLinkAttributeToExport. The properties to export on any linked records. @@ -462,9 +456,7 @@ def linked_records_export_behavior( self._linked_records_export_behavior = linked_records_export_behavior @property - def indirect_links_behavior( - self, - ) -> "Union[GrantaServerApiIndirectLinks, Unset_Type]": + def indirect_links_behavior(self) -> "Union[GrantaServerApiIndirectLinks, Unset_Type]": """Gets the indirect_links_behavior of this GrantaServerApiDataExportLinkAttributeToExport. Returns @@ -487,9 +479,7 @@ def indirect_links_behavior( """ # Field is not nullable if indirect_links_behavior is None: - raise ValueError( - "Invalid value for 'indirect_links_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'indirect_links_behavior', must not be 'None'") self._indirect_links_behavior = indirect_links_behavior @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_linked_record_export_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_linked_record_export_behavior.py index 6b771a93..9308f523 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_linked_record_export_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_linked_record_export_behavior.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -87,9 +101,7 @@ def __init__( self._summary_roll_up_type: Union[ GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type ] = Unset - self._linked_records_criterion: Union[ - GrantaServerApiSearchCriterion, Unset_Type - ] = Unset + self._linked_records_criterion: Union[GrantaServerApiSearchCriterion, Unset_Type] = Unset if tabular_row_behavior is not Unset: self.tabular_row_behavior = tabular_row_behavior @@ -125,17 +137,13 @@ def tabular_row_behavior( """ # Field is not nullable if tabular_row_behavior is None: - raise ValueError( - "Invalid value for 'tabular_row_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'tabular_row_behavior', must not be 'None'") self._tabular_row_behavior = tabular_row_behavior @property def summary_roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the summary_roll_up_type of this GrantaServerApiDataExportLinkedRecordExportBehavior. Returns @@ -159,15 +167,11 @@ def summary_roll_up_type( """ # Field is not nullable if summary_roll_up_type is None: - raise ValueError( - "Invalid value for 'summary_roll_up_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_roll_up_type', must not be 'None'") self._summary_roll_up_type = summary_roll_up_type @property - def linked_records_criterion( - self, - ) -> "Union[GrantaServerApiSearchCriterion, Unset_Type]": + def linked_records_criterion(self) -> "Union[GrantaServerApiSearchCriterion, Unset_Type]": """Gets the linked_records_criterion of this GrantaServerApiDataExportLinkedRecordExportBehavior. Returns @@ -179,8 +183,7 @@ def linked_records_criterion( @linked_records_criterion.setter def linked_records_criterion( - self, - linked_records_criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]", + self, linked_records_criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]" ) -> None: """Sets the linked_records_criterion of this GrantaServerApiDataExportLinkedRecordExportBehavior. @@ -191,9 +194,7 @@ def linked_records_criterion( """ # Field is not nullable if linked_records_criterion is None: - raise ValueError( - "Invalid value for 'linked_records_criterion', must not be 'None'" - ) + raise ValueError("Invalid value for 'linked_records_criterion', must not be 'None'") self._linked_records_criterion = linked_records_criterion @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_parameter_setting_defined_at.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_parameter_setting_defined_at.py index 42151c0c..b72ae66a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_parameter_setting_defined_at.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_parameter_setting_defined_at.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_by_user_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_by_user_property.py index 3b3ee453..c0d34f41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_by_user_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_by_user_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -158,9 +173,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesCreatedByUserProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesCreatedByUserProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_date_property.py index 3b5b609a..2f2b7517 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_created_date_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesCreatedDateProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesCreatedDateProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_database_key_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_database_key_property.py index a8e751b5..38510a8b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_database_key_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_database_key_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -158,9 +173,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesDatabaseKeyProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesDatabaseKeyProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_full_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_full_name_property.py index fabeb88c..286cc6ab 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_full_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_full_name_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_by_user_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_by_user_property.py index 6bd66cde..0d19bd41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_by_user_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_by_user_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def last_modified_by_user(self) -> "Union[str, None, Unset_Type]": return self._last_modified_by_user @last_modified_by_user.setter - def last_modified_by_user( - self, last_modified_by_user: "Union[str, None, Unset_Type]" - ) -> None: + def last_modified_by_user(self, last_modified_by_user: "Union[str, None, Unset_Type]") -> None: """Sets the last_modified_by_user of this GrantaServerApiDataExportPropertiesLastModifiedByUserProperty. Parameters @@ -160,9 +173,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesLastModifiedByUserProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesLastModifiedByUserProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_date_property.py index bca97c26..d2e53724 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_last_modified_date_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def last_modified_date(self) -> "Union[datetime, Unset_Type]": return self._last_modified_date @last_modified_date.setter - def last_modified_date( - self, last_modified_date: "Union[datetime, Unset_Type]" - ) -> None: + def last_modified_date(self, last_modified_date: "Union[datetime, Unset_Type]") -> None: """Sets the last_modified_date of this GrantaServerApiDataExportPropertiesLastModifiedDateProperty. Parameters @@ -138,9 +151,7 @@ def last_modified_date( """ # Field is not nullable if last_modified_date is None: - raise ValueError( - "Invalid value for 'last_modified_date', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_date', must not be 'None'") self._last_modified_date = last_modified_date @classmethod @@ -165,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesLastModifiedDateProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesLastModifiedDateProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py index 5c9017fe..1992f670 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_property.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_color_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_color_property.py index e596dd17..bc52db07 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_color_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_color_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +143,7 @@ def record_color(self) -> "Union[GrantaServerApiRecordColor, Unset_Type]": return self._record_color @record_color.setter - def record_color( - self, record_color: "Union[GrantaServerApiRecordColor, Unset_Type]" - ) -> None: + def record_color(self, record_color: "Union[GrantaServerApiRecordColor, Unset_Type]") -> None: """Sets the record_color of this GrantaServerApiDataExportPropertiesRecordColorProperty. Parameters @@ -165,9 +178,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesRecordColorProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesRecordColorProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_guid_property.py index 9aedf16a..49d5188f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_guid_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_guid_property.py index c9cdb061..9acaadff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_guid_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def record_history_guid(self) -> "Union[str, Unset_Type]": return self._record_history_guid @record_history_guid.setter - def record_history_guid( - self, record_history_guid: "Union[str, Unset_Type]" - ) -> None: + def record_history_guid(self, record_history_guid: "Union[str, Unset_Type]") -> None: """Sets the record_history_guid of this GrantaServerApiDataExportPropertiesRecordHistoryGuidProperty. Parameters @@ -138,9 +151,7 @@ def record_history_guid( """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") self._record_history_guid = record_history_guid @classmethod @@ -165,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesRecordHistoryGuidProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesRecordHistoryGuidProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_identity_property.py index f8108ebb..6edbc9b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_history_identity_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def record_history_identity(self) -> "Union[int, Unset_Type]": return self._record_history_identity @record_history_identity.setter - def record_history_identity( - self, record_history_identity: "Union[int, Unset_Type]" - ) -> None: + def record_history_identity(self, record_history_identity: "Union[int, Unset_Type]") -> None: """Sets the record_history_identity of this GrantaServerApiDataExportPropertiesRecordHistoryIdentityProperty. Parameters @@ -138,9 +151,7 @@ def record_history_identity( """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") self._record_history_identity = record_history_identity @classmethod @@ -165,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesRecordHistoryIdentityProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesRecordHistoryIdentityProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_identity_property.py index 0cb4e581..0fd28c94 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_identity_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesRecordIdentityProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesRecordIdentityProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_type_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_type_property.py index 86ab586d..701fb61d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_type_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_record_type_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +143,7 @@ def record_type(self) -> "Union[GrantaServerApiRecordType, Unset_Type]": return self._record_type @record_type.setter - def record_type( - self, record_type: "Union[GrantaServerApiRecordType, Unset_Type]" - ) -> None: + def record_type(self, record_type: "Union[GrantaServerApiRecordType, Unset_Type]") -> None: """Sets the record_type of this GrantaServerApiDataExportPropertiesRecordTypeProperty. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_released_date_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_released_date_property.py index 92089d2f..ffb116c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_released_date_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_released_date_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -158,9 +173,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesReleasedDateProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesReleasedDateProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_short_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_short_name_property.py index 774a790f..d85555f7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_short_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_short_name_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_guid_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_guid_property.py index 3ad6f2b0..02f9f317 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_guid_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_guid_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_identity_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_identity_property.py index 68b38251..e618fa72 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_identity_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_identity_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesTableIdentityProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesTableIdentityProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_name_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_name_property.py index fc9aec9f..987d1a57 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_name_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_table_name_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_number_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_number_property.py index 11380d6e..324ba1bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_number_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_number_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,9 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesVersionNumberProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesVersionNumberProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_state_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_state_property.py index da498351..ef9ccb18 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_state_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_properties_version_state_property.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_properties_property import ( # noqa: F401 GrantaServerApiDataExportPropertiesProperty, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -165,9 +180,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiDataExportPropertiesVersionStateProperty - ): + if not isinstance(other, GrantaServerApiDataExportPropertiesVersionStateProperty): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_record_with_data.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_record_with_data.py index 8f18e69e..0c7651b6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_record_with_data.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_record_with_data.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -86,9 +100,7 @@ def __init__( """ self._database_key: Union[str, None, Unset_Type] = Unset self._record_history_identity: Union[int, Unset_Type] = Unset - self._data: Union[ - List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type - ] = Unset + self._data: Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type] = Unset self._properties: Union[ List[GrantaServerApiDataExportPropertiesProperty], None, Unset_Type ] = Unset @@ -136,9 +148,7 @@ def record_history_identity(self) -> "Union[int, Unset_Type]": return self._record_history_identity @record_history_identity.setter - def record_history_identity( - self, record_history_identity: "Union[int, Unset_Type]" - ) -> None: + def record_history_identity(self, record_history_identity: "Union[int, Unset_Type]") -> None: """Sets the record_history_identity of this GrantaServerApiDataExportRecordWithData. Parameters @@ -148,15 +158,11 @@ def record_history_identity( """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") self._record_history_identity = record_history_identity @property - def data( - self, - ) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": + def data(self) -> "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]": """Gets the data of this GrantaServerApiDataExportRecordWithData. Returns @@ -168,8 +174,7 @@ def data( @data.setter def data( - self, - data: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]", + self, data: "Union[List[GrantaServerApiDataExportDatumsDatum], None, Unset_Type]" ) -> None: """Sets the data of this GrantaServerApiDataExportRecordWithData. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_simple_attribute_to_export.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_simple_attribute_to_export.py index 06e7f5d9..1191e11f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_simple_attribute_to_export.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_simple_attribute_to_export.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_attribute_to_export import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_export_attribute_to_export import ( # noqa: F401 GrantaServerApiDataExportAttributeToExport, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataExportSimpleAttributeToExport( - GrantaServerApiDataExportAttributeToExport -): +class GrantaServerApiDataExportSimpleAttributeToExport(GrantaServerApiDataExportAttributeToExport): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -111,9 +124,7 @@ def __init__( @property def roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the roll_up_type of this GrantaServerApiDataExportSimpleAttributeToExport. Returns @@ -143,9 +154,7 @@ def roll_up_type( @property def summary_roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the summary_roll_up_type of this GrantaServerApiDataExportSimpleAttributeToExport. Returns @@ -169,9 +178,7 @@ def summary_roll_up_type( """ # Field is not nullable if summary_roll_up_type is None: - raise ValueError( - "Invalid value for 'summary_roll_up_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_roll_up_type', must not be 'None'") self._summary_roll_up_type = summary_roll_up_type @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_tabular_row_export_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_tabular_row_export_behavior.py index 9c1be503..b4b09fb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_tabular_row_export_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_export_tabular_row_export_behavior.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_file_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_file_datum.py index b45269f9..25127bff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_file_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_file_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -273,14 +288,10 @@ def content_is_in_search_index(self, content_is_in_search_index: "bool") -> None """ # Field is not nullable if content_is_in_search_index is None: - raise ValueError( - "Invalid value for 'content_is_in_search_index', must not be 'None'" - ) + raise ValueError("Invalid value for 'content_is_in_search_index', must not be 'None'") # Field is required if content_is_in_search_index is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'content_is_in_search_index', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'content_is_in_search_index', must not be 'Unset'") self._content_is_in_search_index = content_is_in_search_index @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_datum.py index 8cd94641..cf7e18f7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_target.py index c44be81b..125171b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_hyperlink_target.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_integer_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_integer_datum.py index d927fa7f..eac5bad2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_integer_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_integer_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_logical_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_logical_datum.py index 84dcd27f..f8e95867 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_logical_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_logical_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_long_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_long_text_datum.py index 4f6e8abc..d996b725 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_long_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_long_text_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def rich_text_value(self) -> "GrantaServerApiDataRichTextValue": return self._rich_text_value @rich_text_value.setter - def rich_text_value( - self, rich_text_value: "GrantaServerApiDataRichTextValue" - ) -> None: + def rich_text_value(self, rich_text_value: "GrantaServerApiDataRichTextValue") -> None: """Sets the rich_text_value of this GrantaServerApiDataLongTextDatum. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_not_applicable_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_not_applicable_datum.py index 22a2e2a5..96ec45ea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_not_applicable_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_not_applicable_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_datum import ( # noqa: F401 GrantaServerApiDataDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_numeric_parameter_with_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_numeric_parameter_with_value.py index f591a1b4..fedfba9c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_numeric_parameter_with_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_numeric_parameter_with_value.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_parameter_with_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_parameter_with_value import ( # noqa: F401 GrantaServerApiDataParameterWithValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiDataNumericParameterWithValue( - GrantaServerApiDataParameterWithValue -): +class GrantaServerApiDataNumericParameterWithValue(GrantaServerApiDataParameterWithValue): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -166,9 +179,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiDataNumericParameterWithValue. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_parameter_with_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_parameter_with_value.py index 3d082644..bc073b7e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_parameter_with_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_parameter_with_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +108,7 @@ def parameter(self) -> "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity": return self._parameter @parameter.setter - def parameter( - self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity" - ) -> None: + def parameter(self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity") -> None: """Sets the parameter of this GrantaServerApiDataParameterWithValue. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_picture_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_picture_datum.py index 378c9ba2..def52c35 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_picture_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_picture_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_data_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_data_value.py index 07e53fe6..ab515364 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_data_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_data_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -139,9 +153,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiDataPointDataValue. Parameters @@ -181,9 +193,7 @@ def significant_figures_info( """ # Field is not nullable if significant_figures_info is None: - raise ValueError( - "Invalid value for 'significant_figures_info', must not be 'None'" - ) + raise ValueError("Invalid value for 'significant_figures_info', must not be 'None'") self._significant_figures_info = significant_figures_info @property @@ -210,14 +220,10 @@ def parameter_and_values( """ # Field is not nullable if parameter_and_values is None: - raise ValueError( - "Invalid value for 'parameter_and_values', must not be 'None'" - ) + raise ValueError("Invalid value for 'parameter_and_values', must not be 'None'") # Field is required if parameter_and_values is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'parameter_and_values', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'parameter_and_values', must not be 'Unset'") self._parameter_and_values = parameter_and_values @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_datum.py index 7cbf477e..a791c260 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_point_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_range_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_range_datum.py index 9bd01abd..9e1f8343 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_range_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_range_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -135,9 +150,7 @@ def __init__( if low_value_significant_figures_info is not Unset: self.low_value_significant_figures_info = low_value_significant_figures_info if high_value_significant_figures_info is not Unset: - self.high_value_significant_figures_info = ( - high_value_significant_figures_info - ) + self.high_value_significant_figures_info = high_value_significant_figures_info self.estimated = estimated if unit is not Unset: self.unit = unit @@ -248,14 +261,10 @@ def low_value_is_inclusive(self, low_value_is_inclusive: "bool") -> None: """ # Field is not nullable if low_value_is_inclusive is None: - raise ValueError( - "Invalid value for 'low_value_is_inclusive', must not be 'None'" - ) + raise ValueError("Invalid value for 'low_value_is_inclusive', must not be 'None'") # Field is required if low_value_is_inclusive is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'low_value_is_inclusive', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'low_value_is_inclusive', must not be 'Unset'") self._low_value_is_inclusive = low_value_is_inclusive @property @@ -280,14 +289,10 @@ def high_value_is_inclusive(self, high_value_is_inclusive: "bool") -> None: """ # Field is not nullable if high_value_is_inclusive is None: - raise ValueError( - "Invalid value for 'high_value_is_inclusive', must not be 'None'" - ) + raise ValueError("Invalid value for 'high_value_is_inclusive', must not be 'None'") # Field is required if high_value_is_inclusive is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'high_value_is_inclusive', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'high_value_is_inclusive', must not be 'Unset'") self._high_value_is_inclusive = high_value_is_inclusive @property @@ -394,9 +399,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiDataRangeDatum. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_type.py index 454054e0..7c418a1f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_value.py index 2b38b933..8fac50f7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_rich_text_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_short_text_datum.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_short_text_datum.py index 8a182393..8c4a350b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_short_text_datum.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_short_text_datum.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_data_applicable_datum import ( # noqa: F401 GrantaServerApiDataApplicableDatum, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_significant_figures_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_significant_figures_info.py index fed5f798..ddf74548 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_significant_figures_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_data_significant_figures_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( """ self._significant_figures: int self._entered_value: float - self._entered_unit: Union[ - GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type - ] = Unset + self._entered_unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset self.significant_figures = significant_figures self.entered_value = entered_value @@ -112,14 +124,10 @@ def significant_figures(self, significant_figures: "int") -> None: """ # Field is not nullable if significant_figures is None: - raise ValueError( - "Invalid value for 'significant_figures', must not be 'None'" - ) + raise ValueError("Invalid value for 'significant_figures', must not be 'None'") # Field is required if significant_figures is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'significant_figures', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'significant_figures', must not be 'Unset'") self._significant_figures = significant_figures @property @@ -151,9 +159,7 @@ def entered_value(self, entered_value: "float") -> None: self._entered_value = entered_value @property - def entered_unit( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]": + def entered_unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]": """Gets the entered_unit of this GrantaServerApiDataSignificantFiguresInfo. Returns @@ -165,8 +171,7 @@ def entered_unit( @entered_unit.setter def entered_unit( - self, - entered_unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]", + self, entered_unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" ) -> None: """Sets the entered_unit of this GrantaServerApiDataSignificantFiguresInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status.py index 4ae8a25d..c4c57d78 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status_information.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status_information.py index c067acff..92c1a58c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status_information.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_database_status_information.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -148,9 +162,7 @@ def database_is_read_only(self) -> "Union[bool, Unset_Type]": return self._database_is_read_only @database_is_read_only.setter - def database_is_read_only( - self, database_is_read_only: "Union[bool, Unset_Type]" - ) -> None: + def database_is_read_only(self, database_is_read_only: "Union[bool, Unset_Type]") -> None: """Sets the database_is_read_only of this GrantaServerApiDatabaseStatusInformation. Gets a value indicating whether the database is read only. @@ -161,9 +173,7 @@ def database_is_read_only( """ # Field is not nullable if database_is_read_only is None: - raise ValueError( - "Invalid value for 'database_is_read_only', must not be 'None'" - ) + raise ValueError("Invalid value for 'database_is_read_only', must not be 'None'") self._database_is_read_only = database_is_read_only @property @@ -255,9 +265,7 @@ def search_index_in_sync(self) -> "Union[bool, Unset_Type]": return self._search_index_in_sync @search_index_in_sync.setter - def search_index_in_sync( - self, search_index_in_sync: "Union[bool, Unset_Type]" - ) -> None: + def search_index_in_sync(self, search_index_in_sync: "Union[bool, Unset_Type]") -> None: """Sets the search_index_in_sync of this GrantaServerApiDatabaseStatusInformation. Whether the search indexes for this database are in sync with the database changes @@ -268,9 +276,7 @@ def search_index_in_sync( """ # Field is not nullable if search_index_in_sync is None: - raise ValueError( - "Invalid value for 'search_index_in_sync', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_index_in_sync', must not be 'None'") self._search_index_in_sync = search_index_in_sync @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_discrete_value.py index b02981f5..8c1ef502 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_discrete_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_disk_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_disk_status.py index 8dd6bf39..391fc42d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_disk_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_disk_status.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_data_modification_error_detail.py index aa0aaddf..1eb4778d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_data_modification_error_detail.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_in_use_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_in_use_data_modification_error_detail.py index 8ba24e7a..d1b8951a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_in_use_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_in_use_data_modification_error_detail.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_data_modification_data_modification_error_detail import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_data_modification_data_modification_error_detail import ( # noqa: F401 GrantaServerApiExceptionsDataModificationDataModificationErrorDetail, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -131,9 +146,7 @@ def referenced_by_type( """ # Field is not nullable if referenced_by_type is None: - raise ValueError( - "Invalid value for 'referenced_by_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'referenced_by_type', must not be 'None'") self._referenced_by_type = referenced_by_type @property @@ -214,8 +227,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiExceptionsDataModificationInUseDataModificationErrorDetail, + other, GrantaServerApiExceptionsDataModificationInUseDataModificationErrorDetail ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_referenced_by_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_referenced_by_type.py index f94b021a..8e7c839d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_referenced_by_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_data_modification_referenced_by_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_attribute_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_attribute_deletion_exception.py index 5ee92f07..9b098475 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_attribute_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_attribute_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionAttributeDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionAttributeDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_constant_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_constant_deletion_exception.py index 6f490826..d5e90fb9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_constant_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_constant_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionConstantDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionConstantDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_type_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_type_deletion_exception.py index bb38fdc6..02d191c6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_type_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_type_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionDiscreteTypeDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionDiscreteTypeDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_value_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_value_deletion_exception.py index 63652882..c1260d3d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_value_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_discrete_value_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionDiscreteValueDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionDiscreteValueDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_deletion_exception.py index ac1ab5b7..e7ae3950 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionParameterDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionParameterDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_value_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_value_deletion_exception.py index 91fb9d97..2fb8b0fe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_value_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_parameter_value_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionParameterValueDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionParameterValueDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_table_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_table_deletion_exception.py index a0801f92..2fedcbc5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_table_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_deletion_table_deletion_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -191,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsDeletionTableDeletionException - ): + if not isinstance(other, GrantaServerApiExceptionsDeletionTableDeletionException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_error_detail.py index 68d0d103..c1c03aa7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_error_detail.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_copy_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_copy_exception.py index 62ca2105..73d2b31f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_copy_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_copy_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -82,9 +96,7 @@ def __init__( """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[ - List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type - ] = Unset + self._errors: Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -141,9 +153,7 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors( - self, - ) -> "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]": """Gets the errors of this GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException. Returns @@ -155,8 +165,7 @@ def errors( @errors.setter def errors( - self, - errors: "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]", + self, errors: "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException. @@ -189,9 +198,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException - ): + if not isinstance(other, GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_move_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_move_exception.py index 66ba2f8d..aab2dbfe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_move_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_record_history_record_history_move_exception.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -82,9 +96,7 @@ def __init__( """ self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset - self._errors: Union[ - List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type - ] = Unset + self._errors: Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type] = Unset if message is not Unset: self.message = message @@ -141,9 +153,7 @@ def code(self, code: "Union[SystemNetHttpStatusCode, Unset_Type]") -> None: self._code = code @property - def errors( - self, - ) -> "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]": + def errors(self) -> "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]": """Gets the errors of this GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException. Returns @@ -155,8 +165,7 @@ def errors( @errors.setter def errors( - self, - errors: "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]", + self, errors: "Union[List[GrantaServerApiExceptionsErrorDetail], None, Unset_Type]" ) -> None: """Sets the errors of this GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException. @@ -189,9 +198,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException - ): + if not isinstance(other, GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_get_modifiable_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_get_modifiable_record_version_control_exception.py index b3b0c950..3dd44ab3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_get_modifiable_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_get_modifiable_record_version_control_exception.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiExceptionsVersionControlGetModifiableRecordVersionControlException( - ModelBase -): +class GrantaServerApiExceptionsVersionControlGetModifiableRecordVersionControlException(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -85,9 +97,7 @@ def __init__( self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset self._errors: Union[ - List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], - None, - Unset_Type, + List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], None, Unset_Type ] = Unset if message is not Unset: @@ -194,8 +204,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiExceptionsVersionControlGetModifiableRecordVersionControlException, + other, GrantaServerApiExceptionsVersionControlGetModifiableRecordVersionControlException ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_parent_state_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_parent_state_error_detail.py index 26099269..37932b28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_parent_state_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_parent_state_error_detail.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( # noqa: F401 GrantaServerApiExceptionsVersionControlVersionControlErrorDetail, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_version_state_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_version_state_error_detail.py index 003cb213..9b907739 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_version_state_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_invalid_version_state_error_detail.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( # noqa: F401 GrantaServerApiExceptionsVersionControlVersionControlErrorDetail, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_the_latest_version_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_the_latest_version_error_detail.py index 8376e9a6..d0fa1678 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_the_latest_version_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_the_latest_version_error_detail.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( # noqa: F401 GrantaServerApiExceptionsVersionControlVersionControlErrorDetail, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_versioned_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_versioned_error_detail.py index 53516add..b406a1a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_versioned_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_not_versioned_error_detail.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_exceptions_version_control_version_control_error_detail import ( # noqa: F401 GrantaServerApiExceptionsVersionControlVersionControlErrorDetail, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -133,9 +148,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsVersionControlNotVersionedErrorDetail - ): + if not isinstance(other, GrantaServerApiExceptionsVersionControlNotVersionedErrorDetail): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_record_version_control_exception.py index b9ffcd14..6c8e13fd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_record_version_control_exception.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiExceptionsVersionControlReleaseRecordVersionControlException( - ModelBase -): +class GrantaServerApiExceptionsVersionControlReleaseRecordVersionControlException(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -85,9 +97,7 @@ def __init__( self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset self._errors: Union[ - List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], - None, - Unset_Type, + List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], None, Unset_Type ] = Unset if message is not Unset: @@ -194,8 +204,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiExceptionsVersionControlReleaseRecordVersionControlException, + other, GrantaServerApiExceptionsVersionControlReleaseRecordVersionControlException ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_table_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_table_version_control_exception.py index a8dab7cb..d0bc8224 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_table_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_release_table_version_control_exception.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiExceptionsVersionControlReleaseTableVersionControlException( - ModelBase -): +class GrantaServerApiExceptionsVersionControlReleaseTableVersionControlException(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -85,9 +97,7 @@ def __init__( self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset self._errors: Union[ - List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], - None, - Unset_Type, + List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], None, Unset_Type ] = Unset if message is not Unset: @@ -194,8 +204,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiExceptionsVersionControlReleaseTableVersionControlException, + other, GrantaServerApiExceptionsVersionControlReleaseTableVersionControlException ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_version_control_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_version_control_error_detail.py index a0381fd2..8e0f7fca 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_version_control_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_version_control_error_detail.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -137,9 +151,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiExceptionsVersionControlVersionControlErrorDetail - ): + if not isinstance(other, GrantaServerApiExceptionsVersionControlVersionControlErrorDetail): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_withdraw_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_withdraw_record_version_control_exception.py index f455d5da..15e8e0bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_withdraw_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exceptions_version_control_withdraw_record_version_control_exception.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException( - ModelBase -): +class GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -85,9 +97,7 @@ def __init__( self._message: Union[str, None, Unset_Type] = Unset self._code: Union[SystemNetHttpStatusCode, Unset_Type] = Unset self._errors: Union[ - List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], - None, - Unset_Type, + List[GrantaServerApiExceptionsVersionControlVersionControlErrorDetail], None, Unset_Type ] = Unset if message is not Unset: @@ -194,8 +204,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException, + other, GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exclude_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exclude_values_specifier.py index c1e5defa..d589ccc3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exclude_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_exclude_values_specifier.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( # noqa: F401 GrantaServerApiValueSpecifier, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -127,9 +142,7 @@ def excluded_guids(self) -> "Union[List[str], None, Unset_Type]": return self._excluded_guids @excluded_guids.setter - def excluded_guids( - self, excluded_guids: "Union[List[str], None, Unset_Type]" - ) -> None: + def excluded_guids(self, excluded_guids: "Union[List[str], None, Unset_Type]") -> None: """Sets the excluded_guids of this GrantaServerApiExcludeValuesSpecifier. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_functional_datum_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_functional_datum_parameter_info.py index 8c788167..f91db119 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_functional_datum_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_functional_datum_parameter_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -125,18 +139,14 @@ def __init__( self._name: Union[str, None, Unset_Type] = Unset self._identity: Union[int, Unset_Type] = Unset self._unit_symbol: Union[str, None, Unset_Type] = Unset - self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = ( - Unset - ) + self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = Unset self._interpolation_type: Union[ GrantaServerApiParameterInfoInterpolationType, Unset_Type ] = Unset - self._parameter_type: Union[ - GrantaServerApiParameterInfoParameterType, Unset_Type - ] = Unset - self._default_value: Union[ - GrantaServerApiDataExportDatumsParameterValue, Unset_Type - ] = Unset + self._parameter_type: Union[GrantaServerApiParameterInfoParameterType, Unset_Type] = Unset + self._default_value: Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type] = ( + Unset + ) if scale_type_defined_at is not Unset: self.scale_type_defined_at = scale_type_defined_at @@ -186,9 +196,7 @@ def scale_type_defined_at( """ # Field is not nullable if scale_type_defined_at is None: - raise ValueError( - "Invalid value for 'scale_type_defined_at', must not be 'None'" - ) + raise ValueError("Invalid value for 'scale_type_defined_at', must not be 'None'") self._scale_type_defined_at = scale_type_defined_at @property @@ -250,9 +258,7 @@ def default_value_defined_at( """ # Field is not nullable if default_value_defined_at is None: - raise ValueError( - "Invalid value for 'default_value_defined_at', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_value_defined_at', must not be 'None'") self._default_value_defined_at = default_value_defined_at @property @@ -366,8 +372,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]", + self, interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]" ) -> None: """Sets the interpolation_type of this GrantaServerApiFunctionalDatumParameterInfo. @@ -378,15 +383,11 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") self._interpolation_type = interpolation_type @property - def parameter_type( - self, - ) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": + def parameter_type(self) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": """Gets the parameter_type of this GrantaServerApiFunctionalDatumParameterInfo. Returns @@ -398,8 +399,7 @@ def parameter_type( @parameter_type.setter def parameter_type( - self, - parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]", + self, parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]" ) -> None: """Sets the parameter_type of this GrantaServerApiFunctionalDatumParameterInfo. @@ -414,9 +414,7 @@ def parameter_type( self._parameter_type = parameter_type @property - def default_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": + def default_value(self) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": """Gets the default_value of this GrantaServerApiFunctionalDatumParameterInfo. Returns @@ -428,8 +426,7 @@ def default_value( @default_value.setter def default_value( - self, - default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]", + self, default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]" ) -> None: """Sets the default_value of this GrantaServerApiFunctionalDatumParameterInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_index_record_failure.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_index_record_failure.py index 76d32225..917a9d93 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_index_record_failure.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_index_record_failure.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -107,9 +121,7 @@ def record_history_identity(self) -> "Union[int, Unset_Type]": return self._record_history_identity @record_history_identity.setter - def record_history_identity( - self, record_history_identity: "Union[int, Unset_Type]" - ) -> None: + def record_history_identity(self, record_history_identity: "Union[int, Unset_Type]") -> None: """Sets the record_history_identity of this GrantaServerApiIndexRecordFailure. Parameters @@ -119,9 +131,7 @@ def record_history_identity( """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") self._record_history_identity = record_history_identity @property @@ -183,9 +193,7 @@ def record_was_oversized(self) -> "Union[bool, Unset_Type]": return self._record_was_oversized @record_was_oversized.setter - def record_was_oversized( - self, record_was_oversized: "Union[bool, Unset_Type]" - ) -> None: + def record_was_oversized(self, record_was_oversized: "Union[bool, Unset_Type]") -> None: """Sets the record_was_oversized of this GrantaServerApiIndexRecordFailure. Records that contain a large amount of data are intentionally not sent to the index. This size limit is configurable through MIServer.exe.config @@ -196,9 +204,7 @@ def record_was_oversized( """ # Field is not nullable if record_was_oversized is None: - raise ValueError( - "Invalid value for 'record_was_oversized', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_was_oversized', must not be 'None'") self._record_was_oversized = record_was_oversized @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_indirect_links.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_indirect_links.py index 7fdc7904..7fd4323c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_indirect_links.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_indirect_links.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_integration_data_export_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_integration_data_export_request.py index fcb36849..29074abd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_integration_data_export_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_integration_data_export_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -75,18 +89,14 @@ def __init__( attribute_identities: List[int] record_references: List[GrantaServerApiIntegrationDataExportRecordReference] """ - self._record_references: List[ - GrantaServerApiIntegrationDataExportRecordReference - ] + self._record_references: List[GrantaServerApiIntegrationDataExportRecordReference] self._attribute_identities: List[int] self.record_references = record_references self.attribute_identities = attribute_identities @property - def record_references( - self, - ) -> "List[GrantaServerApiIntegrationDataExportRecordReference]": + def record_references(self) -> "List[GrantaServerApiIntegrationDataExportRecordReference]": """Gets the record_references of this GrantaServerApiIntegrationDataExportIntegrationDataExportRequest. A list of records to export. These are references to the underlying records in the source database @@ -99,8 +109,7 @@ def record_references( @record_references.setter def record_references( - self, - record_references: "List[GrantaServerApiIntegrationDataExportRecordReference]", + self, record_references: "List[GrantaServerApiIntegrationDataExportRecordReference]" ) -> None: """Sets the record_references of this GrantaServerApiIntegrationDataExportIntegrationDataExportRequest. A list of records to export. These are references to the underlying records in the source database @@ -112,14 +121,10 @@ def record_references( """ # Field is not nullable if record_references is None: - raise ValueError( - "Invalid value for 'record_references', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_references', must not be 'None'") # Field is required if record_references is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_references', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_references', must not be 'Unset'") self._record_references = record_references @property @@ -146,14 +151,10 @@ def attribute_identities(self, attribute_identities: "List[int]") -> None: """ # Field is not nullable if attribute_identities is None: - raise ValueError( - "Invalid value for 'attribute_identities', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_identities', must not be 'None'") # Field is required if attribute_identities is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_identities', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_identities', must not be 'Unset'") self._attribute_identities = attribute_identities @classmethod @@ -178,9 +179,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiIntegrationDataExportIntegrationDataExportRequest - ): + if not isinstance(other, GrantaServerApiIntegrationDataExportIntegrationDataExportRequest): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_record_reference.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_record_reference.py index 01daf18c..dbbd19ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_record_reference.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_data_export_record_reference.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -93,9 +107,7 @@ def record_history_identity(self) -> "Union[int, Unset_Type]": return self._record_history_identity @record_history_identity.setter - def record_history_identity( - self, record_history_identity: "Union[int, Unset_Type]" - ) -> None: + def record_history_identity(self, record_history_identity: "Union[int, Unset_Type]") -> None: """Sets the record_history_identity of this GrantaServerApiIntegrationDataExportRecordReference. Parameters @@ -105,9 +117,7 @@ def record_history_identity( """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") self._record_history_identity = record_history_identity @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_integration_schema_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_integration_schema_status.py index f42f66fa..04add221 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_integration_schema_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_integration_schema_status.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -186,9 +200,7 @@ def loaded_databases(self) -> "Union[List[str], None, Unset_Type]": return self._loaded_databases @loaded_databases.setter - def loaded_databases( - self, loaded_databases: "Union[List[str], None, Unset_Type]" - ) -> None: + def loaded_databases(self, loaded_databases: "Union[List[str], None, Unset_Type]") -> None: """Sets the loaded_databases of this GrantaServerApiIntegrationIntegrationSchemaStatus. Loaded databases have been successfully indexed into the integration schema. @@ -212,9 +224,7 @@ def loading_databases(self) -> "Union[List[str], None, Unset_Type]": return self._loading_databases @loading_databases.setter - def loading_databases( - self, loading_databases: "Union[List[str], None, Unset_Type]" - ) -> None: + def loading_databases(self, loading_databases: "Union[List[str], None, Unset_Type]") -> None: """Sets the loading_databases of this GrantaServerApiIntegrationIntegrationSchemaStatus. Databases which are in the process of loading. @@ -319,9 +329,7 @@ def search_index_up_to_date(self) -> "Union[bool, Unset_Type]": return self._search_index_up_to_date @search_index_up_to_date.setter - def search_index_up_to_date( - self, search_index_up_to_date: "Union[bool, Unset_Type]" - ) -> None: + def search_index_up_to_date(self, search_index_up_to_date: "Union[bool, Unset_Type]") -> None: """Sets the search_index_up_to_date of this GrantaServerApiIntegrationIntegrationSchemaStatus. Whether all changes up to and including the most recent database revision have been sent to the search index. This will return true even if some of those revisions could not be indexed @@ -332,9 +340,7 @@ def search_index_up_to_date( """ # Field is not nullable if search_index_up_to_date is None: - raise ValueError( - "Invalid value for 'search_index_up_to_date', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_index_up_to_date', must not be 'None'") self._search_index_up_to_date = search_index_up_to_date @property @@ -376,9 +382,7 @@ def search_index_in_sync(self) -> "Union[bool, Unset_Type]": return self._search_index_in_sync @search_index_in_sync.setter - def search_index_in_sync( - self, search_index_in_sync: "Union[bool, Unset_Type]" - ) -> None: + def search_index_in_sync(self, search_index_in_sync: "Union[bool, Unset_Type]") -> None: """Sets the search_index_in_sync of this GrantaServerApiIntegrationIntegrationSchemaStatus. Returns false if the search index is out of sync with the database (i.e. because changes were made that could not be indexed) @@ -389,9 +393,7 @@ def search_index_in_sync( """ # Field is not nullable if search_index_in_sync is None: - raise ValueError( - "Invalid value for 'search_index_in_sync', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_index_in_sync', must not be 'None'") self._search_index_in_sync = search_index_in_sync @property @@ -407,9 +409,7 @@ def search_index_location(self) -> "Union[str, None, Unset_Type]": return self._search_index_location @search_index_location.setter - def search_index_location( - self, search_index_location: "Union[str, None, Unset_Type]" - ) -> None: + def search_index_location(self, search_index_location: "Union[str, None, Unset_Type]") -> None: """Sets the search_index_location of this GrantaServerApiIntegrationIntegrationSchemaStatus. The location of the index. @@ -458,9 +458,7 @@ def disk_status(self) -> "Union[GrantaServerApiDiskStatus, Unset_Type]": return self._disk_status @disk_status.setter - def disk_status( - self, disk_status: "Union[GrantaServerApiDiskStatus, Unset_Type]" - ) -> None: + def disk_status(self, disk_status: "Union[GrantaServerApiDiskStatus, Unset_Type]") -> None: """Sets the disk_status of this GrantaServerApiIntegrationIntegrationSchemaStatus. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_attribute.py index 1f58bcf3..8fe85ee3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -131,13 +145,9 @@ def __init__( self._discrete_type_identity: Union[int, None, Unset_Type] = Unset self._discrete_type_guid: Union[str, None, Unset_Type] = Unset self._parameters: Union[ - List[GrantaServerApiIntegrationSchemaIntegrationParameterInfo], - None, - Unset_Type, + List[GrantaServerApiIntegrationSchemaIntegrationParameterInfo], None, Unset_Type ] = Unset - self._target_database: Union[GrantaServerApiObjectIdentifier, Unset_Type] = ( - Unset - ) + self._target_database: Union[GrantaServerApiObjectIdentifier, Unset_Type] = Unset self._target_table: Union[GrantaServerApiObjectIdentifier, Unset_Type] = Unset self._graph_type: Union[str, None, Unset_Type] = Unset self._x_axis_parameter: Union[str, None, Unset_Type] = Unset @@ -350,9 +360,7 @@ def discrete_type_guid(self) -> "Union[str, None, Unset_Type]": return self._discrete_type_guid @discrete_type_guid.setter - def discrete_type_guid( - self, discrete_type_guid: "Union[str, None, Unset_Type]" - ) -> None: + def discrete_type_guid(self, discrete_type_guid: "Union[str, None, Unset_Type]") -> None: """Sets the discrete_type_guid of this GrantaServerApiIntegrationSchemaAttribute. A discrete attribute must define the guid of its discrete type (i.e. list of possible values) @@ -483,9 +491,7 @@ def x_axis_parameter(self) -> "Union[str, None, Unset_Type]": return self._x_axis_parameter @x_axis_parameter.setter - def x_axis_parameter( - self, x_axis_parameter: "Union[str, None, Unset_Type]" - ) -> None: + def x_axis_parameter(self, x_axis_parameter: "Union[str, None, Unset_Type]") -> None: """Sets the x_axis_parameter of this GrantaServerApiIntegrationSchemaAttribute. A float functional attribute must define an x-axis. This will be one of the parameters listed in parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_discrete_type.py index c6e0bed7..91366d8e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_discrete_type.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_generated_integration_schema_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_generated_integration_schema_of_granta_server_api_object_identifier.py index 3342ea2b..f67d13cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_generated_integration_schema_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_generated_integration_schema_of_granta_server_api_object_identifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -79,9 +93,7 @@ def __init__( warnings: List[GrantaServerApiIntegrationSchemaIntegrationSchemaGenerationErrorDetail], optional """ self._warnings: Union[ - List[ - GrantaServerApiIntegrationSchemaIntegrationSchemaGenerationErrorDetail - ], + List[GrantaServerApiIntegrationSchemaIntegrationSchemaGenerationErrorDetail], None, Unset_Type, ] = Unset diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_attribute.py index 4253ad0f..c965361a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -121,15 +135,11 @@ def __init__( self._is_unitted: Union[bool, None, Unset_Type] = Unset self._discrete_type_guid: Union[str, None, Unset_Type] = Unset self._parameters: Union[ - List[ - GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo - ], + List[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo], None, Unset_Type, ] = Unset - self._target_database: Union[GrantaServerApiObjectIdentifier, Unset_Type] = ( - Unset - ) + self._target_database: Union[GrantaServerApiObjectIdentifier, Unset_Type] = Unset self._target_table: Union[GrantaServerApiObjectIdentifier, Unset_Type] = Unset self._graph_type: Union[str, None, Unset_Type] = Unset self._x_axis_parameter: Union[str, None, Unset_Type] = Unset @@ -290,9 +300,7 @@ def discrete_type_guid(self) -> "Union[str, None, Unset_Type]": return self._discrete_type_guid @discrete_type_guid.setter - def discrete_type_guid( - self, discrete_type_guid: "Union[str, None, Unset_Type]" - ) -> None: + def discrete_type_guid(self, discrete_type_guid: "Union[str, None, Unset_Type]") -> None: """Sets the discrete_type_guid of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute. A discrete attribute must define the guid of its discrete type (i.e. list of possible values) @@ -423,9 +431,7 @@ def x_axis_parameter(self) -> "Union[str, None, Unset_Type]": return self._x_axis_parameter @x_axis_parameter.setter - def x_axis_parameter( - self, x_axis_parameter: "Union[str, None, Unset_Type]" - ) -> None: + def x_axis_parameter(self, x_axis_parameter: "Union[str, None, Unset_Type]") -> None: """Sets the x_axis_parameter of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute. A float functional attribute must define an x-axis. This will be one of the parameters listed in parameters @@ -458,9 +464,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute - ): + if not isinstance(other, GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_discrete_type.py index a167efbb..b4586bf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_discrete_type.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_parameter_info.py index 3319f19b..6ee599f5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_parameter_info.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo( - ModelBase -): +class GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -103,18 +115,14 @@ def __init__( self._name: Union[str, None, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset self._unit_symbol: Union[str, None, Unset_Type] = Unset - self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = ( - Unset - ) + self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = Unset self._interpolation_type: Union[ GrantaServerApiParameterInfoInterpolationType, Unset_Type ] = Unset - self._parameter_type: Union[ - GrantaServerApiParameterInfoParameterType, Unset_Type - ] = Unset - self._default_value: Union[ - GrantaServerApiDataExportDatumsParameterValue, Unset_Type - ] = Unset + self._parameter_type: Union[GrantaServerApiParameterInfoParameterType, Unset_Type] = Unset + self._default_value: Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type] = ( + Unset + ) if name is not Unset: self.name = name @@ -242,8 +250,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]", + self, interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]" ) -> None: """Sets the interpolation_type of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo. @@ -254,15 +261,11 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") self._interpolation_type = interpolation_type @property - def parameter_type( - self, - ) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": + def parameter_type(self) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": """Gets the parameter_type of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo. Returns @@ -274,8 +277,7 @@ def parameter_type( @parameter_type.setter def parameter_type( - self, - parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]", + self, parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]" ) -> None: """Sets the parameter_type of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo. @@ -290,9 +292,7 @@ def parameter_type( self._parameter_type = parameter_type @property - def default_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": + def default_value(self) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": """Gets the default_value of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo. Returns @@ -304,8 +304,7 @@ def default_value( @default_value.setter def default_value( - self, - default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]", + self, default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]" ) -> None: """Sets the default_value of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo. @@ -342,8 +341,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo, + other, GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationParameterInfo ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_schema_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_schema_of_granta_server_api_object_identifier.py index ee404e6b..bc91f75a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_schema_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_integration_schema_of_granta_server_api_object_identifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,14 +126,10 @@ def __init__( self._key: Union[str, None, Unset_Type] = Unset self._version: Union[int, None, Unset_Type] = Unset self._attributes: Union[ - List[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute], - None, - Unset_Type, + List[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyAttribute], None, Unset_Type ] = Unset self._layouts: Union[ - List[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyLayout], - None, - Unset_Type, + List[GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyLayout], None, Unset_Type ] = Unset self._unit_system: Union[str, None, Unset_Type] = Unset self._discrete_types: Union[ @@ -134,12 +144,10 @@ def __init__( None, Unset_Type, ] = Unset - self._access_control_category_values: Union[ - Dict[str, List[str]], None, Unset_Type - ] = Unset - self._security_groups: Union[ - GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type - ] = Unset + self._access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] = Unset + self._security_groups: Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type] = ( + Unset + ) if key is not Unset: self.key = key @@ -335,9 +343,7 @@ def sources( self._sources = sources @property - def access_control_category_values( - self, - ) -> "Union[Dict[str, List[str]], None, Unset_Type]": + def access_control_category_values(self) -> "Union[Dict[str, List[str]], None, Unset_Type]": """Gets the access_control_category_values of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationSchemaOfGrantaServerApiObjectIdentifier. Returns @@ -349,8 +355,7 @@ def access_control_category_values( @access_control_category_values.setter def access_control_category_values( - self, - access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]", + self, access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" ) -> None: """Sets the access_control_category_values of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationSchemaOfGrantaServerApiObjectIdentifier. @@ -376,8 +381,7 @@ def security_groups( @security_groups.setter def security_groups( - self, - security_groups: "Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type]", + self, security_groups: "Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type]" ) -> None: """Sets the security_groups of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyIntegrationSchemaOfGrantaServerApiObjectIdentifier. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_layout.py index 8faec53f..1fb6f774 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -115,9 +129,7 @@ def attribute_guids(self) -> "Union[List[str], None, Unset_Type]": return self._attribute_guids @attribute_guids.setter - def attribute_guids( - self, attribute_guids: "Union[List[str], None, Unset_Type]" - ) -> None: + def attribute_guids(self, attribute_guids: "Union[List[str], None, Unset_Type]") -> None: """Sets the attribute_guids of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyLayout. Parameters @@ -149,9 +161,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyLayout - ): + if not isinstance(other, GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyLayout): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_mapping_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_mapping_of_granta_server_api_object_identifier.py index 4361fb97..3099ef76 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_mapping_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_mapping_of_granta_server_api_object_identifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -121,9 +135,7 @@ def source(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._source @source.setter - def source( - self, source: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def source(self, source: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the source of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyMappingOfGrantaServerApiObjectIdentifier. Parameters @@ -207,8 +219,7 @@ def link_source_type( @link_source_type.setter def link_source_type( - self, - link_source_type: "Union[GrantaServerApiIntegrationSchemaLinkSourceType, Unset_Type]", + self, link_source_type: "Union[GrantaServerApiIntegrationSchemaLinkSourceType, Unset_Type]" ) -> None: """Sets the link_source_type of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlyMappingOfGrantaServerApiObjectIdentifier. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_source_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_source_of_granta_server_api_object_identifier.py index 9836b69a..cc16c6ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_source_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_guid_only_schema_guid_only_source_of_granta_server_api_object_identifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -119,9 +133,7 @@ def database(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._database @database.setter - def database( - self, database: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def database(self, database: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the database of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlySourceOfGrantaServerApiObjectIdentifier. Parameters @@ -168,9 +180,7 @@ def table(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._table @table.setter - def table( - self, table: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def table(self, table: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the table of this GrantaServerApiIntegrationSchemaGuidOnlySchemaGuidOnlySourceOfGrantaServerApiObjectIdentifier. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_parameter_info.py index 2b200a5f..9276808f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_parameter_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -106,18 +120,14 @@ def __init__( self._identity: Union[int, Unset_Type] = Unset self._guid: Union[str, None, Unset_Type] = Unset self._unit_symbol: Union[str, None, Unset_Type] = Unset - self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = ( - Unset - ) + self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = Unset self._interpolation_type: Union[ GrantaServerApiParameterInfoInterpolationType, Unset_Type ] = Unset - self._parameter_type: Union[ - GrantaServerApiParameterInfoParameterType, Unset_Type - ] = Unset - self._default_value: Union[ - GrantaServerApiDataExportDatumsParameterValue, Unset_Type - ] = Unset + self._parameter_type: Union[GrantaServerApiParameterInfoParameterType, Unset_Type] = Unset + self._default_value: Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type] = ( + Unset + ) if name is not Unset: self.name = name @@ -269,8 +279,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]", + self, interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]" ) -> None: """Sets the interpolation_type of this GrantaServerApiIntegrationSchemaIntegrationParameterInfo. @@ -281,15 +290,11 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") self._interpolation_type = interpolation_type @property - def parameter_type( - self, - ) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": + def parameter_type(self) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": """Gets the parameter_type of this GrantaServerApiIntegrationSchemaIntegrationParameterInfo. Returns @@ -301,8 +306,7 @@ def parameter_type( @parameter_type.setter def parameter_type( - self, - parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]", + self, parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]" ) -> None: """Sets the parameter_type of this GrantaServerApiIntegrationSchemaIntegrationParameterInfo. @@ -317,9 +321,7 @@ def parameter_type( self._parameter_type = parameter_type @property - def default_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": + def default_value(self) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": """Gets the default_value of this GrantaServerApiIntegrationSchemaIntegrationParameterInfo. Returns @@ -331,8 +333,7 @@ def default_value( @default_value.setter def default_value( - self, - default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]", + self, default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]" ) -> None: """Sets the default_value of this GrantaServerApiIntegrationSchemaIntegrationParameterInfo. @@ -368,9 +369,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiIntegrationSchemaIntegrationParameterInfo - ): + if not isinstance(other, GrantaServerApiIntegrationSchemaIntegrationParameterInfo): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_generation_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_generation_error_detail.py index d8f35a52..b9b82b4e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_generation_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_generation_error_detail.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -158,8 +172,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiIntegrationSchemaIntegrationSchemaGenerationErrorDetail, + other, GrantaServerApiIntegrationSchemaIntegrationSchemaGenerationErrorDetail ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_of_granta_server_api_object_identifier.py index b55d5026..1205548f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_integration_schema_of_granta_server_api_object_identifier.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier( - ModelBase -): +class GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -114,26 +126,20 @@ def __init__( self._attributes: Union[ List[GrantaServerApiIntegrationSchemaAttribute], None, Unset_Type ] = Unset - self._layouts: Union[ - List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type - ] = Unset + self._layouts: Union[List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type] = Unset self._unit_system: Union[str, None, Unset_Type] = Unset self._discrete_types: Union[ List[GrantaServerApiIntegrationSchemaDiscreteType], None, Unset_Type ] = Unset self._sources: Union[ - List[ - GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier - ], + List[GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier], None, Unset_Type, ] = Unset - self._access_control_category_values: Union[ - Dict[str, List[str]], None, Unset_Type - ] = Unset - self._security_groups: Union[ - GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type - ] = Unset + self._access_control_category_values: Union[Dict[str, List[str]], None, Unset_Type] = Unset + self._security_groups: Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type] = ( + Unset + ) if key is not Unset: self.key = key @@ -213,8 +219,7 @@ def attributes( @attributes.setter def attributes( - self, - attributes: "Union[List[GrantaServerApiIntegrationSchemaAttribute], None, Unset_Type]", + self, attributes: "Union[List[GrantaServerApiIntegrationSchemaAttribute], None, Unset_Type]" ) -> None: """Sets the attributes of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. @@ -226,9 +231,7 @@ def attributes( self._attributes = attributes @property - def layouts( - self, - ) -> "Union[List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type]": + def layouts(self) -> "Union[List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type]": """Gets the layouts of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. Returns @@ -240,8 +243,7 @@ def layouts( @layouts.setter def layouts( - self, - layouts: "Union[List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type]", + self, layouts: "Union[List[GrantaServerApiIntegrationSchemaLayout], None, Unset_Type]" ) -> None: """Sets the layouts of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. @@ -329,9 +331,7 @@ def sources( self._sources = sources @property - def access_control_category_values( - self, - ) -> "Union[Dict[str, List[str]], None, Unset_Type]": + def access_control_category_values(self) -> "Union[Dict[str, List[str]], None, Unset_Type]": """Gets the access_control_category_values of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. Returns @@ -343,8 +343,7 @@ def access_control_category_values( @access_control_category_values.setter def access_control_category_values( - self, - access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]", + self, access_control_category_values: "Union[Dict[str, List[str]], None, Unset_Type]" ) -> None: """Sets the access_control_category_values of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. @@ -370,8 +369,7 @@ def security_groups( @security_groups.setter def security_groups( - self, - security_groups: "Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type]", + self, security_groups: "Union[GrantaServerApiIntegrationSchemaSecurityGroups, Unset_Type]" ) -> None: """Sets the security_groups of this GrantaServerApiIntegrationSchemaIntegrationSchemaOfGrantaServerApiObjectIdentifier. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_layout.py index 35cf84d3..2cc030f0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -146,9 +160,7 @@ def attribute_guids(self) -> "Union[List[str], None, Unset_Type]": return self._attribute_guids @attribute_guids.setter - def attribute_guids( - self, attribute_guids: "Union[List[str], None, Unset_Type]" - ) -> None: + def attribute_guids(self, attribute_guids: "Union[List[str], None, Unset_Type]") -> None: """Sets the attribute_guids of this GrantaServerApiIntegrationSchemaLayout. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_link_source_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_link_source_type.py index b89b91c9..59aec7f9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_link_source_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_link_source_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_mapping_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_mapping_of_granta_server_api_object_identifier.py index e1435065..f33b268a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_mapping_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_mapping_of_granta_server_api_object_identifier.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier( - ModelBase -): +class GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -95,9 +107,7 @@ def __init__( self._target_identity: Union[int, Unset_Type] = Unset self._target_guid: Union[str, None, Unset_Type] = Unset self._parameter_mappings: Union[ - List[ - GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier - ], + List[GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier], None, Unset_Type, ] = Unset @@ -128,9 +138,7 @@ def source(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._source @source.setter - def source( - self, source: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def source(self, source: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the source of this GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier. Parameters @@ -238,8 +246,7 @@ def link_source_type( @link_source_type.setter def link_source_type( - self, - link_source_type: "Union[GrantaServerApiIntegrationSchemaLinkSourceType, Unset_Type]", + self, link_source_type: "Union[GrantaServerApiIntegrationSchemaLinkSourceType, Unset_Type]" ) -> None: """Sets the link_source_type of this GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier. @@ -276,8 +283,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier, + other, GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_security_groups.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_security_groups.py index 19c54960..0ede34bb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_security_groups.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_security_groups.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_source_of_granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_source_of_granta_server_api_object_identifier.py index 3602a036..4b1ce026 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_source_of_granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_integration_schema_source_of_granta_server_api_object_identifier.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier( - ModelBase -): +class GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -91,9 +103,7 @@ def __init__( self._database_key: Union[str, None, Unset_Type] = Unset self._table: Union[GrantaServerApiObjectIdentifier, Unset_Type] = Unset self._mappings: Union[ - List[ - GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier - ], + List[GrantaServerApiIntegrationSchemaMappingOfGrantaServerApiObjectIdentifier], None, Unset_Type, ] = Unset @@ -119,9 +129,7 @@ def database(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._database @database.setter - def database( - self, database: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def database(self, database: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the database of this GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier. Parameters @@ -168,9 +176,7 @@ def table(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._table @table.setter - def table( - self, table: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def table(self, table: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the table of this GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier. Parameters @@ -235,8 +241,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier, + other, GrantaServerApiIntegrationSchemaSourceOfGrantaServerApiObjectIdentifier ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_link_attribute_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_link_attribute_type.py index c1d16e63..8983ae9d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_link_attribute_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_link_attribute_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_list_item.py index 2aeb28a6..8abb1f51 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_list_item.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -143,14 +157,10 @@ def record_history_guid(self, record_history_guid: "str") -> None: """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") # Field is required if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'") self._record_history_guid = record_history_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list.py index daceefb2..93d9a4cc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -99,9 +113,7 @@ def __init__( notes: str, optional published: bool, optional """ - self._items: Union[ - GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type - ] = Unset + self._items: Union[GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type] = Unset self._identifier: Union[str, None, Unset_Type] = Unset self._name: str self._description: Union[str, None, Unset_Type] = Unset @@ -127,9 +139,7 @@ def __init__( self.internal_use = internal_use @property - def items( - self, - ) -> "Union[GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type]": + def items(self) -> "Union[GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type]": """Gets the items of this GrantaServerApiListsDtoCreateRecordList. Returns @@ -141,8 +151,7 @@ def items( @items.setter def items( - self, - items: "Union[GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type]", + self, items: "Union[GrantaServerApiListsDtoCreateRecordListItemsInfo, Unset_Type]" ) -> None: """Sets the items of this GrantaServerApiListsDtoCreateRecordList. @@ -297,9 +306,7 @@ def awaiting_approval(self, awaiting_approval: "Union[bool, Unset_Type]") -> Non """ # Field is not nullable if awaiting_approval is None: - raise ValueError( - "Invalid value for 'awaiting_approval', must not be 'None'" - ) + raise ValueError("Invalid value for 'awaiting_approval', must not be 'None'") self._awaiting_approval = awaiting_approval @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list_items_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list_items_info.py index 5a97cbaf..4b3e1b1a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list_items_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_create_record_list_items_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_item.py index 658d759f..f0dd0f8c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_item.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -136,14 +150,10 @@ def record_history_guid(self, record_history_guid: "str") -> None: """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") # Field is required if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'") self._record_history_guid = record_history_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_items.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_items.py index aa604e0a..007717d6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_items.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_delete_record_list_items.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_boolean_criterion.py index d7f00e49..15c577d7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_boolean_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_boolean_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_lists_dto_list_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_lists_dto_list_criterion import ( # noqa: F401 GrantaServerApiListsDtoListCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,12 +99,8 @@ def __init__( type: str """ super().__init__() - self._match_any: Union[ - List[GrantaServerApiListsDtoListCriterion], None, Unset_Type - ] = Unset - self._match_all: Union[ - List[GrantaServerApiListsDtoListCriterion], None, Unset_Type - ] = Unset + self._match_any: Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type] = Unset + self._match_all: Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type] = Unset self._type: str if match_any is not Unset: @@ -99,9 +110,7 @@ def __init__( self.type = type @property - def match_any( - self, - ) -> "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]": + def match_any(self) -> "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]": """Gets the match_any of this GrantaServerApiListsDtoListBooleanCriterion. Returns @@ -113,8 +122,7 @@ def match_any( @match_any.setter def match_any( - self, - match_any: "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]", + self, match_any: "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]" ) -> None: """Sets the match_any of this GrantaServerApiListsDtoListBooleanCriterion. @@ -126,9 +134,7 @@ def match_any( self._match_any = match_any @property - def match_all( - self, - ) -> "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]": + def match_all(self) -> "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]": """Gets the match_all of this GrantaServerApiListsDtoListBooleanCriterion. Returns @@ -140,8 +146,7 @@ def match_all( @match_all.setter def match_all( - self, - match_all: "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]", + self, match_all: "Union[List[GrantaServerApiListsDtoListCriterion], None, Unset_Type]" ) -> None: """Sets the match_all of this GrantaServerApiListsDtoListBooleanCriterion. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_criterion.py index 75f045fb..df2b30bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_item.py index 13ed8d9a..1a5ca98c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_list_item.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -149,14 +163,10 @@ def record_history_guid(self, record_history_guid: "str") -> None: """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") # Field is required if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'") self._record_history_guid = record_history_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_paging_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_paging_options.py index af6a9f86..c7c5e692 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_paging_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_paging_options.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_header.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_header.py index b5c67434..dab94c50 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_header.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_header.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -141,9 +155,7 @@ def __init__( self._last_modified_timestamp: datetime self._last_modified_user: GrantaServerApiListsDtoUserOrGroup self._published_timestamp: Union[datetime, None, Unset_Type] = Unset - self._published_user: Union[GrantaServerApiListsDtoUserOrGroup, Unset_Type] = ( - Unset - ) + self._published_user: Union[GrantaServerApiListsDtoUserOrGroup, Unset_Type] = Unset self._is_revision: bool self._name: str self._description: Union[str, None, Unset_Type] = Unset @@ -276,14 +288,10 @@ def created_timestamp(self, created_timestamp: "datetime") -> None: """ # Field is not nullable if created_timestamp is None: - raise ValueError( - "Invalid value for 'created_timestamp', must not be 'None'" - ) + raise ValueError("Invalid value for 'created_timestamp', must not be 'None'") # Field is required if created_timestamp is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'created_timestamp', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'created_timestamp', must not be 'Unset'") self._created_timestamp = created_timestamp @property @@ -336,14 +344,10 @@ def last_modified_timestamp(self, last_modified_timestamp: "datetime") -> None: """ # Field is not nullable if last_modified_timestamp is None: - raise ValueError( - "Invalid value for 'last_modified_timestamp', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_timestamp', must not be 'None'") # Field is required if last_modified_timestamp is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'last_modified_timestamp', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'last_modified_timestamp', must not be 'Unset'") self._last_modified_timestamp = last_modified_timestamp @property @@ -358,9 +362,7 @@ def last_modified_user(self) -> "GrantaServerApiListsDtoUserOrGroup": return self._last_modified_user @last_modified_user.setter - def last_modified_user( - self, last_modified_user: "GrantaServerApiListsDtoUserOrGroup" - ) -> None: + def last_modified_user(self, last_modified_user: "GrantaServerApiListsDtoUserOrGroup") -> None: """Sets the last_modified_user of this GrantaServerApiListsDtoRecordListHeader. Parameters @@ -370,14 +372,10 @@ def last_modified_user( """ # Field is not nullable if last_modified_user is None: - raise ValueError( - "Invalid value for 'last_modified_user', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_user', must not be 'None'") # Field is required if last_modified_user is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'last_modified_user', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'last_modified_user', must not be 'Unset'") self._last_modified_user = last_modified_user @property @@ -392,9 +390,7 @@ def published_timestamp(self) -> "Union[datetime, None, Unset_Type]": return self._published_timestamp @published_timestamp.setter - def published_timestamp( - self, published_timestamp: "Union[datetime, None, Unset_Type]" - ) -> None: + def published_timestamp(self, published_timestamp: "Union[datetime, None, Unset_Type]") -> None: """Sets the published_timestamp of this GrantaServerApiListsDtoRecordListHeader. Parameters @@ -581,14 +577,10 @@ def awaiting_approval(self, awaiting_approval: "bool") -> None: """ # Field is not nullable if awaiting_approval is None: - raise ValueError( - "Invalid value for 'awaiting_approval', must not be 'None'" - ) + raise ValueError("Invalid value for 'awaiting_approval', must not be 'None'") # Field is required if awaiting_approval is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'awaiting_approval', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'awaiting_approval', must not be 'Unset'") self._awaiting_approval = awaiting_approval @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_headers_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_headers_info.py index c2a8a099..6b299278 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_headers_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_headers_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_items_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_items_info.py index 0f48d27d..4831de47 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_items_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_items_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_permission_flags.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_permission_flags.py index 80fc578a..c69f78a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_permission_flags.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_permission_flags.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -214,9 +228,7 @@ def is_administrator(self, is_administrator: "bool") -> None: raise ValueError("Invalid value for 'is_administrator', must not be 'None'") # Field is required if is_administrator is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_administrator', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_administrator', must not be 'Unset'") self._is_administrator = is_administrator @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_criterion.py index c09e9974..2321e907 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_lists_dto_list_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_lists_dto_list_criterion import ( # noqa: F401 GrantaServerApiListsDtoListCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiListsDtoRecordListSearchCriterion( - GrantaServerApiListsDtoListCriterion -): +class GrantaServerApiListsDtoRecordListSearchCriterion(GrantaServerApiListsDtoListCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -128,9 +141,7 @@ def __init__( self._is_internal_use: Union[bool, None, Unset_Type] = Unset self._is_revision: Union[bool, None, Unset_Type] = Unset self._contains_records_in_databases: Union[List[str], None, Unset_Type] = Unset - self._contains_records_in_integration_schemas: Union[ - List[str], None, Unset_Type - ] = Unset + self._contains_records_in_integration_schemas: Union[List[str], None, Unset_Type] = Unset self._contains_records_in_tables: Union[List[str], None, Unset_Type] = Unset self._contains_records: Union[List[str], None, Unset_Type] = Unset self._user_can_add_or_remove_items: Union[bool, None, Unset_Type] = Unset @@ -151,9 +162,7 @@ def __init__( if contains_records_in_databases is not Unset: self.contains_records_in_databases = contains_records_in_databases if contains_records_in_integration_schemas is not Unset: - self.contains_records_in_integration_schemas = ( - contains_records_in_integration_schemas - ) + self.contains_records_in_integration_schemas = contains_records_in_integration_schemas if contains_records_in_tables is not Unset: self.contains_records_in_tables = contains_records_in_tables if contains_records is not Unset: @@ -196,9 +205,7 @@ def user_role(self) -> "Union[GrantaServerApiListsDtoUserRole, Unset_Type]": return self._user_role @user_role.setter - def user_role( - self, user_role: "Union[GrantaServerApiListsDtoUserRole, Unset_Type]" - ) -> None: + def user_role(self, user_role: "Union[GrantaServerApiListsDtoUserRole, Unset_Type]") -> None: """Sets the user_role of this GrantaServerApiListsDtoRecordListSearchCriterion. Parameters @@ -245,9 +252,7 @@ def is_awaiting_approval(self) -> "Union[bool, None, Unset_Type]": return self._is_awaiting_approval @is_awaiting_approval.setter - def is_awaiting_approval( - self, is_awaiting_approval: "Union[bool, None, Unset_Type]" - ) -> None: + def is_awaiting_approval(self, is_awaiting_approval: "Union[bool, None, Unset_Type]") -> None: """Sets the is_awaiting_approval of this GrantaServerApiListsDtoRecordListSearchCriterion. Parameters @@ -330,9 +335,7 @@ def contains_records_in_databases( self._contains_records_in_databases = contains_records_in_databases @property - def contains_records_in_integration_schemas( - self, - ) -> "Union[List[str], None, Unset_Type]": + def contains_records_in_integration_schemas(self) -> "Union[List[str], None, Unset_Type]": """Gets the contains_records_in_integration_schemas of this GrantaServerApiListsDtoRecordListSearchCriterion. Limits results to lists containing records in any of the specified integration schemas @@ -345,8 +348,7 @@ def contains_records_in_integration_schemas( @contains_records_in_integration_schemas.setter def contains_records_in_integration_schemas( - self, - contains_records_in_integration_schemas: "Union[List[str], None, Unset_Type]", + self, contains_records_in_integration_schemas: "Union[List[str], None, Unset_Type]" ) -> None: """Sets the contains_records_in_integration_schemas of this GrantaServerApiListsDtoRecordListSearchCriterion. Limits results to lists containing records in any of the specified integration schemas @@ -356,9 +358,7 @@ def contains_records_in_integration_schemas( contains_records_in_integration_schemas: Union[List[str], None, Unset_Type] The contains_records_in_integration_schemas of this GrantaServerApiListsDtoRecordListSearchCriterion. """ - self._contains_records_in_integration_schemas = ( - contains_records_in_integration_schemas - ) + self._contains_records_in_integration_schemas = contains_records_in_integration_schemas @property def contains_records_in_tables(self) -> "Union[List[str], None, Unset_Type]": @@ -399,9 +399,7 @@ def contains_records(self) -> "Union[List[str], None, Unset_Type]": return self._contains_records @contains_records.setter - def contains_records( - self, contains_records: "Union[List[str], None, Unset_Type]" - ) -> None: + def contains_records(self, contains_records: "Union[List[str], None, Unset_Type]") -> None: """Sets the contains_records of this GrantaServerApiListsDtoRecordListSearchCriterion. Limits results to lists containing any of the given records diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_info.py index f3934c8f..d4b1b7bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -95,14 +109,10 @@ def search_result_identifier(self, search_result_identifier: "str") -> None: """ # Field is not nullable if search_result_identifier is None: - raise ValueError( - "Invalid value for 'search_result_identifier', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_result_identifier', must not be 'None'") # Field is required if search_result_identifier is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'search_result_identifier', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'search_result_identifier', must not be 'Unset'") self._search_result_identifier = search_result_identifier @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_request.py index a310083d..ebb95d63 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -82,12 +96,8 @@ def __init__( response_options: GrantaServerApiListsDtoResponseOptions, optional """ self._search_criterion: GrantaServerApiListsDtoListCriterion - self._paging_options: Union[ - GrantaServerApiListsDtoPagingOptions, Unset_Type - ] = Unset - self._response_options: Union[ - GrantaServerApiListsDtoResponseOptions, Unset_Type - ] = Unset + self._paging_options: Union[GrantaServerApiListsDtoPagingOptions, Unset_Type] = Unset + self._response_options: Union[GrantaServerApiListsDtoResponseOptions, Unset_Type] = Unset self.search_criterion = search_criterion if paging_options is not Unset: @@ -107,9 +117,7 @@ def search_criterion(self) -> "GrantaServerApiListsDtoListCriterion": return self._search_criterion @search_criterion.setter - def search_criterion( - self, search_criterion: "GrantaServerApiListsDtoListCriterion" - ) -> None: + def search_criterion(self, search_criterion: "GrantaServerApiListsDtoListCriterion") -> None: """Sets the search_criterion of this GrantaServerApiListsDtoRecordListSearchRequest. Parameters @@ -122,15 +130,11 @@ def search_criterion( raise ValueError("Invalid value for 'search_criterion', must not be 'None'") # Field is required if search_criterion is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'search_criterion', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'search_criterion', must not be 'Unset'") self._search_criterion = search_criterion @property - def paging_options( - self, - ) -> "Union[GrantaServerApiListsDtoPagingOptions, Unset_Type]": + def paging_options(self) -> "Union[GrantaServerApiListsDtoPagingOptions, Unset_Type]": """Gets the paging_options of this GrantaServerApiListsDtoRecordListSearchRequest. Returns @@ -157,9 +161,7 @@ def paging_options( self._paging_options = paging_options @property - def response_options( - self, - ) -> "Union[GrantaServerApiListsDtoResponseOptions, Unset_Type]": + def response_options(self) -> "Union[GrantaServerApiListsDtoResponseOptions, Unset_Type]": """Gets the response_options of this GrantaServerApiListsDtoRecordListSearchRequest. Returns @@ -171,8 +173,7 @@ def response_options( @response_options.setter def response_options( - self, - response_options: "Union[GrantaServerApiListsDtoResponseOptions, Unset_Type]", + self, response_options: "Union[GrantaServerApiListsDtoResponseOptions, Unset_Type]" ) -> None: """Sets the response_options of this GrantaServerApiListsDtoRecordListSearchRequest. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_result.py index 6008f390..9f6d217e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_result.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_results_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_results_info.py index b05f6bfa..7b1e6d1d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_results_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_record_list_search_results_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_response_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_response_options.py index 34b96609..782af8e9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_response_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_response_options.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -100,9 +114,7 @@ def include_user_actions(self) -> "Union[bool, Unset_Type]": return self._include_user_actions @include_user_actions.setter - def include_user_actions( - self, include_user_actions: "Union[bool, Unset_Type]" - ) -> None: + def include_user_actions(self, include_user_actions: "Union[bool, Unset_Type]") -> None: """Sets the include_user_actions of this GrantaServerApiListsDtoResponseOptions. Parameters @@ -112,9 +124,7 @@ def include_user_actions( """ # Field is not nullable if include_user_actions is None: - raise ValueError( - "Invalid value for 'include_user_actions', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_user_actions', must not be 'None'") self._include_user_actions = include_user_actions @property @@ -129,9 +139,7 @@ def include_user_permissions(self) -> "Union[bool, Unset_Type]": return self._include_user_permissions @include_user_permissions.setter - def include_user_permissions( - self, include_user_permissions: "Union[bool, Unset_Type]" - ) -> None: + def include_user_permissions(self, include_user_permissions: "Union[bool, Unset_Type]") -> None: """Sets the include_user_permissions of this GrantaServerApiListsDtoResponseOptions. Parameters @@ -141,9 +149,7 @@ def include_user_permissions( """ # Field is not nullable if include_user_permissions is None: - raise ValueError( - "Invalid value for 'include_user_permissions', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_user_permissions', must not be 'None'") self._include_user_permissions = include_user_permissions @property @@ -170,9 +176,7 @@ def include_record_list_items( """ # Field is not nullable if include_record_list_items is None: - raise ValueError( - "Invalid value for 'include_record_list_items', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_record_list_items', must not be 'None'") self._include_record_list_items = include_record_list_items @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_permission_flags.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_permission_flags.py index acc3389d..2b9e67d1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_permission_flags.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_permission_flags.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -178,9 +192,7 @@ def is_administrator(self, is_administrator: "bool") -> None: raise ValueError("Invalid value for 'is_administrator', must not be 'None'") # Field is required if is_administrator is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_administrator', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_administrator', must not be 'Unset'") self._is_administrator = is_administrator @property @@ -235,9 +247,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiListsDtoUpdateRecordListPermissionFlags - ): + if not isinstance(other, GrantaServerApiListsDtoUpdateRecordListPermissionFlags): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_properties.py index 973c8322..39a1a7f8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_record_list_properties.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -222,9 +236,7 @@ def awaiting_approval(self, awaiting_approval: "Union[bool, Unset_Type]") -> Non """ # Field is not nullable if awaiting_approval is None: - raise ValueError( - "Invalid value for 'awaiting_approval', must not be 'None'" - ) + raise ValueError("Invalid value for 'awaiting_approval', must not be 'None'") self._awaiting_approval = awaiting_approval @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permission.py index 6c199776..ba74b50f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permission.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permission.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -105,14 +119,10 @@ def user_or_group_identifier(self, user_or_group_identifier: "str") -> None: """ # Field is not nullable if user_or_group_identifier is None: - raise ValueError( - "Invalid value for 'user_or_group_identifier', must not be 'None'" - ) + raise ValueError("Invalid value for 'user_or_group_identifier', must not be 'None'") # Field is required if user_or_group_identifier is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'user_or_group_identifier', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'user_or_group_identifier', must not be 'Unset'") self._user_or_group_identifier = user_or_group_identifier @property @@ -127,9 +137,7 @@ def flags(self) -> "GrantaServerApiListsDtoUpdateRecordListPermissionFlags": return self._flags @flags.setter - def flags( - self, flags: "GrantaServerApiListsDtoUpdateRecordListPermissionFlags" - ) -> None: + def flags(self, flags: "GrantaServerApiListsDtoUpdateRecordListPermissionFlags") -> None: """Sets the flags of this GrantaServerApiListsDtoUpdateUserPermission. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permissions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permissions_info.py index f1a9af81..3186d12e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permissions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_update_user_permissions_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -102,9 +116,7 @@ def user_permissions( raise ValueError("Invalid value for 'user_permissions', must not be 'None'") # Field is required if user_permissions is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'user_permissions', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'user_permissions', must not be 'Unset'") self._user_permissions = user_permissions @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_or_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_or_group.py index 99cc7f8c..a5fe828c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_or_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_or_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permission.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permission.py index a5664ed9..c5a57339 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permission.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permission.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -111,14 +125,10 @@ def user_or_group_name(self, user_or_group_name: "str") -> None: """ # Field is not nullable if user_or_group_name is None: - raise ValueError( - "Invalid value for 'user_or_group_name', must not be 'None'" - ) + raise ValueError("Invalid value for 'user_or_group_name', must not be 'None'") # Field is required if user_or_group_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'user_or_group_name', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'user_or_group_name', must not be 'Unset'") self._user_or_group_name = user_or_group_name @property @@ -145,14 +155,10 @@ def user_or_group_identifier(self, user_or_group_identifier: "str") -> None: """ # Field is not nullable if user_or_group_identifier is None: - raise ValueError( - "Invalid value for 'user_or_group_identifier', must not be 'None'" - ) + raise ValueError("Invalid value for 'user_or_group_identifier', must not be 'None'") # Field is required if user_or_group_identifier is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'user_or_group_identifier', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'user_or_group_identifier', must not be 'Unset'") self._user_or_group_identifier = user_or_group_identifier @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permissions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permissions_info.py index e0fe4316..595b9bea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permissions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_permissions_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -102,9 +116,7 @@ def user_permissions( raise ValueError("Invalid value for 'user_permissions', must not be 'None'") # Field is required if user_permissions is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'user_permissions', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'user_permissions', must not be 'Unset'") self._user_permissions = user_permissions @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_role.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_role.py index ac9cad14..f8e6bef6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_role.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_lists_dto_user_role.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_get_jobs_summary_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_get_jobs_summary_response.py index 7159d439..a8defe79 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_get_jobs_summary_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_get_jobs_summary_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,13 @@ def __init__( ---------- jobs: List[GrantaServerApiMetricsJobTypeAndStatus], optional """ - self._jobs: Union[ - List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type - ] = Unset + self._jobs: Union[List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type] = Unset if jobs is not Unset: self.jobs = jobs @property - def jobs( - self, - ) -> "Union[List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type]": + def jobs(self) -> "Union[List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type]": """Gets the jobs of this GrantaServerApiMetricsGetJobsSummaryResponse. Returns @@ -93,8 +103,7 @@ def jobs( @jobs.setter def jobs( - self, - jobs: "Union[List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type]", + self, jobs: "Union[List[GrantaServerApiMetricsJobTypeAndStatus], None, Unset_Type]" ) -> None: """Sets the jobs of this GrantaServerApiMetricsGetJobsSummaryResponse. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_job_type_and_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_job_type_and_status.py index 58fe57c7..9352383b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_job_type_and_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_metrics_job_type_and_status.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_no_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_no_values_specifier.py index 2861c182..94d99de8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_no_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_no_values_specifier.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( # noqa: F401 GrantaServerApiValueSpecifier, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_object_identifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_object_identifier.py index 44da7b42..aa9f9704 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_object_identifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_object_identifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info.py index bce20aff..ba004907 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -101,18 +115,14 @@ def __init__( self._name: Union[str, None, Unset_Type] = Unset self._identity: Union[int, Unset_Type] = Unset self._unit_symbol: Union[str, None, Unset_Type] = Unset - self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = ( - Unset - ) + self._scale_type: Union[GrantaServerApiParameterInfoScaleType, Unset_Type] = Unset self._interpolation_type: Union[ GrantaServerApiParameterInfoInterpolationType, Unset_Type ] = Unset - self._parameter_type: Union[ - GrantaServerApiParameterInfoParameterType, Unset_Type - ] = Unset - self._default_value: Union[ - GrantaServerApiDataExportDatumsParameterValue, Unset_Type - ] = Unset + self._parameter_type: Union[GrantaServerApiParameterInfoParameterType, Unset_Type] = Unset + self._default_value: Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type] = ( + Unset + ) if name is not Unset: self.name = name @@ -240,8 +250,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]", + self, interpolation_type: "Union[GrantaServerApiParameterInfoInterpolationType, Unset_Type]" ) -> None: """Sets the interpolation_type of this GrantaServerApiParameterInfo. @@ -252,15 +261,11 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") self._interpolation_type = interpolation_type @property - def parameter_type( - self, - ) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": + def parameter_type(self) -> "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]": """Gets the parameter_type of this GrantaServerApiParameterInfo. Returns @@ -272,8 +277,7 @@ def parameter_type( @parameter_type.setter def parameter_type( - self, - parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]", + self, parameter_type: "Union[GrantaServerApiParameterInfoParameterType, Unset_Type]" ) -> None: """Sets the parameter_type of this GrantaServerApiParameterInfo. @@ -288,9 +292,7 @@ def parameter_type( self._parameter_type = parameter_type @property - def default_value( - self, - ) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": + def default_value(self) -> "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]": """Gets the default_value of this GrantaServerApiParameterInfo. Returns @@ -302,8 +304,7 @@ def default_value( @default_value.setter def default_value( - self, - default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]", + self, default_value: "Union[GrantaServerApiDataExportDatumsParameterValue, Unset_Type]" ) -> None: """Sets the default_value of this GrantaServerApiParameterInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_interpolation_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_interpolation_type.py index 7b6454dc..0e0e0c20 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_interpolation_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_interpolation_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_parameter_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_parameter_type.py index 85d9d028..54154590 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_parameter_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_parameter_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_scale_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_scale_type.py index c291e476..91a48d91 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_scale_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_parameter_info_scale_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_color.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_color.py index 986340cf..8802180f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_color.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_color.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_property.py index d3bcdd22..7306a01a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_property.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_type.py index 8b4fd670..4c31ff45 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_record_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_copy_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_copy_record_history.py index cb0712eb..c8998ff7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_copy_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_copy_record_history.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -83,9 +97,7 @@ def __init__( self._new_parent: Union[ GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type ] = Unset - self._subset_option: ( - GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType - ) + self._subset_option: GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType self._new_short_name: Union[str, None, Unset_Type] = Unset if new_parent is not Unset: @@ -125,9 +137,7 @@ def new_parent( self._new_parent = new_parent @property - def subset_option( - self, - ) -> "GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType": + def subset_option(self) -> "GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType": """Gets the subset_option of this GrantaServerApiRecordsRecordHistoriesCopyRecordHistory. Returns @@ -139,8 +149,7 @@ def subset_option( @subset_option.setter def subset_option( - self, - subset_option: "GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType", + self, subset_option: "GrantaServerApiRecordsRecordHistoriesRecordPropertyInheritanceType" ) -> None: """Sets the subset_option of this GrantaServerApiRecordsRecordHistoriesCopyRecordHistory. @@ -201,9 +210,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiRecordsRecordHistoriesCopyRecordHistory - ): + if not isinstance(other, GrantaServerApiRecordsRecordHistoriesCopyRecordHistory): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_create_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_create_record_history.py index 5969961a..e4c1eb81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_create_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_create_record_history.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +110,9 @@ def __init__( self._record_type: GrantaServerApiRecordType self._name: str self._short_name: Union[str, None, Unset_Type] = Unset - self._parent: Union[ - GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type - ] = Unset + self._parent: Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type] = ( + Unset + ) self._record_color: Union[GrantaServerApiRecordColor, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -192,9 +206,7 @@ def short_name(self, short_name: "Union[str, None, Unset_Type]") -> None: self._short_name = short_name @property - def parent( - self, - ) -> "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]": + def parent(self) -> "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]": """Gets the parent of this GrantaServerApiRecordsRecordHistoriesCreateRecordHistory. Returns @@ -206,8 +218,7 @@ def parent( @parent.setter def parent( - self, - parent: "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]", + self, parent: "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]" ) -> None: """Sets the parent of this GrantaServerApiRecordsRecordHistoriesCreateRecordHistory. @@ -233,9 +244,7 @@ def record_color(self) -> "Union[GrantaServerApiRecordColor, Unset_Type]": return self._record_color @record_color.setter - def record_color( - self, record_color: "Union[GrantaServerApiRecordColor, Unset_Type]" - ) -> None: + def record_color(self, record_color: "Union[GrantaServerApiRecordColor, Unset_Type]") -> None: """Sets the record_color of this GrantaServerApiRecordsRecordHistoriesCreateRecordHistory. Parameters @@ -295,9 +304,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiRecordsRecordHistoriesCreateRecordHistory - ): + if not isinstance(other, GrantaServerApiRecordsRecordHistoriesCreateRecordHistory): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_move_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_move_record_history.py index 082d8b91..ddfbf7cd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_move_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_move_record_history.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -130,9 +144,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiRecordsRecordHistoriesMoveRecordHistory - ): + if not isinstance(other, GrantaServerApiRecordsRecordHistoriesMoveRecordHistory): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_history.py index 5027b71e..c56e0c65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_history.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,12 +110,10 @@ def __init__( """ self._is_folder: bool self._table: GrantaServerApiSchemaSlimEntitiesSlimTable - self._parent: Union[ - GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type - ] = Unset - self._record_versions: List[ - GrantaServerApiRecordsRecordVersionsSlimRecordVersion - ] + self._parent: Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type] = ( + Unset + ) + self._record_versions: List[GrantaServerApiRecordsRecordVersionsSlimRecordVersion] self._subsets: List[GrantaServerApiSchemaSlimEntitiesSlimSubset] self._guid: str @@ -170,9 +182,7 @@ def table(self, table: "GrantaServerApiSchemaSlimEntitiesSlimTable") -> None: self._table = table @property - def parent( - self, - ) -> "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]": + def parent(self) -> "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]": """Gets the parent of this GrantaServerApiRecordsRecordHistoriesRecordHistory. Returns @@ -184,8 +194,7 @@ def parent( @parent.setter def parent( - self, - parent: "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]", + self, parent: "Union[GrantaServerApiRecordsRecordHistoriesSlimRecordHistory, Unset_Type]" ) -> None: """Sets the parent of this GrantaServerApiRecordsRecordHistoriesRecordHistory. @@ -200,9 +209,7 @@ def parent( self._parent = parent @property - def record_versions( - self, - ) -> "List[GrantaServerApiRecordsRecordVersionsSlimRecordVersion]": + def record_versions(self) -> "List[GrantaServerApiRecordsRecordVersionsSlimRecordVersion]": """Gets the record_versions of this GrantaServerApiRecordsRecordHistoriesRecordHistory. Returns @@ -214,8 +221,7 @@ def record_versions( @record_versions.setter def record_versions( - self, - record_versions: "List[GrantaServerApiRecordsRecordVersionsSlimRecordVersion]", + self, record_versions: "List[GrantaServerApiRecordsRecordVersionsSlimRecordVersion]" ) -> None: """Sets the record_versions of this GrantaServerApiRecordsRecordHistoriesRecordHistory. @@ -244,9 +250,7 @@ def subsets(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]": return self._subsets @subsets.setter - def subsets( - self, subsets: "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]" - ) -> None: + def subsets(self, subsets: "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]") -> None: """Sets the subsets of this GrantaServerApiRecordsRecordHistoriesRecordHistory. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_property_inheritance_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_property_inheritance_type.py index 7745242b..e46a3361 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_property_inheritance_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_record_property_inheritance_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_slim_record_history.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_slim_record_history.py index 0221dc9c..03f4982c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_slim_record_history.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_histories_slim_record_history.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +137,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiRecordsRecordHistoriesSlimRecordHistory - ): + if not isinstance(other, GrantaServerApiRecordsRecordHistoriesSlimRecordHistory): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_record_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_record_version.py index c789e35e..83bb07bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_record_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_record_version.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -165,9 +179,7 @@ def __init__( self.guid = guid @property - def record_history( - self, - ) -> "GrantaServerApiRecordsRecordHistoriesSlimRecordHistory": + def record_history(self) -> "GrantaServerApiRecordsRecordHistoriesSlimRecordHistory": """Gets the record_history of this GrantaServerApiRecordsRecordVersionsRecordVersion. Returns @@ -330,14 +342,10 @@ def last_modified_by_user(self, last_modified_by_user: "str") -> None: """ # Field is not nullable if last_modified_by_user is None: - raise ValueError( - "Invalid value for 'last_modified_by_user', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_by_user', must not be 'None'") # Field is required if last_modified_by_user is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'last_modified_by_user', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'last_modified_by_user', must not be 'Unset'") self._last_modified_by_user = last_modified_by_user @property @@ -362,14 +370,10 @@ def last_modified_date(self, last_modified_date: "datetime") -> None: """ # Field is not nullable if last_modified_date is None: - raise ValueError( - "Invalid value for 'last_modified_date', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_date', must not be 'None'") # Field is required if last_modified_date is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'last_modified_date', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'last_modified_date', must not be 'Unset'") self._last_modified_date = last_modified_date @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_slim_record_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_slim_record_version.py index e8a5b102..c5974874 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_slim_record_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_records_record_versions_slim_record_version.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute.py index f7e7376f..7339e79b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -121,9 +135,7 @@ def __init__( axis_name: str, optional help_path: str, optional """ - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self._axis_name: Union[str, None, Unset_Type] = Unset self._help_path: Union[str, None, Unset_Type] = Unset self._about_attribute: Union[ @@ -147,9 +159,7 @@ def __init__( self.guid = guid @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaAttributesAttribute. Returns @@ -161,8 +171,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaAttributesAttribute. @@ -173,14 +182,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @property @@ -242,8 +247,7 @@ def about_attribute( @about_attribute.setter def about_attribute( - self, - about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the about_attribute of this GrantaServerApiSchemaAttributesAttribute. @@ -269,9 +273,7 @@ def info(self) -> "GrantaServerApiSchemaAttributesAttributeAttributeInfo": return self._info @info.setter - def info( - self, info: "GrantaServerApiSchemaAttributesAttributeAttributeInfo" - ) -> None: + def info(self, info: "GrantaServerApiSchemaAttributesAttributeAttributeInfo") -> None: """Sets the info of this GrantaServerApiSchemaAttributesAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_attribute_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_attribute_info.py index ef2b8bb2..a2debb4c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_attribute_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_attribute_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -130,12 +144,8 @@ def __init__( List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity], None, Unset_Type ] = Unset self._standard_names: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] - self._primary_data_link_groups: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] - self._foreign_data_link_groups: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] + self._primary_data_link_groups: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] + self._foreign_data_link_groups: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self._primary_dynamic_link_groups: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity], None, Unset_Type ] = Unset @@ -321,14 +331,10 @@ def is_meta_attribute(self, is_meta_attribute: "bool") -> None: """ # Field is not nullable if is_meta_attribute is None: - raise ValueError( - "Invalid value for 'is_meta_attribute', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_meta_attribute', must not be 'None'") # Field is required if is_meta_attribute is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_meta_attribute', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_meta_attribute', must not be 'Unset'") self._is_meta_attribute = is_meta_attribute @property @@ -359,9 +365,7 @@ def ordered_meta_attributes( self._ordered_meta_attributes = ordered_meta_attributes @property - def standard_names( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def standard_names(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the standard_names of this GrantaServerApiSchemaAttributesAttributeAttributeInfo. Returns @@ -391,9 +395,7 @@ def standard_names( self._standard_names = standard_names @property - def primary_data_link_groups( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def primary_data_link_groups(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the primary_data_link_groups of this GrantaServerApiSchemaAttributesAttributeAttributeInfo. Returns @@ -405,8 +407,7 @@ def primary_data_link_groups( @primary_data_link_groups.setter def primary_data_link_groups( - self, - primary_data_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, primary_data_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the primary_data_link_groups of this GrantaServerApiSchemaAttributesAttributeAttributeInfo. @@ -417,20 +418,14 @@ def primary_data_link_groups( """ # Field is not nullable if primary_data_link_groups is None: - raise ValueError( - "Invalid value for 'primary_data_link_groups', must not be 'None'" - ) + raise ValueError("Invalid value for 'primary_data_link_groups', must not be 'None'") # Field is required if primary_data_link_groups is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'primary_data_link_groups', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'primary_data_link_groups', must not be 'Unset'") self._primary_data_link_groups = primary_data_link_groups @property - def foreign_data_link_groups( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def foreign_data_link_groups(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the foreign_data_link_groups of this GrantaServerApiSchemaAttributesAttributeAttributeInfo. Returns @@ -442,8 +437,7 @@ def foreign_data_link_groups( @foreign_data_link_groups.setter def foreign_data_link_groups( - self, - foreign_data_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, foreign_data_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the foreign_data_link_groups of this GrantaServerApiSchemaAttributesAttributeAttributeInfo. @@ -454,14 +448,10 @@ def foreign_data_link_groups( """ # Field is not nullable if foreign_data_link_groups is None: - raise ValueError( - "Invalid value for 'foreign_data_link_groups', must not be 'None'" - ) + raise ValueError("Invalid value for 'foreign_data_link_groups', must not be 'None'") # Field is required if foreign_data_link_groups is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'foreign_data_link_groups', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'foreign_data_link_groups', must not be 'Unset'") self._foreign_data_link_groups = foreign_data_link_groups @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_interpolation_method.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_interpolation_method.py index 867a1642..986e5b24 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_interpolation_method.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_interpolation_method.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_scale_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_scale_type.py index 06e01916..cee77a49 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_scale_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_scale_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_threshold_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_threshold_type.py index b3743fce..d5a7fd01 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_threshold_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_threshold_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_validate_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_validate_response.py index f12faa60..6bd3c7d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_validate_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attribute_validate_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +142,7 @@ def has_validation_rules(self) -> "Union[bool, Unset_Type]": return self._has_validation_rules @has_validation_rules.setter - def has_validation_rules( - self, has_validation_rules: "Union[bool, Unset_Type]" - ) -> None: + def has_validation_rules(self, has_validation_rules: "Union[bool, Unset_Type]") -> None: """Sets the has_validation_rules of this GrantaServerApiSchemaAttributesAttributeValidateResponse. Gets whether the attribute has any validation rules that were checked. @@ -141,9 +153,7 @@ def has_validation_rules( """ # Field is not nullable if has_validation_rules is None: - raise ValueError( - "Invalid value for 'has_validation_rules', must not be 'None'" - ) + raise ValueError("Invalid value for 'has_validation_rules', must not be 'None'") self._has_validation_rules = has_validation_rules @property @@ -192,9 +202,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesAttributeValidateResponse - ): + if not isinstance(other, GrantaServerApiSchemaAttributesAttributeValidateResponse): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attributes_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attributes_info.py index 5a1b9dea..bfcd9e50 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attributes_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_attributes_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_attribute.py index 9d68f754..f5e25105 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,9 +126,9 @@ def __init__( GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset self._help_path: Union[str, None, Unset_Type] = Unset - self._about_attribute: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._about_attribute: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self._name: str self._guid: Union[str, Unset_Type] = Unset @@ -155,9 +169,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -183,9 +195,7 @@ def help_path(self, help_path: "Union[str, None, Unset_Type]") -> None: self._help_path = help_path @property - def about_attribute( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def about_attribute(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the about_attribute of this GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute. Returns @@ -197,8 +207,7 @@ def about_attribute( @about_attribute.setter def about_attribute( - self, - about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the about_attribute of this GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute. @@ -292,9 +301,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute - ): + if not isinstance(other, GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_date_time_attribute.py index 5dafbc78..a87960b6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_date_time_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -156,8 +171,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateDateTimeAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateDateTimeAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_attribute.py index a6ad1324..af2f3105 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -160,9 +175,7 @@ def discrete_type(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._discrete_type @discrete_type.setter - def discrete_type( - self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def discrete_type(self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the discrete_type of this GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteAttribute. Parameters @@ -226,8 +239,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute.py index 7ec5a89f..90212ac1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -162,9 +177,7 @@ def discrete_type(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._discrete_type @discrete_type.setter - def discrete_type( - self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def discrete_type(self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the discrete_type of this GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteFunctionalAttribute. Parameters @@ -207,14 +220,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @classmethod @@ -240,8 +249,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteFunctionalAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute_parameter.py index 24bcac5d..8a2f4202 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_discrete_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +110,7 @@ def parameter(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._parameter @parameter.setter - def parameter( - self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def parameter(self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the parameter of this GrantaServerApiSchemaAttributesCreateAttributesCreateDiscreteFunctionalAttributeParameter. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_file_attribute.py index 01d635b8..ef99ba5d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_file_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute.py index 06a6fd42..010cdfaf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -121,9 +136,7 @@ def __init__( help_path=help_path, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset self._attribute_parameters: List[ GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttributeParameter @@ -179,9 +192,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttribute. Parameters @@ -243,14 +254,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @property @@ -301,8 +308,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute_parameter.py index 804feb65..868bfe13 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_float_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -92,9 +106,9 @@ def __init__( self._interpolation_method: Union[ GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type ] = Unset - self._scale_type: Union[ - GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type - ] = Unset + self._scale_type: Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type] = ( + Unset + ) self.parameter = parameter if default_value is not Unset: @@ -116,9 +130,7 @@ def parameter(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._parameter @parameter.setter - def parameter( - self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def parameter(self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the parameter of this GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttributeParameter. Parameters @@ -159,9 +171,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None @property def interpolation_method( self, - ) -> ( - "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]": """Gets the interpolation_method of this GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttributeParameter. Returns @@ -185,15 +195,11 @@ def interpolation_method( """ # Field is not nullable if interpolation_method is None: - raise ValueError( - "Invalid value for 'interpolation_method', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_method', must not be 'None'") self._interpolation_method = interpolation_method @property - def scale_type( - self, - ) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": + def scale_type(self) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": """Gets the scale_type of this GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttributeParameter. Returns @@ -205,8 +211,7 @@ def scale_type( @scale_type.setter def scale_type( - self, - scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]", + self, scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]" ) -> None: """Sets the scale_type of this GrantaServerApiSchemaAttributesCreateAttributesCreateFloatFunctionalAttributeParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_hyperlink_attribute.py index c5d858ba..228c6f4f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_hyperlink_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -156,8 +171,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateHyperlinkAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateHyperlinkAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_integer_attribute.py index ff61ed05..16582cba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_integer_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_logical_attribute.py index f9936e43..e3d768c0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_logical_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_long_text_attribute.py index 3a55af18..5e7f974a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_long_text_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -156,8 +171,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateLongTextAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateLongTextAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_maths_functional_attribute.py index 446a50d3..7415e23a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_maths_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -138,9 +153,7 @@ def __init__( help_path=help_path, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._attribute_parameters: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type ] = Unset @@ -211,9 +224,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesCreateAttributesCreateMathsFunctionalAttribute. Parameters @@ -292,9 +303,7 @@ def allow_extrapolation(self) -> "Union[bool, Unset_Type]": return self._allow_extrapolation @allow_extrapolation.setter - def allow_extrapolation( - self, allow_extrapolation: "Union[bool, Unset_Type]" - ) -> None: + def allow_extrapolation(self, allow_extrapolation: "Union[bool, Unset_Type]") -> None: """Sets the allow_extrapolation of this GrantaServerApiSchemaAttributesCreateAttributesCreateMathsFunctionalAttribute. Parameters @@ -304,9 +313,7 @@ def allow_extrapolation( """ # Field is not nullable if allow_extrapolation is None: - raise ValueError( - "Invalid value for 'allow_extrapolation', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_extrapolation', must not be 'None'") self._allow_extrapolation = allow_extrapolation @property @@ -409,9 +416,7 @@ def allow_anonymous_expressions( """ # Field is not nullable if allow_anonymous_expressions is None: - raise ValueError( - "Invalid value for 'allow_anonymous_expressions', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_anonymous_expressions', must not be 'None'") self._allow_anonymous_expressions = allow_anonymous_expressions @classmethod @@ -437,8 +442,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateMathsFunctionalAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateMathsFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_picture_attribute.py index c0804cf2..fdbf7b5a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_picture_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_point_attribute.py index 0c30fdbc..cff9983f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_point_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +137,7 @@ def __init__( ) self._type: str self._is_multi_valued: Union[bool, Unset_Type] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset self._attribute_parameters: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type @@ -205,9 +218,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesCreateAttributesCreatePointAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_range_attribute.py index 6ada5c17..53710a9f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_range_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -112,9 +127,7 @@ def __init__( help_path=help_path, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset self.type = type @@ -163,9 +176,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesCreateAttributesCreateRangeAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_short_text_attribute.py index 283c7b45..89b8363c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_short_text_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -113,9 +128,7 @@ def __init__( ) self._type: str self._is_unique: Union[bool, Unset_Type] = Unset - self._data_rule: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._data_rule: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.type = type if is_unique is not Unset: @@ -179,9 +192,7 @@ def is_unique(self, is_unique: "Union[bool, Unset_Type]") -> None: self._is_unique = is_unique @property - def data_rule( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def data_rule(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the data_rule of this GrantaServerApiSchemaAttributesCreateAttributesCreateShortTextAttribute. Returns @@ -193,8 +204,7 @@ def data_rule( @data_rule.setter def data_rule( - self, - data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the data_rule of this GrantaServerApiSchemaAttributesCreateAttributesCreateShortTextAttribute. @@ -231,8 +241,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesCreateAttributesCreateShortTextAttribute, + other, GrantaServerApiSchemaAttributesCreateAttributesCreateShortTextAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_tabular_attribute.py index cc24dcbf..90ef9618 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_create_attributes_create_tabular_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_create_attributes_create_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,15 +144,13 @@ def __init__( self._display_summary_row_inline: Union[bool, Unset_Type] = Unset self._hide_unlinked_rows: Union[bool, Unset_Type] = Unset self._tabular_columns: Union[ - List[ - GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn - ], + List[GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn], None, Unset_Type, ] = Unset - self._target: Union[ - GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type - ] = Unset + self._target: Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type] = ( + Unset + ) self.type = type if display_full_table is not Unset: @@ -201,9 +214,7 @@ def display_full_table(self, display_full_table: "Union[bool, Unset_Type]") -> N """ # Field is not nullable if display_full_table is None: - raise ValueError( - "Invalid value for 'display_full_table', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_full_table', must not be 'None'") self._display_full_table = display_full_table @property @@ -230,9 +241,7 @@ def display_summary_row_inline( """ # Field is not nullable if display_summary_row_inline is None: - raise ValueError( - "Invalid value for 'display_summary_row_inline', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_summary_row_inline', must not be 'None'") self._display_summary_row_inline = display_summary_row_inline @property @@ -257,9 +266,7 @@ def hide_unlinked_rows(self, hide_unlinked_rows: "Union[bool, Unset_Type]") -> N """ # Field is not nullable if hide_unlinked_rows is None: - raise ValueError( - "Invalid value for 'hide_unlinked_rows', must not be 'None'" - ) + raise ValueError("Invalid value for 'hide_unlinked_rows', must not be 'None'") self._hide_unlinked_rows = hide_unlinked_rows @property @@ -290,9 +297,7 @@ def tabular_columns( self._tabular_columns = tabular_columns @property - def target( - self, - ) -> "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]": + def target(self) -> "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]": """Gets the target of this GrantaServerApiSchemaAttributesCreateAttributesCreateTabularAttribute. Returns @@ -304,8 +309,7 @@ def target( @target.setter def target( - self, - target: "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]", + self, target: "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]" ) -> None: """Sets the target of this GrantaServerApiSchemaAttributesCreateAttributesCreateTabularAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_date_time_attribute.py index a1b487b0..9219a12a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_date_time_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesDateTimeAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesDateTimeAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_attribute.py index 67be4d48..ca7197e7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesDiscreteAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesDiscreteAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute.py index bcdc273e..d6a65aed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -222,14 +237,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @classmethod @@ -254,9 +265,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesDiscreteFunctionalAttribute - ): + if not isinstance(other, GrantaServerApiSchemaAttributesDiscreteFunctionalAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute_parameter.py index 6484e3ff..361f3740 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_discrete_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -75,9 +89,7 @@ def __init__( default_value: float, optional parameter: GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, optional """ - self._parameter: Union[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type - ] = Unset + self._parameter: Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type] = Unset self._default_value: Union[float, None, Unset_Type] = Unset if parameter is not Unset: @@ -86,9 +98,7 @@ def __init__( self.default_value = default_value @property - def parameter( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": + def parameter(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": """Gets the parameter of this GrantaServerApiSchemaAttributesDiscreteFunctionalAttributeParameter. Returns @@ -100,8 +110,7 @@ def parameter( @parameter.setter def parameter( - self, - parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the parameter of this GrantaServerApiSchemaAttributesDiscreteFunctionalAttributeParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_file_attribute.py index e5796345..56504d81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_file_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesFileAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesFileAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute.py index 14c74c10..278cbef6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -184,9 +199,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesFloatFunctionalAttribute. Parameters @@ -226,14 +239,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @property @@ -286,9 +295,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesFloatFunctionalAttribute - ): + if not isinstance(other, GrantaServerApiSchemaAttributesFloatFunctionalAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute_parameter.py index f98f70d4..426c06d5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_float_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -85,16 +99,14 @@ def __init__( parameter: GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, optional scale_type: GrantaServerApiSchemaAttributesAttributeScaleType, optional """ - self._parameter: Union[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type - ] = Unset + self._parameter: Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type] = Unset self._default_value: Union[float, None, Unset_Type] = Unset self._interpolation_method: Union[ GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type ] = Unset - self._scale_type: Union[ - GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type - ] = Unset + self._scale_type: Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type] = ( + Unset + ) if parameter is not Unset: self.parameter = parameter @@ -106,9 +118,7 @@ def __init__( self.scale_type = scale_type @property - def parameter( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": + def parameter(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": """Gets the parameter of this GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter. Returns @@ -120,8 +130,7 @@ def parameter( @parameter.setter def parameter( - self, - parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the parameter of this GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter. @@ -160,9 +169,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None @property def interpolation_method( self, - ) -> ( - "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]": """Gets the interpolation_method of this GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter. Returns @@ -186,15 +193,11 @@ def interpolation_method( """ # Field is not nullable if interpolation_method is None: - raise ValueError( - "Invalid value for 'interpolation_method', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_method', must not be 'None'") self._interpolation_method = interpolation_method @property - def scale_type( - self, - ) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": + def scale_type(self) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": """Gets the scale_type of this GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter. Returns @@ -206,8 +209,7 @@ def scale_type( @scale_type.setter def scale_type( - self, - scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]", + self, scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]" ) -> None: """Sets the scale_type of this GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter. @@ -243,9 +245,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter - ): + if not isinstance(other, GrantaServerApiSchemaAttributesFloatFunctionalAttributeParameter): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_hyperlink_attribute.py index a3139f7a..77a707ed 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_hyperlink_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesHyperlinkAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesHyperlinkAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_integer_attribute.py index c193cfc0..e0af02a0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_integer_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesIntegerAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesIntegerAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_logical_attribute.py index e25d2c11..25072308 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_logical_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesLogicalAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesLogicalAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_long_text_attribute.py index 16ce817d..e3badb46 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_long_text_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesLongTextAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesLongTextAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_content.py index b334162b..538a9b9d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_content.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +110,7 @@ def __init__( self._curve_label: Union[str, None, Unset_Type] = Unset self._transpose_axes: bool self._use_logarithmic_scale: bool - self._expression: Union[ - GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type - ] = Unset + self._expression: Union[GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type] = Unset self._free_parameter: Union[ GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type ] = Unset @@ -186,20 +198,14 @@ def use_logarithmic_scale(self, use_logarithmic_scale: "bool") -> None: """ # Field is not nullable if use_logarithmic_scale is None: - raise ValueError( - "Invalid value for 'use_logarithmic_scale', must not be 'None'" - ) + raise ValueError("Invalid value for 'use_logarithmic_scale', must not be 'None'") # Field is required if use_logarithmic_scale is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'use_logarithmic_scale', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'use_logarithmic_scale', must not be 'Unset'") self._use_logarithmic_scale = use_logarithmic_scale @property - def expression( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type]": + def expression(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type]": """Gets the expression of this GrantaServerApiSchemaAttributesMathsContent. Returns @@ -211,8 +217,7 @@ def expression( @expression.setter def expression( - self, - expression: "Union[GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type]", + self, expression: "Union[GrantaServerApiSchemaSlimEntitiesSlimExpression, Unset_Type]" ) -> None: """Sets the expression of this GrantaServerApiSchemaAttributesMathsContent. @@ -241,8 +246,7 @@ def free_parameter( @free_parameter.setter def free_parameter( - self, - free_parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, free_parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the free_parameter of this GrantaServerApiSchemaAttributesMathsContent. @@ -257,9 +261,7 @@ def free_parameter( self._free_parameter = free_parameter @property - def parameter_contents( - self, - ) -> "List[GrantaServerApiSchemaParametersParameterContent]": + def parameter_contents(self) -> "List[GrantaServerApiSchemaParametersParameterContent]": """Gets the parameter_contents of this GrantaServerApiSchemaAttributesMathsContent. Returns @@ -271,8 +273,7 @@ def parameter_contents( @parameter_contents.setter def parameter_contents( - self, - parameter_contents: "List[GrantaServerApiSchemaParametersParameterContent]", + self, parameter_contents: "List[GrantaServerApiSchemaParametersParameterContent]" ) -> None: """Sets the parameter_contents of this GrantaServerApiSchemaAttributesMathsContent. @@ -283,14 +284,10 @@ def parameter_contents( """ # Field is not nullable if parameter_contents is None: - raise ValueError( - "Invalid value for 'parameter_contents', must not be 'None'" - ) + raise ValueError("Invalid value for 'parameter_contents', must not be 'None'") # Field is required if parameter_contents is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'parameter_contents', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'parameter_contents', must not be 'Unset'") self._parameter_contents = parameter_contents @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_functional_attribute.py index c25f4e2b..819835ad 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_maths_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -155,9 +170,7 @@ def __init__( ) self._type: str self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset - self._attribute_parameters: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] + self._attribute_parameters: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self._expressions: List[GrantaServerApiSchemaSlimEntitiesSlimExpression] self._allow_extrapolation: bool self._is_range: bool @@ -216,9 +229,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesMathsFunctionalAttribute. Parameters @@ -232,9 +243,7 @@ def unit( self._unit = unit @property - def attribute_parameters( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def attribute_parameters(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the attribute_parameters of this GrantaServerApiSchemaAttributesMathsFunctionalAttribute. Returns @@ -246,8 +255,7 @@ def attribute_parameters( @attribute_parameters.setter def attribute_parameters( - self, - attribute_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, attribute_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the attribute_parameters of this GrantaServerApiSchemaAttributesMathsFunctionalAttribute. @@ -258,14 +266,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @property @@ -320,14 +324,10 @@ def allow_extrapolation(self, allow_extrapolation: "bool") -> None: """ # Field is not nullable if allow_extrapolation is None: - raise ValueError( - "Invalid value for 'allow_extrapolation', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_extrapolation', must not be 'None'") # Field is required if allow_extrapolation is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'allow_extrapolation', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'allow_extrapolation', must not be 'Unset'") self._allow_extrapolation = allow_extrapolation @property @@ -370,9 +370,7 @@ def allow_all_compatible_expressions(self) -> "bool": return self._allow_all_compatible_expressions @allow_all_compatible_expressions.setter - def allow_all_compatible_expressions( - self, allow_all_compatible_expressions: "bool" - ) -> None: + def allow_all_compatible_expressions(self, allow_all_compatible_expressions: "bool") -> None: """Sets the allow_all_compatible_expressions of this GrantaServerApiSchemaAttributesMathsFunctionalAttribute. Parameters @@ -414,14 +412,10 @@ def allow_anonymous_expressions(self, allow_anonymous_expressions: "bool") -> No """ # Field is not nullable if allow_anonymous_expressions is None: - raise ValueError( - "Invalid value for 'allow_anonymous_expressions', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_anonymous_expressions', must not be 'None'") # Field is required if allow_anonymous_expressions is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'allow_anonymous_expressions', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'allow_anonymous_expressions', must not be 'Unset'") self._allow_anonymous_expressions = allow_anonymous_expressions @property @@ -476,9 +470,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesMathsFunctionalAttribute - ): + if not isinstance(other, GrantaServerApiSchemaAttributesMathsFunctionalAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_picture_attribute.py index fd31f1df..d1b18dee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_picture_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesPictureAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesPictureAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_point_attribute.py index 749addfe..3ab4cb01 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_point_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesPointAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesPointAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -134,9 +147,7 @@ def __init__( self._type: str self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset self._is_multi_valued: bool - self._attribute_parameters: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] + self._attribute_parameters: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self.type = type if unit is not Unset: @@ -184,9 +195,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesPointAttribute. Parameters @@ -228,9 +237,7 @@ def is_multi_valued(self, is_multi_valued: "bool") -> None: self._is_multi_valued = is_multi_valued @property - def attribute_parameters( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def attribute_parameters(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the attribute_parameters of this GrantaServerApiSchemaAttributesPointAttribute. Returns @@ -242,8 +249,7 @@ def attribute_parameters( @attribute_parameters.setter def attribute_parameters( - self, - attribute_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, attribute_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the attribute_parameters of this GrantaServerApiSchemaAttributesPointAttribute. @@ -254,14 +260,10 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") # Field is required if attribute_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'Unset'") self._attribute_parameters = attribute_parameters @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_range_attribute.py index 022cbf3e..401e9ccc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_range_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesRangeAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesRangeAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -169,9 +182,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesRangeAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_short_text_attribute.py index 30682c7f..aab198e7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_short_text_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesShortTextAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesShortTextAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -128,9 +141,7 @@ def __init__( ) self._type: str self._is_unique: bool - self._data_rule: Union[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type - ] = Unset + self._data_rule: Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type] = Unset self.type = type self.is_unique = is_unique @@ -196,9 +207,7 @@ def is_unique(self, is_unique: "bool") -> None: self._is_unique = is_unique @property - def data_rule( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": + def data_rule(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]": """Gets the data_rule of this GrantaServerApiSchemaAttributesShortTextAttribute. Returns @@ -210,8 +219,7 @@ def data_rule( @data_rule.setter def data_rule( - self, - data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the data_rule of this GrantaServerApiSchemaAttributesShortTextAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute.py index c32045f6..87550770 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaAttributesTabularAttribute( - GrantaServerApiSchemaAttributesAttribute -): +class GrantaServerApiSchemaAttributesTabularAttribute(GrantaServerApiSchemaAttributesAttribute): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -143,9 +156,9 @@ def __init__( self._display_full_table: bool self._display_summary_row_inline: bool self._hide_unlinked_rows: bool - self._target: Union[ - GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type - ] = Unset + self._target: Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type] = ( + Unset + ) self._tabular_columns: List[GrantaServerApiSchemaTabularColumnsTabularColumn] self.type = type @@ -206,14 +219,10 @@ def display_full_table(self, display_full_table: "bool") -> None: """ # Field is not nullable if display_full_table is None: - raise ValueError( - "Invalid value for 'display_full_table', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_full_table', must not be 'None'") # Field is required if display_full_table is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'display_full_table', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'display_full_table', must not be 'Unset'") self._display_full_table = display_full_table @property @@ -238,14 +247,10 @@ def display_summary_row_inline(self, display_summary_row_inline: "bool") -> None """ # Field is not nullable if display_summary_row_inline is None: - raise ValueError( - "Invalid value for 'display_summary_row_inline', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_summary_row_inline', must not be 'None'") # Field is required if display_summary_row_inline is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'display_summary_row_inline', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'display_summary_row_inline', must not be 'Unset'") self._display_summary_row_inline = display_summary_row_inline @property @@ -270,20 +275,14 @@ def hide_unlinked_rows(self, hide_unlinked_rows: "bool") -> None: """ # Field is not nullable if hide_unlinked_rows is None: - raise ValueError( - "Invalid value for 'hide_unlinked_rows', must not be 'None'" - ) + raise ValueError("Invalid value for 'hide_unlinked_rows', must not be 'None'") # Field is required if hide_unlinked_rows is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'hide_unlinked_rows', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'hide_unlinked_rows', must not be 'Unset'") self._hide_unlinked_rows = hide_unlinked_rows @property - def target( - self, - ) -> "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]": + def target(self) -> "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]": """Gets the target of this GrantaServerApiSchemaAttributesTabularAttribute. Returns @@ -295,8 +294,7 @@ def target( @target.setter def target( - self, - target: "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]", + self, target: "Union[GrantaServerApiSchemaAttributesTabularAttributeTarget, Unset_Type]" ) -> None: """Sets the target of this GrantaServerApiSchemaAttributesTabularAttribute. @@ -311,9 +309,7 @@ def target( self._target = target @property - def tabular_columns( - self, - ) -> "List[GrantaServerApiSchemaTabularColumnsTabularColumn]": + def tabular_columns(self) -> "List[GrantaServerApiSchemaTabularColumnsTabularColumn]": """Gets the tabular_columns of this GrantaServerApiSchemaAttributesTabularAttribute. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute_target.py index f47a9d71..94e2c920 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_tabular_attribute_target.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -107,9 +121,7 @@ def target_database_guid(self) -> "Union[str, Unset_Type]": return self._target_database_guid @target_database_guid.setter - def target_database_guid( - self, target_database_guid: "Union[str, Unset_Type]" - ) -> None: + def target_database_guid(self, target_database_guid: "Union[str, Unset_Type]") -> None: """Sets the target_database_guid of this GrantaServerApiSchemaAttributesTabularAttributeTarget. Parameters @@ -119,9 +131,7 @@ def target_database_guid( """ # Field is not nullable if target_database_guid is None: - raise ValueError( - "Invalid value for 'target_database_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'target_database_guid', must not be 'None'") self._target_database_guid = target_database_guid @property @@ -148,9 +158,7 @@ def target_database_version_guid( """ # Field is not nullable if target_database_version_guid is None: - raise ValueError( - "Invalid value for 'target_database_version_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'target_database_version_guid', must not be 'None'") self._target_database_version_guid = target_database_version_guid @property @@ -175,9 +183,7 @@ def target_table_guid(self, target_table_guid: "Union[str, Unset_Type]") -> None """ # Field is not nullable if target_table_guid is None: - raise ValueError( - "Invalid value for 'target_table_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'target_table_guid', must not be 'None'") self._target_table_guid = target_table_guid @property @@ -192,9 +198,7 @@ def target_attribute_guid(self) -> "Union[str, Unset_Type]": return self._target_attribute_guid @target_attribute_guid.setter - def target_attribute_guid( - self, target_attribute_guid: "Union[str, Unset_Type]" - ) -> None: + def target_attribute_guid(self, target_attribute_guid: "Union[str, Unset_Type]") -> None: """Sets the target_attribute_guid of this GrantaServerApiSchemaAttributesTabularAttributeTarget. Parameters @@ -204,9 +208,7 @@ def target_attribute_guid( """ # Field is not nullable if target_attribute_guid is None: - raise ValueError( - "Invalid value for 'target_attribute_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'target_attribute_guid', must not be 'None'") self._target_attribute_guid = target_attribute_guid @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_attribute.py index e58c09df..90c4be8f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -117,9 +131,9 @@ def __init__( ] = Unset self._axis_name: Union[str, None, Unset_Type] = Unset self._help_path: Union[str, None, Unset_Type] = Unset - self._about_attribute: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._about_attribute: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self._name: Union[str, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -163,9 +177,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -213,9 +225,7 @@ def help_path(self, help_path: "Union[str, None, Unset_Type]") -> None: self._help_path = help_path @property - def about_attribute( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def about_attribute(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the about_attribute of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute. Returns @@ -227,8 +237,7 @@ def about_attribute( @about_attribute.setter def about_attribute( - self, - about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the about_attribute of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute. @@ -319,9 +328,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute - ): + if not isinstance(other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_date_time_attribute.py index 3b7e4946..2e20f877 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_date_time_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,8 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateDateTimeAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateDateTimeAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_attribute.py index 9f0d9e30..97f44f6e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -193,8 +208,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute.py index 3a26b928..04a0674f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -179,9 +194,7 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") self._attribute_parameters = attribute_parameters @classmethod @@ -207,8 +220,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteFunctionalAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute_parameter.py index 01b478e7..aeaecc53 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_discrete_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -77,9 +91,7 @@ def __init__( default_value: float, optional parameter: GrantaServerApiSchemaSlimEntitiesSlimEntity, optional """ - self._parameter: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._parameter: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._default_value: Union[float, None, Unset_Type] = Unset if parameter is not Unset: @@ -88,9 +100,7 @@ def __init__( self.default_value = default_value @property - def parameter( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def parameter(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the parameter of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteFunctionalAttributeParameter. Returns @@ -102,8 +112,7 @@ def parameter( @parameter.setter def parameter( - self, - parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the parameter of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateDiscreteFunctionalAttributeParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_file_attribute.py index 0c1ea7a2..ff93eef3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_file_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute.py index 185f91ed..5c0b812c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +137,7 @@ def __init__( name=name, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._attribute_parameters: Union[ List[ GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttributeParameter @@ -181,9 +194,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttribute. Parameters @@ -223,9 +234,7 @@ def attribute_parameters( """ # Field is not nullable if attribute_parameters is None: - raise ValueError( - "Invalid value for 'attribute_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_parameters', must not be 'None'") self._attribute_parameters = attribute_parameters @property @@ -276,8 +285,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute_parameter.py index c7d1662e..d284da44 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_float_functional_attribute_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -91,9 +105,9 @@ def __init__( self._interpolation_method: Union[ GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type ] = Unset - self._scale_type: Union[ - GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type - ] = Unset + self._scale_type: Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type] = ( + Unset + ) if parameter_guid is not Unset: self.parameter_guid = parameter_guid @@ -154,9 +168,7 @@ def default_value(self, default_value: "Union[float, None, Unset_Type]") -> None @property def interpolation_method( self, - ) -> ( - "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaAttributesAttributeInterpolationMethod, Unset_Type]": """Gets the interpolation_method of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttributeParameter. Returns @@ -180,15 +192,11 @@ def interpolation_method( """ # Field is not nullable if interpolation_method is None: - raise ValueError( - "Invalid value for 'interpolation_method', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_method', must not be 'None'") self._interpolation_method = interpolation_method @property - def scale_type( - self, - ) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": + def scale_type(self) -> "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]": """Gets the scale_type of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttributeParameter. Returns @@ -200,8 +208,7 @@ def scale_type( @scale_type.setter def scale_type( - self, - scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]", + self, scale_type: "Union[GrantaServerApiSchemaAttributesAttributeScaleType, Unset_Type]" ) -> None: """Sets the scale_type of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateFloatFunctionalAttributeParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_hyperlink_attribute.py index 22028ea3..493988bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_hyperlink_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,8 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateHyperlinkAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateHyperlinkAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_integer_attribute.py index 7a4f3659..2cc78853 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_integer_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_logical_attribute.py index bf8ec72d..40385a94 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_logical_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_long_text_attribute.py index da4972d8..1ff87bf7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_long_text_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -161,8 +176,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateLongTextAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateLongTextAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_content.py index 6996ca1d..e06ee276 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_content.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,12 +110,8 @@ def __init__( self._curve_label: Union[str, None, Unset_Type] = Unset self._transpose_axes: Union[bool, Unset_Type] = Unset self._use_logarithmic_scale: Union[bool, Unset_Type] = Unset - self._expression: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset - self._free_parameter: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._expression: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset + self._free_parameter: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._parameter_contents: Union[ List[GrantaServerApiSchemaParametersUpdateParameterContent], Unset_Type ] = Unset @@ -178,9 +188,7 @@ def use_logarithmic_scale(self) -> "Union[bool, Unset_Type]": return self._use_logarithmic_scale @use_logarithmic_scale.setter - def use_logarithmic_scale( - self, use_logarithmic_scale: "Union[bool, Unset_Type]" - ) -> None: + def use_logarithmic_scale(self, use_logarithmic_scale: "Union[bool, Unset_Type]") -> None: """Sets the use_logarithmic_scale of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. Parameters @@ -190,15 +198,11 @@ def use_logarithmic_scale( """ # Field is not nullable if use_logarithmic_scale is None: - raise ValueError( - "Invalid value for 'use_logarithmic_scale', must not be 'None'" - ) + raise ValueError("Invalid value for 'use_logarithmic_scale', must not be 'None'") self._use_logarithmic_scale = use_logarithmic_scale @property - def expression( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def expression(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the expression of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. Returns @@ -210,8 +214,7 @@ def expression( @expression.setter def expression( - self, - expression: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, expression: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the expression of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. @@ -226,9 +229,7 @@ def expression( self._expression = expression @property - def free_parameter( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def free_parameter(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the free_parameter of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. Returns @@ -240,8 +241,7 @@ def free_parameter( @free_parameter.setter def free_parameter( - self, - free_parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, free_parameter: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the free_parameter of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. @@ -258,9 +258,7 @@ def free_parameter( @property def parameter_contents( self, - ) -> ( - "Union[List[GrantaServerApiSchemaParametersUpdateParameterContent], Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaParametersUpdateParameterContent], Unset_Type]": """Gets the parameter_contents of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent. Returns @@ -284,9 +282,7 @@ def parameter_contents( """ # Field is not nullable if parameter_contents is None: - raise ValueError( - "Invalid value for 'parameter_contents', must not be 'None'" - ) + raise ValueError("Invalid value for 'parameter_contents', must not be 'None'") self._parameter_contents = parameter_contents @classmethod @@ -311,9 +307,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent - ): + if not isinstance(other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_functional_attribute.py index 6a9768a4..3bb1c59a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_maths_functional_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -144,9 +159,7 @@ def __init__( name=name, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._attribute_parameters: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type ] = Unset @@ -156,8 +169,7 @@ def __init__( self._allow_extrapolation: Union[bool, Unset_Type] = Unset self._is_range: Union[bool, Unset_Type] = Unset self._default_content: Union[ - GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent, - Unset_Type, + GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsContent, Unset_Type ] = Unset self._allow_all_compatible_expressions: Union[bool, Unset_Type] = Unset self._allow_anonymous_expressions: Union[bool, Unset_Type] = Unset @@ -220,9 +232,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsFunctionalAttribute. Parameters @@ -301,9 +311,7 @@ def allow_extrapolation(self) -> "Union[bool, Unset_Type]": return self._allow_extrapolation @allow_extrapolation.setter - def allow_extrapolation( - self, allow_extrapolation: "Union[bool, Unset_Type]" - ) -> None: + def allow_extrapolation(self, allow_extrapolation: "Union[bool, Unset_Type]") -> None: """Sets the allow_extrapolation of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsFunctionalAttribute. Parameters @@ -313,9 +321,7 @@ def allow_extrapolation( """ # Field is not nullable if allow_extrapolation is None: - raise ValueError( - "Invalid value for 'allow_extrapolation', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_extrapolation', must not be 'None'") self._allow_extrapolation = allow_extrapolation @property @@ -426,9 +432,7 @@ def allow_anonymous_expressions( """ # Field is not nullable if allow_anonymous_expressions is None: - raise ValueError( - "Invalid value for 'allow_anonymous_expressions', must not be 'None'" - ) + raise ValueError("Invalid value for 'allow_anonymous_expressions', must not be 'None'") self._allow_anonymous_expressions = allow_anonymous_expressions @classmethod @@ -454,8 +458,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsFunctionalAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateMathsFunctionalAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_picture_attribute.py index eaed1f9a..444e6e2d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_picture_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_point_attribute.py index 839a066a..c399fc28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_point_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +137,7 @@ def __init__( name=name, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._is_multi_valued: Union[bool, Unset_Type] = Unset self._attribute_parameters: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type @@ -178,9 +191,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesUpdateAttributesUpdatePointAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_range_attribute.py index 3adf4e91..6bd9101f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_range_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -113,9 +128,7 @@ def __init__( name=name, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.type = type if unit is not Unset: @@ -161,9 +174,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateRangeAttribute. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_short_text_attribute.py index 95e279c6..040222c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_short_text_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -118,9 +133,7 @@ def __init__( ) self._type: str self._is_unique: Union[bool, Unset_Type] = Unset - self._data_rule: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._data_rule: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.type = type if is_unique is not Unset: @@ -184,9 +197,7 @@ def is_unique(self, is_unique: "Union[bool, Unset_Type]") -> None: self._is_unique = is_unique @property - def data_rule( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def data_rule(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the data_rule of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateShortTextAttribute. Returns @@ -198,8 +209,7 @@ def data_rule( @data_rule.setter def data_rule( - self, - data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, data_rule: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the data_rule of this GrantaServerApiSchemaAttributesUpdateAttributesUpdateShortTextAttribute. @@ -236,8 +246,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaAttributesUpdateAttributesUpdateShortTextAttribute, + other, GrantaServerApiSchemaAttributesUpdateAttributesUpdateShortTextAttribute ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_tabular_attribute.py index 50ea200a..cb2f7616 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_update_attributes_update_tabular_attribute.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_attributes_update_attributes_update_attribute import ( # noqa: F401 GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -129,9 +144,7 @@ def __init__( self._display_summary_row_inline: Union[bool, Unset_Type] = Unset self._hide_unlinked_rows: Union[bool, Unset_Type] = Unset self._tabular_columns: Union[ - List[ - GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn - ], + List[GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn], None, Unset_Type, ] = Unset @@ -196,9 +209,7 @@ def display_full_table(self, display_full_table: "Union[bool, Unset_Type]") -> N """ # Field is not nullable if display_full_table is None: - raise ValueError( - "Invalid value for 'display_full_table', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_full_table', must not be 'None'") self._display_full_table = display_full_table @property @@ -225,9 +236,7 @@ def display_summary_row_inline( """ # Field is not nullable if display_summary_row_inline is None: - raise ValueError( - "Invalid value for 'display_summary_row_inline', must not be 'None'" - ) + raise ValueError("Invalid value for 'display_summary_row_inline', must not be 'None'") self._display_summary_row_inline = display_summary_row_inline @property @@ -252,9 +261,7 @@ def hide_unlinked_rows(self, hide_unlinked_rows: "Union[bool, Unset_Type]") -> N """ # Field is not nullable if hide_unlinked_rows is None: - raise ValueError( - "Invalid value for 'hide_unlinked_rows', must not be 'None'" - ) + raise ValueError("Invalid value for 'hide_unlinked_rows', must not be 'None'") self._hide_unlinked_rows = hide_unlinked_rows @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_validate_attribute_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_validate_attribute_request.py index 877812d4..9fdf7ced 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_validate_attribute_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_attributes_validate_attribute_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -118,9 +132,7 @@ def record_history_guid(self) -> "Union[str, None, Unset_Type]": return self._record_history_guid @record_history_guid.setter - def record_history_guid( - self, record_history_guid: "Union[str, None, Unset_Type]" - ) -> None: + def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type]") -> None: """Sets the record_history_guid of this GrantaServerApiSchemaAttributesValidateAttributeRequest. The record you want to check the value against to see if the value has changed as well as being valid @@ -153,9 +165,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaAttributesValidateAttributeRequest - ): + if not isinstance(other, GrantaServerApiSchemaAttributesValidateAttributeRequest): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configuration.py index 4aa9a3ca..ae86521a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configuration.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configurations_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configurations_info.py index fd86d9dc..481524b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configurations_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_configurations_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -76,9 +90,7 @@ def __init__( self.configurations = configurations @property - def configurations( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimConfiguration]": + def configurations(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimConfiguration]": """Gets the configurations of this GrantaServerApiSchemaConfigurationsConfigurationsInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_create_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_create_configuration.py index 0cc8b59a..981e9a46 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_create_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_create_configuration.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -218,9 +232,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaConfigurationsCreateConfiguration - ): + if not isinstance(other, GrantaServerApiSchemaConfigurationsCreateConfiguration): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_update_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_update_configuration.py index 51bebb7a..bc9efa65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_update_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_configurations_update_configuration.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -214,9 +228,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaConfigurationsUpdateConfiguration - ): + if not isinstance(other, GrantaServerApiSchemaConfigurationsUpdateConfiguration): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constant.py index 2b4e8988..b26141ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constant.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -106,9 +120,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaConstantsConstant. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constants_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constants_info.py index e027ca59..830cfacb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constants_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_constants_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_create_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_create_constant.py index 07f47053..11aebaad 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_create_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_create_constant.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_update_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_update_constant.py index bd9e026d..b5d3d6d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_update_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_constants_update_constant.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_create_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_create_data_rule.py index a405912e..aca42ac5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_create_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_create_data_rule.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -142,14 +156,10 @@ def regular_expression(self, regular_expression: "str") -> None: """ # Field is not nullable if regular_expression is None: - raise ValueError( - "Invalid value for 'regular_expression', must not be 'None'" - ) + raise ValueError("Invalid value for 'regular_expression', must not be 'None'") # Field is required if regular_expression is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'regular_expression', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'regular_expression', must not be 'Unset'") self._regular_expression = regular_expression @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rule.py index 409c533b..8b82dd0e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rule.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -149,20 +163,14 @@ def regular_expression(self, regular_expression: "str") -> None: """ # Field is not nullable if regular_expression is None: - raise ValueError( - "Invalid value for 'regular_expression', must not be 'None'" - ) + raise ValueError("Invalid value for 'regular_expression', must not be 'None'") # Field is required if regular_expression is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'regular_expression', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'regular_expression', must not be 'Unset'") self._regular_expression = regular_expression @property - def used_by_attributes( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def used_by_attributes(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the used_by_attributes of this GrantaServerApiSchemaDataRulesDataRule. Returns @@ -174,8 +182,7 @@ def used_by_attributes( @used_by_attributes.setter def used_by_attributes( - self, - used_by_attributes: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, used_by_attributes: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the used_by_attributes of this GrantaServerApiSchemaDataRulesDataRule. @@ -186,14 +193,10 @@ def used_by_attributes( """ # Field is not nullable if used_by_attributes is None: - raise ValueError( - "Invalid value for 'used_by_attributes', must not be 'None'" - ) + raise ValueError("Invalid value for 'used_by_attributes', must not be 'None'") # Field is required if used_by_attributes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'used_by_attributes', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'used_by_attributes', must not be 'Unset'") self._used_by_attributes = used_by_attributes @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rules_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rules_info.py index f1758e6d..a29a88c4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rules_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_data_rules_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,15 @@ def __init__( ---------- data_rules: List[GrantaServerApiSchemaDataRulesDataRule], optional """ - self._data_rules: Union[ - List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type - ] = Unset + self._data_rules: Union[List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type] = ( + Unset + ) if data_rules is not Unset: self.data_rules = data_rules @property - def data_rules( - self, - ) -> "Union[List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type]": + def data_rules(self) -> "Union[List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type]": """Gets the data_rules of this GrantaServerApiSchemaDataRulesDataRulesInfo. Returns @@ -93,8 +105,7 @@ def data_rules( @data_rules.setter def data_rules( - self, - data_rules: "Union[List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type]", + self, data_rules: "Union[List[GrantaServerApiSchemaDataRulesDataRule], None, Unset_Type]" ) -> None: """Sets the data_rules of this GrantaServerApiSchemaDataRulesDataRulesInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_update_data_rule.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_update_data_rule.py index 409e3564..0b6f038f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_update_data_rule.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_data_rules_update_data_rule.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -142,9 +156,7 @@ def regular_expression(self, regular_expression: "Union[str, Unset_Type]") -> No """ # Field is not nullable if regular_expression is None: - raise ValueError( - "Invalid value for 'regular_expression', must not be 'None'" - ) + raise ValueError("Invalid value for 'regular_expression', must not be 'None'") self._regular_expression = regular_expression @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_database.py index 2c2c3837..1c239956 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_database.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -47,38 +61,38 @@ class GrantaServerApiSchemaDatabase(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: Dict[str, str] = { - "guid": "str", "is_locked": "bool", "is_read_only": "bool", "key": "str", - "name": "str", "status": "GrantaServerApiDatabaseStatus", "author": "str", "company": "str", "currency_code": "str", + "guid": "str", "index_in_sync": "bool", "index_out_of_date_duration": "str", "index_up_to_date": "bool", "is_access_controlled": "bool", + "name": "str", "notes": "str", "schema_version": "str", "version_guid": "str", } attribute_map: Dict[str, str] = { - "guid": "guid", "is_locked": "isLocked", "is_read_only": "isReadOnly", "key": "key", - "name": "name", "status": "status", "author": "author", "company": "company", "currency_code": "currencyCode", + "guid": "guid", "index_in_sync": "indexInSync", "index_out_of_date_duration": "indexOutOfDateDuration", "index_up_to_date": "indexUpToDate", "is_access_controlled": "isAccessControlled", + "name": "name", "notes": "notes", "schema_version": "schemaVersion", "version_guid": "versionGuid", @@ -93,19 +107,19 @@ class GrantaServerApiSchemaDatabase(ModelBase): def __init__( self, *, - guid: "str", is_locked: "bool", is_read_only: "bool", key: "str", - name: "str", status: "GrantaServerApiDatabaseStatus", author: "Union[str, None, Unset_Type]" = Unset, company: "Union[str, None, Unset_Type]" = Unset, currency_code: "Union[str, None, Unset_Type]" = Unset, + guid: "Union[str, None, Unset_Type]" = Unset, index_in_sync: "Union[bool, None, Unset_Type]" = Unset, index_out_of_date_duration: "Union[str, None, Unset_Type]" = Unset, index_up_to_date: "Union[bool, None, Unset_Type]" = Unset, is_access_controlled: "Union[bool, None, Unset_Type]" = Unset, + name: "Union[str, None, Unset_Type]" = Unset, notes: "Union[str, None, Unset_Type]" = Unset, schema_version: "Union[str, None, Unset_Type]" = Unset, version_guid: "Union[str, None, Unset_Type]" = Unset, @@ -114,19 +128,19 @@ def __init__( Parameters ---------- - guid: str is_locked: bool is_read_only: bool key: str - name: str status: GrantaServerApiDatabaseStatus author: str, optional company: str, optional currency_code: str, optional + guid: str, optional index_in_sync: bool, optional index_out_of_date_duration: str, optional index_up_to_date: bool, optional is_access_controlled: bool, optional + name: str, optional notes: str, optional schema_version: str, optional version_guid: str, optional @@ -137,16 +151,16 @@ def __init__( self._currency_code: Union[str, None, Unset_Type] = Unset self._is_access_controlled: Union[bool, None, Unset_Type] = Unset self._key: str - self._version_guid: Union[str, None, Unset_Type] = Unset self._status: GrantaServerApiDatabaseStatus self._is_read_only: bool self._is_locked: bool + self._name: Union[str, None, Unset_Type] = Unset + self._guid: Union[str, None, Unset_Type] = Unset + self._version_guid: Union[str, None, Unset_Type] = Unset self._index_in_sync: Union[bool, None, Unset_Type] = Unset self._index_up_to_date: Union[bool, None, Unset_Type] = Unset self._index_out_of_date_duration: Union[str, None, Unset_Type] = Unset self._schema_version: Union[str, None, Unset_Type] = Unset - self._name: str - self._guid: str if author is not Unset: self.author = author @@ -159,11 +173,15 @@ def __init__( if is_access_controlled is not Unset: self.is_access_controlled = is_access_controlled self.key = key - if version_guid is not Unset: - self.version_guid = version_guid self.status = status self.is_read_only = is_read_only self.is_locked = is_locked + if name is not Unset: + self.name = name + if guid is not Unset: + self.guid = guid + if version_guid is not Unset: + self.version_guid = version_guid if index_in_sync is not Unset: self.index_in_sync = index_in_sync if index_up_to_date is not Unset: @@ -172,8 +190,6 @@ def __init__( self.index_out_of_date_duration = index_out_of_date_duration if schema_version is not Unset: self.schema_version = schema_version - self.name = name - self.guid = guid @property def author(self) -> "Union[str, None, Unset_Type]": @@ -275,9 +291,7 @@ def is_access_controlled(self) -> "Union[bool, None, Unset_Type]": return self._is_access_controlled @is_access_controlled.setter - def is_access_controlled( - self, is_access_controlled: "Union[bool, None, Unset_Type]" - ) -> None: + def is_access_controlled(self, is_access_controlled: "Union[bool, None, Unset_Type]") -> None: """Sets the is_access_controlled of this GrantaServerApiSchemaDatabase. Parameters @@ -315,28 +329,6 @@ def key(self, key: "str") -> None: raise ValueError("Invalid value for 'key', must not be 'Unset'") self._key = key - @property - def version_guid(self) -> "Union[str, None, Unset_Type]": - """Gets the version_guid of this GrantaServerApiSchemaDatabase. - - Returns - ------- - Union[str, None, Unset_Type] - The version_guid of this GrantaServerApiSchemaDatabase. - """ - return self._version_guid - - @version_guid.setter - def version_guid(self, version_guid: "Union[str, None, Unset_Type]") -> None: - """Sets the version_guid of this GrantaServerApiSchemaDatabase. - - Parameters - ---------- - version_guid: Union[str, None, Unset_Type] - The version_guid of this GrantaServerApiSchemaDatabase. - """ - self._version_guid = version_guid - @property def status(self) -> "GrantaServerApiDatabaseStatus": """Gets the status of this GrantaServerApiSchemaDatabase. @@ -421,6 +413,72 @@ def is_locked(self, is_locked: "bool") -> None: raise ValueError("Invalid value for 'is_locked', must not be 'Unset'") self._is_locked = is_locked + @property + def name(self) -> "Union[str, None, Unset_Type]": + """Gets the name of this GrantaServerApiSchemaDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The name of this GrantaServerApiSchemaDatabase. + """ + return self._name + + @name.setter + def name(self, name: "Union[str, None, Unset_Type]") -> None: + """Sets the name of this GrantaServerApiSchemaDatabase. + + Parameters + ---------- + name: Union[str, None, Unset_Type] + The name of this GrantaServerApiSchemaDatabase. + """ + self._name = name + + @property + def guid(self) -> "Union[str, None, Unset_Type]": + """Gets the guid of this GrantaServerApiSchemaDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The guid of this GrantaServerApiSchemaDatabase. + """ + return self._guid + + @guid.setter + def guid(self, guid: "Union[str, None, Unset_Type]") -> None: + """Sets the guid of this GrantaServerApiSchemaDatabase. + + Parameters + ---------- + guid: Union[str, None, Unset_Type] + The guid of this GrantaServerApiSchemaDatabase. + """ + self._guid = guid + + @property + def version_guid(self) -> "Union[str, None, Unset_Type]": + """Gets the version_guid of this GrantaServerApiSchemaDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The version_guid of this GrantaServerApiSchemaDatabase. + """ + return self._version_guid + + @version_guid.setter + def version_guid(self, version_guid: "Union[str, None, Unset_Type]") -> None: + """Sets the version_guid of this GrantaServerApiSchemaDatabase. + + Parameters + ---------- + version_guid: Union[str, None, Unset_Type] + The version_guid of this GrantaServerApiSchemaDatabase. + """ + self._version_guid = version_guid + @property def index_in_sync(self) -> "Union[bool, None, Unset_Type]": """Gets the index_in_sync of this GrantaServerApiSchemaDatabase. @@ -455,9 +513,7 @@ def index_up_to_date(self) -> "Union[bool, None, Unset_Type]": return self._index_up_to_date @index_up_to_date.setter - def index_up_to_date( - self, index_up_to_date: "Union[bool, None, Unset_Type]" - ) -> None: + def index_up_to_date(self, index_up_to_date: "Union[bool, None, Unset_Type]") -> None: """Sets the index_up_to_date of this GrantaServerApiSchemaDatabase. Parameters @@ -513,62 +569,6 @@ def schema_version(self, schema_version: "Union[str, None, Unset_Type]") -> None """ self._schema_version = schema_version - @property - def name(self) -> "str": - """Gets the name of this GrantaServerApiSchemaDatabase. - - Returns - ------- - str - The name of this GrantaServerApiSchemaDatabase. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GrantaServerApiSchemaDatabase. - - Parameters - ---------- - name: str - The name of this GrantaServerApiSchemaDatabase. - """ - # Field is not nullable - if name is None: - raise ValueError("Invalid value for 'name', must not be 'None'") - # Field is required - if name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'name', must not be 'Unset'") - self._name = name - - @property - def guid(self) -> "str": - """Gets the guid of this GrantaServerApiSchemaDatabase. - - Returns - ------- - str - The guid of this GrantaServerApiSchemaDatabase. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str") -> None: - """Sets the guid of this GrantaServerApiSchemaDatabase. - - Parameters - ---------- - guid: str - The guid of this GrantaServerApiSchemaDatabase. - """ - # Field is not nullable - if guid is None: - raise ValueError("Invalid value for 'guid', must not be 'None'") - # Field is required - if guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'guid', must not be 'Unset'") - self._guid = guid - @classmethod def get_real_child_model(cls, data: Dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_databases_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_databases_info.py index 63471d00..6cef703a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_databases_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_databases_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_create_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_create_discrete_type.py index 0d53dfa6..973baa11 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_create_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_create_discrete_type.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_type.py index c839fb83..35fab242 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_type.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_types_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_types_info.py index b9799eb7..25049570 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_types_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_discrete_types_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( @property def discrete_types( self, - ) -> ( - "Union[List[GrantaServerApiSchemaDiscreteTypesDiscreteType], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaDiscreteTypesDiscreteType], None, Unset_Type]": """Gets the discrete_types of this GrantaServerApiSchemaDiscreteTypesDiscreteTypesInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_update_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_update_discrete_type.py index 07be4d10..c88e7c51 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_update_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_types_update_discrete_type.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_create_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_create_discrete_value.py index f223f98f..65b6256e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_create_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_create_discrete_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -155,9 +169,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue - ): + if not isinstance(other, GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_value.py index 8ad80e18..6dacf6d0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_values_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_values_info.py index 545aeccd..e68066c1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_values_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_discrete_values_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_replace_discrete_values_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_replace_discrete_values_info.py index f7f019dc..d13bc64a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_replace_discrete_values_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_replace_discrete_values_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -72,9 +86,7 @@ def __init__( discrete_values: List[GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue], optional """ self._discrete_values: Union[ - List[GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue], - None, - Unset_Type, + List[GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue], None, Unset_Type ] = Unset if discrete_values is not Unset: @@ -129,9 +141,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaDiscreteValuesReplaceDiscreteValuesInfo - ): + if not isinstance(other, GrantaServerApiSchemaDiscreteValuesReplaceDiscreteValuesInfo): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_update_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_update_discrete_value.py index 828f7f78..c457cc31 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_update_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_discrete_values_update_discrete_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -153,9 +167,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaDiscreteValuesUpdateDiscreteValue - ): + if not isinstance(other, GrantaServerApiSchemaDiscreteValuesUpdateDiscreteValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_create_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_create_expression.py index e3c8de1b..6557db1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_create_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_create_expression.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,9 +98,7 @@ def __init__( unit: GrantaServerApiSchemaSlimEntitiesSlimEntity, optional """ self._value: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._name: str self._guid: Union[str, Unset_Type] = Unset @@ -137,9 +149,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaExpressionsCreateExpression. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expression.py index 9dd97d01..bde0220c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expression.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -100,15 +114,9 @@ def __init__( """ self._value: str self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset - self._attribute_dependencies: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] - self._constant_dependencies: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] - self._parameter_dependencies: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] + self._attribute_dependencies: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] + self._constant_dependencies: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] + self._parameter_dependencies: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self._name: str self._guid: str @@ -161,9 +169,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaExpressionsExpression. Parameters @@ -177,9 +183,7 @@ def unit( self._unit = unit @property - def attribute_dependencies( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def attribute_dependencies(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the attribute_dependencies of this GrantaServerApiSchemaExpressionsExpression. Returns @@ -191,8 +195,7 @@ def attribute_dependencies( @attribute_dependencies.setter def attribute_dependencies( - self, - attribute_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, attribute_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the attribute_dependencies of this GrantaServerApiSchemaExpressionsExpression. @@ -203,20 +206,14 @@ def attribute_dependencies( """ # Field is not nullable if attribute_dependencies is None: - raise ValueError( - "Invalid value for 'attribute_dependencies', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_dependencies', must not be 'None'") # Field is required if attribute_dependencies is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_dependencies', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_dependencies', must not be 'Unset'") self._attribute_dependencies = attribute_dependencies @property - def constant_dependencies( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def constant_dependencies(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the constant_dependencies of this GrantaServerApiSchemaExpressionsExpression. Returns @@ -228,8 +225,7 @@ def constant_dependencies( @constant_dependencies.setter def constant_dependencies( - self, - constant_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, constant_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the constant_dependencies of this GrantaServerApiSchemaExpressionsExpression. @@ -240,20 +236,14 @@ def constant_dependencies( """ # Field is not nullable if constant_dependencies is None: - raise ValueError( - "Invalid value for 'constant_dependencies', must not be 'None'" - ) + raise ValueError("Invalid value for 'constant_dependencies', must not be 'None'") # Field is required if constant_dependencies is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'constant_dependencies', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'constant_dependencies', must not be 'Unset'") self._constant_dependencies = constant_dependencies @property - def parameter_dependencies( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def parameter_dependencies(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the parameter_dependencies of this GrantaServerApiSchemaExpressionsExpression. Returns @@ -265,8 +255,7 @@ def parameter_dependencies( @parameter_dependencies.setter def parameter_dependencies( - self, - parameter_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, parameter_dependencies: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the parameter_dependencies of this GrantaServerApiSchemaExpressionsExpression. @@ -277,14 +266,10 @@ def parameter_dependencies( """ # Field is not nullable if parameter_dependencies is None: - raise ValueError( - "Invalid value for 'parameter_dependencies', must not be 'None'" - ) + raise ValueError("Invalid value for 'parameter_dependencies', must not be 'None'") # Field is required if parameter_dependencies is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'parameter_dependencies', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'parameter_dependencies', must not be 'Unset'") self._parameter_dependencies = parameter_dependencies @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expressions_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expressions_info.py index 53a9ae8d..925cfc30 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expressions_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_expressions_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( @property def expressions( self, - ) -> ( - "Union[List[GrantaServerApiSchemaSlimEntitiesSlimExpression], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimExpression], None, Unset_Type]": """Gets the expressions of this GrantaServerApiSchemaExpressionsExpressionsInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_update_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_update_expression.py index 86027b9b..cd7a5499 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_update_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_expressions_update_expression.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,9 +98,7 @@ def __init__( value: str, optional """ self._value: Union[str, Unset_Type] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._name: Union[str, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -136,9 +148,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaExpressionsUpdateExpression. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_create_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_create_folder.py index 27153854..b2c451e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_create_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_create_folder.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_exporter_refetch_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_exporter_refetch_info.py index 632ade14..65c6a8ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_exporter_refetch_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_exporter_refetch_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_file_header.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_file_header.py index 263e09f1..d93dd09d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_file_header.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_file_header.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_files_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_files_info.py index d07358bc..866e272f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_files_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_files_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,15 @@ def __init__( ---------- files: List[GrantaServerApiSchemaSlimEntitiesSlimFile], optional """ - self._files: Union[ - List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type - ] = Unset + self._files: Union[List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type] = ( + Unset + ) if files is not Unset: self.files = files @property - def files( - self, - ) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type]": + def files(self) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type]": """Gets the files of this GrantaServerApiSchemaFilesFilesInfo. Returns @@ -93,8 +105,7 @@ def files( @files.setter def files( - self, - files: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type]", + self, files: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimFile], None, Unset_Type]" ) -> None: """Sets the files of this GrantaServerApiSchemaFilesFilesInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folder.py index 4de8ac48..e708172a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folder.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folders_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folders_info.py index 0dde496d..8e254f61 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folders_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_folders_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,13 @@ def __init__( ---------- folders: List[GrantaServerApiSchemaFilesFolder], optional """ - self._folders: Union[ - List[GrantaServerApiSchemaFilesFolder], None, Unset_Type - ] = Unset + self._folders: Union[List[GrantaServerApiSchemaFilesFolder], None, Unset_Type] = Unset if folders is not Unset: self.folders = folders @property - def folders( - self, - ) -> "Union[List[GrantaServerApiSchemaFilesFolder], None, Unset_Type]": + def folders(self) -> "Union[List[GrantaServerApiSchemaFilesFolder], None, Unset_Type]": """Gets the folders of this GrantaServerApiSchemaFilesFoldersInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_file.py index 62d439d4..04ba01cf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_file.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_folder.py index f8044a80..f9711436 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_move_folder.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_file.py index 8a726de1..09e88c31 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_file.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_folder.py index 7824850f..f32fc2cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_files_update_folder.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout.py index f51ba211..6bebe76d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout_section.py index dea8900f..637dfba5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_create_layout_section.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_full_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_full_layout_section.py index 22f6cbe3..7928e19a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_full_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_full_layout_section.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_section import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_section import ( # noqa: F401 GrantaServerApiSchemaLayoutsLayoutSection, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaLayoutsFullLayoutSection( - GrantaServerApiSchemaLayoutsLayoutSection -): +class GrantaServerApiSchemaLayoutsFullLayoutSection(GrantaServerApiSchemaLayoutsLayoutSection): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -121,14 +134,10 @@ def section_detail_type(self, section_detail_type: "str") -> None: """ # Field is not nullable if section_detail_type is None: - raise ValueError( - "Invalid value for 'section_detail_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'section_detail_type', must not be 'None'") # Field is required if section_detail_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'section_detail_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'section_detail_type', must not be 'Unset'") self._section_detail_type = section_detail_type @property @@ -143,9 +152,7 @@ def section_items(self) -> "List[GrantaServerApiSchemaLayoutsLayoutItem]": return self._section_items @section_items.setter - def section_items( - self, section_items: "List[GrantaServerApiSchemaLayoutsLayoutItem]" - ) -> None: + def section_items(self, section_items: "List[GrantaServerApiSchemaLayoutsLayoutItem]") -> None: """Sets the section_items of this GrantaServerApiSchemaLayoutsFullLayoutSection. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout.py index f980d9df..bab7a223 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -105,9 +119,7 @@ def sections(self) -> "List[GrantaServerApiSchemaLayoutsLayoutSection]": return self._sections @sections.setter - def sections( - self, sections: "List[GrantaServerApiSchemaLayoutsLayoutSection]" - ) -> None: + def sections(self, sections: "List[GrantaServerApiSchemaLayoutsLayoutSection]") -> None: """Sets the sections of this GrantaServerApiSchemaLayoutsLayout. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_attribute_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_attribute_item.py index 9fa9e384..c06afae5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_attribute_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_attribute_item.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaLayoutsLayoutAttributeItem( - GrantaServerApiSchemaLayoutsLayoutItem -): +class GrantaServerApiSchemaLayoutsLayoutAttributeItem(GrantaServerApiSchemaLayoutsLayoutItem): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -110,9 +123,7 @@ def __init__( meta_attributes: List[GrantaServerApiSchemaLayoutsLayoutAttributeItem], optional tabular_columns: List[GrantaServerApiSchemaLayoutsLayoutTabularColumn], optional """ - super().__init__( - guid=guid, name=name, underlying_entity_guid=underlying_entity_guid - ) + super().__init__(guid=guid, name=name, underlying_entity_guid=underlying_entity_guid) self._item_type: str self._attribute_type: GrantaServerApiAttributeType self._required: bool @@ -248,9 +259,7 @@ def read_only(self, read_only: "bool") -> None: @property def meta_attributes( self, - ) -> ( - "Union[List[GrantaServerApiSchemaLayoutsLayoutAttributeItem], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaLayoutsLayoutAttributeItem], None, Unset_Type]": """Gets the meta_attributes of this GrantaServerApiSchemaLayoutsLayoutAttributeItem. Returns @@ -277,9 +286,7 @@ def meta_attributes( @property def tabular_columns( self, - ) -> ( - "Union[List[GrantaServerApiSchemaLayoutsLayoutTabularColumn], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaLayoutsLayoutTabularColumn], None, Unset_Type]": """Gets the tabular_columns of this GrantaServerApiSchemaLayoutsLayoutAttributeItem. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py index 922fed67..ac005135 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -114,14 +128,10 @@ def underlying_entity_guid(self, underlying_entity_guid: "str") -> None: """ # Field is not nullable if underlying_entity_guid is None: - raise ValueError( - "Invalid value for 'underlying_entity_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'underlying_entity_guid', must not be 'None'") # Field is required if underlying_entity_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'underlying_entity_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'underlying_entity_guid', must not be 'Unset'") self._underlying_entity_guid = underlying_entity_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_link_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_link_type.py index 01b7f4bf..7b20a659 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_link_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_link_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_type.py index df74377b..73c5b9ff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_item_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_link_item.py index 9397919b..cc54634c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_link_item.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaLayoutsLayoutLinkItem( - GrantaServerApiSchemaLayoutsLayoutItem -): +class GrantaServerApiSchemaLayoutsLayoutLinkItem(GrantaServerApiSchemaLayoutsLayoutItem): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -113,18 +126,14 @@ def __init__( target_database: str, optional target_database_version: str, optional """ - super().__init__( - guid=guid, name=name, underlying_entity_guid=underlying_entity_guid - ) + super().__init__(guid=guid, name=name, underlying_entity_guid=underlying_entity_guid) self._item_type: str self._link_type: GrantaServerApiSchemaLayoutsLayoutItemLinkType self._target_database: Union[str, None, Unset_Type] = Unset self._target_database_version: Union[str, None, Unset_Type] = Unset self._target_table: str self._forwards: bool - self._next_link: Union[ - GrantaServerApiSchemaLayoutsLayoutLinkItem, Unset_Type - ] = Unset + self._next_link: Union[GrantaServerApiSchemaLayoutsLayoutLinkItem, Unset_Type] = Unset self.item_type = item_type self.link_type = link_type @@ -177,9 +186,7 @@ def link_type(self) -> "GrantaServerApiSchemaLayoutsLayoutItemLinkType": return self._link_type @link_type.setter - def link_type( - self, link_type: "GrantaServerApiSchemaLayoutsLayoutItemLinkType" - ) -> None: + def link_type(self, link_type: "GrantaServerApiSchemaLayoutsLayoutItemLinkType") -> None: """Sets the link_type of this GrantaServerApiSchemaLayoutsLayoutLinkItem. Parameters @@ -298,9 +305,7 @@ def forwards(self, forwards: "bool") -> None: self._forwards = forwards @property - def next_link( - self, - ) -> "Union[GrantaServerApiSchemaLayoutsLayoutLinkItem, Unset_Type]": + def next_link(self) -> "Union[GrantaServerApiSchemaLayoutsLayoutLinkItem, Unset_Type]": """Gets the next_link of this GrantaServerApiSchemaLayoutsLayoutLinkItem. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py index 4027fa6f..f2cdee52 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section_detail_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section_detail_type.py index 184b8e5f..4537df33 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section_detail_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_section_detail_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_sections_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_sections_info.py index f14d91ab..057b5585 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_sections_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_sections_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_tabular_column.py index f2be45ba..d23dd0e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layout_tabular_column.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -145,14 +159,10 @@ def tabular_column_guid(self, tabular_column_guid: "str") -> None: """ # Field is not nullable if tabular_column_guid is None: - raise ValueError( - "Invalid value for 'tabular_column_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'tabular_column_guid', must not be 'None'") # Field is required if tabular_column_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'tabular_column_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'tabular_column_guid', must not be 'Unset'") self._tabular_column_guid = tabular_column_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layouts_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layouts_info.py index 33fdb490..acbfa58d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layouts_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_layouts_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -93,8 +107,7 @@ def layouts( @layouts.setter def layouts( - self, - layouts: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimLayout], None, Unset_Type]", + self, layouts: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimLayout], None, Unset_Type]" ) -> None: """Sets the layouts of this GrantaServerApiSchemaLayoutsLayoutsInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_item.py index 71667488..1d42251f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_item.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsNewLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -149,14 +164,10 @@ def association_chain_name(self, association_chain_name: "str") -> None: """ # Field is not nullable if association_chain_name is None: - raise ValueError( - "Invalid value for 'association_chain_name', must not be 'None'" - ) + raise ValueError("Invalid value for 'association_chain_name', must not be 'None'") # Field is required if association_chain_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'association_chain_name', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'association_chain_name', must not be 'Unset'") self._association_chain_name = association_chain_name @property @@ -186,14 +197,10 @@ def association_chain_links( """ # Field is not nullable if association_chain_links is None: - raise ValueError( - "Invalid value for 'association_chain_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'association_chain_links', must not be 'None'") # Field is required if association_chain_links is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'association_chain_links', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'association_chain_links', must not be 'Unset'") self._association_chain_links = association_chain_links @classmethod @@ -218,9 +225,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem - ): + if not isinstance(other, GrantaServerApiSchemaLayoutsNewLayoutAssociationChainItem): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_link.py index 47f91705..1b16d7d9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_link.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_association_chain_link.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -133,9 +147,7 @@ def source_database_version_guid(self, source_database_version_guid: "str") -> N """ # Field is not nullable if source_database_version_guid is None: - raise ValueError( - "Invalid value for 'source_database_version_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'source_database_version_guid', must not be 'None'") # Field is required if source_database_version_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] raise ValueError( @@ -165,14 +177,10 @@ def tabular_attribute_guid(self, tabular_attribute_guid: "str") -> None: """ # Field is not nullable if tabular_attribute_guid is None: - raise ValueError( - "Invalid value for 'tabular_attribute_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'tabular_attribute_guid', must not be 'None'") # Field is required if tabular_attribute_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'tabular_attribute_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'tabular_attribute_guid', must not be 'Unset'") self._tabular_attribute_guid = tabular_attribute_guid @classmethod @@ -197,9 +205,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaLayoutsNewLayoutAssociationChainLink - ): + if not isinstance(other, GrantaServerApiSchemaLayoutsNewLayoutAssociationChainLink): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_attribute_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_attribute_item.py index cf9b2eec..e2a99235 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_attribute_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_attribute_item.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsNewLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaLayoutsNewLayoutAttributeItem( - GrantaServerApiSchemaLayoutsNewLayoutItem -): +class GrantaServerApiSchemaLayoutsNewLayoutAttributeItem(GrantaServerApiSchemaLayoutsNewLayoutItem): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_cross_database_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_cross_database_link_item.py index f86f0e96..33907e60 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_cross_database_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_cross_database_link_item.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsNewLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -151,14 +166,10 @@ def source_database_guid(self, source_database_guid: "str") -> None: """ # Field is not nullable if source_database_guid is None: - raise ValueError( - "Invalid value for 'source_database_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'source_database_guid', must not be 'None'") # Field is required if source_database_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'source_database_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'source_database_guid', must not be 'Unset'") self._source_database_guid = source_database_guid @property @@ -183,14 +194,10 @@ def source_table_guid(self, source_table_guid: "str") -> None: """ # Field is not nullable if source_table_guid is None: - raise ValueError( - "Invalid value for 'source_table_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'source_table_guid', must not be 'None'") # Field is required if source_table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'source_table_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'source_table_guid', must not be 'Unset'") self._source_table_guid = source_table_guid @property @@ -243,9 +250,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaLayoutsNewLayoutCrossDatabaseLinkItem - ): + if not isinstance(other, GrantaServerApiSchemaLayoutsNewLayoutCrossDatabaseLinkItem): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py index 44baa116..87a4d2cb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item_type.py index 82d3a1c6..322f2225 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_item_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_record_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_record_link_item.py index cc17c7aa..1ad70f8f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_record_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_record_link_item.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsNewLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_smart_link_item.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_smart_link_item.py index 222b66c5..dd56d82b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_smart_link_item.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_new_layout_smart_link_item.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_new_layout_item import ( # noqa: F401 GrantaServerApiSchemaLayoutsNewLayoutItem, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaLayoutsNewLayoutSmartLinkItem( - GrantaServerApiSchemaLayoutsNewLayoutItem -): +class GrantaServerApiSchemaLayoutsNewLayoutSmartLinkItem(GrantaServerApiSchemaLayoutsNewLayoutItem): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_reorder_sections_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_reorder_sections_info.py index 5d1a58ac..6bd4a4ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_reorder_sections_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_reorder_sections_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_update_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_update_layout.py index dbfe7645..968ff9ae 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_update_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_layouts_update_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_continuous_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_continuous_range.py index 5bde9124..7c689a8f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_continuous_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_continuous_range.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter.py index 450dc6d5..25be5d1d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersCreateParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -109,9 +124,7 @@ def __init__( self.type = type @property - def values( - self, - ) -> "List[GrantaServerApiSchemaParametersCreateDiscreteParameterValue]": + def values(self) -> "List[GrantaServerApiSchemaParametersCreateDiscreteParameterValue]": """Gets the values of this GrantaServerApiSchemaParametersCreateDiscreteParameter. Returns @@ -123,8 +136,7 @@ def values( @values.setter def values( - self, - values: "List[GrantaServerApiSchemaParametersCreateDiscreteParameterValue]", + self, values: "List[GrantaServerApiSchemaParametersCreateDiscreteParameterValue]" ) -> None: """Sets the values of this GrantaServerApiSchemaParametersCreateDiscreteParameter. @@ -191,9 +203,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersCreateDiscreteParameter - ): + if not isinstance(other, GrantaServerApiSchemaParametersCreateDiscreteParameter): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter_value.py index 8a3cbb7e..219cb6b7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_discrete_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersCreateParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -167,9 +182,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersCreateDiscreteParameterValue - ): + if not isinstance(other, GrantaServerApiSchemaParametersCreateDiscreteParameterValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter.py index 3ce066ba..3061505b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersCreateParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,13 +138,9 @@ def __init__( ) self._type: str self._is_restricted: bool - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._values: List[GrantaServerApiSchemaParametersCreateNumericParameterValue] - self._interpolation_type: ( - GrantaServerApiSchemaParametersParameterInterpolationType - ) + self._interpolation_type: GrantaServerApiSchemaParametersParameterInterpolationType self._scale_type: GrantaServerApiSchemaParametersParameterScaleType self.type = type @@ -208,9 +219,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaParametersCreateNumericParameter. Parameters @@ -224,9 +233,7 @@ def unit( self._unit = unit @property - def values( - self, - ) -> "List[GrantaServerApiSchemaParametersCreateNumericParameterValue]": + def values(self) -> "List[GrantaServerApiSchemaParametersCreateNumericParameterValue]": """Gets the values of this GrantaServerApiSchemaParametersCreateNumericParameter. Returns @@ -256,9 +263,7 @@ def values( self._values = values @property - def interpolation_type( - self, - ) -> "GrantaServerApiSchemaParametersParameterInterpolationType": + def interpolation_type(self) -> "GrantaServerApiSchemaParametersParameterInterpolationType": """Gets the interpolation_type of this GrantaServerApiSchemaParametersCreateNumericParameter. Returns @@ -270,8 +275,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "GrantaServerApiSchemaParametersParameterInterpolationType", + self, interpolation_type: "GrantaServerApiSchemaParametersParameterInterpolationType" ) -> None: """Sets the interpolation_type of this GrantaServerApiSchemaParametersCreateNumericParameter. @@ -282,14 +286,10 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") # Field is required if interpolation_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'Unset'") self._interpolation_type = interpolation_type @property @@ -304,9 +304,7 @@ def scale_type(self) -> "GrantaServerApiSchemaParametersParameterScaleType": return self._scale_type @scale_type.setter - def scale_type( - self, scale_type: "GrantaServerApiSchemaParametersParameterScaleType" - ) -> None: + def scale_type(self, scale_type: "GrantaServerApiSchemaParametersParameterScaleType") -> None: """Sets the scale_type of this GrantaServerApiSchemaParametersCreateNumericParameter. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter_value.py index 973dcf29..08d84c63 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_numeric_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_create_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersCreateParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -196,9 +211,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersCreateNumericParameterValue - ): + if not isinstance(other, GrantaServerApiSchemaParametersCreateNumericParameterValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter.py index e7e6593f..63a039a3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -134,9 +148,7 @@ def default_parameter_value_index(self) -> "int": return self._default_parameter_value_index @default_parameter_value_index.setter - def default_parameter_value_index( - self, default_parameter_value_index: "int" - ) -> None: + def default_parameter_value_index(self, default_parameter_value_index: "int") -> None: """Sets the default_parameter_value_index of this GrantaServerApiSchemaParametersCreateParameter. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter_value.py index ce9d71eb..ecf89f9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_create_parameter_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter.py index 07d41f4a..906a7d28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaParametersDiscreteParameter( - GrantaServerApiSchemaParametersParameter -): +class GrantaServerApiSchemaParametersDiscreteParameter(GrantaServerApiSchemaParametersParameter): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -153,9 +166,7 @@ def values(self) -> "List[GrantaServerApiSchemaParametersDiscreteParameterValue] return self._values @values.setter - def values( - self, values: "List[GrantaServerApiSchemaParametersDiscreteParameterValue]" - ) -> None: + def values(self, values: "List[GrantaServerApiSchemaParametersDiscreteParameterValue]") -> None: """Sets the values of this GrantaServerApiSchemaParametersDiscreteParameter. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_content.py index 176024b9..cc03653e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_content.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_content import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_content import ( # noqa: F401 GrantaServerApiSchemaParametersParameterContent, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -144,8 +159,7 @@ def parameter_value( @parameter_value.setter def parameter_value( - self, - parameter_value: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, parameter_value: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the parameter_value of this GrantaServerApiSchemaParametersDiscreteParameterContent. @@ -211,9 +225,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersDiscreteParameterContent - ): + if not isinstance(other, GrantaServerApiSchemaParametersDiscreteParameterContent): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_value.py index 9507647a..04a01b36 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_range.py index 1d33b7d3..f6b8eb2d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_discrete_range.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -76,9 +90,7 @@ def __init__( self.parameter_values = parameter_values @property - def parameter_values( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def parameter_values(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the parameter_values of this GrantaServerApiSchemaParametersDiscreteRange. Returns @@ -104,9 +116,7 @@ def parameter_values( raise ValueError("Invalid value for 'parameter_values', must not be 'None'") # Field is required if parameter_values is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'parameter_values', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'parameter_values', must not be 'Unset'") self._parameter_values = parameter_values @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter.py index 2b348eee..43b766b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaParametersNumericParameter( - GrantaServerApiSchemaParametersParameter -): +class GrantaServerApiSchemaParametersNumericParameter(GrantaServerApiSchemaParametersParameter): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -130,9 +143,7 @@ def __init__( self._is_restricted: bool self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset self._values: List[GrantaServerApiSchemaParametersNumericParameterValue] - self._interpolation_type: ( - GrantaServerApiSchemaParametersParameterInterpolationType - ) + self._interpolation_type: GrantaServerApiSchemaParametersParameterInterpolationType self._scale_type: GrantaServerApiSchemaParametersParameterScaleType self.type = type @@ -211,9 +222,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaParametersNumericParameter. Parameters @@ -238,9 +247,7 @@ def values(self) -> "List[GrantaServerApiSchemaParametersNumericParameterValue]" return self._values @values.setter - def values( - self, values: "List[GrantaServerApiSchemaParametersNumericParameterValue]" - ) -> None: + def values(self, values: "List[GrantaServerApiSchemaParametersNumericParameterValue]") -> None: """Sets the values of this GrantaServerApiSchemaParametersNumericParameter. Parameters @@ -257,9 +264,7 @@ def values( self._values = values @property - def interpolation_type( - self, - ) -> "GrantaServerApiSchemaParametersParameterInterpolationType": + def interpolation_type(self) -> "GrantaServerApiSchemaParametersParameterInterpolationType": """Gets the interpolation_type of this GrantaServerApiSchemaParametersNumericParameter. Returns @@ -271,8 +276,7 @@ def interpolation_type( @interpolation_type.setter def interpolation_type( - self, - interpolation_type: "GrantaServerApiSchemaParametersParameterInterpolationType", + self, interpolation_type: "GrantaServerApiSchemaParametersParameterInterpolationType" ) -> None: """Sets the interpolation_type of this GrantaServerApiSchemaParametersNumericParameter. @@ -283,14 +287,10 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") # Field is required if interpolation_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'Unset'") self._interpolation_type = interpolation_type @property @@ -305,9 +305,7 @@ def scale_type(self) -> "GrantaServerApiSchemaParametersParameterScaleType": return self._scale_type @scale_type.setter - def scale_type( - self, scale_type: "GrantaServerApiSchemaParametersParameterScaleType" - ) -> None: + def scale_type(self, scale_type: "GrantaServerApiSchemaParametersParameterScaleType") -> None: """Sets the scale_type of this GrantaServerApiSchemaParametersNumericParameter. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_content.py index 32f5e9f3..2d06e07c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_content.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_content import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_content import ( # noqa: F401 GrantaServerApiSchemaParametersParameterContent, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -200,9 +215,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersNumericParameterContent - ): + if not isinstance(other, GrantaServerApiSchemaParametersNumericParameterContent): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_value.py index d6aa15ef..9e1e5d47 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_numeric_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter.py index 392019bb..d60074a7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -149,9 +163,7 @@ def default_parameter_value_guid(self, default_parameter_value_guid: "str") -> N """ # Field is not nullable if default_parameter_value_guid is None: - raise ValueError( - "Invalid value for 'default_parameter_value_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_parameter_value_guid', must not be 'None'") # Field is required if default_parameter_value_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] raise ValueError( diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_content.py index a28317ba..ecd58a9c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_content.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +108,7 @@ def parameter(self) -> "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity": return self._parameter @parameter.setter - def parameter( - self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity" - ) -> None: + def parameter(self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimNamedEntity") -> None: """Sets the parameter of this GrantaServerApiSchemaParametersParameterContent. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_interpolation_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_interpolation_type.py index e6af293d..6ee22354 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_interpolation_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_interpolation_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_scale_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_scale_type.py index 9bbbe4e0..27ada241 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_scale_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_scale_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_type.py index 2ef8a57c..4a6321ee 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value.py index 9300ce30..6c4407e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value_type.py index b50a1b98..8ff8b49d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameter_value_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameters_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameters_info.py index ff9ef1e0..1d2d66a8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameters_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_parameters_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -93,8 +107,7 @@ def parameters( @parameters.setter def parameters( - self, - parameters: "Union[List[GrantaServerApiSchemaParametersParameter], None, Unset_Type]", + self, parameters: "Union[List[GrantaServerApiSchemaParametersParameter], None, Unset_Type]" ) -> None: """Sets the parameters of this GrantaServerApiSchemaParametersParametersInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_continuous_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_continuous_range.py index 472d034c..c1e82d56 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_continuous_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_continuous_range.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter.py index 0c8869cb..d0f94832 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -150,9 +165,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersUpdateDiscreteParameter - ): + if not isinstance(other, GrantaServerApiSchemaParametersUpdateDiscreteParameter): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_content.py index 11e6cd5e..d8fd9f47 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_content.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_content import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_content import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameterContent, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -91,9 +106,9 @@ def __init__( """ super().__init__(parameter=parameter) self._type: str - self._parameter_value: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._parameter_value: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self._parameter_range: Union[ GrantaServerApiSchemaParametersUpdateDiscreteRange, Unset_Type ] = Unset @@ -133,9 +148,7 @@ def type(self, type: "str") -> None: self._type = type @property - def parameter_value( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def parameter_value(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the parameter_value of this GrantaServerApiSchemaParametersUpdateDiscreteParameterContent. Returns @@ -147,8 +160,7 @@ def parameter_value( @parameter_value.setter def parameter_value( - self, - parameter_value: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, parameter_value: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the parameter_value of this GrantaServerApiSchemaParametersUpdateDiscreteParameterContent. @@ -214,9 +226,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersUpdateDiscreteParameterContent - ): + if not isinstance(other, GrantaServerApiSchemaParametersUpdateDiscreteParameterContent): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_value.py index f45eb18f..c2d5585e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -165,9 +180,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersUpdateDiscreteParameterValue - ): + if not isinstance(other, GrantaServerApiSchemaParametersUpdateDiscreteParameterValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_range.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_range.py index 5c30ae0b..ffb7c552 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_range.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_discrete_range.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -102,9 +116,7 @@ def parameter_values( raise ValueError("Invalid value for 'parameter_values', must not be 'None'") # Field is required if parameter_values is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'parameter_values', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'parameter_values', must not be 'Unset'") self._parameter_values = parameter_values @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter.py index babae3b3..fe2a07b4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameter, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -113,15 +128,13 @@ def __init__( name=name, ) self._type: str - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self._interpolation_type: Union[ GrantaServerApiSchemaParametersParameterInterpolationType, Unset_Type ] = Unset - self._scale_type: Union[ - GrantaServerApiSchemaParametersParameterScaleType, Unset_Type - ] = Unset + self._scale_type: Union[GrantaServerApiSchemaParametersParameterScaleType, Unset_Type] = ( + Unset + ) self.type = type if unit is not Unset: @@ -171,9 +184,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaParametersUpdateNumericParameter. Parameters @@ -213,15 +224,11 @@ def interpolation_type( """ # Field is not nullable if interpolation_type is None: - raise ValueError( - "Invalid value for 'interpolation_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'interpolation_type', must not be 'None'") self._interpolation_type = interpolation_type @property - def scale_type( - self, - ) -> "Union[GrantaServerApiSchemaParametersParameterScaleType, Unset_Type]": + def scale_type(self) -> "Union[GrantaServerApiSchemaParametersParameterScaleType, Unset_Type]": """Gets the scale_type of this GrantaServerApiSchemaParametersUpdateNumericParameter. Returns @@ -233,8 +240,7 @@ def scale_type( @scale_type.setter def scale_type( - self, - scale_type: "Union[GrantaServerApiSchemaParametersParameterScaleType, Unset_Type]", + self, scale_type: "Union[GrantaServerApiSchemaParametersParameterScaleType, Unset_Type]" ) -> None: """Sets the scale_type of this GrantaServerApiSchemaParametersUpdateNumericParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_content.py index ecc0a6a1..8a6b95ff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_content.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_content import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_content import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameterContent, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -203,9 +218,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersUpdateNumericParameterContent - ): + if not isinstance(other, GrantaServerApiSchemaParametersUpdateNumericParameterContent): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_value.py index b2df66e8..e2ead7b2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_numeric_parameter_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_parameters_update_parameter_value import ( # noqa: F401 GrantaServerApiSchemaParametersUpdateParameterValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -194,9 +209,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaParametersUpdateNumericParameterValue - ): + if not isinstance(other, GrantaServerApiSchemaParametersUpdateNumericParameterValue): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter.py index b3772770..aee6be09 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -148,9 +162,7 @@ def default_parameter_value_guid( """ # Field is not nullable if default_parameter_value_guid is None: - raise ValueError( - "Invalid value for 'default_parameter_value_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_parameter_value_guid', must not be 'None'") self._default_parameter_value_guid = default_parameter_value_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_content.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_content.py index 82231069..b85f6011 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_content.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_content.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +108,7 @@ def parameter(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._parameter @parameter.setter - def parameter( - self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def parameter(self, parameter: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the parameter of this GrantaServerApiSchemaParametersUpdateParameterContent. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_value.py index 2a1f20ba..e0ce3368 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_parameters_update_parameter_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_create_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_create_profile_table.py index 869f84b3..c163ca1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_create_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_create_profile_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_table.py index 4a0ea898..f69acc81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -162,9 +176,7 @@ def subset_fallback_hint(self) -> "Union[str, None, Unset_Type]": return self._subset_fallback_hint @subset_fallback_hint.setter - def subset_fallback_hint( - self, subset_fallback_hint: "Union[str, None, Unset_Type]" - ) -> None: + def subset_fallback_hint(self, subset_fallback_hint: "Union[str, None, Unset_Type]") -> None: """Sets the subset_fallback_hint of this GrantaServerApiSchemaProfileTablesProfileTable. Parameters @@ -208,9 +220,7 @@ def layout_fallback_hint(self) -> "Union[str, None, Unset_Type]": return self._layout_fallback_hint @layout_fallback_hint.setter - def layout_fallback_hint( - self, layout_fallback_hint: "Union[str, None, Unset_Type]" - ) -> None: + def layout_fallback_hint(self, layout_fallback_hint: "Union[str, None, Unset_Type]") -> None: """Sets the layout_fallback_hint of this GrantaServerApiSchemaProfileTablesProfileTable. Parameters @@ -334,9 +344,7 @@ def table_fallback_hint(self) -> "Union[str, None, Unset_Type]": return self._table_fallback_hint @table_fallback_hint.setter - def table_fallback_hint( - self, table_fallback_hint: "Union[str, None, Unset_Type]" - ) -> None: + def table_fallback_hint(self, table_fallback_hint: "Union[str, None, Unset_Type]") -> None: """Sets the table_fallback_hint of this GrantaServerApiSchemaProfileTablesProfileTable. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_tables_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_tables_info.py index 7eee2105..ce61e4bd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_tables_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_profile_tables_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_update_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_update_profile_table.py index 299223b5..33022a8a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_update_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profile_tables_update_profile_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_all_profiles_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_all_profiles_info.py index 5bb3fb0f..384d75ca 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_all_profiles_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_all_profiles_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -79,9 +93,9 @@ def __init__( self._profiles: Union[ List[GrantaServerApiSchemaSlimEntitiesSlimProfile], None, Unset_Type ] = Unset - self._default_profile: Union[ - GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type - ] = Unset + self._default_profile: Union[GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type] = ( + Unset + ) if profiles is not Unset: self.profiles = profiles @@ -116,9 +130,7 @@ def profiles( self._profiles = profiles @property - def default_profile( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type]": + def default_profile(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type]": """Gets the default_profile of this GrantaServerApiSchemaProfilesAllProfilesInfo. Returns @@ -130,8 +142,7 @@ def default_profile( @default_profile.setter def default_profile( - self, - default_profile: "Union[GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type]", + self, default_profile: "Union[GrantaServerApiSchemaSlimEntitiesSlimProfile, Unset_Type]" ) -> None: """Sets the default_profile of this GrantaServerApiSchemaProfilesAllProfilesInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_create_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_create_profile.py index c18320dd..310f5a28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_create_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_create_profile.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_profile.py index df589d3d..e7d294cf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_profile.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -166,9 +180,7 @@ def homepage_url(self, homepage_url: "Union[str, None, Unset_Type]") -> None: self._homepage_url = homepage_url @property - def profile_tables( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimProfileTable]": + def profile_tables(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimProfileTable]": """Gets the profile_tables of this GrantaServerApiSchemaProfilesProfile. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_all_profiles_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_all_profiles_info.py index 953e18b0..50b0f000 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_all_profiles_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_all_profiles_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -103,8 +117,7 @@ def profiles( @profiles.setter def profiles( - self, - profiles: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type]", + self, profiles: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type]" ) -> None: """Sets the profiles of this GrantaServerApiSchemaProfilesUpdateAllProfilesInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_default_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_default_profile.py index 5e1846a2..794c3fb6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_default_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_default_profile.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_profile.py index c3a9a3e0..7fdc73e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_profiles_update_profile.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_attribute_link_pair.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_attribute_link_pair.py index d1bea564..6852c45d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_attribute_link_pair.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_attribute_link_pair.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -103,8 +117,7 @@ def attribute_source( @attribute_source.setter def attribute_source( - self, - attribute_source: "Union[GrantaServerApiSchemaSlimEntitiesSlimAttribute, Unset_Type]", + self, attribute_source: "Union[GrantaServerApiSchemaSlimEntitiesSlimAttribute, Unset_Type]" ) -> None: """Sets the attribute_source of this GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair. @@ -133,8 +146,7 @@ def attribute_target( @attribute_target.setter def attribute_target( - self, - attribute_target: "Union[GrantaServerApiSchemaSlimEntitiesSlimAttribute, Unset_Type]", + self, attribute_target: "Union[GrantaServerApiSchemaSlimEntitiesSlimAttribute, Unset_Type]" ) -> None: """Sets the attribute_target of this GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair. @@ -170,9 +182,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_attribute_link_pair.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_attribute_link_pair.py index a56c7582..e3c871f7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_attribute_link_pair.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_attribute_link_pair.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -101,14 +115,10 @@ def attribute_source_guid(self, attribute_source_guid: "str") -> None: """ # Field is not nullable if attribute_source_guid is None: - raise ValueError( - "Invalid value for 'attribute_source_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_source_guid', must not be 'None'") # Field is required if attribute_source_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_source_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_source_guid', must not be 'Unset'") self._attribute_source_guid = attribute_source_guid @property @@ -133,14 +143,10 @@ def attribute_target_guid(self, attribute_target_guid: "str") -> None: """ # Field is not nullable if attribute_target_guid is None: - raise ValueError( - "Invalid value for 'attribute_target_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_target_guid', must not be 'None'") # Field is required if attribute_target_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_target_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_target_guid', must not be 'Unset'") self._attribute_target_guid = attribute_target_guid @classmethod @@ -165,9 +171,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_cross_database_record_link_group.py index c411d1c1..6a210f4f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_cross_database_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +109,7 @@ def __init__( include_indirect_links: bool, optional type: str """ - super().__init__( - link_target=link_target, name=name, reverse_name=reverse_name, guid=guid - ) + super().__init__(link_target=link_target, name=name, reverse_name=reverse_name, guid=guid) self._type: str self._include_indirect_links: Union[bool, Unset_Type] = Unset @@ -144,9 +157,7 @@ def include_indirect_links(self) -> "Union[bool, Unset_Type]": return self._include_indirect_links @include_indirect_links.setter - def include_indirect_links( - self, include_indirect_links: "Union[bool, Unset_Type]" - ) -> None: + def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type]") -> None: """Sets the include_indirect_links of this GrantaServerApiSchemaRecordLinkGroupsCreateCrossDatabaseRecordLinkGroup. Parameters @@ -156,9 +167,7 @@ def include_indirect_links( """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") self._include_indirect_links = include_indirect_links @classmethod @@ -184,8 +193,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaRecordLinkGroupsCreateCrossDatabaseRecordLinkGroup, + other, GrantaServerApiSchemaRecordLinkGroupsCreateCrossDatabaseRecordLinkGroup ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_dynamic_record_link_group.py index fb62f37a..51f0a260 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_dynamic_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -105,17 +120,13 @@ def __init__( referential_integrity_model: GrantaServerApiSchemaRecordLinkGroupsReferentialIntegrityModel, optional type: str """ - super().__init__( - link_target=link_target, name=name, reverse_name=reverse_name, guid=guid - ) + super().__init__(link_target=link_target, name=name, reverse_name=reverse_name, guid=guid) self._type: str self._forbid_orphans: Union[bool, Unset_Type] = Unset self._referential_integrity_model: Union[ GrantaServerApiSchemaRecordLinkGroupsReferentialIntegrityModel, Unset_Type ] = Unset - self._attribute_pairs: List[ - GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair - ] + self._attribute_pairs: List[GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair] self.type = type if forbid_orphans is not Unset: @@ -204,9 +215,7 @@ def referential_integrity_model( """ # Field is not nullable if referential_integrity_model is None: - raise ValueError( - "Invalid value for 'referential_integrity_model', must not be 'None'" - ) + raise ValueError("Invalid value for 'referential_integrity_model', must not be 'None'") self._referential_integrity_model = referential_integrity_model @property @@ -224,8 +233,7 @@ def attribute_pairs( @attribute_pairs.setter def attribute_pairs( - self, - attribute_pairs: "List[GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair]", + self, attribute_pairs: "List[GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair]" ) -> None: """Sets the attribute_pairs of this GrantaServerApiSchemaRecordLinkGroupsCreateDynamicRecordLinkGroup. @@ -264,9 +272,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsCreateDynamicRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsCreateDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_record_link_group.py index 4e49fd20..5ad5678b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_record_link_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -114,9 +128,7 @@ def link_target(self) -> "GrantaServerApiSchemaRecordLinkGroupsLinkTarget": return self._link_target @link_target.setter - def link_target( - self, link_target: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget" - ) -> None: + def link_target(self, link_target: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget") -> None: """Sets the link_target of this GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup. Parameters @@ -240,9 +252,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_static_record_link_group.py index 8c7e1833..0f7474a8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_create_static_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_create_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +109,7 @@ def __init__( include_indirect_links: bool, optional type: str """ - super().__init__( - link_target=link_target, name=name, reverse_name=reverse_name, guid=guid - ) + super().__init__(link_target=link_target, name=name, reverse_name=reverse_name, guid=guid) self._type: str self._include_indirect_links: Union[bool, Unset_Type] = Unset @@ -144,9 +157,7 @@ def include_indirect_links(self) -> "Union[bool, Unset_Type]": return self._include_indirect_links @include_indirect_links.setter - def include_indirect_links( - self, include_indirect_links: "Union[bool, Unset_Type]" - ) -> None: + def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type]") -> None: """Sets the include_indirect_links of this GrantaServerApiSchemaRecordLinkGroupsCreateStaticRecordLinkGroup. Parameters @@ -156,9 +167,7 @@ def include_indirect_links( """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") self._include_indirect_links = include_indirect_links @classmethod @@ -183,9 +192,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsCreateStaticRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsCreateStaticRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_cross_database_record_link_group.py index c678fef6..9df86de7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_cross_database_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -171,14 +186,10 @@ def include_indirect_links(self, include_indirect_links: "bool") -> None: """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") # Field is required if include_indirect_links is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'Unset'") self._include_indirect_links = include_indirect_links @classmethod @@ -203,9 +214,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsCrossDatabaseRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsCrossDatabaseRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_dynamic_record_link_group.py index 4511658c..967d776e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_dynamic_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -131,9 +146,7 @@ def __init__( self._referential_integrity_model: ( GrantaServerApiSchemaRecordLinkGroupsReferentialIntegrityModel ) - self._attribute_pairs: List[ - GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair - ] + self._attribute_pairs: List[GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair] self.type = type self.forbid_orphans = forbid_orphans @@ -223,20 +236,14 @@ def referential_integrity_model( """ # Field is not nullable if referential_integrity_model is None: - raise ValueError( - "Invalid value for 'referential_integrity_model', must not be 'None'" - ) + raise ValueError("Invalid value for 'referential_integrity_model', must not be 'None'") # Field is required if referential_integrity_model is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'referential_integrity_model', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'referential_integrity_model', must not be 'Unset'") self._referential_integrity_model = referential_integrity_model @property - def attribute_pairs( - self, - ) -> "List[GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair]": + def attribute_pairs(self) -> "List[GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair]": """Gets the attribute_pairs of this GrantaServerApiSchemaRecordLinkGroupsDynamicRecordLinkGroup. Returns @@ -248,8 +255,7 @@ def attribute_pairs( @attribute_pairs.setter def attribute_pairs( - self, - attribute_pairs: "List[GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair]", + self, attribute_pairs: "List[GrantaServerApiSchemaRecordLinkGroupsAttributeLinkPair]" ) -> None: """Sets the attribute_pairs of this GrantaServerApiSchemaRecordLinkGroupsDynamicRecordLinkGroup. @@ -288,9 +294,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsDynamicRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_info.py index 1d493455..bfe2b645 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -94,9 +108,7 @@ def link_source(self) -> "GrantaServerApiSchemaRecordLinkGroupsLinkTarget": return self._link_source @link_source.setter - def link_source( - self, link_source: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget" - ) -> None: + def link_source(self, link_source: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget") -> None: """Sets the link_source of this GrantaServerApiSchemaRecordLinkGroupsLinkInfo. Parameters @@ -124,9 +136,7 @@ def link_target(self) -> "GrantaServerApiSchemaRecordLinkGroupsLinkTarget": return self._link_target @link_target.setter - def link_target( - self, link_target: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget" - ) -> None: + def link_target(self, link_target: "GrantaServerApiSchemaRecordLinkGroupsLinkTarget") -> None: """Sets the link_target of this GrantaServerApiSchemaRecordLinkGroupsLinkInfo. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_target.py index 9bb855ea..cc5822a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_link_target.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +136,7 @@ def database_version_guid(self) -> "Union[str, None, Unset_Type]": return self._database_version_guid @database_version_guid.setter - def database_version_guid( - self, database_version_guid: "Union[str, None, Unset_Type]" - ) -> None: + def database_version_guid(self, database_version_guid: "Union[str, None, Unset_Type]") -> None: """Sets the database_version_guid of this GrantaServerApiSchemaRecordLinkGroupsLinkTarget. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group.py index 2deb372a..91ae84b8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -133,9 +147,7 @@ def link_info(self) -> "GrantaServerApiSchemaRecordLinkGroupsLinkInfo": return self._link_info @link_info.setter - def link_info( - self, link_info: "GrantaServerApiSchemaRecordLinkGroupsLinkInfo" - ) -> None: + def link_info(self, link_info: "GrantaServerApiSchemaRecordLinkGroupsLinkInfo") -> None: """Sets the link_info of this GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group_type.py index f536f03c..d35e87a7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_group_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_groups_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_groups_info.py index 5be91b05..12218d19 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_groups_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_record_link_groups_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -127,9 +141,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_referential_integrity_model.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_referential_integrity_model.py index 564f5c81..f03ae21f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_referential_integrity_model.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_referential_integrity_model.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_static_record_link_group.py index 6a634fae..1b13ed03 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_static_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -171,14 +186,10 @@ def include_indirect_links(self, include_indirect_links: "bool") -> None: """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") # Field is required if include_indirect_links is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'Unset'") self._include_indirect_links = include_indirect_links @classmethod @@ -203,9 +214,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsStaticRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsStaticRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_cross_database_record_link_group.py index a5d73225..0df23d10 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_cross_database_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -110,9 +125,7 @@ def include_indirect_links(self) -> "Union[bool, Unset_Type]": return self._include_indirect_links @include_indirect_links.setter - def include_indirect_links( - self, include_indirect_links: "Union[bool, Unset_Type]" - ) -> None: + def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type]") -> None: """Sets the include_indirect_links of this GrantaServerApiSchemaRecordLinkGroupsUpdateCrossDatabaseRecordLinkGroup. Parameters @@ -122,9 +135,7 @@ def include_indirect_links( """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") self._include_indirect_links = include_indirect_links @property @@ -178,8 +189,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaRecordLinkGroupsUpdateCrossDatabaseRecordLinkGroup, + other, GrantaServerApiSchemaRecordLinkGroupsUpdateCrossDatabaseRecordLinkGroup ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_dynamic_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_dynamic_record_link_group.py index c654c831..ea929a2e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_dynamic_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_dynamic_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -107,8 +122,7 @@ def __init__( GrantaServerApiSchemaRecordLinkGroupsReferentialIntegrityModel, Unset_Type ] = Unset self._attribute_pairs: Union[ - List[GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair], - Unset_Type, + List[GrantaServerApiSchemaRecordLinkGroupsCreateAttributeLinkPair], Unset_Type ] = Unset self._type: str @@ -172,9 +186,7 @@ def referential_integrity_model( """ # Field is not nullable if referential_integrity_model is None: - raise ValueError( - "Invalid value for 'referential_integrity_model', must not be 'None'" - ) + raise ValueError("Invalid value for 'referential_integrity_model', must not be 'None'") self._referential_integrity_model = referential_integrity_model @property @@ -257,9 +269,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsUpdateDynamicRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsUpdateDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_record_link_group.py index a2248ee4..619855a8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_record_link_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -198,9 +212,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_static_record_link_group.py index e9a64385..de0dbc3b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_record_link_groups_update_static_record_link_group.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_record_link_groups_update_record_link_group import ( # noqa: F401 GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -110,9 +125,7 @@ def include_indirect_links(self) -> "Union[bool, Unset_Type]": return self._include_indirect_links @include_indirect_links.setter - def include_indirect_links( - self, include_indirect_links: "Union[bool, Unset_Type]" - ) -> None: + def include_indirect_links(self, include_indirect_links: "Union[bool, Unset_Type]") -> None: """Sets the include_indirect_links of this GrantaServerApiSchemaRecordLinkGroupsUpdateStaticRecordLinkGroup. Parameters @@ -122,9 +135,7 @@ def include_indirect_links( """ # Field is not nullable if include_indirect_links is None: - raise ValueError( - "Invalid value for 'include_indirect_links', must not be 'None'" - ) + raise ValueError("Invalid value for 'include_indirect_links', must not be 'None'") self._include_indirect_links = include_indirect_links @property @@ -177,9 +188,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaRecordLinkGroupsUpdateStaticRecordLinkGroup - ): + if not isinstance(other, GrantaServerApiSchemaRecordLinkGroupsUpdateStaticRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_attribute.py index ba8bfc3c..41c4bb2b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_attribute.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -146,8 +160,7 @@ def about_attribute( @about_attribute.setter def about_attribute( - self, - about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]", + self, about_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity, Unset_Type]" ) -> None: """Sets the about_attribute of this GrantaServerApiSchemaSlimEntitiesSlimAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_configuration.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_configuration.py index fd3a8c8d..370d7160 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_configuration.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_configuration.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_constant.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_constant.py index b7447f49..4666caf4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_constant.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_constant.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_database.py index d1d28258..db1a8589 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_database.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -47,29 +61,29 @@ class GrantaServerApiSchemaSlimEntitiesSlimDatabase(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: Dict[str, str] = { - "guid": "str", "is_locked": "bool", "is_read_only": "bool", "key": "str", - "name": "str", "status": "GrantaServerApiDatabaseStatus", + "guid": "str", "index_in_sync": "bool", "index_out_of_date_duration": "str", "index_up_to_date": "bool", + "name": "str", "schema_version": "str", "version_guid": "str", } attribute_map: Dict[str, str] = { - "guid": "guid", "is_locked": "isLocked", "is_read_only": "isReadOnly", "key": "key", - "name": "name", "status": "status", + "guid": "guid", "index_in_sync": "indexInSync", "index_out_of_date_duration": "indexOutOfDateDuration", "index_up_to_date": "indexUpToDate", + "name": "name", "schema_version": "schemaVersion", "version_guid": "versionGuid", } @@ -83,15 +97,15 @@ class GrantaServerApiSchemaSlimEntitiesSlimDatabase(ModelBase): def __init__( self, *, - guid: "str", is_locked: "bool", is_read_only: "bool", key: "str", - name: "str", status: "GrantaServerApiDatabaseStatus", + guid: "Union[str, None, Unset_Type]" = Unset, index_in_sync: "Union[bool, None, Unset_Type]" = Unset, index_out_of_date_duration: "Union[str, None, Unset_Type]" = Unset, index_up_to_date: "Union[bool, None, Unset_Type]" = Unset, + name: "Union[str, None, Unset_Type]" = Unset, schema_version: "Union[str, None, Unset_Type]" = Unset, version_guid: "Union[str, None, Unset_Type]" = Unset, ) -> None: @@ -99,36 +113,40 @@ def __init__( Parameters ---------- - guid: str is_locked: bool is_read_only: bool key: str - name: str status: GrantaServerApiDatabaseStatus + guid: str, optional index_in_sync: bool, optional index_out_of_date_duration: str, optional index_up_to_date: bool, optional + name: str, optional schema_version: str, optional version_guid: str, optional """ self._key: str - self._version_guid: Union[str, None, Unset_Type] = Unset self._status: GrantaServerApiDatabaseStatus self._is_read_only: bool self._is_locked: bool + self._name: Union[str, None, Unset_Type] = Unset + self._guid: Union[str, None, Unset_Type] = Unset + self._version_guid: Union[str, None, Unset_Type] = Unset self._index_in_sync: Union[bool, None, Unset_Type] = Unset self._index_up_to_date: Union[bool, None, Unset_Type] = Unset self._index_out_of_date_duration: Union[str, None, Unset_Type] = Unset self._schema_version: Union[str, None, Unset_Type] = Unset - self._name: str - self._guid: str self.key = key - if version_guid is not Unset: - self.version_guid = version_guid self.status = status self.is_read_only = is_read_only self.is_locked = is_locked + if name is not Unset: + self.name = name + if guid is not Unset: + self.guid = guid + if version_guid is not Unset: + self.version_guid = version_guid if index_in_sync is not Unset: self.index_in_sync = index_in_sync if index_up_to_date is not Unset: @@ -137,8 +155,6 @@ def __init__( self.index_out_of_date_duration = index_out_of_date_duration if schema_version is not Unset: self.schema_version = schema_version - self.name = name - self.guid = guid @property def key(self) -> "str": @@ -168,28 +184,6 @@ def key(self, key: "str") -> None: raise ValueError("Invalid value for 'key', must not be 'Unset'") self._key = key - @property - def version_guid(self) -> "Union[str, None, Unset_Type]": - """Gets the version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Returns - ------- - Union[str, None, Unset_Type] - The version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - return self._version_guid - - @version_guid.setter - def version_guid(self, version_guid: "Union[str, None, Unset_Type]") -> None: - """Sets the version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Parameters - ---------- - version_guid: Union[str, None, Unset_Type] - The version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - self._version_guid = version_guid - @property def status(self) -> "GrantaServerApiDatabaseStatus": """Gets the status of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. @@ -274,6 +268,72 @@ def is_locked(self, is_locked: "bool") -> None: raise ValueError("Invalid value for 'is_locked', must not be 'Unset'") self._is_locked = is_locked + @property + def name(self) -> "Union[str, None, Unset_Type]": + """Gets the name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + return self._name + + @name.setter + def name(self, name: "Union[str, None, Unset_Type]") -> None: + """Sets the name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Parameters + ---------- + name: Union[str, None, Unset_Type] + The name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + self._name = name + + @property + def guid(self) -> "Union[str, None, Unset_Type]": + """Gets the guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + return self._guid + + @guid.setter + def guid(self, guid: "Union[str, None, Unset_Type]") -> None: + """Sets the guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Parameters + ---------- + guid: Union[str, None, Unset_Type] + The guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + self._guid = guid + + @property + def version_guid(self) -> "Union[str, None, Unset_Type]": + """Gets the version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Returns + ------- + Union[str, None, Unset_Type] + The version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + return self._version_guid + + @version_guid.setter + def version_guid(self, version_guid: "Union[str, None, Unset_Type]") -> None: + """Sets the version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + + Parameters + ---------- + version_guid: Union[str, None, Unset_Type] + The version_guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. + """ + self._version_guid = version_guid + @property def index_in_sync(self) -> "Union[bool, None, Unset_Type]": """Gets the index_in_sync of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. @@ -308,9 +368,7 @@ def index_up_to_date(self) -> "Union[bool, None, Unset_Type]": return self._index_up_to_date @index_up_to_date.setter - def index_up_to_date( - self, index_up_to_date: "Union[bool, None, Unset_Type]" - ) -> None: + def index_up_to_date(self, index_up_to_date: "Union[bool, None, Unset_Type]") -> None: """Sets the index_up_to_date of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. Parameters @@ -366,62 +424,6 @@ def schema_version(self, schema_version: "Union[str, None, Unset_Type]") -> None """ self._schema_version = schema_version - @property - def name(self) -> "str": - """Gets the name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Returns - ------- - str - The name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Parameters - ---------- - name: str - The name of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - # Field is not nullable - if name is None: - raise ValueError("Invalid value for 'name', must not be 'None'") - # Field is required - if name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'name', must not be 'Unset'") - self._name = name - - @property - def guid(self) -> "str": - """Gets the guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Returns - ------- - str - The guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str") -> None: - """Sets the guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - - Parameters - ---------- - guid: str - The guid of this GrantaServerApiSchemaSlimEntitiesSlimDatabase. - """ - # Field is not nullable - if guid is None: - raise ValueError("Invalid value for 'guid', must not be 'None'") - # Field is required - if guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'guid', must not be 'Unset'") - self._guid = guid - @classmethod def get_real_child_model(cls, data: Dict[str, str]) -> str: """Raises a NotImplementedError for a type without a discriminator defined. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_entity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_entity.py index c1c48158..ec8e7ddc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_entity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_entity.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_expression.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_expression.py index 3600d2dd..ea5f7f8c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_expression.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_expression.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_file.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_file.py index 85841bbc..07f81957 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_file.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_file.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout.py index 89e35180..e558b63a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout_section.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout_section.py index 393a3cd3..09132de3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout_section.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_layout_section.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_section import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_layouts_layout_section import ( # noqa: F401 GrantaServerApiSchemaLayoutsLayoutSection, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaSlimEntitiesSlimLayoutSection( - GrantaServerApiSchemaLayoutsLayoutSection -): +class GrantaServerApiSchemaSlimEntitiesSlimLayoutSection(GrantaServerApiSchemaLayoutsLayoutSection): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -113,14 +126,10 @@ def section_detail_type(self, section_detail_type: "str") -> None: """ # Field is not nullable if section_detail_type is None: - raise ValueError( - "Invalid value for 'section_detail_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'section_detail_type', must not be 'None'") # Field is required if section_detail_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'section_detail_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'section_detail_type', must not be 'Unset'") self._section_detail_type = section_detail_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_named_entity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_named_entity.py index 3d3faa0d..3f053e51 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_named_entity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_named_entity.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_objects.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_objects.py index 6a223fa5..0d795941 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_objects.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_objects.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile.py index 96b7944a..6325a463 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile_table.py index 8b12add5..a2642a85 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_profile_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -214,9 +228,7 @@ def table_fallback_hint(self) -> "Union[str, None, Unset_Type]": return self._table_fallback_hint @table_fallback_hint.setter - def table_fallback_hint( - self, table_fallback_hint: "Union[str, None, Unset_Type]" - ) -> None: + def table_fallback_hint(self, table_fallback_hint: "Union[str, None, Unset_Type]") -> None: """Sets the table_fallback_hint of this GrantaServerApiSchemaSlimEntitiesSlimProfileTable. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_record_link_group.py index 30a9a041..081a3274 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_record_link_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -147,9 +161,7 @@ def type(self) -> "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupType": return self._type @type.setter - def type( - self, type: "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupType" - ) -> None: + def type(self, type: "GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupType") -> None: """Sets the type of this GrantaServerApiSchemaSlimEntitiesSlimRecordLinkGroup. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_subset.py index c0c3f362..b301e516 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_table.py index 2f9e87a0..453a6c4e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -131,14 +145,10 @@ def is_hidden_from_browse(self, is_hidden_from_browse: "bool") -> None: """ # Field is not nullable if is_hidden_from_browse is None: - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'None'") # Field is required if is_hidden_from_browse is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'Unset'") self._is_hidden_from_browse = is_hidden_from_browse @property @@ -163,14 +173,10 @@ def is_hidden_from_search(self, is_hidden_from_search: "bool") -> None: """ # Field is not nullable if is_hidden_from_search is None: - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'None'") # Field is required if is_hidden_from_search is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'Unset'") self._is_hidden_from_search = is_hidden_from_search @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit.py index 591cadb4..445eeb06 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit_system.py index 332ca980..5ae0897f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_slim_entities_slim_unit_system.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_create_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_create_standard_name.py index cbe38eb8..53da04c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_create_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_create_standard_name.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -116,9 +130,7 @@ def __init__( if mapped_record_link_groups is not Unset: self.mapped_record_link_groups = mapped_record_link_groups if mapped_cross_database_record_link_groups is not Unset: - self.mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self.mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups self.name = name if guid is not Unset: self.guid = guid @@ -229,9 +241,7 @@ def mapped_cross_database_record_link_groups( mapped_cross_database_record_link_groups: Union[List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GrantaServerApiSchemaStandardNamesCreateStandardName. """ - self._mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self._mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups @property def name(self) -> "str": diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_name.py index 6bef27a7..64669dc0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_name.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +110,7 @@ def __init__( """ self._mapped_attributes: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self._mapped_parameters: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] - self._mapped_record_link_groups: List[ - GrantaServerApiSchemaSlimEntitiesSlimNamedEntity - ] + self._mapped_record_link_groups: List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity] self._mapped_cross_database_record_link_groups: List[ GrantaServerApiSchemaSlimEntitiesSlimNamedEntity ] @@ -108,16 +120,12 @@ def __init__( self.mapped_attributes = mapped_attributes self.mapped_parameters = mapped_parameters self.mapped_record_link_groups = mapped_record_link_groups - self.mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self.mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups self.name = name self.guid = guid @property - def mapped_attributes( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def mapped_attributes(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the mapped_attributes of this GrantaServerApiSchemaStandardNamesStandardName. Returns @@ -129,8 +137,7 @@ def mapped_attributes( @mapped_attributes.setter def mapped_attributes( - self, - mapped_attributes: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, mapped_attributes: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the mapped_attributes of this GrantaServerApiSchemaStandardNamesStandardName. @@ -141,20 +148,14 @@ def mapped_attributes( """ # Field is not nullable if mapped_attributes is None: - raise ValueError( - "Invalid value for 'mapped_attributes', must not be 'None'" - ) + raise ValueError("Invalid value for 'mapped_attributes', must not be 'None'") # Field is required if mapped_attributes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'mapped_attributes', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'mapped_attributes', must not be 'Unset'") self._mapped_attributes = mapped_attributes @property - def mapped_parameters( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def mapped_parameters(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the mapped_parameters of this GrantaServerApiSchemaStandardNamesStandardName. Returns @@ -166,8 +167,7 @@ def mapped_parameters( @mapped_parameters.setter def mapped_parameters( - self, - mapped_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, mapped_parameters: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the mapped_parameters of this GrantaServerApiSchemaStandardNamesStandardName. @@ -178,20 +178,14 @@ def mapped_parameters( """ # Field is not nullable if mapped_parameters is None: - raise ValueError( - "Invalid value for 'mapped_parameters', must not be 'None'" - ) + raise ValueError("Invalid value for 'mapped_parameters', must not be 'None'") # Field is required if mapped_parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'mapped_parameters', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'mapped_parameters', must not be 'Unset'") self._mapped_parameters = mapped_parameters @property - def mapped_record_link_groups( - self, - ) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": + def mapped_record_link_groups(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]": """Gets the mapped_record_link_groups of this GrantaServerApiSchemaStandardNamesStandardName. Returns @@ -203,8 +197,7 @@ def mapped_record_link_groups( @mapped_record_link_groups.setter def mapped_record_link_groups( - self, - mapped_record_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]", + self, mapped_record_link_groups: "List[GrantaServerApiSchemaSlimEntitiesSlimNamedEntity]" ) -> None: """Sets the mapped_record_link_groups of this GrantaServerApiSchemaStandardNamesStandardName. @@ -215,14 +208,10 @@ def mapped_record_link_groups( """ # Field is not nullable if mapped_record_link_groups is None: - raise ValueError( - "Invalid value for 'mapped_record_link_groups', must not be 'None'" - ) + raise ValueError("Invalid value for 'mapped_record_link_groups', must not be 'None'") # Field is required if mapped_record_link_groups is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'mapped_record_link_groups', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'mapped_record_link_groups', must not be 'Unset'") self._mapped_record_link_groups = mapped_record_link_groups @property @@ -260,9 +249,7 @@ def mapped_cross_database_record_link_groups( raise ValueError( "Invalid value for 'mapped_cross_database_record_link_groups', must not be 'Unset'" ) - self._mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self._mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups @property def name(self) -> "str": diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_names_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_names_info.py index 052a7bb9..a4ef685e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_names_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_standard_names_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( @property def standard_names( self, - ) -> ( - "Union[List[GrantaServerApiSchemaStandardNamesStandardName], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaStandardNamesStandardName], None, Unset_Type]": """Gets the standard_names of this GrantaServerApiSchemaStandardNamesStandardNamesInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_update_standard_name.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_update_standard_name.py index c0f7c3af..10dd430d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_update_standard_name.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_standard_names_update_standard_name.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -116,9 +130,7 @@ def __init__( if mapped_record_link_groups is not Unset: self.mapped_record_link_groups = mapped_record_link_groups if mapped_cross_database_record_link_groups is not Unset: - self.mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self.mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups if name is not Unset: self.name = name if guid is not Unset: @@ -230,9 +242,7 @@ def mapped_cross_database_record_link_groups( mapped_cross_database_record_link_groups: Union[List[GrantaServerApiSchemaSlimEntitiesSlimEntity], None, Unset_Type] The mapped_cross_database_record_link_groups of this GrantaServerApiSchemaStandardNamesUpdateStandardName. """ - self._mapped_cross_database_record_link_groups = ( - mapped_cross_database_record_link_groups - ) + self._mapped_cross_database_record_link_groups = mapped_cross_database_record_link_groups @property def name(self) -> "Union[str, Unset_Type]": diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_add_record_history_to_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_add_record_history_to_subset.py index 9af10497..1f1a2297 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_add_record_history_to_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_add_record_history_to_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -102,14 +116,10 @@ def record_history_guid(self, record_history_guid: "str") -> None: """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") # Field is required if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'") self._record_history_guid = record_history_guid @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_create_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_create_subset.py index 5025291a..ca28dd42 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_create_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_create_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -79,9 +93,9 @@ def __init__( associated_layout: GrantaServerApiSchemaSlimEntitiesSlimEntity, optional guid: str, optional """ - self._associated_layout: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._associated_layout: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self._name: str self._guid: Union[str, Unset_Type] = Unset @@ -92,9 +106,7 @@ def __init__( self.guid = guid @property - def associated_layout( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def associated_layout(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the associated_layout of this GrantaServerApiSchemaSubsetsCreateSubset. Returns @@ -106,8 +118,7 @@ def associated_layout( @associated_layout.setter def associated_layout( - self, - associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the associated_layout of this GrantaServerApiSchemaSubsetsCreateSubset. @@ -118,9 +129,7 @@ def associated_layout( """ # Field is not nullable if associated_layout is None: - raise ValueError( - "Invalid value for 'associated_layout', must not be 'None'" - ) + raise ValueError("Invalid value for 'associated_layout', must not be 'None'") self._associated_layout = associated_layout @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_remove_record_history_from_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_remove_record_history_from_subset.py index 2f3fb74e..e051a1e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_remove_record_history_from_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_remove_record_history_from_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -95,14 +109,10 @@ def record_history_guid(self, record_history_guid: "str") -> None: """ # Field is not nullable if record_history_guid is None: - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'None'") # Field is required if record_history_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'record_history_guid', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'record_history_guid', must not be 'Unset'") self._record_history_guid = record_history_guid @classmethod @@ -127,9 +137,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset - ): + if not isinstance(other, GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subset.py index 51372d18..08dacc9d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -83,9 +97,9 @@ def __init__( name: str associated_layout: GrantaServerApiSchemaSlimEntitiesSlimLayout, optional """ - self._associated_layout: Union[ - GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type - ] = Unset + self._associated_layout: Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type] = ( + Unset + ) self._display_names: Dict[str, str] self._name: str self._guid: str @@ -97,9 +111,7 @@ def __init__( self.guid = guid @property - def associated_layout( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]": + def associated_layout(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]": """Gets the associated_layout of this GrantaServerApiSchemaSubsetsSubset. Returns @@ -111,8 +123,7 @@ def associated_layout( @associated_layout.setter def associated_layout( - self, - associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]", + self, associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]" ) -> None: """Sets the associated_layout of this GrantaServerApiSchemaSubsetsSubset. @@ -123,9 +134,7 @@ def associated_layout( """ # Field is not nullable if associated_layout is None: - raise ValueError( - "Invalid value for 'associated_layout', must not be 'None'" - ) + raise ValueError("Invalid value for 'associated_layout', must not be 'None'") self._associated_layout = associated_layout @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subsets_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subsets_info.py index b129dc75..2b204c3b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subsets_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_subsets_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -93,8 +107,7 @@ def subsets( @subsets.setter def subsets( - self, - subsets: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimSubset], None, Unset_Type]", + self, subsets: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimSubset], None, Unset_Type]" ) -> None: """Sets the subsets of this GrantaServerApiSchemaSubsetsSubsetsInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_update_subset.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_update_subset.py index aed56d06..041f995e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_update_subset.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_subsets_update_subset.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -79,9 +93,9 @@ def __init__( guid: str, optional name: str, optional """ - self._associated_layout: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._associated_layout: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self._name: Union[str, Unset_Type] = Unset self._guid: Union[str, Unset_Type] = Unset @@ -93,9 +107,7 @@ def __init__( self.guid = guid @property - def associated_layout( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def associated_layout(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the associated_layout of this GrantaServerApiSchemaSubsetsUpdateSubset. Returns @@ -107,8 +119,7 @@ def associated_layout( @associated_layout.setter def associated_layout( - self, - associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, associated_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the associated_layout of this GrantaServerApiSchemaSubsetsUpdateSubset. @@ -119,9 +130,7 @@ def associated_layout( """ # Field is not nullable if associated_layout is None: - raise ValueError( - "Invalid value for 'associated_layout', must not be 'None'" - ) + raise ValueError("Invalid value for 'associated_layout', must not be 'None'") self._associated_layout = associated_layout @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_create_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_create_table.py index 042575f0..0ba6a7ae 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_create_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_create_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -106,9 +120,7 @@ def is_hidden_from_browse(self) -> "Union[bool, Unset_Type]": return self._is_hidden_from_browse @is_hidden_from_browse.setter - def is_hidden_from_browse( - self, is_hidden_from_browse: "Union[bool, Unset_Type]" - ) -> None: + def is_hidden_from_browse(self, is_hidden_from_browse: "Union[bool, Unset_Type]") -> None: """Sets the is_hidden_from_browse of this GrantaServerApiSchemaTablesCreateTable. Parameters @@ -118,9 +130,7 @@ def is_hidden_from_browse( """ # Field is not nullable if is_hidden_from_browse is None: - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'None'") self._is_hidden_from_browse = is_hidden_from_browse @property @@ -135,9 +145,7 @@ def is_hidden_from_search(self) -> "Union[bool, Unset_Type]": return self._is_hidden_from_search @is_hidden_from_search.setter - def is_hidden_from_search( - self, is_hidden_from_search: "Union[bool, Unset_Type]" - ) -> None: + def is_hidden_from_search(self, is_hidden_from_search: "Union[bool, Unset_Type]") -> None: """Sets the is_hidden_from_search of this GrantaServerApiSchemaTablesCreateTable. Parameters @@ -147,9 +155,7 @@ def is_hidden_from_search( """ # Field is not nullable if is_hidden_from_search is None: - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'None'") self._is_hidden_from_search = is_hidden_from_search @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_table.py index 3214ef4e..690cdb65 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -119,13 +133,9 @@ def __init__( default_layout: GrantaServerApiSchemaSlimEntitiesSlimLayout, optional default_subset: GrantaServerApiSchemaSlimEntitiesSlimSubset, optional """ - self._default_subset: Union[ - GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type - ] = Unset + self._default_subset: Union[GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type] = Unset self._subsets: List[GrantaServerApiSchemaSlimEntitiesSlimSubset] - self._default_layout: Union[ - GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type - ] = Unset + self._default_layout: Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type] = Unset self._layouts: List[GrantaServerApiSchemaSlimEntitiesSlimLayout] self._version_state: GrantaServerApiVersionState self._is_hidden_from_browse: bool @@ -152,9 +162,7 @@ def __init__( self.guid = guid @property - def default_subset( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type]": + def default_subset(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type]": """Gets the default_subset of this GrantaServerApiSchemaTablesTable. Returns @@ -166,8 +174,7 @@ def default_subset( @default_subset.setter def default_subset( - self, - default_subset: "Union[GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type]", + self, default_subset: "Union[GrantaServerApiSchemaSlimEntitiesSlimSubset, Unset_Type]" ) -> None: """Sets the default_subset of this GrantaServerApiSchemaTablesTable. @@ -193,9 +200,7 @@ def subsets(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]": return self._subsets @subsets.setter - def subsets( - self, subsets: "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]" - ) -> None: + def subsets(self, subsets: "List[GrantaServerApiSchemaSlimEntitiesSlimSubset]") -> None: """Sets the subsets of this GrantaServerApiSchemaTablesTable. Parameters @@ -212,9 +217,7 @@ def subsets( self._subsets = subsets @property - def default_layout( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]": + def default_layout(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]": """Gets the default_layout of this GrantaServerApiSchemaTablesTable. Returns @@ -226,8 +229,7 @@ def default_layout( @default_layout.setter def default_layout( - self, - default_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]", + self, default_layout: "Union[GrantaServerApiSchemaSlimEntitiesSlimLayout, Unset_Type]" ) -> None: """Sets the default_layout of this GrantaServerApiSchemaTablesTable. @@ -253,9 +255,7 @@ def layouts(self) -> "List[GrantaServerApiSchemaSlimEntitiesSlimLayout]": return self._layouts @layouts.setter - def layouts( - self, layouts: "List[GrantaServerApiSchemaSlimEntitiesSlimLayout]" - ) -> None: + def layouts(self, layouts: "List[GrantaServerApiSchemaSlimEntitiesSlimLayout]") -> None: """Sets the layouts of this GrantaServerApiSchemaTablesTable. Parameters @@ -321,14 +321,10 @@ def is_hidden_from_browse(self, is_hidden_from_browse: "bool") -> None: """ # Field is not nullable if is_hidden_from_browse is None: - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'None'") # Field is required if is_hidden_from_browse is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'Unset'") self._is_hidden_from_browse = is_hidden_from_browse @property @@ -353,14 +349,10 @@ def is_hidden_from_search(self, is_hidden_from_search: "bool") -> None: """ # Field is not nullable if is_hidden_from_search is None: - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'None'") # Field is required if is_hidden_from_search is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'Unset'") self._is_hidden_from_search = is_hidden_from_search @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_tables_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_tables_info.py index 4e571215..58eec9dd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_tables_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_tables_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,15 @@ def __init__( ---------- tables: List[GrantaServerApiSchemaSlimEntitiesSlimTable], optional """ - self._tables: Union[ - List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type - ] = Unset + self._tables: Union[List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type] = ( + Unset + ) if tables is not Unset: self.tables = tables @property - def tables( - self, - ) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type]": + def tables(self) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type]": """Gets the tables of this GrantaServerApiSchemaTablesTablesInfo. Returns @@ -93,8 +105,7 @@ def tables( @tables.setter def tables( - self, - tables: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type]", + self, tables: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimTable], None, Unset_Type]" ) -> None: """Sets the tables of this GrantaServerApiSchemaTablesTablesInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_update_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_update_table.py index 07f82af2..ef272450 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_update_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tables_update_table.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -121,9 +135,7 @@ def is_hidden_from_browse(self) -> "Union[bool, Unset_Type]": return self._is_hidden_from_browse @is_hidden_from_browse.setter - def is_hidden_from_browse( - self, is_hidden_from_browse: "Union[bool, Unset_Type]" - ) -> None: + def is_hidden_from_browse(self, is_hidden_from_browse: "Union[bool, Unset_Type]") -> None: """Sets the is_hidden_from_browse of this GrantaServerApiSchemaTablesUpdateTable. Parameters @@ -133,9 +145,7 @@ def is_hidden_from_browse( """ # Field is not nullable if is_hidden_from_browse is None: - raise ValueError( - "Invalid value for 'is_hidden_from_browse', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_browse', must not be 'None'") self._is_hidden_from_browse = is_hidden_from_browse @property @@ -150,9 +160,7 @@ def is_hidden_from_search(self) -> "Union[bool, Unset_Type]": return self._is_hidden_from_search @is_hidden_from_search.setter - def is_hidden_from_search( - self, is_hidden_from_search: "Union[bool, Unset_Type]" - ) -> None: + def is_hidden_from_search(self, is_hidden_from_search: "Union[bool, Unset_Type]") -> None: """Sets the is_hidden_from_search of this GrantaServerApiSchemaTablesUpdateTable. Parameters @@ -162,9 +170,7 @@ def is_hidden_from_search( """ # Field is not nullable if is_hidden_from_search is None: - raise ValueError( - "Invalid value for 'is_hidden_from_search', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_hidden_from_search', must not be 'None'") self._is_hidden_from_search = is_hidden_from_search @property @@ -179,9 +185,7 @@ def default_subset_guid(self) -> "Union[str, None, Unset_Type]": return self._default_subset_guid @default_subset_guid.setter - def default_subset_guid( - self, default_subset_guid: "Union[str, None, Unset_Type]" - ) -> None: + def default_subset_guid(self, default_subset_guid: "Union[str, None, Unset_Type]") -> None: """Sets the default_subset_guid of this GrantaServerApiSchemaTablesUpdateTable. Parameters @@ -203,9 +207,7 @@ def default_layout_guid(self) -> "Union[str, None, Unset_Type]": return self._default_layout_guid @default_layout_guid.setter - def default_layout_guid( - self, default_layout_guid: "Union[str, None, Unset_Type]" - ) -> None: + def default_layout_guid(self, default_layout_guid: "Union[str, None, Unset_Type]") -> None: """Sets the default_layout_guid of this GrantaServerApiSchemaTablesUpdateTable. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_attribute_tabular_column.py index f97e44cd..5b6bcccf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_attribute_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -178,9 +193,7 @@ def linked_attribute( raise ValueError("Invalid value for 'linked_attribute', must not be 'None'") # Field is required if linked_attribute is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'linked_attribute', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'linked_attribute', must not be 'Unset'") self._linked_attribute = linked_attribute @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_column_tabular_column.py index 79a6822d..f433f29d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_column_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -163,9 +178,7 @@ def linked_column(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._linked_column @linked_column.setter - def linked_column( - self, linked_column: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def linked_column(self, linked_column: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the linked_column of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLinkedColumnTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_record_tabular_column.py index 2e675d12..c9474e45 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_linked_record_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_date_time_tabular_column.py index 149465a9..ba1bd847 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_date_time_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_discrete_tabular_column.py index e8a3dd86..a0d495f5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_discrete_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -188,9 +203,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -205,9 +218,7 @@ def discrete_type(self) -> "GrantaServerApiSchemaSlimEntitiesSlimEntity": return self._discrete_type @discrete_type.setter - def discrete_type( - self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity" - ) -> None: + def discrete_type(self, discrete_type: "GrantaServerApiSchemaSlimEntitiesSlimEntity") -> None: """Sets the discrete_type of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalDiscreteTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_file_tabular_column.py index 4cf02062..f40b7d36 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_file_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_hyperlink_tabular_column.py index 8e834f12..9ce27e89 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_hyperlink_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_integer_tabular_column.py index 3de2d89e..53128cbb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_integer_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_logical_tabular_column.py index 10f1f23e..2001a9be 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_logical_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_long_text_tabular_column.py index 9f858c97..2b886426 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_long_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_picture_tabular_column.py index d8f71f64..aa5646c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_picture_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_point_tabular_column.py index 8cc160de..94e71451 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_point_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def __init__( self._default_threshold_type: Union[ GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if default_threshold_type is not Unset: @@ -191,9 +204,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -208,9 +219,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalPointTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_range_tabular_column.py index d53e498c..87b07bf1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_range_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def __init__( self._default_threshold_type: Union[ GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if default_threshold_type is not Unset: @@ -191,9 +204,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -208,9 +219,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateLocalRangeTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_short_text_tabular_column.py index 24932f9d..6b260100 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_local_short_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py index fd6b1b63..433edf2f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_create_tabular_columns_create_tabular_column.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn( - ModelBase -): +class GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -180,9 +192,7 @@ def summary_row_enabled(self) -> "Union[bool, Unset_Type]": return self._summary_row_enabled @summary_row_enabled.setter - def summary_row_enabled( - self, summary_row_enabled: "Union[bool, Unset_Type]" - ) -> None: + def summary_row_enabled(self, summary_row_enabled: "Union[bool, Unset_Type]") -> None: """Sets the summary_row_enabled of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn. Parameters @@ -192,9 +202,7 @@ def summary_row_enabled( """ # Field is not nullable if summary_row_enabled is None: - raise ValueError( - "Invalid value for 'summary_row_enabled', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_enabled', must not be 'None'") self._summary_row_enabled = summary_row_enabled @property @@ -209,9 +217,7 @@ def summary_row_text(self) -> "Union[str, None, Unset_Type]": return self._summary_row_text @summary_row_text.setter - def summary_row_text( - self, summary_row_text: "Union[str, None, Unset_Type]" - ) -> None: + def summary_row_text(self, summary_row_text: "Union[str, None, Unset_Type]") -> None: """Sets the summary_row_text of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn. Parameters @@ -224,9 +230,7 @@ def summary_row_text( @property def roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the roll_up_type of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn. Returns @@ -256,9 +260,7 @@ def roll_up_type( @property def summary_row_roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the summary_row_roll_up_type of this GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn. Returns @@ -282,9 +284,7 @@ def summary_row_roll_up_type( """ # Field is not nullable if summary_row_roll_up_type is None: - raise ValueError( - "Invalid value for 'summary_row_roll_up_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_roll_up_type', must not be 'None'") self._summary_row_roll_up_type = summary_row_roll_up_type @property @@ -368,8 +368,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn, + other, GrantaServerApiSchemaTabularColumnsCreateTabularColumnsCreateTabularColumn ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_attribute_tabular_column.py index aca83e35..21073855 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_attribute_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -183,9 +198,7 @@ def linked_attribute( raise ValueError("Invalid value for 'linked_attribute', must not be 'None'") # Field is required if linked_attribute is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'linked_attribute', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'linked_attribute', must not be 'Unset'") self._linked_attribute = linked_attribute @classmethod @@ -210,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLinkedAttributeTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLinkedAttributeTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_column_tabular_column.py index 45f2c9c8..aaaf70d3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_column_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -190,9 +205,7 @@ def linked_attribute( raise ValueError("Invalid value for 'linked_attribute', must not be 'None'") # Field is required if linked_attribute is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'linked_attribute', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'linked_attribute', must not be 'Unset'") self._linked_attribute = linked_attribute @property @@ -247,9 +260,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLinkedColumnTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLinkedColumnTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_record_tabular_column.py index c80bf58e..33e1adf3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_linked_record_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -170,9 +185,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLinkedRecordTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLinkedRecordTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_date_time_tabular_column.py index a129a237..6dba0e14 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_date_time_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalDateTimeTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalDateTimeTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalDateTimeTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalDateTimeTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_discrete_tabular_column.py index d9311581..461c67bc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_discrete_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +143,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self._discrete_type: GrantaServerApiSchemaSlimEntitiesSlimNamedEntity self.column_type = column_type @@ -166,9 +179,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalDiscreteTabularColumn. Returns @@ -180,8 +191,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalDiscreteTabularColumn. @@ -192,14 +202,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @property @@ -254,9 +260,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalDiscreteTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalDiscreteTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_file_tabular_column.py index 59deba3d..a6c83dcf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_file_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalFileTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalFileTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalFileTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalFileTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_hyperlink_tabular_column.py index 9bc03867..be458156 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_hyperlink_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalHyperlinkTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalHyperlinkTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalHyperlinkTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalHyperlinkTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_integer_tabular_column.py index 68f84812..596f7429 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_integer_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalIntegerTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalIntegerTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalIntegerTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalIntegerTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_logical_tabular_column.py index a9b658d6..c97e2da0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_logical_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalLogicalTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalLogicalTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalLogicalTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalLogicalTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_long_text_tabular_column.py index 657507bc..727dcc9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_long_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalLongTextTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalLongTextTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalLongTextTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalLongTextTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_picture_tabular_column.py index ea4ff6c2..df47669e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_picture_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalPictureTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalPictureTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalPictureTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalPictureTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_point_tabular_column.py index 65d6d993..a684e6a3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_point_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +143,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset self.column_type = column_type @@ -167,9 +180,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalPointTabularColumn. Returns @@ -181,8 +192,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalPointTabularColumn. @@ -193,14 +203,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @property @@ -215,9 +221,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsLocalPointTabularColumn. Parameters @@ -252,9 +256,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalPointTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalPointTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_range_tabular_column.py index 96e0e5d8..dcd97b0c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_range_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +143,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type] = Unset self.column_type = column_type @@ -167,9 +180,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalRangeTabularColumn. Returns @@ -181,8 +192,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalRangeTabularColumn. @@ -193,14 +203,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @property @@ -215,9 +221,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimUnit, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsLocalRangeTabularColumn. Parameters @@ -252,9 +256,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalRangeTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalRangeTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_short_text_tabular_column.py index 42f25ae6..3884cd81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_local_short_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -123,9 +138,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._default_threshold_type: ( - GrantaServerApiSchemaAttributesAttributeThresholdType - ) + self._default_threshold_type: GrantaServerApiSchemaAttributesAttributeThresholdType self.column_type = column_type self.default_threshold_type = default_threshold_type @@ -159,9 +172,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def default_threshold_type( - self, - ) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": + def default_threshold_type(self) -> "GrantaServerApiSchemaAttributesAttributeThresholdType": """Gets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalShortTextTabularColumn. Returns @@ -173,8 +184,7 @@ def default_threshold_type( @default_threshold_type.setter def default_threshold_type( - self, - default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType", + self, default_threshold_type: "GrantaServerApiSchemaAttributesAttributeThresholdType" ) -> None: """Sets the default_threshold_type of this GrantaServerApiSchemaTabularColumnsLocalShortTextTabularColumn. @@ -185,14 +195,10 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") # Field is required if default_threshold_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'Unset'") self._default_threshold_type = default_threshold_type @classmethod @@ -217,9 +223,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsLocalShortTextTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsLocalShortTextTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py index 78bafcb2..c3493ed7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -124,9 +138,7 @@ def __init__( self._summary_row_enabled: bool self._summary_row_text: str self._roll_up_type: GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType - self._summary_row_roll_up_type: ( - GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType - ) + self._summary_row_roll_up_type: GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType self._display_names: Dict[str, str] self._name: str self._guid: str @@ -190,14 +202,10 @@ def summary_row_enabled(self, summary_row_enabled: "bool") -> None: """ # Field is not nullable if summary_row_enabled is None: - raise ValueError( - "Invalid value for 'summary_row_enabled', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_enabled', must not be 'None'") # Field is required if summary_row_enabled is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'summary_row_enabled', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'summary_row_enabled', must not be 'Unset'") self._summary_row_enabled = summary_row_enabled @property @@ -225,15 +233,11 @@ def summary_row_text(self, summary_row_text: "str") -> None: raise ValueError("Invalid value for 'summary_row_text', must not be 'None'") # Field is required if summary_row_text is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'summary_row_text', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'summary_row_text', must not be 'Unset'") self._summary_row_text = summary_row_text @property - def roll_up_type( - self, - ) -> "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType": + def roll_up_type(self) -> "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType": """Gets the roll_up_type of this GrantaServerApiSchemaTabularColumnsTabularColumn. Returns @@ -277,8 +281,7 @@ def summary_row_roll_up_type( @summary_row_roll_up_type.setter def summary_row_roll_up_type( - self, - summary_row_roll_up_type: "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType", + self, summary_row_roll_up_type: "GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType" ) -> None: """Sets the summary_row_roll_up_type of this GrantaServerApiSchemaTabularColumnsTabularColumn. @@ -289,14 +292,10 @@ def summary_row_roll_up_type( """ # Field is not nullable if summary_row_roll_up_type is None: - raise ValueError( - "Invalid value for 'summary_row_roll_up_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_roll_up_type', must not be 'None'") # Field is required if summary_row_roll_up_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'summary_row_roll_up_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'summary_row_roll_up_type', must not be 'Unset'") self._summary_row_roll_up_type = summary_row_roll_up_type @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_dto_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_dto_type.py index 3ab9e1bd..cd8fd907 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_dto_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_dto_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_roll_up_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_roll_up_type.py index 4910a4ba..1893936e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_roll_up_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_tabular_column_roll_up_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_unavailable_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_unavailable_tabular_column.py index 067e5cf2..780a46a9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_unavailable_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_unavailable_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -170,9 +185,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSchemaTabularColumnsUnavailableTabularColumn - ): + if not isinstance(other, GrantaServerApiSchemaTabularColumnsUnavailableTabularColumn): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_attribute_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_attribute_tabular_column.py index 7c2d9dcf..dc084304 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_attribute_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_attribute_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -118,9 +133,9 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._linked_attribute: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._linked_attribute: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( + Unset + ) self.column_type = column_type if linked_attribute is not Unset: @@ -155,9 +170,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def linked_attribute( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def linked_attribute(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the linked_attribute of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLinkedAttributeTabularColumn. Returns @@ -169,8 +182,7 @@ def linked_attribute( @linked_attribute.setter def linked_attribute( - self, - linked_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, linked_attribute: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the linked_attribute of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLinkedAttributeTabularColumn. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_column_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_column_tabular_column.py index 8503b013..956770b5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_column_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_column_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -118,9 +133,7 @@ def __init__( summary_row_text=summary_row_text, ) self._column_type: str - self._linked_column: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._linked_column: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if linked_column is not Unset: @@ -155,9 +168,7 @@ def column_type(self, column_type: "str") -> None: self._column_type = column_type @property - def linked_column( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def linked_column(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the linked_column of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLinkedColumnTabularColumn. Returns @@ -169,8 +180,7 @@ def linked_column( @linked_column.setter def linked_column( - self, - linked_column: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, linked_column: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the linked_column of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLinkedColumnTabularColumn. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_record_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_record_tabular_column.py index 73549c7e..5212b2f5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_record_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_linked_record_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_date_time_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_date_time_tabular_column.py index d4a45906..6f5ac3cf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_date_time_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_date_time_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_discrete_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_discrete_tabular_column.py index 3f407368..ffa3bcea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_discrete_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_discrete_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def __init__( self._default_threshold_type: Union[ GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset - self._discrete_type: Union[ - GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type - ] = Unset + self._discrete_type: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if default_threshold_type is not Unset: @@ -191,15 +204,11 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property - def discrete_type( - self, - ) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": + def discrete_type(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]": """Gets the discrete_type of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalDiscreteTabularColumn. Returns @@ -211,8 +220,7 @@ def discrete_type( @discrete_type.setter def discrete_type( - self, - discrete_type: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]", + self, discrete_type: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" ) -> None: """Sets the discrete_type of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalDiscreteTabularColumn. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_file_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_file_tabular_column.py index 7c50fa46..0048be28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_file_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_file_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_hyperlink_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_hyperlink_tabular_column.py index 078cce4e..d9294ef4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_hyperlink_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_hyperlink_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_integer_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_integer_tabular_column.py index 4ae84434..c3179b60 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_integer_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_integer_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_logical_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_logical_tabular_column.py index 95e32c63..d7618c10 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_logical_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_logical_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_long_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_long_text_tabular_column.py index faf685ca..7595258e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_long_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_long_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_picture_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_picture_tabular_column.py index ce042304..8107eb2b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_picture_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_picture_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_point_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_point_tabular_column.py index 2cf6db38..b5918bdb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_point_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_point_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def __init__( self._default_threshold_type: Union[ GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if default_threshold_type is not Unset: @@ -191,9 +204,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -208,9 +219,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalPointTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_range_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_range_tabular_column.py index 677ba453..796822db 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_range_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_range_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -126,9 +141,7 @@ def __init__( self._default_threshold_type: Union[ GrantaServerApiSchemaAttributesAttributeThresholdType, Unset_Type ] = Unset - self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = ( - Unset - ) + self._unit: Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type] = Unset self.column_type = column_type if default_threshold_type is not Unset: @@ -191,9 +204,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @property @@ -208,9 +219,7 @@ def unit(self) -> "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type return self._unit @unit.setter - def unit( - self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]" - ) -> None: + def unit(self, unit: "Union[GrantaServerApiSchemaSlimEntitiesSlimEntity, Unset_Type]") -> None: """Sets the unit of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateLocalRangeTabularColumn. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_short_text_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_short_text_tabular_column.py index 39fee28f..366627d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_short_text_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_local_short_text_tabular_column.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column import ( # noqa: F401 GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -181,9 +196,7 @@ def default_threshold_type( """ # Field is not nullable if default_threshold_type is None: - raise ValueError( - "Invalid value for 'default_threshold_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'default_threshold_type', must not be 'None'") self._default_threshold_type = default_threshold_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py index c169f194..b516412e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_tabular_columns_update_tabular_columns_update_tabular_column.py @@ -1,36 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn( - ModelBase -): +class GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -181,9 +193,7 @@ def summary_row_enabled(self) -> "Union[bool, Unset_Type]": return self._summary_row_enabled @summary_row_enabled.setter - def summary_row_enabled( - self, summary_row_enabled: "Union[bool, Unset_Type]" - ) -> None: + def summary_row_enabled(self, summary_row_enabled: "Union[bool, Unset_Type]") -> None: """Sets the summary_row_enabled of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn. Parameters @@ -193,9 +203,7 @@ def summary_row_enabled( """ # Field is not nullable if summary_row_enabled is None: - raise ValueError( - "Invalid value for 'summary_row_enabled', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_enabled', must not be 'None'") self._summary_row_enabled = summary_row_enabled @property @@ -210,9 +218,7 @@ def summary_row_text(self) -> "Union[str, None, Unset_Type]": return self._summary_row_text @summary_row_text.setter - def summary_row_text( - self, summary_row_text: "Union[str, None, Unset_Type]" - ) -> None: + def summary_row_text(self, summary_row_text: "Union[str, None, Unset_Type]") -> None: """Sets the summary_row_text of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn. Parameters @@ -225,9 +231,7 @@ def summary_row_text( @property def roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the roll_up_type of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn. Returns @@ -257,9 +261,7 @@ def roll_up_type( @property def summary_row_roll_up_type( self, - ) -> ( - "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]" - ): + ) -> "Union[GrantaServerApiSchemaTabularColumnsTabularColumnRollUpType, Unset_Type]": """Gets the summary_row_roll_up_type of this GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn. Returns @@ -283,9 +285,7 @@ def summary_row_roll_up_type( """ # Field is not nullable if summary_row_roll_up_type is None: - raise ValueError( - "Invalid value for 'summary_row_roll_up_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'summary_row_roll_up_type', must not be 'None'") self._summary_row_roll_up_type = summary_row_roll_up_type @property @@ -366,8 +366,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" if not isinstance( - other, - GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn, + other, GrantaServerApiSchemaTabularColumnsUpdateTabularColumnsUpdateTabularColumn ): return False diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit.py index ed2884d6..fc94fab5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit_system.py index cb70891a..c8270f1f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_create_unit_system.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit.py index 9d7cfcd1..c97a6fdc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalent.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalent.py index 5c10fade..2ebe18eb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalent.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalent.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -157,9 +171,7 @@ def equivalent_unit(self) -> "GrantaServerApiSchemaUnitsUnit": return self._equivalent_unit @equivalent_unit.setter - def equivalent_unit( - self, equivalent_unit: "GrantaServerApiSchemaUnitsUnit" - ) -> None: + def equivalent_unit(self, equivalent_unit: "GrantaServerApiSchemaUnitsUnit") -> None: """Sets the equivalent_unit of this GrantaServerApiSchemaUnitsUnitEquivalent. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalents_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalents_info.py index d3cf7db8..00fd35eb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalents_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_equivalents_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_mapping.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_mapping.py index 7764f24a..10ab3250 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_mapping.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_mapping.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -122,9 +136,7 @@ def equivalent_unit(self) -> "GrantaServerApiSchemaSlimEntitiesSlimUnit": return self._equivalent_unit @equivalent_unit.setter - def equivalent_unit( - self, equivalent_unit: "GrantaServerApiSchemaSlimEntitiesSlimUnit" - ) -> None: + def equivalent_unit(self, equivalent_unit: "GrantaServerApiSchemaSlimEntitiesSlimUnit") -> None: """Sets the equivalent_unit of this GrantaServerApiSchemaUnitsUnitMapping. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_system.py index 25649519..0d2fccb7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_system.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -105,9 +119,7 @@ def unit_mappings(self) -> "List[GrantaServerApiSchemaUnitsUnitMapping]": return self._unit_mappings @unit_mappings.setter - def unit_mappings( - self, unit_mappings: "List[GrantaServerApiSchemaUnitsUnitMapping]" - ) -> None: + def unit_mappings(self, unit_mappings: "List[GrantaServerApiSchemaUnitsUnitMapping]") -> None: """Sets the unit_mappings of this GrantaServerApiSchemaUnitsUnitSystem. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_systems_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_systems_info.py index 28976c8b..4ccb2ca8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_systems_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_systems_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( @property def unit_systems( self, - ) -> ( - "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnitSystem], None, Unset_Type]" - ): + ) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnitSystem], None, Unset_Type]": """Gets the unit_systems of this GrantaServerApiSchemaUnitsUnitSystemsInfo. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_usage.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_usage.py index 2a2997c8..134e43aa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_usage.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_unit_usage.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_units_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_units_info.py index 14aaf9cb..eec895e8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_units_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_units_info.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -71,17 +85,15 @@ def __init__( ---------- units: List[GrantaServerApiSchemaSlimEntitiesSlimUnit], optional """ - self._units: Union[ - List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type - ] = Unset + self._units: Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type] = ( + Unset + ) if units is not Unset: self.units = units @property - def units( - self, - ) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type]": + def units(self) -> "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type]": """Gets the units of this GrantaServerApiSchemaUnitsUnitsInfo. Returns @@ -93,8 +105,7 @@ def units( @units.setter def units( - self, - units: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type]", + self, units: "Union[List[GrantaServerApiSchemaSlimEntitiesSlimUnit], None, Unset_Type]" ) -> None: """Sets the units of this GrantaServerApiSchemaUnitsUnitsInfo. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit.py index b271e11c..ba5c35f6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit_system.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit_system.py index 2723266b..2bd9cd46 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit_system.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_units_update_unit_system.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_update_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_update_database.py index a5dbc085..cd606f7e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_update_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_schema_update_database.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_criterion.py index 7c0c8b10..5a0fc461 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -172,9 +187,7 @@ def is_meta_attribute(self, is_meta_attribute: "Union[bool, Unset_Type]") -> Non """ # Field is not nullable if is_meta_attribute is None: - raise ValueError( - "Invalid value for 'is_meta_attribute', must not be 'None'" - ) + raise ValueError("Invalid value for 'is_meta_attribute', must not be 'None'") self._is_meta_attribute = is_meta_attribute @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_exists_criterion.py index b5ed4c18..af8c97b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_exists_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( # noqa: F401 GrantaServerApiSearchAttributeCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchAttributeExistsCriterion( - GrantaServerApiSearchAttributeCriterion -): +class GrantaServerApiSearchAttributeExistsCriterion(GrantaServerApiSearchAttributeCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -99,9 +112,7 @@ def __init__( super().__init__( guid=guid, identity=identity, is_meta_attribute=is_meta_attribute, type=type ) - self._inner_criterion: Union[ - GrantaServerApiSearchDatumExistsCriterion, Unset_Type - ] = Unset + self._inner_criterion: Union[GrantaServerApiSearchDatumExistsCriterion, Unset_Type] = Unset self._attribute_criterion_type: str if inner_criterion is not Unset: @@ -109,9 +120,7 @@ def __init__( self.attribute_criterion_type = attribute_criterion_type @property - def inner_criterion( - self, - ) -> "Union[GrantaServerApiSearchDatumExistsCriterion, Unset_Type]": + def inner_criterion(self) -> "Union[GrantaServerApiSearchDatumExistsCriterion, Unset_Type]": """Gets the inner_criterion of this GrantaServerApiSearchAttributeExistsCriterion. Returns @@ -123,8 +132,7 @@ def inner_criterion( @inner_criterion.setter def inner_criterion( - self, - inner_criterion: "Union[GrantaServerApiSearchDatumExistsCriterion, Unset_Type]", + self, inner_criterion: "Union[GrantaServerApiSearchDatumExistsCriterion, Unset_Type]" ) -> None: """Sets the inner_criterion of this GrantaServerApiSearchAttributeExistsCriterion. @@ -160,14 +168,10 @@ def attribute_criterion_type(self, attribute_criterion_type: "str") -> None: """ # Field is not nullable if attribute_criterion_type is None: - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'None'") # Field is required if attribute_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'Unset'") self._attribute_criterion_type = attribute_criterion_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_matches_criterion.py index a04036b1..4c1d1afe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_matches_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_matches_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( # noqa: F401 GrantaServerApiSearchAttributeCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchAttributeMatchesCriterion( - GrantaServerApiSearchAttributeCriterion -): +class GrantaServerApiSearchAttributeMatchesCriterion(GrantaServerApiSearchAttributeCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -99,9 +112,7 @@ def __init__( super().__init__( guid=guid, identity=identity, is_meta_attribute=is_meta_attribute, type=type ) - self._inner_criterion: Union[ - GrantaServerApiSearchDatumCriterion, Unset_Type - ] = Unset + self._inner_criterion: Union[GrantaServerApiSearchDatumCriterion, Unset_Type] = Unset self._attribute_criterion_type: str if inner_criterion is not Unset: @@ -109,9 +120,7 @@ def __init__( self.attribute_criterion_type = attribute_criterion_type @property - def inner_criterion( - self, - ) -> "Union[GrantaServerApiSearchDatumCriterion, Unset_Type]": + def inner_criterion(self) -> "Union[GrantaServerApiSearchDatumCriterion, Unset_Type]": """Gets the inner_criterion of this GrantaServerApiSearchAttributeMatchesCriterion. Returns @@ -159,14 +168,10 @@ def attribute_criterion_type(self, attribute_criterion_type: "str") -> None: """ # Field is not nullable if attribute_criterion_type is None: - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'None'") # Field is required if attribute_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'Unset'") self._attribute_criterion_type = attribute_criterion_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_not_applicable_criterion.py index c9f76cc3..10f7d55f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_not_applicable_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_not_applicable_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_attribute_criterion import ( # noqa: F401 GrantaServerApiSearchAttributeCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchAttributeNotApplicableCriterion( - GrantaServerApiSearchAttributeCriterion -): +class GrantaServerApiSearchAttributeNotApplicableCriterion(GrantaServerApiSearchAttributeCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -119,14 +132,10 @@ def attribute_criterion_type(self, attribute_criterion_type: "str") -> None: """ # Field is not nullable if attribute_criterion_type is None: - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'None'") # Field is required if attribute_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'attribute_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'attribute_criterion_type', must not be 'Unset'") self._attribute_criterion_type = attribute_criterion_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_sort_criterion.py index 2b98c816..4b0d314e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_attribute_sort_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( # noqa: F401 GrantaServerApiSearchSortCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -195,9 +210,7 @@ def sort_type(self) -> "Union[GrantaServerApiSearchSortType, Unset_Type]": return self._sort_type @sort_type.setter - def sort_type( - self, sort_type: "Union[GrantaServerApiSearchSortType, Unset_Type]" - ) -> None: + def sort_type(self, sort_type: "Union[GrantaServerApiSearchSortType, Unset_Type]") -> None: """Sets the sort_type of this GrantaServerApiSearchAttributeSortCriterion. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boolean_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boolean_criterion.py index ab377e7b..28ae7a60 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boolean_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boolean_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -91,9 +106,7 @@ def __init__( super().__init__() self._all: Union[List[GrantaServerApiSearchCriterion], None, Unset_Type] = Unset self._any: Union[List[GrantaServerApiSearchCriterion], None, Unset_Type] = Unset - self.__none: Union[List[GrantaServerApiSearchCriterion], None, Unset_Type] = ( - Unset - ) + self.__none: Union[List[GrantaServerApiSearchCriterion], None, Unset_Type] = Unset self._type: str if all is not Unset: @@ -117,9 +130,7 @@ def all(self) -> "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]" return self._all @all.setter - def all( - self, all: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]" - ) -> None: + def all(self, all: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]") -> None: """Sets the all of this GrantaServerApiSearchBooleanCriterion. Only records that match all of these criteria are returned. @@ -143,9 +154,7 @@ def any(self) -> "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]" return self._any @any.setter - def any( - self, any: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]" - ) -> None: + def any(self, any: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]") -> None: """Sets the any of this GrantaServerApiSearchBooleanCriterion. Only results that match any of these criteria are returned. @@ -169,9 +178,7 @@ def _none(self) -> "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type return self.__none @_none.setter - def _none( - self, _none: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]" - ) -> None: + def _none(self, _none: "Union[List[GrantaServerApiSearchCriterion], None, Unset_Type]") -> None: """Sets the _none of this GrantaServerApiSearchBooleanCriterion. Only results that match none of these criteria are returned. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_guid.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_guid.py index 140e70dc..d21871b5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_guid.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_guid.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_identity.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_identity.py index 1d112b02..bceb91a3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_identity.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_boost_by_identity.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_criterion.py index 9b1935f8..2bd56935 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_criterion.py index d17e8f7a..9790a255 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_exists_criterion.py new file mode 100644 index 00000000..616a272a --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_date_time_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchDateTimeDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "dateTime", + ) -> None: + """GrantaServerApiSearchDateTimeDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchDateTimeDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchDateTimeDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchDateTimeDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchDateTimeDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchDateTimeDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_criterion.py index d4db88d0..26a3adae 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_exists_criterion.py index 1de010c3..ab9698a1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_datum_exists_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -55,8 +69,22 @@ class GrantaServerApiSearchDatumExistsCriterion(ModelBase): subtype_mapping: Dict[str, str] = {} discriminator_value_class_map = { + "integer".lower(): "#/components/schemas/GrantaServerApiSearchIntegerDatumExistsCriterion", + "point".lower(): "#/components/schemas/GrantaServerApiSearchPointDatumExistsCriterion", + "range".lower(): "#/components/schemas/GrantaServerApiSearchRangeDatumExistsCriterion", + "logical".lower(): "#/components/schemas/GrantaServerApiSearchLogicalDatumExistsCriterion", + "shortText".lower(): "#/components/schemas/GrantaServerApiSearchShortTextDatumExistsCriterion", + "longText".lower(): "#/components/schemas/GrantaServerApiSearchLongTextDatumExistsCriterion", + "dateTime".lower(): "#/components/schemas/GrantaServerApiSearchDateTimeDatumExistsCriterion", + "discrete".lower(): "#/components/schemas/GrantaServerApiSearchDiscreteDatumExistsCriterion", + "hyperlink".lower(): "#/components/schemas/GrantaServerApiSearchHyperlinkDatumExistsCriterion", + "file".lower(): "#/components/schemas/GrantaServerApiSearchFileDatumExistsCriterion", + "picture".lower(): "#/components/schemas/GrantaServerApiSearchPictureDatumExistsCriterion", "link".lower(): "#/components/schemas/GrantaServerApiSearchLinkExistsDatumCriterion", - "type".lower(): "#/components/schemas/GrantaServerApiSearchSimpleDatumExistsCriterion", + "floatFunctional".lower(): "#/components/schemas/GrantaServerApiSearchFloatFunctionalDatumExistsCriterion", + "discreteFunctional".lower(): "#/components/schemas/GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion", + "mathsFunctional".lower(): "#/components/schemas/GrantaServerApiSearchMathsFunctionalDatumExistsCriterion", + "tabular".lower(): "#/components/schemas/GrantaServerApiSearchTabularDatumExistsCriterion", } discriminator: Optional[str] = "type" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_datum_exists_criterion.py new file mode 100644 index 00000000..ce732502 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchDiscreteDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "discrete", + ) -> None: + """GrantaServerApiSearchDiscreteDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchDiscreteDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchDiscreteDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchDiscreteDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchDiscreteDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchDiscreteDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_datum_exists_criterion.py new file mode 100644 index 00000000..86761e4a --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_datum_exists_criterion.py @@ -0,0 +1,154 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion( + GrantaServerApiSearchDatumExistsCriterion +): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "discreteFunctional", + ) -> None: + """GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_range_datum_criterion.py index 97e97ccf..5482b792 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_range_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -196,8 +211,7 @@ def constraints( @constraints.setter def constraints( - self, - constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]", + self, constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion. Optional unit string. If not included, the gte and lte values are assumed to be in database units. @@ -231,9 +245,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion - ): + if not isinstance(other, GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_values_datum_criterion.py index 90a68ba6..887f1d99 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_functional_values_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -117,9 +132,7 @@ def any_identities(self) -> "Union[List[int], None, Unset_Type]": return self._any_identities @any_identities.setter - def any_identities( - self, any_identities: "Union[List[int], None, Unset_Type]" - ) -> None: + def any_identities(self, any_identities: "Union[List[int], None, Unset_Type]") -> None: """Sets the any_identities of this GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion. Match any of these discrete type identities @@ -198,8 +211,7 @@ def constraints( @constraints.setter def constraints( - self, - constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]", + self, constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. @@ -233,9 +245,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion - ): + if not isinstance(other, GrantaServerApiSearchDiscreteFunctionalValuesDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_datum_criterion.py index ec38b4ec..0fc698b4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteGuidDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteGuidDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_values_datum_criterion.py index 63e4dce5..5153c401 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_guid_values_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteGuidValuesDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteGuidValuesDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_datum_criterion.py index 11afe722..a02bd2e3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteIdentityDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteIdentityDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_values_datum_criterion.py index e2fed336..dea67590 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_identity_values_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -222,9 +237,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchDiscreteIdentityValuesDatumCriterion - ): + if not isinstance(other, GrantaServerApiSearchDiscreteIdentityValuesDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_name_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_name_constraint.py index 4900a84e..2d707ed5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_name_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_name_constraint.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( # noqa: F401 GrantaServerApiSearchParameterConstraint, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_value_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_value_constraint.py index 80ae3955..219492da 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_value_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_parameter_value_constraint.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( # noqa: F401 GrantaServerApiSearchParameterConstraint, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_range_datum_criterion.py index 447b202c..7284ca11 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_range_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteRangeDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteRangeDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_datum_criterion.py index a257c6cd..6dc4df8a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteTextDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteTextDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -86,9 +99,7 @@ def __init__( """ super().__init__() self._value: Union[str, None, Unset_Type] = Unset - self._text_match_behavior: Union[ - GrantaServerApiSearchTextMatchBehavior, Unset_Type - ] = Unset + self._text_match_behavior: Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type] = Unset self._type: str if value is not Unset: @@ -120,9 +131,7 @@ def value(self, value: "Union[str, None, Unset_Type]") -> None: self._value = value @property - def text_match_behavior( - self, - ) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": + def text_match_behavior(self) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": """Gets the text_match_behavior of this GrantaServerApiSearchDiscreteTextDatumCriterion. Returns @@ -134,8 +143,7 @@ def text_match_behavior( @text_match_behavior.setter def text_match_behavior( - self, - text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]", + self, text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]" ) -> None: """Sets the text_match_behavior of this GrantaServerApiSearchDiscreteTextDatumCriterion. @@ -146,9 +154,7 @@ def text_match_behavior( """ # Field is not nullable if text_match_behavior is None: - raise ValueError( - "Invalid value for 'text_match_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'text_match_behavior', must not be 'None'") self._text_match_behavior = text_match_behavior @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_values_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_values_datum_criterion.py index 85a644c4..68d2d25e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_values_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_discrete_text_values_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchDiscreteTextValuesDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchDiscreteTextValuesDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -96,9 +109,7 @@ def __init__( self._all: Union[List[str], None, Unset_Type] = Unset self._any: Union[List[str], None, Unset_Type] = Unset self.__none: Union[List[str], None, Unset_Type] = Unset - self._text_match_behavior: Union[ - GrantaServerApiSearchTextMatchBehavior, Unset_Type - ] = Unset + self._text_match_behavior: Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type] = Unset self._type: str if all is not Unset: @@ -178,9 +189,7 @@ def _none(self, _none: "Union[List[str], None, Unset_Type]") -> None: self.__none = _none @property - def text_match_behavior( - self, - ) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": + def text_match_behavior(self) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": """Gets the text_match_behavior of this GrantaServerApiSearchDiscreteTextValuesDatumCriterion. Returns @@ -192,8 +201,7 @@ def text_match_behavior( @text_match_behavior.setter def text_match_behavior( - self, - text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]", + self, text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]" ) -> None: """Sets the text_match_behavior of this GrantaServerApiSearchDiscreteTextValuesDatumCriterion. @@ -204,9 +212,7 @@ def text_match_behavior( """ # Field is not nullable if text_match_behavior is None: - raise ValueError( - "Invalid value for 'text_match_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'text_match_behavior', must not be 'None'") self._text_match_behavior = text_match_behavior @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_double_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_double_sorting_value.py index b994fb41..c23ecf0b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_double_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_double_sorting_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( # noqa: F401 GrantaServerApiSearchSortingValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_criterion.py index e755ba33..3bdcaeef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_simple_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_exists_criterion.py similarity index 61% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_simple_datum_exists_criterion.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_exists_criterion.py index bf379b28..4e01f816 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_simple_datum_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_file_datum_exists_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 GrantaServerApiSearchDatumExistsCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchSimpleDatumExistsCriterion( - GrantaServerApiSearchDatumExistsCriterion -): +class GrantaServerApiSearchFileDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -66,9 +79,9 @@ class GrantaServerApiSearchSimpleDatumExistsCriterion( def __init__( self, *, - type: "str" = "type", + type: "str" = "file", ) -> None: - """GrantaServerApiSearchSimpleDatumExistsCriterion - a model defined in Swagger + """GrantaServerApiSearchFileDatumExistsCriterion - a model defined in Swagger Parameters ---------- @@ -81,23 +94,23 @@ def __init__( @property def type(self) -> "str": - """Gets the type of this GrantaServerApiSearchSimpleDatumExistsCriterion. + """Gets the type of this GrantaServerApiSearchFileDatumExistsCriterion. Returns ------- str - The type of this GrantaServerApiSearchSimpleDatumExistsCriterion. + The type of this GrantaServerApiSearchFileDatumExistsCriterion. """ return self._type @type.setter def type(self, type: "str") -> None: - """Sets the type of this GrantaServerApiSearchSimpleDatumExistsCriterion. + """Sets the type of this GrantaServerApiSearchFileDatumExistsCriterion. Parameters ---------- type: str - The type of this GrantaServerApiSearchSimpleDatumExistsCriterion. + The type of this GrantaServerApiSearchFileDatumExistsCriterion. """ # Field is not nullable if type is None: @@ -129,7 +142,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GrantaServerApiSearchSimpleDatumExistsCriterion): + if not isinstance(other, GrantaServerApiSearchFileDatumExistsCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_criterion.py index ab408747..cfdd1d79 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchFloatFunctionalDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchFloatFunctionalDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -196,8 +209,7 @@ def constraints( @constraints.setter def constraints( - self, - constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]", + self, constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GrantaServerApiSearchFloatFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_exists_criterion.py new file mode 100644 index 00000000..0297cd74 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_datum_exists_criterion.py @@ -0,0 +1,154 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchFloatFunctionalDatumExistsCriterion( + GrantaServerApiSearchDatumExistsCriterion +): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "floatFunctional", + ) -> None: + """GrantaServerApiSearchFloatFunctionalDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchFloatFunctionalDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchFloatFunctionalDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchFloatFunctionalDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchFloatFunctionalDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchFloatFunctionalDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_graph_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_graph_datum_criterion.py index 91e44974..dd4d2e51 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_graph_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_float_functional_graph_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchFloatFunctionalGraphDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchFloatFunctionalGraphDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -216,9 +229,7 @@ def x_axis_parameter_guid(self) -> "Union[str, None, Unset_Type]": return self._x_axis_parameter_guid @x_axis_parameter_guid.setter - def x_axis_parameter_guid( - self, x_axis_parameter_guid: "Union[str, None, Unset_Type]" - ) -> None: + def x_axis_parameter_guid(self, x_axis_parameter_guid: "Union[str, None, Unset_Type]") -> None: """Sets the x_axis_parameter_guid of this GrantaServerApiSearchFloatFunctionalGraphDatumCriterion. Optional x axis parameter filter. Only series graphs have an x axis. @@ -242,9 +253,7 @@ def number_of_series_lte(self) -> "Union[int, None, Unset_Type]": return self._number_of_series_lte @number_of_series_lte.setter - def number_of_series_lte( - self, number_of_series_lte: "Union[int, None, Unset_Type]" - ) -> None: + def number_of_series_lte(self, number_of_series_lte: "Union[int, None, Unset_Type]") -> None: """Sets the number_of_series_lte of this GrantaServerApiSearchFloatFunctionalGraphDatumCriterion. Optional filter for the number of series. @@ -268,9 +277,7 @@ def number_of_series_gte(self) -> "Union[int, None, Unset_Type]": return self._number_of_series_gte @number_of_series_gte.setter - def number_of_series_gte( - self, number_of_series_gte: "Union[int, None, Unset_Type]" - ) -> None: + def number_of_series_gte(self, number_of_series_gte: "Union[int, None, Unset_Type]") -> None: """Sets the number_of_series_gte of this GrantaServerApiSearchFloatFunctionalGraphDatumCriterion. Optional filter for the number of series. @@ -370,9 +377,7 @@ def number_of_points_lte(self) -> "Union[int, None, Unset_Type]": return self._number_of_points_lte @number_of_points_lte.setter - def number_of_points_lte( - self, number_of_points_lte: "Union[int, None, Unset_Type]" - ) -> None: + def number_of_points_lte(self, number_of_points_lte: "Union[int, None, Unset_Type]") -> None: """Sets the number_of_points_lte of this GrantaServerApiSearchFloatFunctionalGraphDatumCriterion. Optional filter for the number of points in a grid graph. @@ -396,9 +401,7 @@ def number_of_points_gte(self) -> "Union[int, None, Unset_Type]": return self._number_of_points_gte @number_of_points_gte.setter - def number_of_points_gte( - self, number_of_points_gte: "Union[int, None, Unset_Type]" - ) -> None: + def number_of_points_gte(self, number_of_points_gte: "Union[int, None, Unset_Type]") -> None: """Sets the number_of_points_gte of this GrantaServerApiSearchFloatFunctionalGraphDatumCriterion. Optional filter for the number of points in a grid graph. @@ -455,9 +458,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchFloatFunctionalGraphDatumCriterion - ): + if not isinstance(other, GrantaServerApiSearchFloatFunctionalGraphDatumCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_free_text_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_free_text_criterion.py index 6b9e06fc..93dd7734 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_free_text_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_free_text_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -175,9 +190,7 @@ def attributes(self) -> "Union[GrantaServerApiValueSpecifier, Unset_Type]": return self._attributes @attributes.setter - def attributes( - self, attributes: "Union[GrantaServerApiValueSpecifier, Unset_Type]" - ) -> None: + def attributes(self, attributes: "Union[GrantaServerApiValueSpecifier, Unset_Type]") -> None: """Sets the attributes of this GrantaServerApiSearchFreeTextCriterion. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_criterion.py index 6cc99370..27992e08 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_exists_criterion.py new file mode 100644 index 00000000..0cdfd4c5 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_hyperlink_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchHyperlinkDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "hyperlink", + ) -> None: + """GrantaServerApiSearchHyperlinkDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchHyperlinkDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchHyperlinkDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchHyperlinkDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchHyperlinkDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchHyperlinkDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_index_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_index_status.py index 1f13e129..957f5352 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_index_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_index_status.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -148,9 +162,7 @@ def search_index_up_to_date(self) -> "Union[bool, Unset_Type]": return self._search_index_up_to_date @search_index_up_to_date.setter - def search_index_up_to_date( - self, search_index_up_to_date: "Union[bool, Unset_Type]" - ) -> None: + def search_index_up_to_date(self, search_index_up_to_date: "Union[bool, Unset_Type]") -> None: """Sets the search_index_up_to_date of this GrantaServerApiSearchIndexStatus. Whether all changes up to and including the most recent database revision have been sent to the search index. This will return true even if some of those revisions could not be indexed @@ -161,9 +173,7 @@ def search_index_up_to_date( """ # Field is not nullable if search_index_up_to_date is None: - raise ValueError( - "Invalid value for 'search_index_up_to_date', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_index_up_to_date', must not be 'None'") self._search_index_up_to_date = search_index_up_to_date @property @@ -205,9 +215,7 @@ def search_index_in_sync(self) -> "Union[bool, Unset_Type]": return self._search_index_in_sync @search_index_in_sync.setter - def search_index_in_sync( - self, search_index_in_sync: "Union[bool, Unset_Type]" - ) -> None: + def search_index_in_sync(self, search_index_in_sync: "Union[bool, Unset_Type]") -> None: """Sets the search_index_in_sync of this GrantaServerApiSearchIndexStatus. Returns false if the search index is out of sync with the database (i.e. because changes were made that could not be indexed) @@ -218,9 +226,7 @@ def search_index_in_sync( """ # Field is not nullable if search_index_in_sync is None: - raise ValueError( - "Invalid value for 'search_index_in_sync', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_index_in_sync', must not be 'None'") self._search_index_in_sync = search_index_in_sync @property @@ -236,9 +242,7 @@ def search_index_location(self) -> "Union[str, None, Unset_Type]": return self._search_index_location @search_index_location.setter - def search_index_location( - self, search_index_location: "Union[str, None, Unset_Type]" - ) -> None: + def search_index_location(self, search_index_location: "Union[str, None, Unset_Type]") -> None: """Sets the search_index_location of this GrantaServerApiSearchIndexStatus. The location of the index. @@ -287,9 +291,7 @@ def disk_status(self) -> "Union[GrantaServerApiDiskStatus, Unset_Type]": return self._disk_status @disk_status.setter - def disk_status( - self, disk_status: "Union[GrantaServerApiDiskStatus, Unset_Type]" - ) -> None: + def disk_status(self, disk_status: "Union[GrantaServerApiDiskStatus, Unset_Type]") -> None: """Sets the disk_status of this GrantaServerApiSearchIndexStatus. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_criterion.py index c00c077f..31d264b3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_exists_criterion.py new file mode 100644 index 00000000..ff61705d --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_integer_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchIntegerDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "integer", + ) -> None: + """GrantaServerApiSearchIntegerDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchIntegerDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchIntegerDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchIntegerDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchIntegerDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchIntegerDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_datum_criterion.py index cfc58fd7..14b1889f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -127,18 +142,14 @@ def __init__( self._target_table_guid: Union[str, None, Unset_Type] = Unset self._target_database_key: Union[str, None, Unset_Type] = Unset self._local_criterion: Union[GrantaServerApiSearchCriterion, Unset_Type] = Unset - self._link_datum_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = ( - Unset - ) + self._link_datum_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = Unset self._indirect_links: Union[GrantaServerApiIndirectLinks, Unset_Type] = Unset self._search_in_reversed_direction: Union[bool, Unset_Type] = Unset self._target_attribute_identity: Union[int, None, Unset_Type] = Unset self._target_attribute_guid: Union[str, None, Unset_Type] = Unset self._inner_criterion: Union[GrantaServerApiSearchCriterion, Unset_Type] = Unset self._type: str - self._local_rows_behavior: Union[ - GrantaServerApiSearchLocalRowsBehavior, Unset_Type - ] = Unset + self._local_rows_behavior: Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type] = Unset if target_table_identity is not Unset: self.target_table_identity = target_table_identity @@ -177,9 +188,7 @@ def target_table_identity(self) -> "Union[int, None, Unset_Type]": return self._target_table_identity @target_table_identity.setter - def target_table_identity( - self, target_table_identity: "Union[int, None, Unset_Type]" - ) -> None: + def target_table_identity(self, target_table_identity: "Union[int, None, Unset_Type]") -> None: """Sets the target_table_identity of this GrantaServerApiSearchLinkDatumCriterion. Table containing the linked records. The target table can be omitted; it is likely to improve performance if it is included. For tabular search, if either the target attribute or the target table is provided, they should both be provided. @@ -203,9 +212,7 @@ def target_table_guid(self) -> "Union[str, None, Unset_Type]": return self._target_table_guid @target_table_guid.setter - def target_table_guid( - self, target_table_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_table_guid(self, target_table_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_table_guid of this GrantaServerApiSearchLinkDatumCriterion. Table containing the linked records. The target table can be omitted; it is likely to improve performance if it is included. For tabular search, if either the target attribute or the target table is provided, they should both be provided. @@ -229,9 +236,7 @@ def target_database_key(self) -> "Union[str, None, Unset_Type]": return self._target_database_key @target_database_key.setter - def target_database_key( - self, target_database_key: "Union[str, None, Unset_Type]" - ) -> None: + def target_database_key(self, target_database_key: "Union[str, None, Unset_Type]") -> None: """Sets the target_database_key of this GrantaServerApiSearchLinkDatumCriterion. Database containing the linked records. For reverse cross database links, this is the database where the link is defined @@ -347,9 +352,7 @@ def search_in_reversed_direction( """ # Field is not nullable if search_in_reversed_direction is None: - raise ValueError( - "Invalid value for 'search_in_reversed_direction', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_in_reversed_direction', must not be 'None'") self._search_in_reversed_direction = search_in_reversed_direction @property @@ -391,9 +394,7 @@ def target_attribute_guid(self) -> "Union[str, None, Unset_Type]": return self._target_attribute_guid @target_attribute_guid.setter - def target_attribute_guid( - self, target_attribute_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_attribute_guid(self, target_attribute_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_attribute_guid of this GrantaServerApiSearchLinkDatumCriterion. For tabular searching: this is the GUID of the short-text linking attribute. /// The target attribute and table can both be omitted; it is likely to improve performance if they are included. If either the target attribute or the target table is provided, they should both be provided. Otherwise null. @@ -460,9 +461,7 @@ def type(self, type: "str") -> None: self._type = type @property - def local_rows_behavior( - self, - ) -> "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]": + def local_rows_behavior(self) -> "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]": """Gets the local_rows_behavior of this GrantaServerApiSearchLinkDatumCriterion. Returns @@ -474,8 +473,7 @@ def local_rows_behavior( @local_rows_behavior.setter def local_rows_behavior( - self, - local_rows_behavior: "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]", + self, local_rows_behavior: "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]" ) -> None: """Sets the local_rows_behavior of this GrantaServerApiSearchLinkDatumCriterion. @@ -486,9 +484,7 @@ def local_rows_behavior( """ # Field is not nullable if local_rows_behavior is None: - raise ValueError( - "Invalid value for 'local_rows_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'local_rows_behavior', must not be 'None'") self._local_rows_behavior = local_rows_behavior @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_exists_datum_criterion.py index 77855c5f..10f51f89 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_exists_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_link_exists_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 GrantaServerApiSearchDatumExistsCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchLinkExistsDatumCriterion( - GrantaServerApiSearchDatumExistsCriterion -): +class GrantaServerApiSearchLinkExistsDatumCriterion(GrantaServerApiSearchDatumExistsCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -118,14 +131,10 @@ def __init__( self._target_table_identity: Union[int, None, Unset_Type] = Unset self._target_table_guid: Union[str, None, Unset_Type] = Unset self._target_database_key: Union[str, None, Unset_Type] = Unset - self._link_datum_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = ( - Unset - ) + self._link_datum_type: Union[GrantaServerApiLinkAttributeType, Unset_Type] = Unset self._indirect_links: Union[GrantaServerApiIndirectLinks, Unset_Type] = Unset self._search_in_reversed_direction: Union[bool, Unset_Type] = Unset - self._local_rows_behavior: Union[ - GrantaServerApiSearchLocalRowsBehavior, Unset_Type - ] = Unset + self._local_rows_behavior: Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type] = Unset self._target_attribute_identity: Union[int, None, Unset_Type] = Unset self._target_attribute_guid: Union[str, None, Unset_Type] = Unset self._type: str @@ -163,9 +172,7 @@ def target_table_identity(self) -> "Union[int, None, Unset_Type]": return self._target_table_identity @target_table_identity.setter - def target_table_identity( - self, target_table_identity: "Union[int, None, Unset_Type]" - ) -> None: + def target_table_identity(self, target_table_identity: "Union[int, None, Unset_Type]") -> None: """Sets the target_table_identity of this GrantaServerApiSearchLinkExistsDatumCriterion. Table containing the linked records @@ -189,9 +196,7 @@ def target_table_guid(self) -> "Union[str, None, Unset_Type]": return self._target_table_guid @target_table_guid.setter - def target_table_guid( - self, target_table_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_table_guid(self, target_table_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_table_guid of this GrantaServerApiSearchLinkExistsDatumCriterion. Table containing the linked records @@ -215,9 +220,7 @@ def target_database_key(self) -> "Union[str, None, Unset_Type]": return self._target_database_key @target_database_key.setter - def target_database_key( - self, target_database_key: "Union[str, None, Unset_Type]" - ) -> None: + def target_database_key(self, target_database_key: "Union[str, None, Unset_Type]") -> None: """Sets the target_database_key of this GrantaServerApiSearchLinkExistsDatumCriterion. Database containing the linked records. For reverse cross database links, this is the database where the link is defined @@ -306,15 +309,11 @@ def search_in_reversed_direction( """ # Field is not nullable if search_in_reversed_direction is None: - raise ValueError( - "Invalid value for 'search_in_reversed_direction', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_in_reversed_direction', must not be 'None'") self._search_in_reversed_direction = search_in_reversed_direction @property - def local_rows_behavior( - self, - ) -> "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]": + def local_rows_behavior(self) -> "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]": """Gets the local_rows_behavior of this GrantaServerApiSearchLinkExistsDatumCriterion. Returns @@ -326,8 +325,7 @@ def local_rows_behavior( @local_rows_behavior.setter def local_rows_behavior( - self, - local_rows_behavior: "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]", + self, local_rows_behavior: "Union[GrantaServerApiSearchLocalRowsBehavior, Unset_Type]" ) -> None: """Sets the local_rows_behavior of this GrantaServerApiSearchLinkExistsDatumCriterion. @@ -338,9 +336,7 @@ def local_rows_behavior( """ # Field is not nullable if local_rows_behavior is None: - raise ValueError( - "Invalid value for 'local_rows_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'local_rows_behavior', must not be 'None'") self._local_rows_behavior = local_rows_behavior @property @@ -382,9 +378,7 @@ def target_attribute_guid(self) -> "Union[str, None, Unset_Type]": return self._target_attribute_guid @target_attribute_guid.setter - def target_attribute_guid( - self, target_attribute_guid: "Union[str, None, Unset_Type]" - ) -> None: + def target_attribute_guid(self, target_attribute_guid: "Union[str, None, Unset_Type]") -> None: """Sets the target_attribute_guid of this GrantaServerApiSearchLinkExistsDatumCriterion. For tabular searching: this is the GUID of the short-text linking attribute. Otherwise null. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_linking_value_match_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_linking_value_match_behavior.py index 6e5e514e..7e8e4360 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_linking_value_match_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_linking_value_match_behavior.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_criterion.py index 272097bf..e70b6ea0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_exists_criterion.py index 04ee4524..44339bc5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_exists_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_exists_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( # noqa: F401 GrantaServerApiSearchLocalColumnCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchLocalColumnExistsCriterion( - GrantaServerApiSearchLocalColumnCriterion -): +class GrantaServerApiSearchLocalColumnExistsCriterion(GrantaServerApiSearchLocalColumnCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -111,9 +124,7 @@ def inner_criterion(self) -> "GrantaServerApiSearchDatumExistsCriterion": return self._inner_criterion @inner_criterion.setter - def inner_criterion( - self, inner_criterion: "GrantaServerApiSearchDatumExistsCriterion" - ) -> None: + def inner_criterion(self, inner_criterion: "GrantaServerApiSearchDatumExistsCriterion") -> None: """Sets the inner_criterion of this GrantaServerApiSearchLocalColumnExistsCriterion. Parameters @@ -151,14 +162,10 @@ def local_column_criterion_type(self, local_column_criterion_type: "str") -> Non """ # Field is not nullable if local_column_criterion_type is None: - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'None'") # Field is required if local_column_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'Unset'") self._local_column_criterion_type = local_column_criterion_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_matches_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_matches_criterion.py index 240d3d67..2945be6b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_matches_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_matches_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( # noqa: F401 GrantaServerApiSearchLocalColumnCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchLocalColumnMatchesCriterion( - GrantaServerApiSearchLocalColumnCriterion -): +class GrantaServerApiSearchLocalColumnMatchesCriterion(GrantaServerApiSearchLocalColumnCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -111,9 +124,7 @@ def inner_criterion(self) -> "GrantaServerApiSearchDatumCriterion": return self._inner_criterion @inner_criterion.setter - def inner_criterion( - self, inner_criterion: "GrantaServerApiSearchDatumCriterion" - ) -> None: + def inner_criterion(self, inner_criterion: "GrantaServerApiSearchDatumCriterion") -> None: """Sets the inner_criterion of this GrantaServerApiSearchLocalColumnMatchesCriterion. Parameters @@ -151,14 +162,10 @@ def local_column_criterion_type(self, local_column_criterion_type: "str") -> Non """ # Field is not nullable if local_column_criterion_type is None: - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'None'") # Field is required if local_column_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'Unset'") self._local_column_criterion_type = local_column_criterion_type @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_not_applicable_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_not_applicable_criterion.py index 95c189b1..493bc994 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_not_applicable_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_column_not_applicable_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_local_column_criterion import ( # noqa: F401 GrantaServerApiSearchLocalColumnCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -113,14 +128,10 @@ def local_column_criterion_type(self, local_column_criterion_type: "str") -> Non """ # Field is not nullable if local_column_criterion_type is None: - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'None'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'None'") # Field is required if local_column_criterion_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'local_column_criterion_type', must not be 'Unset'" - ) + raise ValueError("Invalid value for 'local_column_criterion_type', must not be 'Unset'") self._local_column_criterion_type = local_column_criterion_type @classmethod @@ -145,9 +156,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchLocalColumnNotApplicableCriterion - ): + if not isinstance(other, GrantaServerApiSearchLocalColumnNotApplicableCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_rows_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_rows_behavior.py index 5547930b..7ebbe7d8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_rows_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_local_rows_behavior.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_criterion.py index ddfbdcd7..28b02ab5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_exists_criterion.py new file mode 100644 index 00000000..38b4b19d --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_logical_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchLogicalDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "logical", + ) -> None: + """GrantaServerApiSearchLogicalDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchLogicalDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchLogicalDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchLogicalDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchLogicalDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchLogicalDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_sorting_value.py index e48a81d6..7055c85c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_sorting_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( # noqa: F401 GrantaServerApiSearchSortingValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_criterion.py index 266875e4..892e22ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_exists_criterion.py new file mode 100644 index 00000000..bbb05460 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_long_text_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchLongTextDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "longText", + ) -> None: + """GrantaServerApiSearchLongTextDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchLongTextDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchLongTextDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchLongTextDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchLongTextDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchLongTextDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_criterion.py index c7e4336c..410b941e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchMathsFunctionalDatumCriterion( - GrantaServerApiSearchDatumCriterion -): +class GrantaServerApiSearchMathsFunctionalDatumCriterion(GrantaServerApiSearchDatumCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -196,8 +209,7 @@ def constraints( @constraints.setter def constraints( - self, - constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]", + self, constraints: "Union[List[GrantaServerApiSearchParameterConstraint], None, Unset_Type]" ) -> None: """Sets the constraints of this GrantaServerApiSearchMathsFunctionalDatumCriterion. Constraints on the parameters of the attribute. Unspecified parameters will be assumed to be unconstrained. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_exists_criterion.py new file mode 100644 index 00000000..e829dfa6 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_maths_functional_datum_exists_criterion.py @@ -0,0 +1,154 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchMathsFunctionalDatumExistsCriterion( + GrantaServerApiSearchDatumExistsCriterion +): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "mathsFunctional", + ) -> None: + """GrantaServerApiSearchMathsFunctionalDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchMathsFunctionalDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchMathsFunctionalDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchMathsFunctionalDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchMathsFunctionalDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchMathsFunctionalDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_numeric_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_numeric_parameter_constraint.py index 8b3008a9..58b0e458 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_numeric_parameter_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_numeric_parameter_constraint.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_parameter_constraint import ( # noqa: F401 GrantaServerApiSearchParameterConstraint, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchNumericParameterConstraint( - GrantaServerApiSearchParameterConstraint -): +class GrantaServerApiSearchNumericParameterConstraint(GrantaServerApiSearchParameterConstraint): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -199,9 +212,7 @@ def interpolation_type(self) -> "Union[str, None, Unset_Type]": return self._interpolation_type @interpolation_type.setter - def interpolation_type( - self, interpolation_type: "Union[str, None, Unset_Type]" - ) -> None: + def interpolation_type(self, interpolation_type: "Union[str, None, Unset_Type]") -> None: """Sets the interpolation_type of this GrantaServerApiSearchNumericParameterConstraint. Optionally, override the interpolation type of the parameter. Can be Auto, None, Linear or CubicSpline @@ -224,9 +235,7 @@ def significant_figures(self) -> "Union[int, None, Unset_Type]": return self._significant_figures @significant_figures.setter - def significant_figures( - self, significant_figures: "Union[int, None, Unset_Type]" - ) -> None: + def significant_figures(self, significant_figures: "Union[int, None, Unset_Type]") -> None: """Sets the significant_figures of this GrantaServerApiSearchNumericParameterConstraint. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_paging_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_paging_options.py index 6a0ca83d..2f609e42 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_paging_options.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_paging_options.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -128,9 +142,7 @@ def keep_alive_in_minutes(self) -> "Union[int, None, Unset_Type]": return self._keep_alive_in_minutes @keep_alive_in_minutes.setter - def keep_alive_in_minutes( - self, keep_alive_in_minutes: "Union[int, None, Unset_Type]" - ) -> None: + def keep_alive_in_minutes(self, keep_alive_in_minutes: "Union[int, None, Unset_Type]") -> None: """Sets the keep_alive_in_minutes of this GrantaServerApiSearchPagingOptions. The length of time that the paginated search should be kept in memory diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_parameter_constraint.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_parameter_constraint.py index 8169ebc5..2f43fe00 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_parameter_constraint.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_parameter_constraint.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -96,9 +110,7 @@ def parameter(self) -> "Union[GrantaServerApiObjectIdentifier, Unset_Type]": return self._parameter @parameter.setter - def parameter( - self, parameter: "Union[GrantaServerApiObjectIdentifier, Unset_Type]" - ) -> None: + def parameter(self, parameter: "Union[GrantaServerApiObjectIdentifier, Unset_Type]") -> None: """Sets the parameter of this GrantaServerApiSearchParameterConstraint. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_criterion.py index 7b2c0681..72b7394a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_exists_criterion.py new file mode 100644 index 00000000..6764d881 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_picture_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchPictureDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "picture", + ) -> None: + """GrantaServerApiSearchPictureDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchPictureDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchPictureDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchPictureDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchPictureDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchPictureDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_criterion.py index ec7940c0..ea3f5c16 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_exists_criterion.py new file mode 100644 index 00000000..da1c8d75 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_point_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchPointDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "point", + ) -> None: + """GrantaServerApiSearchPointDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchPointDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchPointDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchPointDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchPointDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchPointDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_criterion.py index 2efe5162..6abfd71c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_exists_criterion.py new file mode 100644 index 00000000..a3f6f148 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_range_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchRangeDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "range", + ) -> None: + """GrantaServerApiSearchRangeDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchRangeDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchRangeDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchRangeDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchRangeDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchRangeDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_criterion.py index 9f0ae84a..24f43d46 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -103,9 +118,7 @@ def ancestor_identity(self) -> "Union[int, None, Unset_Type]": return self._ancestor_identity @ancestor_identity.setter - def ancestor_identity( - self, ancestor_identity: "Union[int, None, Unset_Type]" - ) -> None: + def ancestor_identity(self, ancestor_identity: "Union[int, None, Unset_Type]") -> None: """Sets the ancestor_identity of this GrantaServerApiSearchRecordAncestorCriterion. Parameters @@ -127,9 +140,7 @@ def direct_parent_only(self) -> "Union[bool, None, Unset_Type]": return self._direct_parent_only @direct_parent_only.setter - def direct_parent_only( - self, direct_parent_only: "Union[bool, None, Unset_Type]" - ) -> None: + def direct_parent_only(self, direct_parent_only: "Union[bool, None, Unset_Type]") -> None: """Sets the direct_parent_only of this GrantaServerApiSearchRecordAncestorCriterion. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_history_identities_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_history_identities_criterion.py index 513b9e40..31e53c55 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_history_identities_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_ancestor_history_identities_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion( - GrantaServerApiSearchCriterion -): +class GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion(GrantaServerApiSearchCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -189,9 +202,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance( - other, GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion - ): + if not isinstance(other, GrantaServerApiSearchRecordAncestorHistoryIdentitiesCriterion): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_list_member_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_list_member_criterion.py index e98e0791..c719073c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_list_member_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_list_member_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_criterion.py index c33bf79a..91925380 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,12 +99,8 @@ def __init__( type: str """ super().__init__() - self.__property: Union[ - GrantaServerApiSearchSearchableRecordProperty, Unset_Type - ] = Unset - self._inner_criterion: Union[ - GrantaServerApiSearchDatumCriterion, Unset_Type - ] = Unset + self.__property: Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type] = Unset + self._inner_criterion: Union[GrantaServerApiSearchDatumCriterion, Unset_Type] = Unset self._type: str if _property is not Unset: @@ -99,9 +110,7 @@ def __init__( self.type = type @property - def _property( - self, - ) -> "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]": + def _property(self) -> "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]": """Gets the _property of this GrantaServerApiSearchRecordPropertyCriterion. Returns @@ -113,8 +122,7 @@ def _property( @_property.setter def _property( - self, - _property: "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]", + self, _property: "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]" ) -> None: """Sets the _property of this GrantaServerApiSearchRecordPropertyCriterion. @@ -129,9 +137,7 @@ def _property( self.__property = _property @property - def inner_criterion( - self, - ) -> "Union[GrantaServerApiSearchDatumCriterion, Unset_Type]": + def inner_criterion(self) -> "Union[GrantaServerApiSearchDatumCriterion, Unset_Type]": """Gets the inner_criterion of this GrantaServerApiSearchRecordPropertyCriterion. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_sort_criterion.py index 887b2930..edd3f51d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_property_sort_criterion.py @@ -1,39 +1,52 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( # noqa: F401 GrantaServerApiSearchSortCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * -class GrantaServerApiSearchRecordPropertySortCriterion( - GrantaServerApiSearchSortCriterion -): +class GrantaServerApiSearchRecordPropertySortCriterion(GrantaServerApiSearchSortCriterion): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -90,9 +103,7 @@ def __init__( type: str """ super().__init__(sort_direction=sort_direction) - self.__property: Union[ - GrantaServerApiSearchSearchableRecordProperty, Unset_Type - ] = Unset + self.__property: Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type] = Unset self._sort_type: Union[GrantaServerApiSearchSortType, Unset_Type] = Unset self._type: str @@ -103,9 +114,7 @@ def __init__( self.type = type @property - def _property( - self, - ) -> "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]": + def _property(self) -> "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]": """Gets the _property of this GrantaServerApiSearchRecordPropertySortCriterion. Returns @@ -117,8 +126,7 @@ def _property( @_property.setter def _property( - self, - _property: "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]", + self, _property: "Union[GrantaServerApiSearchSearchableRecordProperty, Unset_Type]" ) -> None: """Sets the _property of this GrantaServerApiSearchRecordPropertySortCriterion. @@ -144,9 +152,7 @@ def sort_type(self) -> "Union[GrantaServerApiSearchSortType, Unset_Type]": return self._sort_type @sort_type.setter - def sort_type( - self, sort_type: "Union[GrantaServerApiSearchSortType, Unset_Type]" - ) -> None: + def sort_type(self, sort_type: "Union[GrantaServerApiSearchSortType, Unset_Type]") -> None: """Sets the sort_type of this GrantaServerApiSearchRecordPropertySortCriterion. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_reference_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_reference_criterion.py index 329fa11f..500dc412 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_reference_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_reference_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -192,9 +207,7 @@ def record_history_guid(self) -> "Union[str, None, Unset_Type]": return self._record_history_guid @record_history_guid.setter - def record_history_guid( - self, record_history_guid: "Union[str, None, Unset_Type]" - ) -> None: + def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type]") -> None: """Sets the record_history_guid of this GrantaServerApiSearchRecordReferenceCriterion. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_subset_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_subset_criterion.py index 089fb3fe..476eb9e2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_subset_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_record_subset_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_relevance_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_relevance_sort_criterion.py index 89047078..028e28f3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_relevance_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_relevance_sort_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sort_criterion import ( # noqa: F401 GrantaServerApiSearchSortCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_request.py index d2fa0232..4d0256c8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -82,12 +96,10 @@ def __init__( sort_criteria: List[GrantaServerApiSearchSortCriterion], optional """ self._criterion: Union[GrantaServerApiSearchCriterion, Unset_Type] = Unset - self._sort_criteria: Union[ - List[GrantaServerApiSearchSortCriterion], None, Unset_Type - ] = Unset - self._paging_options: Union[GrantaServerApiSearchPagingOptions, Unset_Type] = ( + self._sort_criteria: Union[List[GrantaServerApiSearchSortCriterion], None, Unset_Type] = ( Unset ) + self._paging_options: Union[GrantaServerApiSearchPagingOptions, Unset_Type] = Unset if criterion is not Unset: self.criterion = criterion @@ -108,9 +120,7 @@ def criterion(self) -> "Union[GrantaServerApiSearchCriterion, Unset_Type]": return self._criterion @criterion.setter - def criterion( - self, criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]" - ) -> None: + def criterion(self, criterion: "Union[GrantaServerApiSearchCriterion, Unset_Type]") -> None: """Sets the criterion of this GrantaServerApiSearchSearchRequest. Parameters @@ -124,9 +134,7 @@ def criterion( self._criterion = criterion @property - def sort_criteria( - self, - ) -> "Union[List[GrantaServerApiSearchSortCriterion], None, Unset_Type]": + def sort_criteria(self) -> "Union[List[GrantaServerApiSearchSortCriterion], None, Unset_Type]": """Gets the sort_criteria of this GrantaServerApiSearchSearchRequest. An optional set of attribute based sort criteria. If none are provided, the results will be sorted in descending relevance order. @@ -139,8 +147,7 @@ def sort_criteria( @sort_criteria.setter def sort_criteria( - self, - sort_criteria: "Union[List[GrantaServerApiSearchSortCriterion], None, Unset_Type]", + self, sort_criteria: "Union[List[GrantaServerApiSearchSortCriterion], None, Unset_Type]" ) -> None: """Sets the sort_criteria of this GrantaServerApiSearchSearchRequest. An optional set of attribute based sort criteria. If none are provided, the results will be sorted in descending relevance order. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_response.py index 2cff643c..56b17291 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_response.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_response.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -81,9 +95,7 @@ def __init__( """ self._search_identifier: Union[str, None, Unset_Type] = Unset self._total_result_count: Union[int, Unset_Type] = Unset - self._results: Union[ - List[GrantaServerApiSearchSearchResult], None, Unset_Type - ] = Unset + self._results: Union[List[GrantaServerApiSearchSearchResult], None, Unset_Type] = Unset if search_identifier is not Unset: self.search_identifier = search_identifier @@ -105,9 +117,7 @@ def search_identifier(self) -> "Union[str, None, Unset_Type]": return self._search_identifier @search_identifier.setter - def search_identifier( - self, search_identifier: "Union[str, None, Unset_Type]" - ) -> None: + def search_identifier(self, search_identifier: "Union[str, None, Unset_Type]") -> None: """Sets the search_identifier of this GrantaServerApiSearchSearchResponse. If the search request had paging options specified, this will return an identifier that can be used to get the rest of the results @@ -140,15 +150,11 @@ def total_result_count(self, total_result_count: "Union[int, Unset_Type]") -> No """ # Field is not nullable if total_result_count is None: - raise ValueError( - "Invalid value for 'total_result_count', must not be 'None'" - ) + raise ValueError("Invalid value for 'total_result_count', must not be 'None'") self._total_result_count = total_result_count @property - def results( - self, - ) -> "Union[List[GrantaServerApiSearchSearchResult], None, Unset_Type]": + def results(self) -> "Union[List[GrantaServerApiSearchSearchResult], None, Unset_Type]": """Gets the results of this GrantaServerApiSearchSearchResponse. Returns @@ -160,8 +166,7 @@ def results( @results.setter def results( - self, - results: "Union[List[GrantaServerApiSearchSearchResult], None, Unset_Type]", + self, results: "Union[List[GrantaServerApiSearchSearchResult], None, Unset_Type]" ) -> None: """Sets the results of this GrantaServerApiSearchSearchResponse. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_result.py index 0f74e027..88e5b337 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_result.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -152,9 +166,7 @@ def __init__( self._parent_identity: Union[int, None, Unset_Type] = Unset self._type: Union[GrantaServerApiRecordType, Unset_Type] = Unset self._score: Union[float, None, Unset_Type] = Unset - self._sorting_value: Union[GrantaServerApiSearchSortingValue, Unset_Type] = ( - Unset - ) + self._sorting_value: Union[GrantaServerApiSearchSortingValue, Unset_Type] = Unset if database_key is not Unset: self.database_key = database_key @@ -225,9 +237,7 @@ def record_history_identity(self) -> "Union[int, Unset_Type]": return self._record_history_identity @record_history_identity.setter - def record_history_identity( - self, record_history_identity: "Union[int, Unset_Type]" - ) -> None: + def record_history_identity(self, record_history_identity: "Union[int, Unset_Type]") -> None: """Sets the record_history_identity of this GrantaServerApiSearchSearchResult. Parameters @@ -237,9 +247,7 @@ def record_history_identity( """ # Field is not nullable if record_history_identity is None: - raise ValueError( - "Invalid value for 'record_history_identity', must not be 'None'" - ) + raise ValueError("Invalid value for 'record_history_identity', must not be 'None'") self._record_history_identity = record_history_identity @property @@ -279,9 +287,7 @@ def record_history_guid(self) -> "Union[str, None, Unset_Type]": return self._record_history_guid @record_history_guid.setter - def record_history_guid( - self, record_history_guid: "Union[str, None, Unset_Type]" - ) -> None: + def record_history_guid(self, record_history_guid: "Union[str, None, Unset_Type]") -> None: """Sets the record_history_guid of this GrantaServerApiSearchSearchResult. Parameters @@ -441,9 +447,7 @@ def cubic_spline_status(self) -> "Union[str, None, Unset_Type]": return self._cubic_spline_status @cubic_spline_status.setter - def cubic_spline_status( - self, cubic_spline_status: "Union[str, None, Unset_Type]" - ) -> None: + def cubic_spline_status(self, cubic_spline_status: "Union[str, None, Unset_Type]") -> None: """Sets the cubic_spline_status of this GrantaServerApiSearchSearchResult. Parameters @@ -465,9 +469,7 @@ def version_control_state(self) -> "Union[str, None, Unset_Type]": return self._version_control_state @version_control_state.setter - def version_control_state( - self, version_control_state: "Union[str, None, Unset_Type]" - ) -> None: + def version_control_state(self, version_control_state: "Union[str, None, Unset_Type]") -> None: """Sets the version_control_state of this GrantaServerApiSearchSearchResult. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_results_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_results_request.py index f25e334b..809fba6e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_results_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_search_results_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_searchable_record_property.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_searchable_record_property.py index c5e7dd47..c8a7d49c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_searchable_record_property.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_searchable_record_property.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_criterion.py index a7f8598c..60fd3b2b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_criterion import ( # noqa: F401 GrantaServerApiSearchDatumCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -84,9 +99,7 @@ def __init__( """ super().__init__() self._value: Union[str, None, Unset_Type] = Unset - self._text_match_behavior: Union[ - GrantaServerApiSearchTextMatchBehavior, Unset_Type - ] = Unset + self._text_match_behavior: Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type] = Unset self._type: str if value is not Unset: @@ -118,9 +131,7 @@ def value(self, value: "Union[str, None, Unset_Type]") -> None: self._value = value @property - def text_match_behavior( - self, - ) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": + def text_match_behavior(self) -> "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]": """Gets the text_match_behavior of this GrantaServerApiSearchShortTextDatumCriterion. Returns @@ -132,8 +143,7 @@ def text_match_behavior( @text_match_behavior.setter def text_match_behavior( - self, - text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]", + self, text_match_behavior: "Union[GrantaServerApiSearchTextMatchBehavior, Unset_Type]" ) -> None: """Sets the text_match_behavior of this GrantaServerApiSearchShortTextDatumCriterion. @@ -144,9 +154,7 @@ def text_match_behavior( """ # Field is not nullable if text_match_behavior is None: - raise ValueError( - "Invalid value for 'text_match_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'text_match_behavior', must not be 'None'") self._text_match_behavior = text_match_behavior @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_exists_criterion.py new file mode 100644 index 00000000..975e9754 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_short_text_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchShortTextDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "shortText", + ) -> None: + """GrantaServerApiSearchShortTextDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchShortTextDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchShortTextDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchShortTextDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchShortTextDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchShortTextDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_criterion.py index ff9e0586..2d9f689b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_criterion.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -79,9 +93,7 @@ def __init__( ---------- sort_direction: GrantaServerApiSearchSortDirection, optional """ - self._sort_direction: Union[GrantaServerApiSearchSortDirection, Unset_Type] = ( - Unset - ) + self._sort_direction: Union[GrantaServerApiSearchSortDirection, Unset_Type] = Unset if sort_direction is not Unset: self.sort_direction = sort_direction diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_direction.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_direction.py index e3209795..3a18e332 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_direction.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_direction.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_type.py index 68082c03..e3fc5275 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sort_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sorting_value.py index abf6b136..3f82ea48 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_sorting_value.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_string_sorting_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_string_sorting_value.py index a1c4493b..c80b1f5a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_string_sorting_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_string_sorting_value.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_sorting_value import ( # noqa: F401 GrantaServerApiSearchSortingValue, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_datum_exists_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_datum_exists_criterion.py new file mode 100644 index 00000000..cb6e9fd6 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_datum_exists_criterion.py @@ -0,0 +1,152 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" + MI Server API + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 + +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_datum_exists_criterion import ( # noqa: F401 + GrantaServerApiSearchDatumExistsCriterion, +) + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GrantaServerApiSearchTabularDatumExistsCriterion(GrantaServerApiSearchDatumExistsCriterion): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes + ---------- + swagger_types: Dict[str, str] + The key is attribute name and the value is attribute type. + attribute_map: Dict[str, str] + The key is attribute name and the value is json key in definition. + subtype_mapping: Dict[str, str] + The key is the unmangled property name and the value is the corresponding type. + discriminator: Optional[str] + Name of the property used as discriminator for subtypes. + """ + swagger_types: Dict[str, str] = { + "type": "str", + } + + attribute_map: Dict[str, str] = { + "type": "type", + } + + subtype_mapping: Dict[str, str] = {} + + discriminator: Optional[str] = None + + def __init__( + self, + *, + type: "str" = "tabular", + ) -> None: + """GrantaServerApiSearchTabularDatumExistsCriterion - a model defined in Swagger + + Parameters + ---------- + type: str + """ + super().__init__() + self._type: str + + self.type = type + + @property + def type(self) -> "str": + """Gets the type of this GrantaServerApiSearchTabularDatumExistsCriterion. + + Returns + ------- + str + The type of this GrantaServerApiSearchTabularDatumExistsCriterion. + """ + return self._type + + @type.setter + def type(self, type: "str") -> None: + """Sets the type of this GrantaServerApiSearchTabularDatumExistsCriterion. + + Parameters + ---------- + type: str + The type of this GrantaServerApiSearchTabularDatumExistsCriterion. + """ + # Field is not nullable + if type is None: + raise ValueError("Invalid value for 'type', must not be 'None'") + # Field is required + if type is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'type', must not be 'Unset'") + self._type = type + + @classmethod + def get_real_child_model(cls, data: Dict[str, str]) -> str: + """Raises a NotImplementedError for a type without a discriminator defined. + + Parameters + ---------- + data: ModelBase + Object representing a subclass of this class + + Raises + ------ + NotImplementedError + This class has no discriminator, and hence no subclasses + """ + raise NotImplementedError() + + def __repr__(self) -> str: + """For 'print' and 'pprint'""" + return self.to_str() + + def __eq__(self, other: Any) -> bool: + """Returns true if both objects are equal""" + if not isinstance(other, GrantaServerApiSearchTabularDatumExistsCriterion): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other: Any) -> bool: + """Returns true if both objects are not equal""" + return not self == other diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_linking_value_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_linking_value_criterion.py index 6a98e8dd..b313f1ef 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_linking_value_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_tabular_linking_value_criterion.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_search_criterion import ( # noqa: F401 GrantaServerApiSearchCriterion, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -144,9 +159,7 @@ def linking_value_match_behavior( """ # Field is not nullable if linking_value_match_behavior is None: - raise ValueError( - "Invalid value for 'linking_value_match_behavior', must not be 'None'" - ) + raise ValueError("Invalid value for 'linking_value_match_behavior', must not be 'None'") self._linking_value_match_behavior = linking_value_match_behavior @property diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_text_match_behavior.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_text_match_behavior.py index 747ee815..874997d8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_text_match_behavior.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_search_text_match_behavior.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_create_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_create_search_request.py index c654c0b4..c654d0ba 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_create_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_create_search_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -76,9 +90,7 @@ def __init__( search_config: str, optional """ self._search_config: Union[str, None, Unset_Type] = Unset - self._detail: Union[ - GrantaServerApiSelectionSearchesSearchDetail, Unset_Type - ] = Unset + self._detail: Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type] = Unset if search_config is not Unset: self.search_config = search_config @@ -108,9 +120,7 @@ def search_config(self, search_config: "Union[str, None, Unset_Type]") -> None: self._search_config = search_config @property - def detail( - self, - ) -> "Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type]": + def detail(self) -> "Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type]": """Gets the detail of this GrantaServerApiSelectionSearchesCreateSearchRequest. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_find_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_find_search_request.py index 8db66747..c033481a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_find_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_find_search_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_save_search_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_save_search_request.py index 593fcc7c..f48b8747 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_save_search_request.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_save_search_request.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -76,9 +90,7 @@ def __init__( search_config: str, optional """ self._search_config: Union[str, None, Unset_Type] = Unset - self._detail: Union[ - GrantaServerApiSelectionSearchesSearchDetail, Unset_Type - ] = Unset + self._detail: Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type] = Unset if search_config is not Unset: self.search_config = search_config @@ -108,9 +120,7 @@ def search_config(self, search_config: "Union[str, None, Unset_Type]") -> None: self._search_config = search_config @property - def detail( - self, - ) -> "Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type]": + def detail(self) -> "Union[GrantaServerApiSelectionSearchesSearchDetail, Unset_Type]": """Gets the detail of this GrantaServerApiSelectionSearchesSaveSearchRequest. Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_search_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_search_detail.py index 6effe4e9..e6916808 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_search_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_search_detail.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_selection_search.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_selection_search.py index 0eb402a2..eea451d0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_selection_search.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_selection_search.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -116,9 +130,7 @@ def __init__( self._name: Union[str, None, Unset_Type] = Unset self._description: Union[str, None, Unset_Type] = Unset self._notes: Union[str, None, Unset_Type] = Unset - self._current_user_access_info: Union[ - Dict[str, Dict[str, bool]], None, Unset_Type - ] = Unset + self._current_user_access_info: Union[Dict[str, Dict[str, bool]], None, Unset_Type] = Unset self._criteria: Union[str, None, Unset_Type] = Unset self._explore_config: Union[str, None, Unset_Type] = Unset self._created_timestamp: Union[datetime, Unset_Type] = Unset @@ -175,9 +187,7 @@ def search_identifier(self, search_identifier: "Union[str, Unset_Type]") -> None """ # Field is not nullable if search_identifier is None: - raise ValueError( - "Invalid value for 'search_identifier', must not be 'None'" - ) + raise ValueError("Invalid value for 'search_identifier', must not be 'None'") self._search_identifier = search_identifier @property @@ -247,9 +257,7 @@ def notes(self, notes: "Union[str, None, Unset_Type]") -> None: self._notes = notes @property - def current_user_access_info( - self, - ) -> "Union[Dict[str, Dict[str, bool]], None, Unset_Type]": + def current_user_access_info(self) -> "Union[Dict[str, Dict[str, bool]], None, Unset_Type]": """Gets the current_user_access_info of this GrantaServerApiSelectionSearchesSelectionSearch. Returns @@ -261,8 +269,7 @@ def current_user_access_info( @current_user_access_info.setter def current_user_access_info( - self, - current_user_access_info: "Union[Dict[str, Dict[str, bool]], None, Unset_Type]", + self, current_user_access_info: "Union[Dict[str, Dict[str, bool]], None, Unset_Type]" ) -> None: """Sets the current_user_access_info of this GrantaServerApiSelectionSearchesSelectionSearch. @@ -329,9 +336,7 @@ def created_timestamp(self) -> "Union[datetime, Unset_Type]": return self._created_timestamp @created_timestamp.setter - def created_timestamp( - self, created_timestamp: "Union[datetime, Unset_Type]" - ) -> None: + def created_timestamp(self, created_timestamp: "Union[datetime, Unset_Type]") -> None: """Sets the created_timestamp of this GrantaServerApiSelectionSearchesSelectionSearch. Parameters @@ -341,9 +346,7 @@ def created_timestamp( """ # Field is not nullable if created_timestamp is None: - raise ValueError( - "Invalid value for 'created_timestamp', must not be 'None'" - ) + raise ValueError("Invalid value for 'created_timestamp', must not be 'None'") self._created_timestamp = created_timestamp @property @@ -373,9 +376,7 @@ def created_user_or_group( """ # Field is not nullable if created_user_or_group is None: - raise ValueError( - "Invalid value for 'created_user_or_group', must not be 'None'" - ) + raise ValueError("Invalid value for 'created_user_or_group', must not be 'None'") self._created_user_or_group = created_user_or_group @property @@ -402,9 +403,7 @@ def last_modified_timestamp( """ # Field is not nullable if last_modified_timestamp is None: - raise ValueError( - "Invalid value for 'last_modified_timestamp', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_timestamp', must not be 'None'") self._last_modified_timestamp = last_modified_timestamp @property @@ -434,9 +433,7 @@ def last_modified_user_or_group( """ # Field is not nullable if last_modified_user_or_group is None: - raise ValueError( - "Invalid value for 'last_modified_user_or_group', must not be 'None'" - ) + raise ValueError("Invalid value for 'last_modified_user_or_group', must not be 'None'") self._last_modified_user_or_group = last_modified_user_or_group @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_user_or_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_user_or_group.py index 113ea779..51414ee7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_user_or_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_selection_searches_user_or_group.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_specific_values_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_specific_values_specifier.py index 906258d7..8182f3a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_specific_values_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_specific_values_specifier.py @@ -1,33 +1,48 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 -from . import ModelBase, Unset, Unset_Type -from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( +from ansys.grantami.serverapi_openapi.models.granta_server_api_value_specifier import ( # noqa: F401 GrantaServerApiValueSpecifier, -) # noqa: F401 +) +from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py index 656b175d..491cb82c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier_type.py index 888b3587..7267f79a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_value_specifier_type.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_version_state.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_version_state.py index e32f7f07..4f009787 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_version_state.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/granta_server_api_version_state.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py index 16df2d99..5924085f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/jobqueue_files_body.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py index 8a26d548..b6ee5c54 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/json_patch_document.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py index b6a6a91d..14cb0b98 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_formatters_i_output_formatter.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py index 888eded4..ad6fffa8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/microsoft_asp_net_core_mvc_object_result.py @@ -1,30 +1,44 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ import re # noqa: F401 -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Dict, - List, - Optional, - Union, -) # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Dict, List, Optional, Union # noqa: F401 from . import ModelBase, Unset, Unset_Type - if TYPE_CHECKING: from datetime import datetime import pathlib + from . import * @@ -167,9 +181,7 @@ def content_types(self) -> "Union[List[str], None, Unset_Type]": return self._content_types @content_types.setter - def content_types( - self, content_types: "Union[List[str], None, Unset_Type]" - ) -> None: + def content_types(self, content_types: "Union[List[str], None, Unset_Type]") -> None: """Sets the content_types of this MicrosoftAspNetCoreMvcObjectResult. Parameters diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/system_net_http_status_code.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/system_net_http_status_code.py index 745ed227..97aedea8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/system_net_http_status_code.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/models/system_net_http_status_code.py @@ -1,10 +1,32 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + """ MI Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/ansys-grantami-serverapi-openapi/tests/__init__.py b/ansys-grantami-serverapi-openapi/tests/__init__.py index e69de29b..3bc3c8e5 100644 --- a/ansys-grantami-serverapi-openapi/tests/__init__.py +++ b/ansys-grantami-serverapi-openapi/tests/__init__.py @@ -0,0 +1,21 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. diff --git a/ansys-grantami-serverapi-openapi/tests/conftest.py b/ansys-grantami-serverapi-openapi/tests/conftest.py index 0cbb06ca..5a5f2bcb 100644 --- a/ansys-grantami-serverapi-openapi/tests/conftest.py +++ b/ansys-grantami-serverapi-openapi/tests/conftest.py @@ -1,3 +1,25 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + # coding: utf-8 """ @@ -6,14 +28,14 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1 - + Generated by: https://github.com/swagger-api/swagger-codegen.git """ +import ansys.grantami.serverapi_openapi.models as models +import ansys.openapi.common as auth import pytest import requests_mock -import ansys.openapi.common as auth -import ansys.grantami.serverapi_openapi.models as models @pytest.fixture(scope="session") diff --git a/ansys-grantami-serverapi-openapi/tests/test_discriminators.py b/ansys-grantami-serverapi-openapi/tests/test_discriminators.py index 88a96d63..9ea9d7bc 100644 --- a/ansys-grantami-serverapi-openapi/tests/test_discriminators.py +++ b/ansys-grantami-serverapi-openapi/tests/test_discriminators.py @@ -1,22 +1,40 @@ +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + from enum import Enum import types -import pytest -import ansys.grantami.serverapi_openapi.models as models +import ansys.grantami.serverapi_openapi.models as models +import pytest ALL_MODELS = { k: v for k, v in models.__dict__.items() - if isinstance(v, type) - and k not in ("ModelBase", "Unset_Type") - and not issubclass(v, Enum) + if isinstance(v, type) and k not in ("ModelBase", "Unset_Type") and not issubclass(v, Enum) } POLYMORPHIC_MODELS = { k: v for k, v in ALL_MODELS.items() if "discriminator_value_class_map" in v.__dict__ } -MONOMORPHIC_MODELS = { - k: v for k, v in ALL_MODELS.items() if k not in POLYMORPHIC_MODELS.keys() -} +MONOMORPHIC_MODELS = {k: v for k, v in ALL_MODELS.items() if k not in POLYMORPHIC_MODELS.keys()} @pytest.mark.parametrize("cls", ALL_MODELS.values()) diff --git a/ansys-grantami-serverapi-openapi/tests/test_general.py b/ansys-grantami-serverapi-openapi/tests/test_general.py index ced92dfb..7c5c569c 100644 --- a/ansys-grantami-serverapi-openapi/tests/test_general.py +++ b/ansys-grantami-serverapi-openapi/tests/test_general.py @@ -1,13 +1,34 @@ -import py_compile +# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + from pathlib import Path +import py_compile + import pytest src_folder = Path(__file__) / "../../src" files = list(src_folder.rglob("*.py")) -@pytest.mark.parametrize( - "file", files, ids=[f.relative_to(src_folder).as_posix() for f in files] -) +@pytest.mark.parametrize("file", files, ids=[f.relative_to(src_folder).as_posix() for f in files]) def test_all_code_valid(file): py_compile.compile(file=file, doraise=True) diff --git a/pom.xml b/pom.xml index 541fa7f5..ff3ec916 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.swagger AnsysPython-swagger-codegen - 3.0.0a3 + 3.0.0a4 jar AnsysPython-swagger-codegen @@ -23,7 +23,7 @@ io.swagger.codegen.v3 swagger-codegen-maven-plugin - 3.0.52 + 3.0.54 diff --git a/yaml/server-api.json b/yaml/server-api.json index c7b13608..915df4cd 100644 --- a/yaml/server-api.json +++ b/yaml/server-api.json @@ -62,42 +62,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 481": { + "Example 1": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 482": { + "Example 2": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 483": { + "Example 3": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 484": { + "Example 4": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 485": { + "Example 5": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"95e6f685-5aac-4bab-855f-aeef8c5ad17b","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "3fb56d34-c3d1-45bc-a885-e78c045d1c80", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 486": { + "Example 6": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"ec1d0898-50ce-4f1d-8e85-529d0d6f8cd2","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "72449991-467e-4b17-9945-dd33427c60e1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 487": { + "Example 7": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0665c230-a90b-4e6f-a62d-4a6f373539cc","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "295bcaff-2902-4e24-bca5-797922f38209", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 488": { + "Example 8": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -109,42 +183,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 481": { + "Example 1": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 482": { + "Example 2": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 483": { + "Example 3": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 484": { + "Example 4": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 485": { + "Example 5": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"95e6f685-5aac-4bab-855f-aeef8c5ad17b","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "3fb56d34-c3d1-45bc-a885-e78c045d1c80", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 486": { + "Example 6": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"ec1d0898-50ce-4f1d-8e85-529d0d6f8cd2","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "72449991-467e-4b17-9945-dd33427c60e1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 487": { + "Example 7": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0665c230-a90b-4e6f-a62d-4a6f373539cc","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "295bcaff-2902-4e24-bca5-797922f38209", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 488": { + "Example 8": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -156,42 +304,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 481": { + "Example 1": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 482": { + "Example 2": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 483": { + "Example 3": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 484": { + "Example 4": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 485": { + "Example 5": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"95e6f685-5aac-4bab-855f-aeef8c5ad17b","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "3fb56d34-c3d1-45bc-a885-e78c045d1c80", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 486": { + "Example 6": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"ec1d0898-50ce-4f1d-8e85-529d0d6f8cd2","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "72449991-467e-4b17-9945-dd33427c60e1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 487": { + "Example 7": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0665c230-a90b-4e6f-a62d-4a6f373539cc","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "295bcaff-2902-4e24-bca5-797922f38209", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 488": { + "Example 8": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -203,42 +425,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 481": { + "Example 1": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 482": { + "Example 2": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 483": { + "Example 3": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 484": { + "Example 4": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 485": { + "Example 5": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"95e6f685-5aac-4bab-855f-aeef8c5ad17b","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "3fb56d34-c3d1-45bc-a885-e78c045d1c80", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 486": { + "Example 6": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"ec1d0898-50ce-4f1d-8e85-529d0d6f8cd2","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "72449991-467e-4b17-9945-dd33427c60e1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 487": { + "Example 7": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0665c230-a90b-4e6f-a62d-4a6f373539cc","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "295bcaff-2902-4e24-bca5-797922f38209", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 488": { + "Example 8": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -331,42 +627,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 489": { + "Example 9": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 490": { + "Example 10": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 491": { + "Example 11": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 492": { + "Example 12": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 493": { + "Example 13": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"50a9737f-b84c-4c84-836a-eefd68adb85c","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "ab2ac632-d51a-4496-9585-02c770e4bbbd", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 494": { + "Example 14": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"5b9b0b59-8d0f-4283-9689-7c4ab7c536ca","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "38c1b064-b43e-4582-81a5-5ce649dcaf7d", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 495": { + "Example 15": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"3bb51cd5-fcb5-40e4-a6bd-ad8b2913bdb7","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "289f8d1c-aff9-4aa0-a503-ae25884618c9", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 496": { + "Example 16": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -378,42 +748,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 489": { + "Example 9": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 490": { + "Example 10": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 491": { + "Example 11": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 492": { + "Example 12": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 493": { + "Example 13": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"50a9737f-b84c-4c84-836a-eefd68adb85c","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "ab2ac632-d51a-4496-9585-02c770e4bbbd", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 494": { + "Example 14": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"5b9b0b59-8d0f-4283-9689-7c4ab7c536ca","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "38c1b064-b43e-4582-81a5-5ce649dcaf7d", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 495": { + "Example 15": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"3bb51cd5-fcb5-40e4-a6bd-ad8b2913bdb7","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "289f8d1c-aff9-4aa0-a503-ae25884618c9", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 496": { + "Example 16": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -425,42 +869,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 489": { + "Example 9": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 490": { + "Example 10": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 491": { + "Example 11": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 492": { + "Example 12": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 493": { + "Example 13": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"50a9737f-b84c-4c84-836a-eefd68adb85c","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "ab2ac632-d51a-4496-9585-02c770e4bbbd", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 494": { + "Example 14": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"5b9b0b59-8d0f-4283-9689-7c4ab7c536ca","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "38c1b064-b43e-4582-81a5-5ce649dcaf7d", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 495": { + "Example 15": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"3bb51cd5-fcb5-40e4-a6bd-ad8b2913bdb7","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "289f8d1c-aff9-4aa0-a503-ae25884618c9", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 496": { + "Example 16": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -472,42 +990,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 489": { + "Example 9": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 490": { + "Example 10": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 491": { + "Example 11": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 492": { + "Example 12": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 493": { + "Example 13": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"50a9737f-b84c-4c84-836a-eefd68adb85c","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "ab2ac632-d51a-4496-9585-02c770e4bbbd", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 494": { + "Example 14": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"5b9b0b59-8d0f-4283-9689-7c4ab7c536ca","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "38c1b064-b43e-4582-81a5-5ce649dcaf7d", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 495": { + "Example 15": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"3bb51cd5-fcb5-40e4-a6bd-ad8b2913bdb7","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "289f8d1c-aff9-4aa0-a503-ae25884618c9", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 496": { + "Example 16": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -591,42 +1183,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 497": { + "Example 17": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 498": { + "Example 18": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 499": { + "Example 19": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 500": { + "Example 20": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 501": { + "Example 21": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0fda3143-b4e6-4b63-a722-f5d61bae2efb","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1a2b097b-ba9e-4c3d-a63c-a24df1bc20f4", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 502": { + "Example 22": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"4ce35912-4b4c-41d2-b22f-69d4981168db","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "e1a5c5d3-0d3a-4096-ba91-0129f2df19aa", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 503": { + "Example 23": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"cb01b351-9823-4840-9b5c-0d7b7324fc98","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "fa958e8c-8718-4a6b-bea6-933cb06d66dc", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 504": { + "Example 24": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -638,42 +1304,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 497": { + "Example 17": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 498": { + "Example 18": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 499": { + "Example 19": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 500": { + "Example 20": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 501": { + "Example 21": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0fda3143-b4e6-4b63-a722-f5d61bae2efb","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1a2b097b-ba9e-4c3d-a63c-a24df1bc20f4", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 502": { + "Example 22": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"4ce35912-4b4c-41d2-b22f-69d4981168db","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "e1a5c5d3-0d3a-4096-ba91-0129f2df19aa", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 503": { + "Example 23": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"cb01b351-9823-4840-9b5c-0d7b7324fc98","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "fa958e8c-8718-4a6b-bea6-933cb06d66dc", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 504": { + "Example 24": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -685,42 +1425,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 497": { + "Example 17": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 498": { + "Example 18": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 499": { + "Example 19": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 500": { + "Example 20": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 501": { + "Example 21": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0fda3143-b4e6-4b63-a722-f5d61bae2efb","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1a2b097b-ba9e-4c3d-a63c-a24df1bc20f4", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 502": { + "Example 22": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"4ce35912-4b4c-41d2-b22f-69d4981168db","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "e1a5c5d3-0d3a-4096-ba91-0129f2df19aa", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 503": { + "Example 23": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"cb01b351-9823-4840-9b5c-0d7b7324fc98","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "fa958e8c-8718-4a6b-bea6-933cb06d66dc", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 504": { + "Example 24": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -732,42 +1546,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 497": { + "Example 17": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 498": { + "Example 18": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 499": { + "Example 19": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 500": { + "Example 20": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 501": { + "Example 21": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"0fda3143-b4e6-4b63-a722-f5d61bae2efb","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1a2b097b-ba9e-4c3d-a63c-a24df1bc20f4", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 502": { + "Example 22": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"4ce35912-4b4c-41d2-b22f-69d4981168db","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "e1a5c5d3-0d3a-4096-ba91-0129f2df19aa", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 503": { + "Example 23": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"cb01b351-9823-4840-9b5c-0d7b7324fc98","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "fa958e8c-8718-4a6b-bea6-933cb06d66dc", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 504": { + "Example 24": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -827,42 +1715,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 505": { + "Example 25": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 506": { + "Example 26": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 507": { + "Example 27": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 508": { + "Example 28": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 509": { + "Example 29": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"2a21c3bd-6760-4859-a43e-3184b489b391","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1db380a4-c60c-41d4-827d-fc735870d454", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 510": { + "Example 30": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"33d3cfbe-3de3-40c7-887c-02931ecf388f","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "f60d08c8-c623-40a4-96b3-50f2ab0bfbd1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 511": { + "Example 31": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"e8bef4e1-f224-4c99-988e-81dfb2edfedf","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "c1c353e5-3392-4e4c-8998-43e245aeb7d1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 512": { + "Example 32": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -874,42 +1836,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 505": { + "Example 25": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 506": { + "Example 26": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 507": { + "Example 27": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 508": { + "Example 28": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 509": { + "Example 29": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"2a21c3bd-6760-4859-a43e-3184b489b391","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1db380a4-c60c-41d4-827d-fc735870d454", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 510": { + "Example 30": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"33d3cfbe-3de3-40c7-887c-02931ecf388f","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "f60d08c8-c623-40a4-96b3-50f2ab0bfbd1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 511": { + "Example 31": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"e8bef4e1-f224-4c99-988e-81dfb2edfedf","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "c1c353e5-3392-4e4c-8998-43e245aeb7d1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 512": { + "Example 32": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -921,42 +1957,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 505": { + "Example 25": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 506": { + "Example 26": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 507": { + "Example 27": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 508": { + "Example 28": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 509": { + "Example 29": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"2a21c3bd-6760-4859-a43e-3184b489b391","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1db380a4-c60c-41d4-827d-fc735870d454", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 510": { + "Example 30": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"33d3cfbe-3de3-40c7-887c-02931ecf388f","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "f60d08c8-c623-40a4-96b3-50f2ab0bfbd1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 511": { + "Example 31": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"e8bef4e1-f224-4c99-988e-81dfb2edfedf","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "c1c353e5-3392-4e4c-8998-43e245aeb7d1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 512": { + "Example 32": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -968,42 +2078,116 @@ "$ref": "#/components/schemas/GrantaServerApiAggregationsAggregationsRequest" }, "examples": { - "Example 505": { + "Example 25": { "summary": "Attribute exists aggregation", "description": "Simple aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute.", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"exists","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 506": { + "Example 26": { "summary": "Numeric attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 8965 (Counter). Returns the count of records with a value for this attribute, along with its minimum and maximum values", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"type":"integer"},"identity":8965,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 507": { + "Example 27": { "summary": "Text attribute value aggregation", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns the count of records with a value for this attribute, along with a list of its 10 most common terms", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 508": { + "Example 28": { "summary": "Text attribute value aggregation with prefix", "description": "Aggregation in MI_TRAINING on an integer attribute with identity 10907 (CAS Number). Returns a list of the 10 most common terms in this attribute that start with the characters 'st' (case insensitive)", "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"st","type":"shortText"},"identity":10907,"isMetaAttribute":false,"type":"attribute"}]} }, - "Example 509": { + "Example 29": { "summary": "Free text aggregation", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in all attributes and tabular local columns that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"2a21c3bd-6760-4859-a43e-3184b489b391","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "1db380a4-c60c-41d4-827d-fc735870d454", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + } + ] + } }, - "Example 510": { + "Example 30": { "summary": "Free text aggregation on specific attributes", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in the attributes -4 (record name), -7 (short name) and 10907 (CAS Number) that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"33d3cfbe-3de3-40c7-887c-02931ecf388f","numberOfTerms":10,"prefix":"st","attributes":{"identities":[-4,-7,10907],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "f60d08c8-c623-40a4-96b3-50f2ab0bfbd1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "identities": [ + -4, + -7, + 10907 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "type": "text" + } + ] + } }, - "Example 511": { + "Example 31": { "summary": "Free text aggregation with excluded tabular columns", "description": "Aggregation in MI_TRAINING that returns a list of the 10 most common terms in tabular local columns excluding 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table that begin with the characters 'st' (case insensitive)", - "value": {"criterion":{"all":[],"any":[],"none":[],"type":"boolean"},"aggregationCriteria":[{"criterionGuid":"e8bef4e1-f224-4c99-988e-81dfb2edfedf","numberOfTerms":10,"prefix":"st","attributes":{"filterOn":"none"},"localColumns":{"excludedIdentities":[],"excludedGuids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"exclude"},"type":"text"}]} + "value": { + "criterion": { + "all": [], + "any": [], + "none": [], + "type": "boolean" + }, + "aggregationCriteria": [ + { + "criterionGuid": "c1c353e5-3392-4e4c-8998-43e245aeb7d1", + "numberOfTerms": 10, + "prefix": "st", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "excludedIdentities": [], + "excludedGuids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "exclude" + }, + "type": "text" + } + ] + } }, - "Example 512": { + "Example 32": { "summary": "Aggregation with query", "description": "Aggregation in MI_TRAINING on a discrete attribute with identity 5876 (Rating), that only returns the common terms in records that also match the search criterion that the picture attribute 5872 (Issue Date) exists", "value": {"criterion":{"innerCriterion":{"type":"dateTime"},"attributeCriterionType":"exists","identity":5872,"isMetaAttribute":false,"type":"attribute"},"aggregationCriteria":[{"attributeAggregationCriterionType":"value","innerCriterion":{"numberOfTerms":10,"prefix":"","type":"discreteText"},"identity":5876,"isMetaAttribute":false,"type":"attribute"}]} @@ -1125,12 +2309,12 @@ "$ref": "#/components/schemas/GrantaServerApiDataDatum" }, "examples": { - "Example 121": { + "Example 1": { "summary": "Integer datum.", "description": "Example response for an integer datum with a value of 7.", "value": {"datumType":"integer","value":7,"notApplicable":"applicable"} }, - "Example 122": { + "Example 2": { "summary": "Logical datum.", "description": "Example response for a logical datum with a value of 'true'", "value": {"datumType":"logical","value":true,"notApplicable":"applicable"} @@ -1222,12 +2406,12 @@ "$ref": "#/components/schemas/GrantaServerApiDataDatum" }, "examples": { - "Example 123": { + "Example 3": { "summary": "Integer datum.", "description": "Example response for an integer datum with a value of 7.", "value": {"datumType":"integer","value":7,"notApplicable":"applicable"} }, - "Example 124": { + "Example 4": { "summary": "Logical datum.", "description": "Example response for a logical datum with a value of 'true'", "value": {"datumType":"logical","value":true,"notApplicable":"applicable"} @@ -1319,12 +2503,12 @@ "$ref": "#/components/schemas/GrantaServerApiDataDatum" }, "examples": { - "Example 125": { + "Example 5": { "summary": "Integer datum.", "description": "Example response for an integer datum with a value of 7.", "value": {"datumType":"integer","value":7,"notApplicable":"applicable"} }, - "Example 126": { + "Example 6": { "summary": "Logical datum.", "description": "Example response for a logical datum with a value of 'true'", "value": {"datumType":"logical","value":true,"notApplicable":"applicable"} @@ -1407,12 +2591,12 @@ "$ref": "#/components/schemas/GrantaServerApiDataDatum" }, "examples": { - "Example 127": { + "Example 7": { "summary": "Integer datum.", "description": "Example response for an integer datum with a value of 7.", "value": {"datumType":"integer","value":7,"notApplicable":"applicable"} }, - "Example 128": { + "Example 8": { "summary": "Logical datum.", "description": "Example response for a logical datum with a value of 'true'", "value": {"datumType":"logical","value":true,"notApplicable":"applicable"} @@ -2517,67 +3701,67 @@ "$ref": "#/components/schemas/GrantaServerApiDataExportDataExportRequest" }, "examples": { - "Example 196": { + "Example 1": { "summary": "Data Export", "description": "This example demonstrates how to export data for attributes 'Shape factor' and 'Young's modulus' from the 'MaterialUniverse' records 'Alumino Silicate - 1720' and '250 Maraging Steel' in database 'MI Training'.", "value": {"attributes":[{"attributeType":"simple","guid":"00000144-0001-4fff-8fff-dd92ffff0000"},{"attributeType":"simple","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"}],"recordProperties":["fullName","recordColor"],"recordHistoryIdentities":[8925,11331]} }, - "Example 197": { + "Example 2": { "summary": "Linked Records Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 198": { + "Example 3": { "summary": "Linked Records Export - no target specified", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. This export does not specify the target of the link group (database, table), so the one defined in the schema will be used as default instead.", "value": {"attributes":[{"localData":[],"attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 199": { + "Example 4": { "summary": "Linked Records Export - In Reversed Direction", "description": "This example demonstrates how to export linked records from the 'Tensile Test Data' record 'MTS-615721' in database 'MI Training', following the record link group 'Metals Pedigree', which is the reverse of link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"ad27baf0-42e9-4136-bc96-9dbbf116e265","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":true,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120738]} }, - "Example 200": { + "Example 5": { "summary": "Linked Records Export - include indirect links", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data' including indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"include","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 201": { + "Example 6": { "summary": "Linked Records Export - exclude indirect links", "description": "This example demonstrates how to export linked records from the 'Tensile Statistical Data' record '300°F' in database 'MI Training', following the record link group 'Design Data' excluding indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0000b5e2-0011-4fff-8fff-0000ffff0000","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"exclude","guid":"0aa93d4c-1393-4cf5-b172-3855349ef42c"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120483]} }, - "Example 202": { + "Example 7": { "summary": "Linked Records Export - Dynamic Link", "description": "This example demonstrates how to export linked records from the 'Composite Pedigree' record 'LBU14' in database 'MI Training', following the dynamic record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"dynamicLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[121939]} }, - "Example 203": { + "Example 8": { "summary": "Linked Data Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' and 'Test Temperature'.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 204": { + "Example 9": { "summary": "Linked Data Export - Rollup", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' with 'Mean' rollup and 'Test Temperature' with 'Max' rollup.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"rollUpType":"mean","attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"rollUpType":"max","attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 205": { + "Example 10": { "summary": "Tabular Data Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 206": { + "Example 11": { "summary": "Tabular Data Export - no target specified", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute. This export does not specify the tabular targets (database, table and attribute), so the ones defined in the schema will be used as defaults instead.", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 207": { + "Example 12": { "summary": "Tabular Data Filtered Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.Only rows where there is a linked record in the 'All Substances' subset will be returned ", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"}],"linkedRecordsExportBehavior":{"tabularRowBehavior":"onlyRowsWithVisibleLinkedRecords","linkedRecordsCriterion":{"subsetGuid":"883ab52b-01b6-4a15-a89a-2bfa17c8d0e9","type":"subset"}},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 208": { + "Example 13": { "summary": "Tabular Data With Summary Row and Tabular Rollup", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It will include a tabular rollup of the maximum of the 'SVHC under REACH', and a summary row of the linked records and their chemical names", "value": {"attributes":[{"localData":[],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"summaryRollUpType":"listDistinct","attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"rollUpType":"max","attributeType":"simple","guid":"ed238f84-fe8f-4cdc-a07d-82d358462b32"}],"linkedRecordsExportBehavior":{"summaryRollUpType":"listDistinct"},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} @@ -2589,67 +3773,67 @@ "$ref": "#/components/schemas/GrantaServerApiDataExportDataExportRequest" }, "examples": { - "Example 196": { + "Example 1": { "summary": "Data Export", "description": "This example demonstrates how to export data for attributes 'Shape factor' and 'Young's modulus' from the 'MaterialUniverse' records 'Alumino Silicate - 1720' and '250 Maraging Steel' in database 'MI Training'.", "value": {"attributes":[{"attributeType":"simple","guid":"00000144-0001-4fff-8fff-dd92ffff0000"},{"attributeType":"simple","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"}],"recordProperties":["fullName","recordColor"],"recordHistoryIdentities":[8925,11331]} }, - "Example 197": { + "Example 2": { "summary": "Linked Records Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 198": { + "Example 3": { "summary": "Linked Records Export - no target specified", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. This export does not specify the target of the link group (database, table), so the one defined in the schema will be used as default instead.", "value": {"attributes":[{"localData":[],"attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 199": { + "Example 4": { "summary": "Linked Records Export - In Reversed Direction", "description": "This example demonstrates how to export linked records from the 'Tensile Test Data' record 'MTS-615721' in database 'MI Training', following the record link group 'Metals Pedigree', which is the reverse of link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"ad27baf0-42e9-4136-bc96-9dbbf116e265","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":true,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120738]} }, - "Example 200": { + "Example 5": { "summary": "Linked Records Export - include indirect links", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data' including indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"include","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 201": { + "Example 6": { "summary": "Linked Records Export - exclude indirect links", "description": "This example demonstrates how to export linked records from the 'Tensile Statistical Data' record '300°F' in database 'MI Training', following the record link group 'Design Data' excluding indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0000b5e2-0011-4fff-8fff-0000ffff0000","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"exclude","guid":"0aa93d4c-1393-4cf5-b172-3855349ef42c"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120483]} }, - "Example 202": { + "Example 7": { "summary": "Linked Records Export - Dynamic Link", "description": "This example demonstrates how to export linked records from the 'Composite Pedigree' record 'LBU14' in database 'MI Training', following the dynamic record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"dynamicLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[121939]} }, - "Example 203": { + "Example 8": { "summary": "Linked Data Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' and 'Test Temperature'.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 204": { + "Example 9": { "summary": "Linked Data Export - Rollup", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' with 'Mean' rollup and 'Test Temperature' with 'Max' rollup.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"rollUpType":"mean","attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"rollUpType":"max","attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 205": { + "Example 10": { "summary": "Tabular Data Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 206": { + "Example 11": { "summary": "Tabular Data Export - no target specified", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute. This export does not specify the tabular targets (database, table and attribute), so the ones defined in the schema will be used as defaults instead.", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 207": { + "Example 12": { "summary": "Tabular Data Filtered Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.Only rows where there is a linked record in the 'All Substances' subset will be returned ", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"}],"linkedRecordsExportBehavior":{"tabularRowBehavior":"onlyRowsWithVisibleLinkedRecords","linkedRecordsCriterion":{"subsetGuid":"883ab52b-01b6-4a15-a89a-2bfa17c8d0e9","type":"subset"}},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 208": { + "Example 13": { "summary": "Tabular Data With Summary Row and Tabular Rollup", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It will include a tabular rollup of the maximum of the 'SVHC under REACH', and a summary row of the linked records and their chemical names", "value": {"attributes":[{"localData":[],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"summaryRollUpType":"listDistinct","attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"rollUpType":"max","attributeType":"simple","guid":"ed238f84-fe8f-4cdc-a07d-82d358462b32"}],"linkedRecordsExportBehavior":{"summaryRollUpType":"listDistinct"},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} @@ -2661,67 +3845,67 @@ "$ref": "#/components/schemas/GrantaServerApiDataExportDataExportRequest" }, "examples": { - "Example 196": { + "Example 1": { "summary": "Data Export", "description": "This example demonstrates how to export data for attributes 'Shape factor' and 'Young's modulus' from the 'MaterialUniverse' records 'Alumino Silicate - 1720' and '250 Maraging Steel' in database 'MI Training'.", "value": {"attributes":[{"attributeType":"simple","guid":"00000144-0001-4fff-8fff-dd92ffff0000"},{"attributeType":"simple","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"}],"recordProperties":["fullName","recordColor"],"recordHistoryIdentities":[8925,11331]} }, - "Example 197": { + "Example 2": { "summary": "Linked Records Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 198": { + "Example 3": { "summary": "Linked Records Export - no target specified", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. This export does not specify the target of the link group (database, table), so the one defined in the schema will be used as default instead.", "value": {"attributes":[{"localData":[],"attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 199": { + "Example 4": { "summary": "Linked Records Export - In Reversed Direction", "description": "This example demonstrates how to export linked records from the 'Tensile Test Data' record 'MTS-615721' in database 'MI Training', following the record link group 'Metals Pedigree', which is the reverse of link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"ad27baf0-42e9-4136-bc96-9dbbf116e265","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":true,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120738]} }, - "Example 200": { + "Example 5": { "summary": "Linked Records Export - include indirect links", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data' including indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"include","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 201": { + "Example 6": { "summary": "Linked Records Export - exclude indirect links", "description": "This example demonstrates how to export linked records from the 'Tensile Statistical Data' record '300°F' in database 'MI Training', following the record link group 'Design Data' excluding indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0000b5e2-0011-4fff-8fff-0000ffff0000","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"exclude","guid":"0aa93d4c-1393-4cf5-b172-3855349ef42c"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120483]} }, - "Example 202": { + "Example 7": { "summary": "Linked Records Export - Dynamic Link", "description": "This example demonstrates how to export linked records from the 'Composite Pedigree' record 'LBU14' in database 'MI Training', following the dynamic record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"dynamicLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[121939]} }, - "Example 203": { + "Example 8": { "summary": "Linked Data Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' and 'Test Temperature'.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 204": { + "Example 9": { "summary": "Linked Data Export - Rollup", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' with 'Mean' rollup and 'Test Temperature' with 'Max' rollup.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"rollUpType":"mean","attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"rollUpType":"max","attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 205": { + "Example 10": { "summary": "Tabular Data Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 206": { + "Example 11": { "summary": "Tabular Data Export - no target specified", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute. This export does not specify the tabular targets (database, table and attribute), so the ones defined in the schema will be used as defaults instead.", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 207": { + "Example 12": { "summary": "Tabular Data Filtered Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.Only rows where there is a linked record in the 'All Substances' subset will be returned ", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"}],"linkedRecordsExportBehavior":{"tabularRowBehavior":"onlyRowsWithVisibleLinkedRecords","linkedRecordsCriterion":{"subsetGuid":"883ab52b-01b6-4a15-a89a-2bfa17c8d0e9","type":"subset"}},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 208": { + "Example 13": { "summary": "Tabular Data With Summary Row and Tabular Rollup", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It will include a tabular rollup of the maximum of the 'SVHC under REACH', and a summary row of the linked records and their chemical names", "value": {"attributes":[{"localData":[],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"summaryRollUpType":"listDistinct","attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"rollUpType":"max","attributeType":"simple","guid":"ed238f84-fe8f-4cdc-a07d-82d358462b32"}],"linkedRecordsExportBehavior":{"summaryRollUpType":"listDistinct"},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} @@ -2733,67 +3917,67 @@ "$ref": "#/components/schemas/GrantaServerApiDataExportDataExportRequest" }, "examples": { - "Example 196": { + "Example 1": { "summary": "Data Export", "description": "This example demonstrates how to export data for attributes 'Shape factor' and 'Young's modulus' from the 'MaterialUniverse' records 'Alumino Silicate - 1720' and '250 Maraging Steel' in database 'MI Training'.", "value": {"attributes":[{"attributeType":"simple","guid":"00000144-0001-4fff-8fff-dd92ffff0000"},{"attributeType":"simple","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"}],"recordProperties":["fullName","recordColor"],"recordHistoryIdentities":[8925,11331]} }, - "Example 197": { + "Example 2": { "summary": "Linked Records Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 198": { + "Example 3": { "summary": "Linked Records Export - no target specified", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. This export does not specify the target of the link group (database, table), so the one defined in the schema will be used as default instead.", "value": {"attributes":[{"localData":[],"attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 199": { + "Example 4": { "summary": "Linked Records Export - In Reversed Direction", "description": "This example demonstrates how to export linked records from the 'Tensile Test Data' record 'MTS-615721' in database 'MI Training', following the record link group 'Metals Pedigree', which is the reverse of link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"ad27baf0-42e9-4136-bc96-9dbbf116e265","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":true,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120738]} }, - "Example 200": { + "Example 5": { "summary": "Linked Records Export - include indirect links", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data' including indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"include","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120139]} }, - "Example 201": { + "Example 6": { "summary": "Linked Records Export - exclude indirect links", "description": "This example demonstrates how to export linked records from the 'Tensile Statistical Data' record '300°F' in database 'MI Training', following the record link group 'Design Data' excluding indirectly linked records. By default the behavior of indirect links is inherited from the link definition.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0000b5e2-0011-4fff-8fff-0000ffff0000","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"exclude","guid":"0aa93d4c-1393-4cf5-b172-3855349ef42c"}],"recordProperties":["fullName"],"recordHistoryIdentities":[120483]} }, - "Example 202": { + "Example 7": { "summary": "Linked Records Export - Dynamic Link", "description": "This example demonstrates how to export linked records from the 'Composite Pedigree' record 'LBU14' in database 'MI Training', following the dynamic record link group 'Tensile Test Data'.", "value": {"attributes":[{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"dynamicLink","exportInReversedDirection":false,"recordProperties":["fullName"],"indirectLinksBehavior":"fromLinkDefinition","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"}],"recordProperties":["fullName"],"recordHistoryIdentities":[121939]} }, - "Example 203": { + "Example 8": { "summary": "Linked Data Export", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' and 'Test Temperature'.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 204": { + "Example 9": { "summary": "Linked Data Export - Rollup", "description": "This example demonstrates how to export linked records from the 'Metals Pedigree' record 'Batch 921' in database 'MI Training', following the record link group 'Tensile Test Data'. It includes the linked records' full name and color, and data for attributes 'Young's Modulus (11-axis)' with 'Mean' rollup and 'Test Temperature' with 'Max' rollup.", "value": {"attributes":[{"attributeType":"simple","guid":"a93a36c1-78d6-4254-b245-c7445d1038da"},{"localData":[],"targetTableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","attributeType":"link","linkAttributeType":"recordLink","exportInReversedDirection":false,"recordProperties":["fullName","recordColor"],"attributes":[{"rollUpType":"mean","attributeType":"simple","guid":"086c31a6-b047-4ee1-bdb7-ce66ea9e9b46"},{"rollUpType":"max","attributeType":"simple","guid":"b3503337-8287-4946-b312-2100fb51779d"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"ac20ee4d-9ad2-4e39-91bc-668b0570904f"}],"recordProperties":["tableName","fullName"],"recordHistoryIdentities":[120139]} }, - "Example 205": { + "Example 10": { "summary": "Tabular Data Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 206": { + "Example 11": { "summary": "Tabular Data Export - no target specified", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It includes the local column 'Amount', the linked attribute 'Chemical name' (in the 'Restricted substances' table), and the linked column 'Effective date' from the 'Legislations restricting its use' tabular attribute. This export does not specify the tabular targets (database, table and attribute), so the ones defined in the schema will be used as defaults instead.", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"localData":[],"attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"b48b1749-63e3-4233-8c4d-8d5857442955"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"}],"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 207": { + "Example 12": { "summary": "Tabular Data Filtered Export", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.Only rows where there is a linked record in the 'All Substances' subset will be returned ", "value": {"attributes":[{"localData":[{"attributeType":"simple","guid":"089b6f3e-02bb-4f66-ab9e-0e6961f4d69e"}],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"}],"linkedRecordsExportBehavior":{"tabularRowBehavior":"onlyRowsWithVisibleLinkedRecords","linkedRecordsCriterion":{"subsetGuid":"883ab52b-01b6-4a15-a89a-2bfa17c8d0e9","type":"subset"}},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} }, - "Example 208": { + "Example 13": { "summary": "Tabular Data With Summary Row and Tabular Rollup", "description": "This example demonstrates how to export tabular data from the 'Material Universe' record 'Barium silicate' in database 'MI Training', from the tabular attribute 'Restricted substances associated with this material'.It will include a tabular rollup of the maximum of the 'SVHC under REACH', and a summary row of the linked records and their chemical names", "value": {"attributes":[{"localData":[],"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","attributeType":"link","linkAttributeType":"tabularAttribute","exportInReversedDirection":false,"attributes":[{"summaryRollUpType":"listDistinct","attributeType":"simple","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},{"rollUpType":"max","attributeType":"simple","guid":"ed238f84-fe8f-4cdc-a07d-82d358462b32"}],"linkedRecordsExportBehavior":{"summaryRollUpType":"listDistinct"},"indirectLinksBehavior":"fromLinkDefinition","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"}],"recordProperties":["fullName"],"recordHistoryIdentities":[8930]} @@ -4198,12 +5382,12 @@ "$ref": "#/components/schemas/GrantaServerApiAppNameLicenseCheckoutRequest" }, "examples": { - "Example 31": { + "Example 1": { "summary": "License request", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses required to use BoM Analyzer are checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["MI BoM Analyzer"]} }, - "Example 32": { + "Example 2": { "summary": "License request with multiple application names", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses for each application name have been checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["RS Reports","Sustainability Analytics"]} @@ -4215,12 +5399,12 @@ "$ref": "#/components/schemas/GrantaServerApiAppNameLicenseCheckoutRequest" }, "examples": { - "Example 31": { + "Example 1": { "summary": "License request", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses required to use BoM Analyzer are checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["MI BoM Analyzer"]} }, - "Example 32": { + "Example 2": { "summary": "License request with multiple application names", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses for each application name have been checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["RS Reports","Sustainability Analytics"]} @@ -4232,12 +5416,12 @@ "$ref": "#/components/schemas/GrantaServerApiAppNameLicenseCheckoutRequest" }, "examples": { - "Example 31": { + "Example 1": { "summary": "License request", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses required to use BoM Analyzer are checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["MI BoM Analyzer"]} }, - "Example 32": { + "Example 2": { "summary": "License request with multiple application names", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses for each application name have been checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["RS Reports","Sustainability Analytics"]} @@ -4249,12 +5433,12 @@ "$ref": "#/components/schemas/GrantaServerApiAppNameLicenseCheckoutRequest" }, "examples": { - "Example 31": { + "Example 1": { "summary": "License request", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses required to use BoM Analyzer are checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["MI BoM Analyzer"]} }, - "Example 32": { + "Example 2": { "summary": "License request with multiple application names", "description": "This example demonstrates a request to the endpoint to check if the relevant licenses for each application name have been checked out. This endpoint currently does not support all application names and unsupported names will not be returned in the response.", "value": {"appNames":["RS Reports","Sustainability Analytics"]} @@ -4761,12 +5945,12 @@ "$ref": "#/components/schemas/GrantaServerApiListsDtoUpdateRecordListProperties" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Update the name of list", "description": "Update the name of a list", "value": {"name":"new name","published":false,"awaitingApproval":false,"internalUse":false} }, - "Example 32": { + "Example 2": { "summary": "Update everything for a list", "description": "Update everything for a list", "value": {"name":"new name","description":"new description","notes":"new notes","published":false,"awaitingApproval":true,"internalUse":true} @@ -4778,12 +5962,12 @@ "$ref": "#/components/schemas/GrantaServerApiListsDtoUpdateRecordListProperties" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Update the name of list", "description": "Update the name of a list", "value": {"name":"new name","published":false,"awaitingApproval":false,"internalUse":false} }, - "Example 32": { + "Example 2": { "summary": "Update everything for a list", "description": "Update everything for a list", "value": {"name":"new name","description":"new description","notes":"new notes","published":false,"awaitingApproval":true,"internalUse":true} @@ -4795,12 +5979,12 @@ "$ref": "#/components/schemas/GrantaServerApiListsDtoUpdateRecordListProperties" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Update the name of list", "description": "Update the name of a list", "value": {"name":"new name","published":false,"awaitingApproval":false,"internalUse":false} }, - "Example 32": { + "Example 2": { "summary": "Update everything for a list", "description": "Update everything for a list", "value": {"name":"new name","description":"new description","notes":"new notes","published":false,"awaitingApproval":true,"internalUse":true} @@ -4812,12 +5996,12 @@ "$ref": "#/components/schemas/GrantaServerApiListsDtoUpdateRecordListProperties" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Update the name of list", "description": "Update the name of a list", "value": {"name":"new name","published":false,"awaitingApproval":false,"internalUse":false} }, - "Example 32": { + "Example 2": { "summary": "Update everything for a list", "description": "Update everything for a list", "value": {"name":"new name","description":"new description","notes":"new notes","published":false,"awaitingApproval":true,"internalUse":true} @@ -5771,30 +6955,60 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCreateRecordHistory" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Record History", "description": "This example demonstrates how to create a new record history at the root of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"recordType":"record","name":"New Record Name"} + "value": { + "recordType": "record", + "name": "New Record Name" + } }, - "Example 77": { + "Example 2": { "summary": "Record History with Tree Name and Parent", "description": "This example demonstrates how to create a new record history with a specified tree name under the 'Alumino Silicate' folder (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"record","name":"Alumino Silicate - 1756","shortName":"1756","parent":{"guid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"}} + "value": { + "recordType": "record", + "name": "Alumino Silicate - 1756", + "shortName": "1756", + "parent": { + "guid": "5a842e54-e143-45f5-aec8-18fb84f4fe03" + } + } }, - "Example 78": { + "Example 3": { "summary": "Record History for a 'folder' with specified guid", "description": "This example demonstrates how to create a new 'folder' with no 'tree name' (so is set to the 'full name') and a specified guid under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"guid":"0d929d31-2fc7-4800-b6b6-574e8d622718"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "guid": "545ed643-d9a3-4b68-9d4e-c5b59b7b0e8f" + } }, - "Example 79": { + "Example 4": { "summary": "Record History with specified color", "description": "This example demonstrates how to create a new 'folder' with a specified color under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordColor":"lime"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordColor": "lime" + } }, - "Example 80": { + "Example 5": { "summary": "Record History for a 'generic'", "description": "This example demonstrates how to create a new 'generic' under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"generic","name":"Soda-zinc","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} + "value": { + "recordType": "generic", + "name": "Soda-zinc", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + } + } } } }, @@ -5803,30 +7017,60 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCreateRecordHistory" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Record History", "description": "This example demonstrates how to create a new record history at the root of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"recordType":"record","name":"New Record Name"} + "value": { + "recordType": "record", + "name": "New Record Name" + } }, - "Example 77": { + "Example 2": { "summary": "Record History with Tree Name and Parent", "description": "This example demonstrates how to create a new record history with a specified tree name under the 'Alumino Silicate' folder (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"record","name":"Alumino Silicate - 1756","shortName":"1756","parent":{"guid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"}} + "value": { + "recordType": "record", + "name": "Alumino Silicate - 1756", + "shortName": "1756", + "parent": { + "guid": "5a842e54-e143-45f5-aec8-18fb84f4fe03" + } + } }, - "Example 78": { + "Example 3": { "summary": "Record History for a 'folder' with specified guid", "description": "This example demonstrates how to create a new 'folder' with no 'tree name' (so is set to the 'full name') and a specified guid under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"guid":"0d929d31-2fc7-4800-b6b6-574e8d622718"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "guid": "545ed643-d9a3-4b68-9d4e-c5b59b7b0e8f" + } }, - "Example 79": { + "Example 4": { "summary": "Record History with specified color", "description": "This example demonstrates how to create a new 'folder' with a specified color under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordColor":"lime"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordColor": "lime" + } }, - "Example 80": { + "Example 5": { "summary": "Record History for a 'generic'", "description": "This example demonstrates how to create a new 'generic' under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"generic","name":"Soda-zinc","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} + "value": { + "recordType": "generic", + "name": "Soda-zinc", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + } + } } } }, @@ -5835,30 +7079,60 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCreateRecordHistory" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Record History", "description": "This example demonstrates how to create a new record history at the root of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"recordType":"record","name":"New Record Name"} + "value": { + "recordType": "record", + "name": "New Record Name" + } }, - "Example 77": { + "Example 2": { "summary": "Record History with Tree Name and Parent", "description": "This example demonstrates how to create a new record history with a specified tree name under the 'Alumino Silicate' folder (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"record","name":"Alumino Silicate - 1756","shortName":"1756","parent":{"guid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"}} + "value": { + "recordType": "record", + "name": "Alumino Silicate - 1756", + "shortName": "1756", + "parent": { + "guid": "5a842e54-e143-45f5-aec8-18fb84f4fe03" + } + } }, - "Example 78": { + "Example 3": { "summary": "Record History for a 'folder' with specified guid", "description": "This example demonstrates how to create a new 'folder' with no 'tree name' (so is set to the 'full name') and a specified guid under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"guid":"0d929d31-2fc7-4800-b6b6-574e8d622718"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "guid": "545ed643-d9a3-4b68-9d4e-c5b59b7b0e8f" + } }, - "Example 79": { + "Example 4": { "summary": "Record History with specified color", "description": "This example demonstrates how to create a new 'folder' with a specified color under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordColor":"lime"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordColor": "lime" + } }, - "Example 80": { + "Example 5": { "summary": "Record History for a 'generic'", "description": "This example demonstrates how to create a new 'generic' under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"generic","name":"Soda-zinc","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} + "value": { + "recordType": "generic", + "name": "Soda-zinc", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + } + } } } }, @@ -5867,30 +7141,60 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCreateRecordHistory" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Record History", "description": "This example demonstrates how to create a new record history at the root of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"recordType":"record","name":"New Record Name"} + "value": { + "recordType": "record", + "name": "New Record Name" + } }, - "Example 77": { + "Example 2": { "summary": "Record History with Tree Name and Parent", "description": "This example demonstrates how to create a new record history with a specified tree name under the 'Alumino Silicate' folder (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"record","name":"Alumino Silicate - 1756","shortName":"1756","parent":{"guid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"}} + "value": { + "recordType": "record", + "name": "Alumino Silicate - 1756", + "shortName": "1756", + "parent": { + "guid": "5a842e54-e143-45f5-aec8-18fb84f4fe03" + } + } }, - "Example 78": { + "Example 3": { "summary": "Record History for a 'folder' with specified guid", "description": "This example demonstrates how to create a new 'folder' with no 'tree name' (so is set to the 'full name') and a specified guid under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"guid":"0d929d31-2fc7-4800-b6b6-574e8d622718"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "guid": "545ed643-d9a3-4b68-9d4e-c5b59b7b0e8f" + } }, - "Example 79": { + "Example 4": { "summary": "Record History with specified color", "description": "This example demonstrates how to create a new 'folder' with a specified color under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"folder","name":"Borosilicate","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordColor":"lime"} + "value": { + "recordType": "folder", + "name": "Borosilicate", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordColor": "lime" + } }, - "Example 80": { + "Example 5": { "summary": "Record History for a 'generic'", "description": "This example demonstrates how to create a new 'generic' under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) in the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"recordType":"generic","name":"Soda-zinc","parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} + "value": { + "recordType": "generic", + "name": "Soda-zinc", + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + } + } } } } @@ -5904,7 +7208,29 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesRecordHistory" }, - "example": {"isFolder":false,"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"parent":{"guid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"},"recordVersions":[{"versionNumber":1,"versionState":"unversioned","name":"New Alumino Silicate Record","guid":"b4b8e129-21ec-4979-82c0-5f2b9be47d59"}],"subsets":[],"guid":"51c94dcb-04ca-4da7-ac0d-e4d610ea2809"} + "example": { + "isFolder": false, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "parent": { + "guid": "5a842e54-e143-45f5-aec8-18fb84f4fe03" + }, + "recordVersions": [ + { + "versionNumber": 1, + "versionState": "unversioned", + "name": "New Alumino Silicate Record", + "guid": "849e2fb3-10d4-43fe-888a-7c82a134ee10" + } + ], + "subsets": [], + "guid": "05f77df0-5f46-4ec8-84c8-c1dda0265b95" + } } } }, @@ -5962,12 +7288,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 62": { + "Example 2": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -5979,12 +7305,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 62": { + "Example 2": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -5996,12 +7322,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 62": { + "Example 2": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6013,12 +7339,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 62": { + "Example 2": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6047,23 +7373,23 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException" }, "examples": { - "Example 151": { + "Example 1": { "summary": "New parent is not a folder.", "value": {"message":"Cannot move record history 'ba22491d-b470-42cf-80d7-531ff81b1583'.","code":400,"errors":[{"message":"New parent record history '17877254-3a26-4a28-94d6-9f6be164914c' is not a folder.","reason":"ParentNotAFolder"}]} }, - "Example 152": { + "Example 2": { "summary": "New parent is not in the same table.", "value": {"message":"Cannot move record history '0a0a07f6-20d8-4292-a275-a7385398d8a2'.","code":400,"errors":[{"message":"New parent record history '5a842e54-e143-45f5-aec8-18fb84f4fe03' is not in the same table.","reason":"ParentNotInSameTable"}]} }, - "Example 153": { + "Example 3": { "summary": "The 'short name' of the record to be moved is not unique under the new parent.", "value": {"message":"Cannot move record history 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.","code":400,"errors":[{"message":"A record with the short name 'Sheet' already exists in the parent folder.","reason":"ShortNameExistsInFolder"}]} }, - "Example 154": { + "Example 4": { "summary": "New parent is withdrawn.", "value": {"message":"Cannot move record history 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.","code":400,"errors":[{"message":"New parent record history '4afa8a76-cd32-4835-be9d-31756bb9b7fb' is withdrawn or has a withdrawn ancestor.","reason":"ParentIsWithdrawn"}]} }, - "Example 155": { + "Example 5": { "summary": "The new parent is a descendant of the record history to be moved so would cause a circular reference in the hierarchy.", "value": {"message":"Cannot move record history '5a842e54-e143-45f5-aec8-18fb84f4fe03'.","code":400,"errors":[{"message":"New parent record history 'ba22491d-b470-42cf-80d7-531ff81b1583' is a descendant so will cause a circular reference.","reason":"ParentIsADescendant"}]} } @@ -6113,12 +7439,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 63": { + "Example 3": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 64": { + "Example 4": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6130,12 +7456,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 63": { + "Example 3": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 64": { + "Example 4": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6147,12 +7473,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 63": { + "Example 3": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 64": { + "Example 4": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6164,12 +7490,12 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesMoveRecordHistory" }, "examples": { - "Example 63": { + "Example 3": { "summary": "Move Record History", "description": "This example demonstrates how to move an existing record history to under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"}} }, - "Example 64": { + "Example 4": { "summary": "Move Record History to be directly under the Table.", "description": "In order to move an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", "value": {} @@ -6198,23 +7524,23 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsRecordHistoryRecordHistoryMoveException" }, "examples": { - "Example 156": { + "Example 6": { "summary": "New parent is not a folder.", "value": {"message":"Cannot move record history 'ba22491d-b470-42cf-80d7-531ff81b1583'.","code":400,"errors":[{"message":"New parent record history '17877254-3a26-4a28-94d6-9f6be164914c' is not a folder.","reason":"ParentNotAFolder"}]} }, - "Example 157": { + "Example 7": { "summary": "New parent is not in the same table.", "value": {"message":"Cannot move record history '0a0a07f6-20d8-4292-a275-a7385398d8a2'.","code":400,"errors":[{"message":"New parent record history '5a842e54-e143-45f5-aec8-18fb84f4fe03' is not in the same table.","reason":"ParentNotInSameTable"}]} }, - "Example 158": { + "Example 8": { "summary": "The 'short name' of the record to be moved is not unique under the new parent.", "value": {"message":"Cannot move record history 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.","code":400,"errors":[{"message":"A record with the short name 'Sheet' already exists in the parent folder.","reason":"ShortNameExistsInFolder"}]} }, - "Example 159": { + "Example 9": { "summary": "New parent is withdrawn.", "value": {"message":"Cannot move record history 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.","code":400,"errors":[{"message":"New parent record history '4afa8a76-cd32-4835-be9d-31756bb9b7fb' is withdrawn or has a withdrawn ancestor.","reason":"ParentIsWithdrawn"}]} }, - "Example 160": { + "Example 10": { "summary": "The new parent is a descendant of the record history to be moved so would cause a circular reference in the hierarchy.", "value": {"message":"Cannot move record history '5a842e54-e143-45f5-aec8-18fb84f4fe03'.","code":400,"errors":[{"message":"New parent record history 'ba22491d-b470-42cf-80d7-531ff81b1583' is a descendant so will cause a circular reference.","reason":"ParentIsADescendant"}]} } @@ -6273,20 +7599,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 92": { + "Example 2": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 93": { + "Example 3": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6295,20 +7635,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 92": { + "Example 2": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 93": { + "Example 3": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6317,20 +7671,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 92": { + "Example 2": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 93": { + "Example 3": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6339,20 +7707,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 92": { + "Example 2": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 93": { + "Example 3": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } } @@ -6366,7 +7748,34 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesRecordHistory" }, - "example": {"isFolder":false,"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordVersions":[{"versionNumber":1,"versionState":"unversioned","name":"Alumino silicate - 1720","guid":"00000026-000e-4fff-8fff-dd92ffff0000"}],"subsets":[{"name":"Metals","guid":"0000b135-0010-4fff-8fff-dd92ffff0000"}],"guid":"b3d22bb9-5791-437d-9265-44d78efbaeba"} + "example": { + "isFolder": false, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordVersions": [ + { + "versionNumber": 1, + "versionState": "unversioned", + "name": "Alumino silicate - 1720", + "guid": "00000026-000e-4fff-8fff-dd92ffff0000" + } + ], + "subsets": [ + { + "name": "Metals", + "guid": "0000b135-0010-4fff-8fff-dd92ffff0000" + } + ], + "guid": "14eb1b3d-ac79-479f-a399-9679e624e8d9" + } } } }, @@ -6378,19 +7787,19 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException" }, "examples": { - "Example 121": { + "Example 1": { "summary": "New parent is not a folder.", "value": {"message":"Cannot copy record history 'ba22491d-b470-42cf-80d7-531ff81b1583'.","code":400,"errors":[{"message":"New parent record history '17877254-3a26-4a28-94d6-9f6be164914c' is not a folder.","reason":"ParentNotAFolder"}]} }, - "Example 122": { + "Example 2": { "summary": "New parent is not in the same table.", "value": {"message":"Cannot copy record history '0a0a07f6-20d8-4292-a275-a7385398d8a2'.","code":400,"errors":[{"message":"New parent record history '5a842e54-e143-45f5-aec8-18fb84f4fe03' is not in the same table.","reason":"ParentNotInSameTable"}]} }, - "Example 123": { + "Example 3": { "summary": "The 'short name' of the record to be copied is not unique under the new parent.", "value": {"message":"Cannot copy record history 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.","code":400,"errors":[{"message":"A record with the short name 'Sheet' already exists in the parent folder.","reason":"ShortNameExistsInFolder"}]} }, - "Example 124": { + "Example 4": { "summary": "New parent is withdrawn.", "value": {"message":"Cannot copy record history 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.","code":400,"errors":[{"message":"New parent record history '4afa8a76-cd32-4835-be9d-31756bb9b7fb' is withdrawn or has a withdrawn ancestor.","reason":"ParentIsWithdrawn"}]} } @@ -6440,20 +7849,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 94": { + "Example 4": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 95": { + "Example 5": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 96": { + "Example 6": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6462,20 +7885,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 94": { + "Example 4": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 95": { + "Example 5": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 96": { + "Example 6": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6484,20 +7921,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 94": { + "Example 4": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 95": { + "Example 5": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 96": { + "Example 6": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } }, @@ -6506,20 +7957,34 @@ "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesCopyRecordHistory" }, "examples": { - "Example 94": { + "Example 4": { "summary": "Copy Record History - no name change - add new record to the new parent's subsets", "description": "This example demonstrates how to copy an existing record history, by default the 'name' and 'short name' are not changed. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromParent"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromParent" + } }, - "Example 95": { + "Example 5": { "summary": "Copy Record History - with name change - add new record to the original record's subsets", "description": "This example demonstrates how to copy an existing record history and change the 'short name' of the newly created record version. The the new record history is created under the 'Glasses' folder (guid = f92315e2-f836-4c2e-aba1-6d8a1a49e8a3) of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"newParent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"subsetOption":"fromOriginalRecord","newShortName":"Short name for new record"} + "value": { + "newParent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "subsetOption": "fromOriginalRecord", + "newShortName": "Short name for new record" + } }, - "Example 96": { + "Example 6": { "summary": "Copy Record History to be directly under the Table - don't copy any subsets.", "description": "In order to copy an existing record history to be at the top of the 'record tree' i.e directly under the 'Table' then do not specify the 'NewParent' property.", - "value": {"subsetOption":"none","newShortName":"Short name for new record"} + "value": { + "subsetOption": "none", + "newShortName": "Short name for new record" + } } } } @@ -6533,7 +7998,34 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordHistoriesRecordHistory" }, - "example": {"isFolder":false,"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"parent":{"guid":"f92315e2-f836-4c2e-aba1-6d8a1a49e8a3"},"recordVersions":[{"versionNumber":1,"versionState":"unversioned","name":"Alumino silicate - 1720","guid":"00000026-000e-4fff-8fff-dd92ffff0000"}],"subsets":[{"name":"Metals","guid":"0000b135-0010-4fff-8fff-dd92ffff0000"}],"guid":"6780be07-1e0f-419b-9227-4edd2e2ecceb"} + "example": { + "isFolder": false, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "parent": { + "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" + }, + "recordVersions": [ + { + "versionNumber": 1, + "versionState": "unversioned", + "name": "Alumino silicate - 1720", + "guid": "00000026-000e-4fff-8fff-dd92ffff0000" + } + ], + "subsets": [ + { + "name": "Metals", + "guid": "0000b135-0010-4fff-8fff-dd92ffff0000" + } + ], + "guid": "9a4db73f-b53d-41fd-9c8f-2d7b3384030b" + } } } }, @@ -6545,19 +8037,19 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsRecordHistoryRecordHistoryCopyException" }, "examples": { - "Example 125": { + "Example 5": { "summary": "New parent is not a folder.", "value": {"message":"Cannot copy record history 'ba22491d-b470-42cf-80d7-531ff81b1583'.","code":400,"errors":[{"message":"New parent record history '17877254-3a26-4a28-94d6-9f6be164914c' is not a folder.","reason":"ParentNotAFolder"}]} }, - "Example 126": { + "Example 6": { "summary": "New parent is not in the same table.", "value": {"message":"Cannot copy record history '0a0a07f6-20d8-4292-a275-a7385398d8a2'.","code":400,"errors":[{"message":"New parent record history '5a842e54-e143-45f5-aec8-18fb84f4fe03' is not in the same table.","reason":"ParentNotInSameTable"}]} }, - "Example 127": { + "Example 7": { "summary": "The 'short name' of the record to be copied is not unique under the new parent.", "value": {"message":"Cannot copy record history 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.","code":400,"errors":[{"message":"A record with the short name 'Sheet' already exists in the parent folder.","reason":"ShortNameExistsInFolder"}]} }, - "Example 128": { + "Example 8": { "summary": "New parent is withdrawn.", "value": {"message":"Cannot copy record history 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.","code":400,"errors":[{"message":"New parent record history '4afa8a76-cd32-4835-be9d-31756bb9b7fb' is withdrawn or has a withdrawn ancestor.","reason":"ParentIsWithdrawn"}]} } @@ -6641,7 +8133,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"ba22491d-b470-42cf-80d7-531ff81b1583"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Alumino silicate - 1720","recordColor":"fuchsia","versionNumber":1,"versionState":"unversioned","name":"Alumino silicate - 1720","guid":"00000026-000e-4fff-8fff-dd92ffff0000"} + "example": { + "recordHistory": { + "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Alumino silicate - 1720", + "recordColor": "fuchsia", + "versionNumber": 1, + "versionState": "unversioned", + "name": "Alumino silicate - 1720", + "guid": "00000026-000e-4fff-8fff-dd92ffff0000" + } } } }, @@ -6709,7 +8224,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"ba22491d-b470-42cf-80d7-531ff81b1583"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Alumino silicate - 1720","recordColor":"fuchsia","versionNumber":1,"versionState":"unversioned","name":"Alumino silicate - 1720","guid":"00000026-000e-4fff-8fff-dd92ffff0000"} + "example": { + "recordHistory": { + "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Alumino silicate - 1720", + "recordColor": "fuchsia", + "versionNumber": 1, + "versionState": "unversioned", + "name": "Alumino silicate - 1720", + "guid": "00000026-000e-4fff-8fff-dd92ffff0000" + } } } }, @@ -6795,7 +8333,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"ba22491d-b470-42cf-80d7-531ff81b1583"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Alumino silicate - 1720","recordColor":"fuchsia","versionNumber":1,"versionState":"unversioned","name":"Alumino silicate - 1720","guid":"00000026-000e-4fff-8fff-dd92ffff0000"} + "example": { + "recordHistory": { + "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Alumino silicate - 1720", + "recordColor": "fuchsia", + "versionNumber": 1, + "versionState": "unversioned", + "name": "Alumino silicate - 1720", + "guid": "00000026-000e-4fff-8fff-dd92ffff0000" + } } } }, @@ -6912,7 +8473,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"0a0a07f6-20d8-4292-a275-a7385398d8a2"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":true,"name":"Restricted Substances","guid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Arsenic trioxide [1327-53-3]","recordColor":"red","versionNumber":1,"versionState":"released","name":"Arsenic trioxide [1327-53-3]","guid":"e1a72a7e-155e-47f9-b6c9-285fd5d3288a"} + "example": { + "recordHistory": { + "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": true, + "name": "Restricted Substances", + "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Arsenic trioxide [1327-53-3]", + "recordColor": "red", + "versionNumber": 1, + "versionState": "released", + "name": "Arsenic trioxide [1327-53-3]", + "guid": "e1a72a7e-155e-47f9-b6c9-285fd5d3288a" + } } } }, @@ -6924,18 +8508,27 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsVersionControlReleaseRecordVersionControlException" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Invalid version state.", "description": "Only unreleased record versions can be released.", "value": {"message":"Cannot release record version 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.","code":400,"errors":[{"message":"Invalid version state 'Released'.","reason":"invalidVersionState","versionState":"released"}]} }, - "Example 47": { + "Example 2": { "summary": "Table is not version controlled.", "value": {"message":"Cannot release record version '00000026-000e-4fff-8fff-dd92ffff0000'.","code":400,"errors":[{"message":"Table is not version controlled.","reason":"notVersioned"}]} }, - "Example 48": { + "Example 3": { "summary": "Parent is not released.", - "value": {"message":"Cannot release record version 'f81881b2-5eb0-4841-a92f-6ac6910696e8'.","code":400,"errors":[{"message":"Tree parent is not in a valid state to perform this operation.","reason":"invalidParentState"}]} + "value": { + "message": "Cannot release record version '510452d1-cdb8-4982-b3eb-df015ce7e5c8'.", + "code": 400, + "errors": [ + { + "message": "Tree parent is not in a valid state to perform this operation.", + "reason": "invalidParentState" + } + ] + } } } } @@ -7002,7 +8595,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"0a0a07f6-20d8-4292-a275-a7385398d8a2"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":true,"name":"Restricted Substances","guid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Arsenic trioxide [1327-53-3]","recordColor":"red","versionNumber":2,"versionState":"unreleased","name":"Arsenic trioxide [1327-53-3]","guid":"e1a72a7e-155e-47f9-b6c9-285fd5d3288a"} + "example": { + "recordHistory": { + "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": true, + "name": "Restricted Substances", + "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Arsenic trioxide [1327-53-3]", + "recordColor": "red", + "versionNumber": 2, + "versionState": "unreleased", + "name": "Arsenic trioxide [1327-53-3]", + "guid": "e1a72a7e-155e-47f9-b6c9-285fd5d3288a" + } } } }, @@ -7014,18 +8630,52 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsVersionControlGetModifiableRecordVersionControlException" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Invalid version state.", "description": "A new version can only be created from the latest released or withdrawn record version.", - "value": {"message":"Cannot create a new version from the record version 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.","code":400,"errors":[{"message":"Invalid version state 'Superseded'.","reason":"invalidVersionState","versionState":"superseded"}]} + "value": { + "message": "Cannot create a new version from the record version 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.", + "code": 400, + "errors": [ + { + "message": "Invalid version state 'Superseded'.", + "reason": "invalidVersionState", + "versionState": "superseded" + } + ] + } }, - "Example 47": { + "Example 2": { "summary": "Table is not version controlled.", - "value": {"message":"Cannot create a new version from the record version '00000026-000e-4fff-8fff-dd92ffff0000'.","code":400,"errors":[{"message":"Table is not version controlled.","reason":"notVersioned"}]} + "value": { + "message": "Cannot create a new version from the record version '00000026-000e-4fff-8fff-dd92ffff0000'.", + "code": 400, + "errors": [ + { + "message": "Table is not version controlled.", + "reason": "notVersioned" + } + ] + } }, - "Example 48": { + "Example 3": { "summary": "Record version is not the latest version.", - "value": {"message":"Cannot create a new version from the record version '3d28bc74-aa4a-4518-8f33-a0e4f1fe540d'.","code":400,"errors":[{"message":"There is a newer version.","reason":"notTheLatestVersion","newerVersion":{"versionNumber":2,"versionState":"unreleased","name":"Arsenic trioxide [1327-53-3] - new version","guid":"ab169fd7-b4fe-42e8-8f75-7428c73365de"}}]} + "value": { + "message": "Cannot create a new version from the record version '64d212f8-fbc0-4313-8c8d-90f454cb37e7'.", + "code": 400, + "errors": [ + { + "message": "There is a newer version.", + "reason": "notTheLatestVersion", + "newerVersion": { + "versionNumber": 2, + "versionState": "unreleased", + "name": "Arsenic trioxide [1327-53-3] - new version", + "guid": "11c22419-d452-4b41-aa0d-b2075c078039" + } + } + ] + } } } } @@ -7092,7 +8742,30 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiRecordsRecordVersionsRecordVersion" }, - "example": {"recordHistory":{"guid":"0a0a07f6-20d8-4292-a275-a7385398d8a2"},"table":{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":true,"name":"Restricted Substances","guid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f"},"databaseKey":"MI_TRAINING","createdByUser":"A User","createdDate":"2018-01-01T00:00:00+01:00","lastModifiedByUser":"A User","lastModifiedDate":"2018-01-02T00:00:00+01:00","recordType":"record","shortName":"Arsenic trioxide [1327-53-3]","recordColor":"red","versionNumber":1,"versionState":"withdrawn","name":"Arsenic trioxide [1327-53-3]","guid":"e1a72a7e-155e-47f9-b6c9-285fd5d3288a"} + "example": { + "recordHistory": { + "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" + }, + "table": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": true, + "name": "Restricted Substances", + "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" + }, + "databaseKey": "MI_TRAINING", + "createdByUser": "A User", + "createdDate": "2018-01-01T00:00:00+00:00", + "lastModifiedByUser": "A User", + "lastModifiedDate": "2018-01-02T00:00:00+00:00", + "recordType": "record", + "shortName": "Arsenic trioxide [1327-53-3]", + "recordColor": "red", + "versionNumber": 1, + "versionState": "withdrawn", + "name": "Arsenic trioxide [1327-53-3]", + "guid": "e1a72a7e-155e-47f9-b6c9-285fd5d3288a" + } } } }, @@ -7104,12 +8777,12 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsVersionControlWithdrawRecordVersionControlException" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Invalid version state.", "description": "Only released record versions can be withdrawn.", "value": {"message":"Cannot withdraw record version 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.","code":400,"errors":[{"message":"Invalid version state 'Unreleased'.","reason":"invalidVersionState","versionState":"unreleased"}]} }, - "Example 32": { + "Example 2": { "summary": "Table is not version controlled.", "value": {"message":"Cannot withdraw record version '00000026-000e-4fff-8fff-dd92ffff0000'.","code":400,"errors":[{"message":"Table is not version controlled.","reason":"notVersioned"}]} } @@ -7242,122 +8915,127 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute" }, "examples": { - "Example 361": { + "Example 1": { "summary": "Date-time attribute", "description": "This example demonstrates how to create a new date-time attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date"} }, - "Example 362": { + "Example 2": { "summary": "Date-time attribute with guid", "description": "This example demonstrates how to create a new date-time attribute with a specified guid for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The same thing can be done for all attribute types.", - "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date (guid)","guid":"6b2118a0-126c-469d-9715-ff5076adaf12"} + "value": { + "type": "dateTime", + "defaultThresholdType": "atMost", + "name": "Delivery date (guid)", + "guid": "5e4c899c-aa59-4c30-881a-4dec4bd90236" + } }, - "Example 363": { + "Example 3": { "summary": "Discrete attribute - simple", "description": "This example demonstrates how to create a new discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":false,"defaultThresholdType":"isOneOf","name":"Used material type"} }, - "Example 364": { + "Example 4": { "summary": "Discrete attribute - multi-valued", "description": "This example demonstrates how to create a multi-valued discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database. You can change the attribute back to a single-valued one as long as there is no multi-valued data already existing.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":true,"defaultThresholdType":"isOneOf","name":"Appropriate material types"} }, - "Example 365": { + "Example 5": { "summary": "File attribute", "description": "This example demonstrates how to create a new file attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"file","defaultThresholdType":"exists","name":"Details PDF"} }, - "Example 366": { + "Example 6": { "summary": "Hyperlink attribute", "description": "This example demonstrates how to create a new hyperlink attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"hyperlink","defaultThresholdType":"exists","name":"Supplier website"} }, - "Example 367": { + "Example 7": { "summary": "Integer attribute", "description": "This example demonstrates how to create a new integer attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":false,"defaultThresholdType":"atLeast","name":"Number of batches"} }, - "Example 368": { + "Example 8": { "summary": "Integer attribute - unique", "description": "This example demonstrates how to create a new integer attribute which is constrained to have unique values for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":true,"defaultThresholdType":"atLeast","name":"Batch ID Number"} }, - "Example 369": { + "Example 9": { "summary": "Logical attribute", "description": "This example demonstrates how to create a new logical attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"logical","defaultThresholdType":"equal","name":"Inspected"} }, - "Example 370": { + "Example 10": { "summary": "Long text attribute", "description": "This example demonstrates how to create a new long text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"longText","defaultThresholdType":"exists","name":"Long Description"} }, - "Example 371": { + "Example 11": { "summary": "Picture attribute", "description": "This example demonstrates how to create a new picture attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"picture","defaultThresholdType":"exists","name":"Photo"} }, - "Example 372": { + "Example 12": { "summary": "Point attribute - simple unitless", "description": "This example demonstrates how to create a new point attribute to represent a unitless single-valued property for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"defaultThresholdType":"atLeast","name":"My Shape factor"} }, - "Example 373": { + "Example 13": { "summary": "Point attribute - simple with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a single-valued property with the unit of 'kg' from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Mass"} }, - "Example 374": { + "Example 14": { "summary": "Point attribute - multi-valued with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a multi-valued property with the unit of 'kg' from the MI_Training database. You can later change the attribute back to single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Observed masses"} }, - "Example 375": { + "Example 15": { "summary": "Point attribute - multi-valued with parameters", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a parameterized multi-valued property. In this case, a unitless property with 'Temperature' parameter from the the MI_Training database", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"defaultThresholdType":"atLeast","name":"Max ratio"} }, - "Example 376": { + "Example 16": { "summary": "Range attribute - unitless", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = {MiTraining.MaterialUniverseTableGuid}) from the MI_Training database to represent a unitless range value.", "value": {"type":"range","defaultThresholdType":"atLeast","name":"Average permeability"} }, - "Example 377": { + "Example 17": { "summary": "Range attribute - with unit", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a range value with the unit 'K' from the MI_Training database.", "value": {"type":"range","unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Boiling point"} }, - "Example 378": { + "Example 18": { "summary": "Short text attribute", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","name":"Label"} }, - "Example 379": { + "Example 19": { "summary": "Short text attribute - unique", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database which is constrained to be unique.", "value": {"type":"shortText","isUnique":true,"defaultThresholdType":"exists","name":"Serial number"} }, - "Example 380": { + "Example 20": { "summary": "Short text meta-attribute", "description": "This example demonstrates how to create a short text meta-attribute for the existing 'EPS Value' attribute in the MaterialUniverse (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) table of the MI_Training database. Any attribute type can be used for meta-attributes.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","aboutAttribute":{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},"name":"Short Label"} }, - "Example 381": { + "Example 21": { "summary": "Float functional attribute", "description": "This example demonstrates how to create a new float functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"floatFunctional","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},"defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"}],"isRange":true,"defaultThresholdType":"atLeast","name":"Electrical resistance with temperature"} }, - "Example 382": { + "Example 22": { "summary": "Discrete functional attribute", "description": "This example demonstrates how to create a new discrete functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"discreteFunctional","discreteType":{"guid":"0000000c-0006-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}],"defaultThresholdType":"equal","name":"Environmental resistance"} }, - "Example 383": { + "Example 23": { "summary": "Maths functional attribute", "description": "This example demonstrates how to create a new maths functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"mathsFunctional","unit":{"guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"expressions":[{"guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"}],"allowExtrapolation":false,"isRange":false,"allowAllCompatibleExpressions":false,"allowAnonymousExpressions":false,"defaultThresholdType":"equal","name":"Fatigue strength model"} }, - "Example 384": { + "Example 24": { "summary": "Tabular attribute", "description": "This example demonstrates how to create a new tabular attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":true,"hideUnlinkedRows":true,"tabularColumns":[{"columnType":"localLogical","defaultThresholdType":"contains","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","name":"Comments"},{"columnType":"linkedAttribute","linkedAttribute":{"guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"list","summaryRowRollUpType":"list","name":"Substance"},{"columnType":"linkedColumn","linkedColumn":{"guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"min","summaryRowRollUpType":"list","name":"Rating"}],"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"defaultThresholdType":"exists","name":"Restricted Substances"} @@ -7369,122 +9047,127 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute" }, "examples": { - "Example 361": { + "Example 1": { "summary": "Date-time attribute", "description": "This example demonstrates how to create a new date-time attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date"} }, - "Example 362": { + "Example 2": { "summary": "Date-time attribute with guid", "description": "This example demonstrates how to create a new date-time attribute with a specified guid for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The same thing can be done for all attribute types.", - "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date (guid)","guid":"6b2118a0-126c-469d-9715-ff5076adaf12"} + "value": { + "type": "dateTime", + "defaultThresholdType": "atMost", + "name": "Delivery date (guid)", + "guid": "5e4c899c-aa59-4c30-881a-4dec4bd90236" + } }, - "Example 363": { + "Example 3": { "summary": "Discrete attribute - simple", "description": "This example demonstrates how to create a new discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":false,"defaultThresholdType":"isOneOf","name":"Used material type"} }, - "Example 364": { + "Example 4": { "summary": "Discrete attribute - multi-valued", "description": "This example demonstrates how to create a multi-valued discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database. You can change the attribute back to a single-valued one as long as there is no multi-valued data already existing.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":true,"defaultThresholdType":"isOneOf","name":"Appropriate material types"} }, - "Example 365": { + "Example 5": { "summary": "File attribute", "description": "This example demonstrates how to create a new file attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"file","defaultThresholdType":"exists","name":"Details PDF"} }, - "Example 366": { + "Example 6": { "summary": "Hyperlink attribute", "description": "This example demonstrates how to create a new hyperlink attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"hyperlink","defaultThresholdType":"exists","name":"Supplier website"} }, - "Example 367": { + "Example 7": { "summary": "Integer attribute", "description": "This example demonstrates how to create a new integer attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":false,"defaultThresholdType":"atLeast","name":"Number of batches"} }, - "Example 368": { + "Example 8": { "summary": "Integer attribute - unique", "description": "This example demonstrates how to create a new integer attribute which is constrained to have unique values for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":true,"defaultThresholdType":"atLeast","name":"Batch ID Number"} }, - "Example 369": { + "Example 9": { "summary": "Logical attribute", "description": "This example demonstrates how to create a new logical attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"logical","defaultThresholdType":"equal","name":"Inspected"} }, - "Example 370": { + "Example 10": { "summary": "Long text attribute", "description": "This example demonstrates how to create a new long text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"longText","defaultThresholdType":"exists","name":"Long Description"} }, - "Example 371": { + "Example 11": { "summary": "Picture attribute", "description": "This example demonstrates how to create a new picture attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"picture","defaultThresholdType":"exists","name":"Photo"} }, - "Example 372": { + "Example 12": { "summary": "Point attribute - simple unitless", "description": "This example demonstrates how to create a new point attribute to represent a unitless single-valued property for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"defaultThresholdType":"atLeast","name":"My Shape factor"} }, - "Example 373": { + "Example 13": { "summary": "Point attribute - simple with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a single-valued property with the unit of 'kg' from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Mass"} }, - "Example 374": { + "Example 14": { "summary": "Point attribute - multi-valued with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a multi-valued property with the unit of 'kg' from the MI_Training database. You can later change the attribute back to single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Observed masses"} }, - "Example 375": { + "Example 15": { "summary": "Point attribute - multi-valued with parameters", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a parameterized multi-valued property. In this case, a unitless property with 'Temperature' parameter from the the MI_Training database", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"defaultThresholdType":"atLeast","name":"Max ratio"} }, - "Example 376": { + "Example 16": { "summary": "Range attribute - unitless", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = {MiTraining.MaterialUniverseTableGuid}) from the MI_Training database to represent a unitless range value.", "value": {"type":"range","defaultThresholdType":"atLeast","name":"Average permeability"} }, - "Example 377": { + "Example 17": { "summary": "Range attribute - with unit", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a range value with the unit 'K' from the MI_Training database.", "value": {"type":"range","unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Boiling point"} }, - "Example 378": { + "Example 18": { "summary": "Short text attribute", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","name":"Label"} }, - "Example 379": { + "Example 19": { "summary": "Short text attribute - unique", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database which is constrained to be unique.", "value": {"type":"shortText","isUnique":true,"defaultThresholdType":"exists","name":"Serial number"} }, - "Example 380": { + "Example 20": { "summary": "Short text meta-attribute", "description": "This example demonstrates how to create a short text meta-attribute for the existing 'EPS Value' attribute in the MaterialUniverse (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) table of the MI_Training database. Any attribute type can be used for meta-attributes.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","aboutAttribute":{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},"name":"Short Label"} }, - "Example 381": { + "Example 21": { "summary": "Float functional attribute", "description": "This example demonstrates how to create a new float functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"floatFunctional","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},"defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"}],"isRange":true,"defaultThresholdType":"atLeast","name":"Electrical resistance with temperature"} }, - "Example 382": { + "Example 22": { "summary": "Discrete functional attribute", "description": "This example demonstrates how to create a new discrete functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"discreteFunctional","discreteType":{"guid":"0000000c-0006-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}],"defaultThresholdType":"equal","name":"Environmental resistance"} }, - "Example 383": { + "Example 23": { "summary": "Maths functional attribute", "description": "This example demonstrates how to create a new maths functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"mathsFunctional","unit":{"guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"expressions":[{"guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"}],"allowExtrapolation":false,"isRange":false,"allowAllCompatibleExpressions":false,"allowAnonymousExpressions":false,"defaultThresholdType":"equal","name":"Fatigue strength model"} }, - "Example 384": { + "Example 24": { "summary": "Tabular attribute", "description": "This example demonstrates how to create a new tabular attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":true,"hideUnlinkedRows":true,"tabularColumns":[{"columnType":"localLogical","defaultThresholdType":"contains","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","name":"Comments"},{"columnType":"linkedAttribute","linkedAttribute":{"guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"list","summaryRowRollUpType":"list","name":"Substance"},{"columnType":"linkedColumn","linkedColumn":{"guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"min","summaryRowRollUpType":"list","name":"Rating"}],"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"defaultThresholdType":"exists","name":"Restricted Substances"} @@ -7496,122 +9179,127 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute" }, "examples": { - "Example 361": { + "Example 1": { "summary": "Date-time attribute", "description": "This example demonstrates how to create a new date-time attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date"} }, - "Example 362": { + "Example 2": { "summary": "Date-time attribute with guid", "description": "This example demonstrates how to create a new date-time attribute with a specified guid for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The same thing can be done for all attribute types.", - "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date (guid)","guid":"6b2118a0-126c-469d-9715-ff5076adaf12"} + "value": { + "type": "dateTime", + "defaultThresholdType": "atMost", + "name": "Delivery date (guid)", + "guid": "5e4c899c-aa59-4c30-881a-4dec4bd90236" + } }, - "Example 363": { + "Example 3": { "summary": "Discrete attribute - simple", "description": "This example demonstrates how to create a new discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":false,"defaultThresholdType":"isOneOf","name":"Used material type"} }, - "Example 364": { + "Example 4": { "summary": "Discrete attribute - multi-valued", "description": "This example demonstrates how to create a multi-valued discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database. You can change the attribute back to a single-valued one as long as there is no multi-valued data already existing.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":true,"defaultThresholdType":"isOneOf","name":"Appropriate material types"} }, - "Example 365": { + "Example 5": { "summary": "File attribute", "description": "This example demonstrates how to create a new file attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"file","defaultThresholdType":"exists","name":"Details PDF"} }, - "Example 366": { + "Example 6": { "summary": "Hyperlink attribute", "description": "This example demonstrates how to create a new hyperlink attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"hyperlink","defaultThresholdType":"exists","name":"Supplier website"} }, - "Example 367": { + "Example 7": { "summary": "Integer attribute", "description": "This example demonstrates how to create a new integer attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":false,"defaultThresholdType":"atLeast","name":"Number of batches"} }, - "Example 368": { + "Example 8": { "summary": "Integer attribute - unique", "description": "This example demonstrates how to create a new integer attribute which is constrained to have unique values for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":true,"defaultThresholdType":"atLeast","name":"Batch ID Number"} }, - "Example 369": { + "Example 9": { "summary": "Logical attribute", "description": "This example demonstrates how to create a new logical attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"logical","defaultThresholdType":"equal","name":"Inspected"} }, - "Example 370": { + "Example 10": { "summary": "Long text attribute", "description": "This example demonstrates how to create a new long text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"longText","defaultThresholdType":"exists","name":"Long Description"} }, - "Example 371": { + "Example 11": { "summary": "Picture attribute", "description": "This example demonstrates how to create a new picture attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"picture","defaultThresholdType":"exists","name":"Photo"} }, - "Example 372": { + "Example 12": { "summary": "Point attribute - simple unitless", "description": "This example demonstrates how to create a new point attribute to represent a unitless single-valued property for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"defaultThresholdType":"atLeast","name":"My Shape factor"} }, - "Example 373": { + "Example 13": { "summary": "Point attribute - simple with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a single-valued property with the unit of 'kg' from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Mass"} }, - "Example 374": { + "Example 14": { "summary": "Point attribute - multi-valued with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a multi-valued property with the unit of 'kg' from the MI_Training database. You can later change the attribute back to single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Observed masses"} }, - "Example 375": { + "Example 15": { "summary": "Point attribute - multi-valued with parameters", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a parameterized multi-valued property. In this case, a unitless property with 'Temperature' parameter from the the MI_Training database", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"defaultThresholdType":"atLeast","name":"Max ratio"} }, - "Example 376": { + "Example 16": { "summary": "Range attribute - unitless", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = {MiTraining.MaterialUniverseTableGuid}) from the MI_Training database to represent a unitless range value.", "value": {"type":"range","defaultThresholdType":"atLeast","name":"Average permeability"} }, - "Example 377": { + "Example 17": { "summary": "Range attribute - with unit", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a range value with the unit 'K' from the MI_Training database.", "value": {"type":"range","unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Boiling point"} }, - "Example 378": { + "Example 18": { "summary": "Short text attribute", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","name":"Label"} }, - "Example 379": { + "Example 19": { "summary": "Short text attribute - unique", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database which is constrained to be unique.", "value": {"type":"shortText","isUnique":true,"defaultThresholdType":"exists","name":"Serial number"} }, - "Example 380": { + "Example 20": { "summary": "Short text meta-attribute", "description": "This example demonstrates how to create a short text meta-attribute for the existing 'EPS Value' attribute in the MaterialUniverse (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) table of the MI_Training database. Any attribute type can be used for meta-attributes.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","aboutAttribute":{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},"name":"Short Label"} }, - "Example 381": { + "Example 21": { "summary": "Float functional attribute", "description": "This example demonstrates how to create a new float functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"floatFunctional","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},"defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"}],"isRange":true,"defaultThresholdType":"atLeast","name":"Electrical resistance with temperature"} }, - "Example 382": { + "Example 22": { "summary": "Discrete functional attribute", "description": "This example demonstrates how to create a new discrete functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"discreteFunctional","discreteType":{"guid":"0000000c-0006-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}],"defaultThresholdType":"equal","name":"Environmental resistance"} }, - "Example 383": { + "Example 23": { "summary": "Maths functional attribute", "description": "This example demonstrates how to create a new maths functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"mathsFunctional","unit":{"guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"expressions":[{"guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"}],"allowExtrapolation":false,"isRange":false,"allowAllCompatibleExpressions":false,"allowAnonymousExpressions":false,"defaultThresholdType":"equal","name":"Fatigue strength model"} }, - "Example 384": { + "Example 24": { "summary": "Tabular attribute", "description": "This example demonstrates how to create a new tabular attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":true,"hideUnlinkedRows":true,"tabularColumns":[{"columnType":"localLogical","defaultThresholdType":"contains","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","name":"Comments"},{"columnType":"linkedAttribute","linkedAttribute":{"guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"list","summaryRowRollUpType":"list","name":"Substance"},{"columnType":"linkedColumn","linkedColumn":{"guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"min","summaryRowRollUpType":"list","name":"Rating"}],"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"defaultThresholdType":"exists","name":"Restricted Substances"} @@ -7623,122 +9311,127 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesCreateAttributesCreateAttribute" }, "examples": { - "Example 361": { + "Example 1": { "summary": "Date-time attribute", "description": "This example demonstrates how to create a new date-time attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date"} }, - "Example 362": { + "Example 2": { "summary": "Date-time attribute with guid", "description": "This example demonstrates how to create a new date-time attribute with a specified guid for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The same thing can be done for all attribute types.", - "value": {"type":"dateTime","defaultThresholdType":"atMost","name":"Delivery date (guid)","guid":"6b2118a0-126c-469d-9715-ff5076adaf12"} + "value": { + "type": "dateTime", + "defaultThresholdType": "atMost", + "name": "Delivery date (guid)", + "guid": "5e4c899c-aa59-4c30-881a-4dec4bd90236" + } }, - "Example 363": { + "Example 3": { "summary": "Discrete attribute - simple", "description": "This example demonstrates how to create a new discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":false,"defaultThresholdType":"isOneOf","name":"Used material type"} }, - "Example 364": { + "Example 4": { "summary": "Discrete attribute - multi-valued", "description": "This example demonstrates how to create a multi-valued discrete attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000), using the 'Material type' discrete type, from the MI_Training database. You can change the attribute back to a single-valued one as long as there is no multi-valued data already existing.", "value": {"type":"discrete","discreteType":{"guid":"2ba638a6-b807-4480-a388-f1b5637489b2"},"isMultiValued":true,"defaultThresholdType":"isOneOf","name":"Appropriate material types"} }, - "Example 365": { + "Example 5": { "summary": "File attribute", "description": "This example demonstrates how to create a new file attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"file","defaultThresholdType":"exists","name":"Details PDF"} }, - "Example 366": { + "Example 6": { "summary": "Hyperlink attribute", "description": "This example demonstrates how to create a new hyperlink attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"hyperlink","defaultThresholdType":"exists","name":"Supplier website"} }, - "Example 367": { + "Example 7": { "summary": "Integer attribute", "description": "This example demonstrates how to create a new integer attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":false,"defaultThresholdType":"atLeast","name":"Number of batches"} }, - "Example 368": { + "Example 8": { "summary": "Integer attribute - unique", "description": "This example demonstrates how to create a new integer attribute which is constrained to have unique values for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"integer","isUnique":true,"defaultThresholdType":"atLeast","name":"Batch ID Number"} }, - "Example 369": { + "Example 9": { "summary": "Logical attribute", "description": "This example demonstrates how to create a new logical attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"logical","defaultThresholdType":"equal","name":"Inspected"} }, - "Example 370": { + "Example 10": { "summary": "Long text attribute", "description": "This example demonstrates how to create a new long text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"longText","defaultThresholdType":"exists","name":"Long Description"} }, - "Example 371": { + "Example 11": { "summary": "Picture attribute", "description": "This example demonstrates how to create a new picture attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"picture","defaultThresholdType":"exists","name":"Photo"} }, - "Example 372": { + "Example 12": { "summary": "Point attribute - simple unitless", "description": "This example demonstrates how to create a new point attribute to represent a unitless single-valued property for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"defaultThresholdType":"atLeast","name":"My Shape factor"} }, - "Example 373": { + "Example 13": { "summary": "Point attribute - simple with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a single-valued property with the unit of 'kg' from the MI_Training database.", "value": {"type":"point","isMultiValued":false,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Mass"} }, - "Example 374": { + "Example 14": { "summary": "Point attribute - multi-valued with unit", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a multi-valued property with the unit of 'kg' from the MI_Training database. You can later change the attribute back to single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Observed masses"} }, - "Example 375": { + "Example 15": { "summary": "Point attribute - multi-valued with parameters", "description": "This example demonstrates how to create a new point attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a parameterized multi-valued property. In this case, a unitless property with 'Temperature' parameter from the the MI_Training database", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"defaultThresholdType":"atLeast","name":"Max ratio"} }, - "Example 376": { + "Example 16": { "summary": "Range attribute - unitless", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = {MiTraining.MaterialUniverseTableGuid}) from the MI_Training database to represent a unitless range value.", "value": {"type":"range","defaultThresholdType":"atLeast","name":"Average permeability"} }, - "Example 377": { + "Example 17": { "summary": "Range attribute - with unit", "description": "This example demonstrates how to create a new range attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) to represent a range value with the unit 'K' from the MI_Training database.", "value": {"type":"range","unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","name":"Boiling point"} }, - "Example 378": { + "Example 18": { "summary": "Short text attribute", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","name":"Label"} }, - "Example 379": { + "Example 19": { "summary": "Short text attribute - unique", "description": "This example demonstrates how to create a new short text attribute for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database which is constrained to be unique.", "value": {"type":"shortText","isUnique":true,"defaultThresholdType":"exists","name":"Serial number"} }, - "Example 380": { + "Example 20": { "summary": "Short text meta-attribute", "description": "This example demonstrates how to create a short text meta-attribute for the existing 'EPS Value' attribute in the MaterialUniverse (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) table of the MI_Training database. Any attribute type can be used for meta-attributes.", "value": {"type":"shortText","isUnique":false,"defaultThresholdType":"exists","aboutAttribute":{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},"name":"Short Label"} }, - "Example 381": { + "Example 21": { "summary": "Float functional attribute", "description": "This example demonstrates how to create a new float functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"floatFunctional","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},"defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"}],"isRange":true,"defaultThresholdType":"atLeast","name":"Electrical resistance with temperature"} }, - "Example 382": { + "Example 22": { "summary": "Discrete functional attribute", "description": "This example demonstrates how to create a new discrete functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"discreteFunctional","discreteType":{"guid":"0000000c-0006-4fff-8fff-0000ffff0000"},"attributeParameters":[{"parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}],"defaultThresholdType":"equal","name":"Environmental resistance"} }, - "Example 383": { + "Example 23": { "summary": "Maths functional attribute", "description": "This example demonstrates how to create a new maths functional attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"mathsFunctional","unit":{"guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"expressions":[{"guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"}],"allowExtrapolation":false,"isRange":false,"allowAllCompatibleExpressions":false,"allowAnonymousExpressions":false,"defaultThresholdType":"equal","name":"Fatigue strength model"} }, - "Example 384": { + "Example 24": { "summary": "Tabular attribute", "description": "This example demonstrates how to create a new tabular attribute for the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":true,"hideUnlinkedRows":true,"tabularColumns":[{"columnType":"localLogical","defaultThresholdType":"contains","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","name":"Comments"},{"columnType":"linkedAttribute","linkedAttribute":{"guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"list","summaryRowRollUpType":"list","name":"Substance"},{"columnType":"linkedColumn","linkedColumn":{"guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":true,"summaryRowEnabled":true,"rollUpType":"min","summaryRowRollUpType":"list","name":"Rating"}],"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"defaultThresholdType":"exists","name":"Restricted Substances"} @@ -7756,22 +9449,61 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesAttribute" }, "examples": { - "Example 305": { + "Example 5": { "summary": "Date-time attribute", "description": "Example response for the date-time attribute 'Casting Date' in the 'Metals Pedigree' table of the 'MI Training database'.", "value": {"type":"dateTime","defaultThresholdType":"atLeast","info":{"typeCode":"DAT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Casting Date","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{"fr":"Casting Date French Display Name"},"name":"Casting Date","guid":"fe9cbde6-756a-4b1d-a347-7d49e56ee90f"} }, - "Example 306": { + "Example 6": { "summary": "Discrete attribute", "description": "Example response for the discrete attribute 'Metals' in the 'Materials Universe' table of the 'MI Training database'.", "value": {"type":"discrete","discreteType":{"name":"MU Durability","guid":"00000083-0006-4fff-8fff-0000ffff0000"},"isMultiValued":false,"defaultThresholdType":"atLeast","helpPath":"html/attributenotes/metals.html","info":{"typeCode":"DCT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Metals","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Metals","guid":"0000000b-0001-4fff-8fff-dd92ffff0000"} }, - "Example 307": { + "Example 7": { "summary": "Range attribute", "description": "Example response for the range attribute 'Tensile strength' in the 'Materials Universe' table of the 'MI Training database'.", - "value": {"type":"range","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","info":{"typeCode":"RNG","chartable":true,"expressionable":true,"linkable":true,"extendedName":"Tensile strength","isMetaAttribute":false,"orderedMetaAttributes":[{"name":"Tensile strength [Notes]","guid":"8d7c8bb0-450f-4f9d-a717-ea4f5b56df74"}],"standardNames":[{"name":"Tensile strength","guid":"a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[{"name":"Source of data (MaterialUniverse)","guid":"b7acd73f-8851-4320-8f7a-5323d9389821"}],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"} + "value": { + "type": "range", + "unit": { + "symbol": "MPa", + "guid": "0000002b-0013-4fff-8fff-0000ffff0000" + }, + "defaultThresholdType": "atLeast", + "info": { + "typeCode": "RNG", + "chartable": true, + "expressionable": true, + "linkable": true, + "extendedName": "Tensile strength", + "isMetaAttribute": false, + "orderedMetaAttributes": [ + { + "name": "Tensile strength [Notes]", + "guid": "8d7c8bb0-450f-4f9d-a717-ea4f5b56df74" + } + ], + "standardNames": [ + { + "name": "Tensile strength", + "guid": "a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8" + } + ], + "primaryDataLinkGroups": [], + "foreignDataLinkGroups": [ + { + "name": "Source of data (MaterialUniverse)", + "guid": "4469ba23-0b2d-45f0-9873-0bdd4dd4e5a9" + } + ], + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] + }, + "displayNames": {}, + "name": "Tensile strength", + "guid": "000000e3-0001-4fff-8fff-dd92ffff0000" + } }, - "Example 308": { + "Example 8": { "summary": "Tabular attribute", "description": "Example response for the tabular attribute 'Restricted substances associated with this material' in the 'Materials Universe' table of the 'MI Training database'..", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":false,"hideUnlinkedRows":true,"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"tabularColumns":[{"columnType":"linkedAttribute","linkedAttribute":{"type":"shortText","name":"Chemical name","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Substance name","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"localRange","defaultThresholdType":"atLeast","unit":{"symbol":"%","guid":"00000005-0013-4fff-8fff-0000ffff0000"},"showAsLink":false,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Amount","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"linkedColumn","linkedAttribute":{"type":"link","name":"Legislations restricting its use","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"},"linkedColumn":{"name":"Legislation rating","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"EH&S rating","rollUpType":"list","summaryRowRollUpType":"min","displayNames":{},"name":"Legislation rating","guid":"9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"}],"defaultThresholdType":"exists","info":{"typeCode":"TABL","chartable":false,"expressionable":false,"linkable":false,"extendedName":"Restricted substances associated with this material","isMetaAttribute":false,"orderedMetaAttributes":[],"standardNames":[{"name":"Restricted substances in this item","guid":"315d8839-ab9d-4b31-a27d-c128ebf34150"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Restricted substances associated with this material","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"} @@ -7860,22 +9592,61 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesAttribute" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Date-time attribute", "description": "Example response for the date-time attribute 'Casting Date' in the 'Metals Pedigree' table of the 'MI Training database'.", "value": {"type":"dateTime","defaultThresholdType":"atLeast","info":{"typeCode":"DAT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Casting Date","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{"fr":"Casting Date French Display Name"},"name":"Casting Date","guid":"fe9cbde6-756a-4b1d-a347-7d49e56ee90f"} }, - "Example 62": { + "Example 2": { "summary": "Discrete attribute", "description": "Example response for the discrete attribute 'Metals' in the 'Materials Universe' table of the 'MI Training database'.", "value": {"type":"discrete","discreteType":{"name":"MU Durability","guid":"00000083-0006-4fff-8fff-0000ffff0000"},"isMultiValued":false,"defaultThresholdType":"atLeast","helpPath":"html/attributenotes/metals.html","info":{"typeCode":"DCT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Metals","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Metals","guid":"0000000b-0001-4fff-8fff-dd92ffff0000"} }, - "Example 63": { + "Example 3": { "summary": "Range attribute", "description": "Example response for the range attribute 'Tensile strength' in the 'Materials Universe' table of the 'MI Training database'.", - "value": {"type":"range","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","info":{"typeCode":"RNG","chartable":true,"expressionable":true,"linkable":true,"extendedName":"Tensile strength","isMetaAttribute":false,"orderedMetaAttributes":[{"name":"Tensile strength [Notes]","guid":"8d7c8bb0-450f-4f9d-a717-ea4f5b56df74"}],"standardNames":[{"name":"Tensile strength","guid":"a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[{"name":"Source of data (MaterialUniverse)","guid":"acd5ddc9-27e1-4d85-bad2-d4cd3544ae93"}],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"} + "value": { + "type": "range", + "unit": { + "symbol": "MPa", + "guid": "0000002b-0013-4fff-8fff-0000ffff0000" + }, + "defaultThresholdType": "atLeast", + "info": { + "typeCode": "RNG", + "chartable": true, + "expressionable": true, + "linkable": true, + "extendedName": "Tensile strength", + "isMetaAttribute": false, + "orderedMetaAttributes": [ + { + "name": "Tensile strength [Notes]", + "guid": "8d7c8bb0-450f-4f9d-a717-ea4f5b56df74" + } + ], + "standardNames": [ + { + "name": "Tensile strength", + "guid": "a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8" + } + ], + "primaryDataLinkGroups": [], + "foreignDataLinkGroups": [ + { + "name": "Source of data (MaterialUniverse)", + "guid": "bc2e1f97-be92-4a24-aefa-f864bebf197c" + } + ], + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] + }, + "displayNames": {}, + "name": "Tensile strength", + "guid": "000000e3-0001-4fff-8fff-dd92ffff0000" + } }, - "Example 64": { + "Example 4": { "summary": "Tabular attribute", "description": "Example response for the tabular attribute 'Restricted substances associated with this material' in the 'Materials Universe' table of the 'MI Training database'..", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":false,"hideUnlinkedRows":true,"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"tabularColumns":[{"columnType":"linkedAttribute","linkedAttribute":{"type":"shortText","name":"Chemical name","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Substance name","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"localRange","defaultThresholdType":"atLeast","unit":{"symbol":"%","guid":"00000005-0013-4fff-8fff-0000ffff0000"},"showAsLink":false,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Amount","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"linkedColumn","linkedAttribute":{"type":"link","name":"Legislations restricting its use","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"},"linkedColumn":{"name":"Legislation rating","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"EH&S rating","rollUpType":"list","summaryRowRollUpType":"min","displayNames":{},"name":"Legislation rating","guid":"9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"}],"defaultThresholdType":"exists","info":{"typeCode":"TABL","chartable":false,"expressionable":false,"linkable":false,"extendedName":"Restricted substances associated with this material","isMetaAttribute":false,"orderedMetaAttributes":[],"standardNames":[{"name":"Restricted substances in this item","guid":"315d8839-ab9d-4b31-a27d-c128ebf34150"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Restricted substances associated with this material","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"} @@ -7930,72 +9701,72 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 211": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","name":"Metals (updated)"} }, - "Example 212": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Melting point' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000d-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","guid":"12345678-0013-4fff-8fff-0000ffff0000"} }, - "Example 213": { + "Example 3": { "summary": "Update help path", "description": "This example demonstrates how to update the 'HelpPath' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","helpPath":"html/attributenotes/metals.html"} }, - "Example 214": { + "Example 4": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","defaultThresholdType":"equal"} }, - "Example 215": { + "Example 5": { "summary": "Make discrete multi-valued", "description": "This example demonstrates how to update the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. You can similarly turn a multi-valued discrete attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"discrete","isMultiValued":true} }, - "Example 216": { + "Example 6": { "summary": "Make short text unique", "description": "This example demonstrates how to update the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and make it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true} }, - "Example 217": { + "Example 7": { "summary": "Make point multi-valued", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true} }, - "Example 218": { + "Example 8": { "summary": "Make point multi-valued with parameter", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued with 'Temperature' as a parameter. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}]} }, - "Example 219": { + "Example 9": { "summary": "Update unit", "description": "This example demonstrates how to update the unit of the 'Reserves' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000088-0001-4fff-8fff-dd92ffff0000). We will change the unit from 'tonnes' to 'kg'", "value": {"type":"range","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"}} }, - "Example 220": { + "Example 10": { "summary": "Update multiple properties", "description": "This example demonstrates that it is possible to change multiple attribute properties at once by updating the name of the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and also making it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true,"name":"Grain size (updated)"} }, - "Example 221": { + "Example 11": { "summary": "Turn an attribute into a meta-attribute", "description": "This example demonstrates how to turn an existing attribute into a meta-attribute of another attribute. We make the short text 'Color' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000169-0001-4fff-8fff-dd92ffff0000) become a meta-attribute of 'ISO name' short text attribute (guid = 000002cf-0001-4fff-8fff-dd92ffff0000).Note that if an attribute already had meta-attribute, it cannot be made a meta-attribute. Also, you cannot add a meta-attribute to another meta-attribute.", "value": {"type":"shortText","aboutAttribute":{"guid":"000002cf-0001-4fff-8fff-dd92ffff0000"}} }, - "Example 222": { + "Example 12": { "summary": "Add multiple parameters", "description": "This example demonstrates how to update the 'Tensile strength with temperature' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '00000002-0001-4fff-8fff-dd92ffff0000') and add multiple parameters to it.", "value": {"type":"floatFunctional","attributeParameters":[{"parameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"},{"parameterGuid":"00000005-000a-4fff-8fff-0000ffff0000","interpolationMethod":"linear","scaleType":"logarithmic"},{"parameterGuid":"7a6ccb7b-8a47-4cab-8203-c741d476560f","interpolationMethod":"none","scaleType":"linear"}]} }, - "Example 223": { + "Example 13": { "summary": "Add additional parameter and set default content for Maths Functional Attribute", "description": "This example demonstrates how to update the 'Fatigue strength model (stress range)' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '745db76c-a991-41b6-9fd6-2e5f544f8ecb') by adding additional parameter to it and setting its default content.", "value": {"type":"mathsFunctional","attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"},{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}],"defaultContent":{"curveLabel":"Updated curve label","transposeAxes":true,"useLogarithmicScale":true,"freeParameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"},"parameterContents":[{"type":"numeric","value":15.0,"parameterRange":{"lowValue":5.0,"highValue":100.0},"parameter":{"guid":"00000007-000a-4fff-8fff-0000ffff0000"}},{"type":"numeric","parameterRange":{"lowValue":-2.0},"parameter":{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}},{"type":"discrete","parameterRange":{"parameterValues":[{"guid":"21a27377-12eb-413c-bac4-d4ffceda39d1"},{"guid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c"}]},"parameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}}]}} }, - "Example 224": { + "Example 14": { "summary": "Update tabular columns", "description": "This example demonstrates how to modify the tabular columns of the 'Legislations restricting its use' attribute from the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": {"tabularColumns":[{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"All Legislation Names","rollUpType":"list","summaryRowRollUpType":"list","guid":"18eab50a-6c30-4a1d-9205-29878a6044bd"},{"columnType":"linkedAttribute","showAsLink":true,"summaryRowEnabled":false,"rollUpType":"min","summaryRowRollUpType":"listDistinct","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"0a553cb4-13f2-447b-bc55-3e68e1008b51"},{"columnType":"localPoint","defaultThresholdType":"exists","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"be3a1aa5-0b35-4d62-b512-a2923ed03e8d"}],"guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"} @@ -8007,72 +9778,72 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 211": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","name":"Metals (updated)"} }, - "Example 212": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Melting point' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000d-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","guid":"12345678-0013-4fff-8fff-0000ffff0000"} }, - "Example 213": { + "Example 3": { "summary": "Update help path", "description": "This example demonstrates how to update the 'HelpPath' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","helpPath":"html/attributenotes/metals.html"} }, - "Example 214": { + "Example 4": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","defaultThresholdType":"equal"} }, - "Example 215": { + "Example 5": { "summary": "Make discrete multi-valued", "description": "This example demonstrates how to update the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. You can similarly turn a multi-valued discrete attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"discrete","isMultiValued":true} }, - "Example 216": { + "Example 6": { "summary": "Make short text unique", "description": "This example demonstrates how to update the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and make it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true} }, - "Example 217": { + "Example 7": { "summary": "Make point multi-valued", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true} }, - "Example 218": { + "Example 8": { "summary": "Make point multi-valued with parameter", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued with 'Temperature' as a parameter. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}]} }, - "Example 219": { + "Example 9": { "summary": "Update unit", "description": "This example demonstrates how to update the unit of the 'Reserves' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000088-0001-4fff-8fff-dd92ffff0000). We will change the unit from 'tonnes' to 'kg'", "value": {"type":"range","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"}} }, - "Example 220": { + "Example 10": { "summary": "Update multiple properties", "description": "This example demonstrates that it is possible to change multiple attribute properties at once by updating the name of the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and also making it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true,"name":"Grain size (updated)"} }, - "Example 221": { + "Example 11": { "summary": "Turn an attribute into a meta-attribute", "description": "This example demonstrates how to turn an existing attribute into a meta-attribute of another attribute. We make the short text 'Color' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000169-0001-4fff-8fff-dd92ffff0000) become a meta-attribute of 'ISO name' short text attribute (guid = 000002cf-0001-4fff-8fff-dd92ffff0000).Note that if an attribute already had meta-attribute, it cannot be made a meta-attribute. Also, you cannot add a meta-attribute to another meta-attribute.", "value": {"type":"shortText","aboutAttribute":{"guid":"000002cf-0001-4fff-8fff-dd92ffff0000"}} }, - "Example 222": { + "Example 12": { "summary": "Add multiple parameters", "description": "This example demonstrates how to update the 'Tensile strength with temperature' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '00000002-0001-4fff-8fff-dd92ffff0000') and add multiple parameters to it.", "value": {"type":"floatFunctional","attributeParameters":[{"parameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"},{"parameterGuid":"00000005-000a-4fff-8fff-0000ffff0000","interpolationMethod":"linear","scaleType":"logarithmic"},{"parameterGuid":"7a6ccb7b-8a47-4cab-8203-c741d476560f","interpolationMethod":"none","scaleType":"linear"}]} }, - "Example 223": { + "Example 13": { "summary": "Add additional parameter and set default content for Maths Functional Attribute", "description": "This example demonstrates how to update the 'Fatigue strength model (stress range)' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '745db76c-a991-41b6-9fd6-2e5f544f8ecb') by adding additional parameter to it and setting its default content.", "value": {"type":"mathsFunctional","attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"},{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}],"defaultContent":{"curveLabel":"Updated curve label","transposeAxes":true,"useLogarithmicScale":true,"freeParameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"},"parameterContents":[{"type":"numeric","value":15.0,"parameterRange":{"lowValue":5.0,"highValue":100.0},"parameter":{"guid":"00000007-000a-4fff-8fff-0000ffff0000"}},{"type":"numeric","parameterRange":{"lowValue":-2.0},"parameter":{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}},{"type":"discrete","parameterRange":{"parameterValues":[{"guid":"21a27377-12eb-413c-bac4-d4ffceda39d1"},{"guid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c"}]},"parameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}}]}} }, - "Example 224": { + "Example 14": { "summary": "Update tabular columns", "description": "This example demonstrates how to modify the tabular columns of the 'Legislations restricting its use' attribute from the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": {"tabularColumns":[{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"All Legislation Names","rollUpType":"list","summaryRowRollUpType":"list","guid":"18eab50a-6c30-4a1d-9205-29878a6044bd"},{"columnType":"linkedAttribute","showAsLink":true,"summaryRowEnabled":false,"rollUpType":"min","summaryRowRollUpType":"listDistinct","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"0a553cb4-13f2-447b-bc55-3e68e1008b51"},{"columnType":"localPoint","defaultThresholdType":"exists","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"be3a1aa5-0b35-4d62-b512-a2923ed03e8d"}],"guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"} @@ -8084,72 +9855,72 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 211": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","name":"Metals (updated)"} }, - "Example 212": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Melting point' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000d-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","guid":"12345678-0013-4fff-8fff-0000ffff0000"} }, - "Example 213": { + "Example 3": { "summary": "Update help path", "description": "This example demonstrates how to update the 'HelpPath' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","helpPath":"html/attributenotes/metals.html"} }, - "Example 214": { + "Example 4": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","defaultThresholdType":"equal"} }, - "Example 215": { + "Example 5": { "summary": "Make discrete multi-valued", "description": "This example demonstrates how to update the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. You can similarly turn a multi-valued discrete attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"discrete","isMultiValued":true} }, - "Example 216": { + "Example 6": { "summary": "Make short text unique", "description": "This example demonstrates how to update the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and make it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true} }, - "Example 217": { + "Example 7": { "summary": "Make point multi-valued", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true} }, - "Example 218": { + "Example 8": { "summary": "Make point multi-valued with parameter", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued with 'Temperature' as a parameter. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}]} }, - "Example 219": { + "Example 9": { "summary": "Update unit", "description": "This example demonstrates how to update the unit of the 'Reserves' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000088-0001-4fff-8fff-dd92ffff0000). We will change the unit from 'tonnes' to 'kg'", "value": {"type":"range","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"}} }, - "Example 220": { + "Example 10": { "summary": "Update multiple properties", "description": "This example demonstrates that it is possible to change multiple attribute properties at once by updating the name of the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and also making it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true,"name":"Grain size (updated)"} }, - "Example 221": { + "Example 11": { "summary": "Turn an attribute into a meta-attribute", "description": "This example demonstrates how to turn an existing attribute into a meta-attribute of another attribute. We make the short text 'Color' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000169-0001-4fff-8fff-dd92ffff0000) become a meta-attribute of 'ISO name' short text attribute (guid = 000002cf-0001-4fff-8fff-dd92ffff0000).Note that if an attribute already had meta-attribute, it cannot be made a meta-attribute. Also, you cannot add a meta-attribute to another meta-attribute.", "value": {"type":"shortText","aboutAttribute":{"guid":"000002cf-0001-4fff-8fff-dd92ffff0000"}} }, - "Example 222": { + "Example 12": { "summary": "Add multiple parameters", "description": "This example demonstrates how to update the 'Tensile strength with temperature' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '00000002-0001-4fff-8fff-dd92ffff0000') and add multiple parameters to it.", "value": {"type":"floatFunctional","attributeParameters":[{"parameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"},{"parameterGuid":"00000005-000a-4fff-8fff-0000ffff0000","interpolationMethod":"linear","scaleType":"logarithmic"},{"parameterGuid":"7a6ccb7b-8a47-4cab-8203-c741d476560f","interpolationMethod":"none","scaleType":"linear"}]} }, - "Example 223": { + "Example 13": { "summary": "Add additional parameter and set default content for Maths Functional Attribute", "description": "This example demonstrates how to update the 'Fatigue strength model (stress range)' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '745db76c-a991-41b6-9fd6-2e5f544f8ecb') by adding additional parameter to it and setting its default content.", "value": {"type":"mathsFunctional","attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"},{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}],"defaultContent":{"curveLabel":"Updated curve label","transposeAxes":true,"useLogarithmicScale":true,"freeParameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"},"parameterContents":[{"type":"numeric","value":15.0,"parameterRange":{"lowValue":5.0,"highValue":100.0},"parameter":{"guid":"00000007-000a-4fff-8fff-0000ffff0000"}},{"type":"numeric","parameterRange":{"lowValue":-2.0},"parameter":{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}},{"type":"discrete","parameterRange":{"parameterValues":[{"guid":"21a27377-12eb-413c-bac4-d4ffceda39d1"},{"guid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c"}]},"parameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}}]}} }, - "Example 224": { + "Example 14": { "summary": "Update tabular columns", "description": "This example demonstrates how to modify the tabular columns of the 'Legislations restricting its use' attribute from the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": {"tabularColumns":[{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"All Legislation Names","rollUpType":"list","summaryRowRollUpType":"list","guid":"18eab50a-6c30-4a1d-9205-29878a6044bd"},{"columnType":"linkedAttribute","showAsLink":true,"summaryRowEnabled":false,"rollUpType":"min","summaryRowRollUpType":"listDistinct","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"0a553cb4-13f2-447b-bc55-3e68e1008b51"},{"columnType":"localPoint","defaultThresholdType":"exists","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"be3a1aa5-0b35-4d62-b512-a2923ed03e8d"}],"guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"} @@ -8161,72 +9932,72 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 211": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","name":"Metals (updated)"} }, - "Example 212": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Melting point' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000d-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","guid":"12345678-0013-4fff-8fff-0000ffff0000"} }, - "Example 213": { + "Example 3": { "summary": "Update help path", "description": "This example demonstrates how to update the 'HelpPath' property of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","helpPath":"html/attributenotes/metals.html"} }, - "Example 214": { + "Example 4": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000).", "value": {"type":"discrete","defaultThresholdType":"equal"} }, - "Example 215": { + "Example 5": { "summary": "Make discrete multi-valued", "description": "This example demonstrates how to update the 'Metals' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 0000000b-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. You can similarly turn a multi-valued discrete attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"discrete","isMultiValued":true} }, - "Example 216": { + "Example 6": { "summary": "Make short text unique", "description": "This example demonstrates how to update the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and make it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true} }, - "Example 217": { + "Example 7": { "summary": "Make point multi-valued", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true} }, - "Example 218": { + "Example 8": { "summary": "Make point multi-valued with parameter", "description": "This example demonstrates how to update the 'Shape factor' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000144-0001-4fff-8fff-dd92ffff0000) and make it multi-valued with 'Temperature' as a parameter. Note that this won't work if the attribute is used in a dynamic link group index, expressions, X-Y charts or as linked attribute tabular column.You can similarly turn a multi-valued point attribute into a single-valued as long as there is no multi-valued data already existing.", "value": {"type":"point","isMultiValued":true,"attributeParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}]} }, - "Example 219": { + "Example 9": { "summary": "Update unit", "description": "This example demonstrates how to update the unit of the 'Reserves' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000088-0001-4fff-8fff-dd92ffff0000). We will change the unit from 'tonnes' to 'kg'", "value": {"type":"range","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"}} }, - "Example 220": { + "Example 10": { "summary": "Update multiple properties", "description": "This example demonstrates that it is possible to change multiple attribute properties at once by updating the name of the 'Grain size' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 000000aa-0001-4fff-8fff-dd92ffff0000) and also making it unique. This will work as long as there is no pre-existing data which violates the constraint.", "value": {"type":"shortText","isUnique":true,"name":"Grain size (updated)"} }, - "Example 221": { + "Example 11": { "summary": "Turn an attribute into a meta-attribute", "description": "This example demonstrates how to turn an existing attribute into a meta-attribute of another attribute. We make the short text 'Color' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; attributeGuid = 00000169-0001-4fff-8fff-dd92ffff0000) become a meta-attribute of 'ISO name' short text attribute (guid = 000002cf-0001-4fff-8fff-dd92ffff0000).Note that if an attribute already had meta-attribute, it cannot be made a meta-attribute. Also, you cannot add a meta-attribute to another meta-attribute.", "value": {"type":"shortText","aboutAttribute":{"guid":"000002cf-0001-4fff-8fff-dd92ffff0000"}} }, - "Example 222": { + "Example 12": { "summary": "Add multiple parameters", "description": "This example demonstrates how to update the 'Tensile strength with temperature' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '00000002-0001-4fff-8fff-dd92ffff0000') and add multiple parameters to it.", "value": {"type":"floatFunctional","attributeParameters":[{"parameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","defaultValue":5.0,"interpolationMethod":"auto","scaleType":"notSet"},{"parameterGuid":"00000005-000a-4fff-8fff-0000ffff0000","interpolationMethod":"linear","scaleType":"logarithmic"},{"parameterGuid":"7a6ccb7b-8a47-4cab-8203-c741d476560f","interpolationMethod":"none","scaleType":"linear"}]} }, - "Example 223": { + "Example 13": { "summary": "Add additional parameter and set default content for Maths Functional Attribute", "description": "This example demonstrates how to update the 'Fatigue strength model (stress range)' attribute from the 'MaterialUniverse' table from the MI_Training database (tableGuid = '0000dd92-0011-4fff-8fff-0000ffff0000'; attributeGuid = '745db76c-a991-41b6-9fd6-2e5f544f8ecb') by adding additional parameter to it and setting its default content.", "value": {"type":"mathsFunctional","attributeParameters":[{"guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"guid":"00000004-000a-4fff-8fff-0000ffff0000"},{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}],"defaultContent":{"curveLabel":"Updated curve label","transposeAxes":true,"useLogarithmicScale":true,"freeParameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"},"parameterContents":[{"type":"numeric","value":15.0,"parameterRange":{"lowValue":5.0,"highValue":100.0},"parameter":{"guid":"00000007-000a-4fff-8fff-0000ffff0000"}},{"type":"numeric","parameterRange":{"lowValue":-2.0},"parameter":{"guid":"00000004-000a-4fff-8fff-0000ffff0000"}},{"type":"discrete","parameterRange":{"parameterValues":[{"guid":"21a27377-12eb-413c-bac4-d4ffceda39d1"},{"guid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c"}]},"parameter":{"guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}}]}} }, - "Example 224": { + "Example 14": { "summary": "Update tabular columns", "description": "This example demonstrates how to modify the tabular columns of the 'Legislations restricting its use' attribute from the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": {"tabularColumns":[{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"All Legislation Names","rollUpType":"list","summaryRowRollUpType":"list","guid":"18eab50a-6c30-4a1d-9205-29878a6044bd"},{"columnType":"linkedAttribute","showAsLink":true,"summaryRowEnabled":false,"rollUpType":"min","summaryRowRollUpType":"listDistinct","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},{"columnType":"linkedAttribute","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"0a553cb4-13f2-447b-bc55-3e68e1008b51"},{"columnType":"localPoint","defaultThresholdType":"exists","showAsLink":false,"summaryRowEnabled":false,"rollUpType":"list","summaryRowRollUpType":"list","guid":"be3a1aa5-0b35-4d62-b512-a2923ed03e8d"}],"guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"} @@ -8244,22 +10015,61 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesAttribute" }, "examples": { - "Example 309": { + "Example 9": { "summary": "Date-time attribute", "description": "Example response for the date-time attribute 'Casting Date' in the 'Metals Pedigree' table of the 'MI Training database'.", "value": {"type":"dateTime","defaultThresholdType":"atLeast","info":{"typeCode":"DAT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Casting Date","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{"fr":"Casting Date French Display Name"},"name":"Casting Date","guid":"fe9cbde6-756a-4b1d-a347-7d49e56ee90f"} }, - "Example 310": { + "Example 10": { "summary": "Discrete attribute", "description": "Example response for the discrete attribute 'Metals' in the 'Materials Universe' table of the 'MI Training database'.", "value": {"type":"discrete","discreteType":{"name":"MU Durability","guid":"00000083-0006-4fff-8fff-0000ffff0000"},"isMultiValued":false,"defaultThresholdType":"atLeast","helpPath":"html/attributenotes/metals.html","info":{"typeCode":"DCT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Metals","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Metals","guid":"0000000b-0001-4fff-8fff-dd92ffff0000"} }, - "Example 311": { + "Example 11": { "summary": "Range attribute", "description": "Example response for the range attribute 'Tensile strength' in the 'Materials Universe' table of the 'MI Training database'.", - "value": {"type":"range","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","info":{"typeCode":"RNG","chartable":true,"expressionable":true,"linkable":true,"extendedName":"Tensile strength","isMetaAttribute":false,"orderedMetaAttributes":[{"name":"Tensile strength [Notes]","guid":"8d7c8bb0-450f-4f9d-a717-ea4f5b56df74"}],"standardNames":[{"name":"Tensile strength","guid":"a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[{"name":"Source of data (MaterialUniverse)","guid":"2f107d04-b5e4-469d-be0c-4b48d90fc8bf"}],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"} + "value": { + "type": "range", + "unit": { + "symbol": "MPa", + "guid": "0000002b-0013-4fff-8fff-0000ffff0000" + }, + "defaultThresholdType": "atLeast", + "info": { + "typeCode": "RNG", + "chartable": true, + "expressionable": true, + "linkable": true, + "extendedName": "Tensile strength", + "isMetaAttribute": false, + "orderedMetaAttributes": [ + { + "name": "Tensile strength [Notes]", + "guid": "8d7c8bb0-450f-4f9d-a717-ea4f5b56df74" + } + ], + "standardNames": [ + { + "name": "Tensile strength", + "guid": "a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8" + } + ], + "primaryDataLinkGroups": [], + "foreignDataLinkGroups": [ + { + "name": "Source of data (MaterialUniverse)", + "guid": "07f416ed-e849-4ea9-8635-1abbc67f9996" + } + ], + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] + }, + "displayNames": {}, + "name": "Tensile strength", + "guid": "000000e3-0001-4fff-8fff-dd92ffff0000" + } }, - "Example 312": { + "Example 12": { "summary": "Tabular attribute", "description": "Example response for the tabular attribute 'Restricted substances associated with this material' in the 'Materials Universe' table of the 'MI Training database'..", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":false,"hideUnlinkedRows":true,"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"tabularColumns":[{"columnType":"linkedAttribute","linkedAttribute":{"type":"shortText","name":"Chemical name","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Substance name","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"localRange","defaultThresholdType":"atLeast","unit":{"symbol":"%","guid":"00000005-0013-4fff-8fff-0000ffff0000"},"showAsLink":false,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Amount","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"linkedColumn","linkedAttribute":{"type":"link","name":"Legislations restricting its use","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"},"linkedColumn":{"name":"Legislation rating","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"EH&S rating","rollUpType":"list","summaryRowRollUpType":"min","displayNames":{},"name":"Legislation rating","guid":"9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"}],"defaultThresholdType":"exists","info":{"typeCode":"TABL","chartable":false,"expressionable":false,"linkable":false,"extendedName":"Restricted substances associated with this material","isMetaAttribute":false,"orderedMetaAttributes":[],"standardNames":[{"name":"Restricted substances in this item","guid":"315d8839-ab9d-4b31-a27d-c128ebf34150"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Restricted substances associated with this material","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"} @@ -8472,22 +10282,61 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesAttribute" }, "examples": { - "Example 313": { + "Example 13": { "summary": "Date-time attribute", "description": "Example response for the date-time attribute 'Casting Date' in the 'Metals Pedigree' table of the 'MI Training database'.", "value": {"type":"dateTime","defaultThresholdType":"atLeast","info":{"typeCode":"DAT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Casting Date","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{"fr":"Casting Date French Display Name"},"name":"Casting Date","guid":"fe9cbde6-756a-4b1d-a347-7d49e56ee90f"} }, - "Example 314": { + "Example 14": { "summary": "Discrete attribute", "description": "Example response for the discrete attribute 'Metals' in the 'Materials Universe' table of the 'MI Training database'.", "value": {"type":"discrete","discreteType":{"name":"MU Durability","guid":"00000083-0006-4fff-8fff-0000ffff0000"},"isMultiValued":false,"defaultThresholdType":"atLeast","helpPath":"html/attributenotes/metals.html","info":{"typeCode":"DCT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Metals","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Metals","guid":"0000000b-0001-4fff-8fff-dd92ffff0000"} }, - "Example 315": { + "Example 15": { "summary": "Range attribute", "description": "Example response for the range attribute 'Tensile strength' in the 'Materials Universe' table of the 'MI Training database'.", - "value": {"type":"range","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","info":{"typeCode":"RNG","chartable":true,"expressionable":true,"linkable":true,"extendedName":"Tensile strength","isMetaAttribute":false,"orderedMetaAttributes":[{"name":"Tensile strength [Notes]","guid":"8d7c8bb0-450f-4f9d-a717-ea4f5b56df74"}],"standardNames":[{"name":"Tensile strength","guid":"a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[{"name":"Source of data (MaterialUniverse)","guid":"f2c200d8-944d-45ca-bdd9-94d0c96019a7"}],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"} + "value": { + "type": "range", + "unit": { + "symbol": "MPa", + "guid": "0000002b-0013-4fff-8fff-0000ffff0000" + }, + "defaultThresholdType": "atLeast", + "info": { + "typeCode": "RNG", + "chartable": true, + "expressionable": true, + "linkable": true, + "extendedName": "Tensile strength", + "isMetaAttribute": false, + "orderedMetaAttributes": [ + { + "name": "Tensile strength [Notes]", + "guid": "8d7c8bb0-450f-4f9d-a717-ea4f5b56df74" + } + ], + "standardNames": [ + { + "name": "Tensile strength", + "guid": "a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8" + } + ], + "primaryDataLinkGroups": [], + "foreignDataLinkGroups": [ + { + "name": "Source of data (MaterialUniverse)", + "guid": "14796077-8c87-4cd5-a14b-3762b18d0f5b" + } + ], + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] + }, + "displayNames": {}, + "name": "Tensile strength", + "guid": "000000e3-0001-4fff-8fff-dd92ffff0000" + } }, - "Example 316": { + "Example 16": { "summary": "Tabular attribute", "description": "Example response for the tabular attribute 'Restricted substances associated with this material' in the 'Materials Universe' table of the 'MI Training database'..", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":false,"hideUnlinkedRows":true,"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"tabularColumns":[{"columnType":"linkedAttribute","linkedAttribute":{"type":"shortText","name":"Chemical name","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Substance name","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"localRange","defaultThresholdType":"atLeast","unit":{"symbol":"%","guid":"00000005-0013-4fff-8fff-0000ffff0000"},"showAsLink":false,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Amount","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"linkedColumn","linkedAttribute":{"type":"link","name":"Legislations restricting its use","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"},"linkedColumn":{"name":"Legislation rating","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"EH&S rating","rollUpType":"list","summaryRowRollUpType":"min","displayNames":{},"name":"Legislation rating","guid":"9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"}],"defaultThresholdType":"exists","info":{"typeCode":"TABL","chartable":false,"expressionable":false,"linkable":false,"extendedName":"Restricted substances associated with this material","isMetaAttribute":false,"orderedMetaAttributes":[],"standardNames":[{"name":"Restricted substances in this item","guid":"315d8839-ab9d-4b31-a27d-c128ebf34150"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Restricted substances associated with this material","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"} @@ -8542,22 +10391,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","name":"Notes (flammability)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","guid":"12345678-1234-4fff-8fff-0000ffff0000"} }, - "Example 63": { + "Example 3": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","defaultThresholdType":"equal"} }, - "Example 64": { + "Example 4": { "summary": "Turn a meta-attribute into an attribute", "description": "This example demonstrates how to turn an existing meta-attribute into an attribute by removing its 'aboutAttribute'. We make the short text 'Notes' meta-attribute of the 'Flammability' attribute from the 'MaterialUniverse' table (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid = 00000298-0001-4fff-8fff-dd92ffff0000) become a standalone attribute.", "value": {"type":"longText","aboutAttribute":null} @@ -8569,22 +10418,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","name":"Notes (flammability)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","guid":"12345678-1234-4fff-8fff-0000ffff0000"} }, - "Example 63": { + "Example 3": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","defaultThresholdType":"equal"} }, - "Example 64": { + "Example 4": { "summary": "Turn a meta-attribute into an attribute", "description": "This example demonstrates how to turn an existing meta-attribute into an attribute by removing its 'aboutAttribute'. We make the short text 'Notes' meta-attribute of the 'Flammability' attribute from the 'MaterialUniverse' table (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid = 00000298-0001-4fff-8fff-dd92ffff0000) become a standalone attribute.", "value": {"type":"longText","aboutAttribute":null} @@ -8596,22 +10445,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","name":"Notes (flammability)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","guid":"12345678-1234-4fff-8fff-0000ffff0000"} }, - "Example 63": { + "Example 3": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","defaultThresholdType":"equal"} }, - "Example 64": { + "Example 4": { "summary": "Turn a meta-attribute into an attribute", "description": "This example demonstrates how to turn an existing meta-attribute into an attribute by removing its 'aboutAttribute'. We make the short text 'Notes' meta-attribute of the 'Flammability' attribute from the 'MaterialUniverse' table (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid = 00000298-0001-4fff-8fff-dd92ffff0000) become a standalone attribute.", "value": {"type":"longText","aboutAttribute":null} @@ -8623,22 +10472,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesUpdateAttributesUpdateAttribute" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","name":"Notes (flammability)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","guid":"12345678-1234-4fff-8fff-0000ffff0000"} }, - "Example 63": { + "Example 3": { "summary": "Update default threshold type", "description": "This example demonstrates how to update the default threshold type of the 'Notes' meta-attribute of the 'Flammability' attribute in the 'MaterialUniverse' table in the MI_Training database(tableGuid: 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid: 00000298-0001-4fff-8fff-dd92ffff0000)", "value": {"type":"longText","defaultThresholdType":"equal"} }, - "Example 64": { + "Example 4": { "summary": "Turn a meta-attribute into an attribute", "description": "This example demonstrates how to turn an existing meta-attribute into an attribute by removing its 'aboutAttribute'. We make the short text 'Notes' meta-attribute of the 'Flammability' attribute from the 'MaterialUniverse' table (tableGuid = 0000dd92-0011-4fff-8fff-0000ffff0000; metaAttributeGuid = 00000298-0001-4fff-8fff-dd92ffff0000) become a standalone attribute.", "value": {"type":"longText","aboutAttribute":null} @@ -8656,22 +10505,61 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaAttributesAttribute" }, "examples": { - "Example 317": { + "Example 17": { "summary": "Date-time attribute", "description": "Example response for the date-time attribute 'Casting Date' in the 'Metals Pedigree' table of the 'MI Training database'.", "value": {"type":"dateTime","defaultThresholdType":"atLeast","info":{"typeCode":"DAT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Casting Date","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{"fr":"Casting Date French Display Name"},"name":"Casting Date","guid":"fe9cbde6-756a-4b1d-a347-7d49e56ee90f"} }, - "Example 318": { + "Example 18": { "summary": "Discrete attribute", "description": "Example response for the discrete attribute 'Metals' in the 'Materials Universe' table of the 'MI Training database'.", "value": {"type":"discrete","discreteType":{"name":"MU Durability","guid":"00000083-0006-4fff-8fff-0000ffff0000"},"isMultiValued":false,"defaultThresholdType":"atLeast","helpPath":"html/attributenotes/metals.html","info":{"typeCode":"DCT","chartable":false,"expressionable":false,"linkable":true,"extendedName":"Metals","isMetaAttribute":false,"orderedMetaAttributes":[],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Metals","guid":"0000000b-0001-4fff-8fff-dd92ffff0000"} }, - "Example 319": { + "Example 19": { "summary": "Range attribute", "description": "Example response for the range attribute 'Tensile strength' in the 'Materials Universe' table of the 'MI Training database'.", - "value": {"type":"range","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"defaultThresholdType":"atLeast","info":{"typeCode":"RNG","chartable":true,"expressionable":true,"linkable":true,"extendedName":"Tensile strength","isMetaAttribute":false,"orderedMetaAttributes":[{"name":"Tensile strength [Notes]","guid":"8d7c8bb0-450f-4f9d-a717-ea4f5b56df74"}],"standardNames":[{"name":"Tensile strength","guid":"a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[{"name":"Source of data (MaterialUniverse)","guid":"bd3308f8-0960-472f-a11d-06b71726a7f4"}],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"} + "value": { + "type": "range", + "unit": { + "symbol": "MPa", + "guid": "0000002b-0013-4fff-8fff-0000ffff0000" + }, + "defaultThresholdType": "atLeast", + "info": { + "typeCode": "RNG", + "chartable": true, + "expressionable": true, + "linkable": true, + "extendedName": "Tensile strength", + "isMetaAttribute": false, + "orderedMetaAttributes": [ + { + "name": "Tensile strength [Notes]", + "guid": "8d7c8bb0-450f-4f9d-a717-ea4f5b56df74" + } + ], + "standardNames": [ + { + "name": "Tensile strength", + "guid": "a5a22baa-2245-4fb5-b0c9-2ddb48b5ffc8" + } + ], + "primaryDataLinkGroups": [], + "foreignDataLinkGroups": [ + { + "name": "Source of data (MaterialUniverse)", + "guid": "f8ade743-fbca-4ff1-890c-4f61e5686853" + } + ], + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] + }, + "displayNames": {}, + "name": "Tensile strength", + "guid": "000000e3-0001-4fff-8fff-dd92ffff0000" + } }, - "Example 320": { + "Example 20": { "summary": "Tabular attribute", "description": "Example response for the tabular attribute 'Restricted substances associated with this material' in the 'Materials Universe' table of the 'MI Training database'..", "value": {"type":"link","displayFullTable":false,"displaySummaryRowInline":false,"hideUnlinkedRows":true,"target":{"targetDatabaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","targetDatabaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0"},"tabularColumns":[{"columnType":"linkedAttribute","linkedAttribute":{"type":"shortText","name":"Chemical name","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07"},"showAsLink":true,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Substance name","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"localRange","defaultThresholdType":"atLeast","unit":{"symbol":"%","guid":"00000005-0013-4fff-8fff-0000ffff0000"},"showAsLink":false,"summaryRowEnabled":false,"summaryRowText":"","rollUpType":"list","summaryRowRollUpType":"list","displayNames":{},"name":"Amount","guid":"fdbfaa62-61ff-43de-9ecb-3728ce83cb4e"},{"columnType":"linkedColumn","linkedAttribute":{"type":"link","name":"Legislations restricting its use","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc"},"linkedColumn":{"name":"Legislation rating","guid":"49a720bd-55c4-44a3-a10a-5ae3b69f3100"},"showAsLink":false,"summaryRowEnabled":true,"summaryRowText":"EH&S rating","rollUpType":"list","summaryRowRollUpType":"min","displayNames":{},"name":"Legislation rating","guid":"9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"}],"defaultThresholdType":"exists","info":{"typeCode":"TABL","chartable":false,"expressionable":false,"linkable":false,"extendedName":"Restricted substances associated with this material","isMetaAttribute":false,"orderedMetaAttributes":[],"standardNames":[{"name":"Restricted substances in this item","guid":"315d8839-ab9d-4b31-a27d-c128ebf34150"}],"primaryDataLinkGroups":[],"foreignDataLinkGroups":[],"primaryDynamicLinkGroups":[],"foreignDynamicLinkGroups":[]},"displayNames":{},"name":"Restricted substances associated with this material","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554"} @@ -8733,7 +10621,28 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiExceptionsDeletionAttributeDeletionException" }, - "example": {"message":"Cannot delete attribute 'Notes' (GUID = 'e13f9b7b-0d71-4935-a66c-44a64360a5b5').","code":400,"errors":[{"message":"It is being used in version controlled data.","reason":"inUse","referencedByType":"versionControlledData"},{"message":"It is being used in one or more search masks.","reason":"inUse","referencedByType":"searchMask","referencedBy":[{"name":"Search mask that searches in Notes","guid":"554fd7cf-061e-418d-8e57-5a4c5b31afaf"}]}]} + "example": { + "message": "Cannot delete attribute 'Notes' (GUID = '67686986-a773-4724-97d0-04f83871da79').", + "code": 400, + "errors": [ + { + "message": "It is being used in version controlled data.", + "reason": "inUse", + "referencedByType": "versionControlledData" + }, + { + "message": "It is being used in one or more search masks.", + "reason": "inUse", + "referencedByType": "searchMask", + "referencedBy": [ + { + "name": "Search mask that searches in Notes", + "guid": "776a428f-2fdf-405f-a236-320d566ae8ca" + } + ] + } + ] + } } } }, @@ -9074,15 +10983,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsCreateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Configuration", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database.", "value": {"value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"00000000-0000-0000-0000-000000000000"} }, - "Example 32": { + "Example 2": { "summary": "Configuration with specified guid and description", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database with a specified guid and description. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"description":"Basic configuration that can be used in explore.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"03972aea-543c-45b9-826e-d382d098b633"} + "value": { + "description": "Basic configuration that can be used in explore.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "basic configuration", + "guid": "990c7e58-9c37-44e8-bbcf-93b74685d50a" + } } } }, @@ -9091,15 +11005,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsCreateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Configuration", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database.", "value": {"value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"00000000-0000-0000-0000-000000000000"} }, - "Example 32": { + "Example 2": { "summary": "Configuration with specified guid and description", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database with a specified guid and description. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"description":"Basic configuration that can be used in explore.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"03972aea-543c-45b9-826e-d382d098b633"} + "value": { + "description": "Basic configuration that can be used in explore.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "basic configuration", + "guid": "990c7e58-9c37-44e8-bbcf-93b74685d50a" + } } } }, @@ -9108,15 +11027,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsCreateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Configuration", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database.", "value": {"value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"00000000-0000-0000-0000-000000000000"} }, - "Example 32": { + "Example 2": { "summary": "Configuration with specified guid and description", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database with a specified guid and description. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"description":"Basic configuration that can be used in explore.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"03972aea-543c-45b9-826e-d382d098b633"} + "value": { + "description": "Basic configuration that can be used in explore.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "basic configuration", + "guid": "990c7e58-9c37-44e8-bbcf-93b74685d50a" + } } } }, @@ -9125,15 +11049,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsCreateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Configuration", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database.", "value": {"value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"00000000-0000-0000-0000-000000000000"} }, - "Example 32": { + "Example 2": { "summary": "Configuration with specified guid and description", "description": "This example demonstrates how to create a new Explore configuration for the MI_Training database with a specified guid and description. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"description":"Basic configuration that can be used in explore.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"basic configuration","guid":"03972aea-543c-45b9-826e-d382d098b633"} + "value": { + "description": "Basic configuration that can be used in explore.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "basic configuration", + "guid": "990c7e58-9c37-44e8-bbcf-93b74685d50a" + } } } } @@ -9266,12 +11195,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsUpdateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a configuration", "description": "This example shows how to update all properties of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"description":"Updated description for MI_Training Explore 'examples' configuration.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"examples (updated)","guid":"56beb644-91f4-4735-8192-baf510e748ce"} + "value": { + "description": "Updated description for MI_Training Explore 'examples' configuration.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "examples (updated)", + "guid": "90ad6cc4-281f-4a2e-8d2b-3348749fdc35" + } }, - "Example 32": { + "Example 2": { "summary": "Update a name", "description": "This example shows how to update the 'Name' property of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database.", "value": {"name":"examples (updated)"} @@ -9283,12 +11217,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsUpdateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a configuration", "description": "This example shows how to update all properties of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"description":"Updated description for MI_Training Explore 'examples' configuration.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"examples (updated)","guid":"56beb644-91f4-4735-8192-baf510e748ce"} + "value": { + "description": "Updated description for MI_Training Explore 'examples' configuration.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "examples (updated)", + "guid": "90ad6cc4-281f-4a2e-8d2b-3348749fdc35" + } }, - "Example 32": { + "Example 2": { "summary": "Update a name", "description": "This example shows how to update the 'Name' property of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database.", "value": {"name":"examples (updated)"} @@ -9300,12 +11239,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsUpdateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a configuration", "description": "This example shows how to update all properties of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"description":"Updated description for MI_Training Explore 'examples' configuration.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"examples (updated)","guid":"56beb644-91f4-4735-8192-baf510e748ce"} + "value": { + "description": "Updated description for MI_Training Explore 'examples' configuration.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "examples (updated)", + "guid": "90ad6cc4-281f-4a2e-8d2b-3348749fdc35" + } }, - "Example 32": { + "Example 2": { "summary": "Update a name", "description": "This example shows how to update the 'Name' property of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database.", "value": {"name":"examples (updated)"} @@ -9317,12 +11261,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConfigurationsUpdateConfiguration" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a configuration", "description": "This example shows how to update all properties of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"description":"Updated description for MI_Training Explore 'examples' configuration.","value":"{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}","name":"examples (updated)","guid":"56beb644-91f4-4735-8192-baf510e748ce"} + "value": { + "description": "Updated description for MI_Training Explore 'examples' configuration.", + "value": "{\n\t\"configurations\": [\n\t{\n\t\t\t\"key\": \"training-materials\",\n\t\t\t\"displayName\": \"MI Training Materials\",\n\t\t\t\"default\": true,\n\t\t\t\"groups\": [\n\t\t\t\t\"MI Training examples\"\n\t\t\t],\n\t\t\t\"table\": \"MaterialUniverse\",\n\t\t\t\"loadDataOnDemand\": false,\n\t\t\t\"description\": \"Explore MaterialUniverse data in the MI Training database\",\n\t\t\t\"searchLayout\": \"All bulk materials\",\n\t\t\t\"dataSheetLayout\": \"All bulk materials\",\n\t\t\t\"editableDatasheetLayout\": \"All bulk materials\",\n\t\t\t\"searchListLayout\": \"Explore list layout Materials\",\n\t\t\t\"newRecordLocation\": \"NEW RECORDS/{Base}\",\n\t\t\t\"subset\": \"All bulk materials\",\n\t\t\t\"logsliders\": true,\n\t\t\t\"xyChart\": {\n\t\t\t\t\"colorAttribute\": \"UV radiation (sunlight)\",\n\t\t\t\t\"colorAttribute2\": \"Flammability\",\n\t\t\t\t\"colorAttribute3\": \"Food contact\",\n\t\t\t\t\"colorAttribute4\": \"Material form\",\n\t\t\t\t\"colorAttribute5\": \"Organic solvents\",\n\t\t\t\t\"colorAttribute6\": \"Oxidation at 500C\",\n\t\t\t\t\"colorAttribute7\": \"Strong acids\",\n\t\t\t\t\"colorAttribute8\": \"Strong alkalis\",\n\t\t\t\t\"colorAttribute9\": \"Weak acids\",\n\t\t\t\t\"colorAttribute10\": \"Weak alkalis\",\n\t\t\t\t\"colorAttribute11\": \"Water (fresh)\",\n\t\t\t\t\"colorAttribute12\": \"Water (salt)\",\n\t\t\t\t\"colorAttribute13\": \"Transparency\",\n\t\t\t\t\"colorAttribute14\": \"Wear resistance\",\n\t\t\t\t\"xAttribute\": \"Density\",\n\t\t\t\t\"yAttribute\": \"Yield strength (elastic limit)\",\n\t\t\t\t\"preventAxisChange\": false,\n\t\t\t\t\"xAxisLogarithmic\": true,\n\t\t\t\t\"yAxisLogarithmic\": true\n\t\t\t},\n\t\t\t\"showBlanks\": false,\n\t\t\t\"reportsDisabled\": false,\n\t\t\t\"exportersDisabled\": false,\n\t\t\t\"tabularEditingEnabled\": true,\n\t\t\t\"configSwitching\": \"keyOnly\",\n\t\t\t\"workflowEnabled\": true,\n\t\t\t\"useCustomFormatters\": {\n\t\t\t\t\"Recycle fraction in current supply\": \"recyclingPercent\",\n\t\t\t\t\"Recycle\": \"recyclingBool\",\n\t\t\t\t\"Biodegrade\": \"biodegradeBool\",\n\t\t\t\t\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\n\t\t\t\t\"Flammability\": \"flammabilityDiscrete\",\n\t\t\t\t\"Food contact\": \"foodcontactDiscrete\",\n\t\t\t\t\"Material form\": \"materialformDiscrete\",\n\t\t\t\t\"Organic solvents\": \"organicsolventsDiscrete\",\n\t\t\t\t\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\n\t\t\t\t\"Strong acids\": \"strongacidsDiscrete\",\n\t\t\t\t\"Strong alkalis\": \"strongalkalisDiscrete\",\n\t\t\t\t\"Weak acids\": \"weakacidsDiscrete\",\n\t\t\t\t\"Weak alkalis\": \"weakalkalisDiscrete\",\n\t\t\t\t\"Water (fresh)\": \"waterfreshDiscrete\",\n\t\t\t\t\"Water (salt)\": \"watersaltDiscrete\",\n\t\t\t\t\"Transparency\": \"transparencyDiscrete\",\n\t\t\t\t\"Wear resistance\": \"wearresistanceDiscrete\",\n\t\t\t\t\"A renewable resource?\": \"arenewableresourceBool\",\n\t\t\t\t\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\n\t\t\t\t\"Downcycle\": \"downcycleBool\",\n\t\t\t\t\"Flame retardant additive\": \"flameretardantadditiveBool\",\n\t\t\t\t\"Landfill\": \"landfillBool\",\n\t\t\t\t\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\n\t\t\t\t\"Substance declaration available?\": \"substancedeclarationavailableBool\"\n\t\t\t}\n\t\t}\n\t],\n\t\"customFormatterDefinitions\": {\n\t\t\"recyclingBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be recycled\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t\"biodegradeBool\": {\n\t\t\t\"attributeFormatter\": {\n\t\t\t\t\"list\": {\n\t\t\t\t\t\"columnHeader\": false,\n\t\t\t\t\t\"columnWidth\": 40\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"valueFormatters\": [{\n\t\t\t\t\t\"match\": true,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"green\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"match\": false,\n\t\t\t\t\t\"list\": {\n\t\t\t\t\t\t\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\n\t\t\t\t\t\t\"tooltipValue\": \"Can not be biodegraded\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chart\": {\n\t\t\t\t\t\t\"renderColor\": \"red\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n}", + "name": "examples (updated)", + "guid": "90ad6cc4-281f-4a2e-8d2b-3348749fdc35" + } }, - "Example 32": { + "Example 2": { "summary": "Update a name", "description": "This example shows how to update the 'Name' property of the Explore 'examples' configuration (guid = 997e8f58-bd2a-494f-9a99-18b3d395ad0a) from the MI_Training database.", "value": {"name":"examples (updated)"} @@ -9515,17 +11464,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsCreateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Constant", "description": "This example demonstrates how to create a new constant for the MI_Training database.", "value": {"value":0.0072973525693,"name":"fine-structure constant"} }, - "Example 47": { + "Example 2": { "summary": "Constant with specified guid", "description": "This example demonstrates how to create a new constant for the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":0.0072973525693,"name":"fine-structure constant (guid)","guid":"50e1f2b3-ebc8-4bd0-8122-08caa63c980b"} + "value": { + "value": 0.0072973525693, + "name": "fine-structure constant (guid)", + "guid": "672592e0-5155-4933-9ea7-c86095f5432c" + } }, - "Example 48": { + "Example 3": { "summary": "Constant with specified unit", "description": "This example demonstrates how to create a new constant with a specified unit 'ohm' from the MI_Training database.", "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum (guid and unit)"} @@ -9537,17 +11490,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsCreateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Constant", "description": "This example demonstrates how to create a new constant for the MI_Training database.", "value": {"value":0.0072973525693,"name":"fine-structure constant"} }, - "Example 47": { + "Example 2": { "summary": "Constant with specified guid", "description": "This example demonstrates how to create a new constant for the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":0.0072973525693,"name":"fine-structure constant (guid)","guid":"50e1f2b3-ebc8-4bd0-8122-08caa63c980b"} + "value": { + "value": 0.0072973525693, + "name": "fine-structure constant (guid)", + "guid": "672592e0-5155-4933-9ea7-c86095f5432c" + } }, - "Example 48": { + "Example 3": { "summary": "Constant with specified unit", "description": "This example demonstrates how to create a new constant with a specified unit 'ohm' from the MI_Training database.", "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum (guid and unit)"} @@ -9559,17 +11516,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsCreateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Constant", "description": "This example demonstrates how to create a new constant for the MI_Training database.", "value": {"value":0.0072973525693,"name":"fine-structure constant"} }, - "Example 47": { + "Example 2": { "summary": "Constant with specified guid", "description": "This example demonstrates how to create a new constant for the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":0.0072973525693,"name":"fine-structure constant (guid)","guid":"50e1f2b3-ebc8-4bd0-8122-08caa63c980b"} + "value": { + "value": 0.0072973525693, + "name": "fine-structure constant (guid)", + "guid": "672592e0-5155-4933-9ea7-c86095f5432c" + } }, - "Example 48": { + "Example 3": { "summary": "Constant with specified unit", "description": "This example demonstrates how to create a new constant with a specified unit 'ohm' from the MI_Training database.", "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum (guid and unit)"} @@ -9581,17 +11542,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsCreateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Constant", "description": "This example demonstrates how to create a new constant for the MI_Training database.", "value": {"value":0.0072973525693,"name":"fine-structure constant"} }, - "Example 47": { + "Example 2": { "summary": "Constant with specified guid", "description": "This example demonstrates how to create a new constant for the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":0.0072973525693,"name":"fine-structure constant (guid)","guid":"50e1f2b3-ebc8-4bd0-8122-08caa63c980b"} + "value": { + "value": 0.0072973525693, + "name": "fine-structure constant (guid)", + "guid": "672592e0-5155-4933-9ea7-c86095f5432c" + } }, - "Example 48": { + "Example 3": { "summary": "Constant with specified unit", "description": "This example demonstrates how to create a new constant with a specified unit 'ohm' from the MI_Training database.", "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum (guid and unit)"} @@ -9704,20 +11669,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsUpdateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a constant", "description": "This example shows how to update all properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum","guid":"ca804c45-5937-45f6-b68e-4ee08ec39487"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "value": 376.730313668, + "name": "characteristic impedance of vacuum", + "guid": "52cb8844-44f6-48d8-9c73-aa09261b337d" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example shows how to update the 'Name' property of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"characteristic impedance of vacuum"} }, - "Example 48": { + "Example 3": { "summary": "Update guid and unit", "description": "This example shows how to update the 'Guid' and 'Unit' properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","guid":"d8987a0e-fbf6-43c1-aae9-424f521925d1"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "guid": "73b8086d-19e3-4976-a7d9-52fcef9e57a3" + } } } }, @@ -9726,20 +11699,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsUpdateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a constant", "description": "This example shows how to update all properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum","guid":"ca804c45-5937-45f6-b68e-4ee08ec39487"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "value": 376.730313668, + "name": "characteristic impedance of vacuum", + "guid": "52cb8844-44f6-48d8-9c73-aa09261b337d" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example shows how to update the 'Name' property of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"characteristic impedance of vacuum"} }, - "Example 48": { + "Example 3": { "summary": "Update guid and unit", "description": "This example shows how to update the 'Guid' and 'Unit' properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","guid":"d8987a0e-fbf6-43c1-aae9-424f521925d1"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "guid": "73b8086d-19e3-4976-a7d9-52fcef9e57a3" + } } } }, @@ -9748,20 +11729,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsUpdateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a constant", "description": "This example shows how to update all properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum","guid":"ca804c45-5937-45f6-b68e-4ee08ec39487"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "value": 376.730313668, + "name": "characteristic impedance of vacuum", + "guid": "52cb8844-44f6-48d8-9c73-aa09261b337d" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example shows how to update the 'Name' property of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"characteristic impedance of vacuum"} }, - "Example 48": { + "Example 3": { "summary": "Update guid and unit", "description": "This example shows how to update the 'Guid' and 'Unit' properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","guid":"d8987a0e-fbf6-43c1-aae9-424f521925d1"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "guid": "73b8086d-19e3-4976-a7d9-52fcef9e57a3" + } } } }, @@ -9770,20 +11759,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaConstantsUpdateConstant" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a constant", "description": "This example shows how to update all properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","value":376.730313668,"name":"characteristic impedance of vacuum","guid":"ca804c45-5937-45f6-b68e-4ee08ec39487"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "value": 376.730313668, + "name": "characteristic impedance of vacuum", + "guid": "52cb8844-44f6-48d8-9c73-aa09261b337d" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example shows how to update the 'Name' property of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"characteristic impedance of vacuum"} }, - "Example 48": { + "Example 3": { "summary": "Update guid and unit", "description": "This example shows how to update the 'Guid' and 'Unit' properties of the 'Speed of light in Vacuum' constant (guid = 0000000f-0004-4fff-8fff-0000ffff0000) from the MI_Training database. Its unit is changed to 'Ohm'", - "value": {"unitGuid":"00000059-0013-4fff-8fff-0000ffff0000","guid":"d8987a0e-fbf6-43c1-aae9-424f521925d1"} + "value": { + "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", + "guid": "73b8086d-19e3-4976-a7d9-52fcef9e57a3" + } } } } @@ -9919,7 +11916,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDataRulesCreateDataRule" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Data rule for attributes", "description": "This example demonstrates how to create a new data rule.", "value": {"description":"Only numeric digits are allowed.","regularExpression":"^[0-9]*$","name":"digits only"} @@ -9931,7 +11928,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDataRulesCreateDataRule" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Data rule for attributes", "description": "This example demonstrates how to create a new data rule.", "value": {"description":"Only numeric digits are allowed.","regularExpression":"^[0-9]*$","name":"digits only"} @@ -9943,7 +11940,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDataRulesCreateDataRule" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Data rule for attributes", "description": "This example demonstrates how to create a new data rule.", "value": {"description":"Only numeric digits are allowed.","regularExpression":"^[0-9]*$","name":"digits only"} @@ -9955,7 +11952,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDataRulesCreateDataRule" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Data rule for attributes", "description": "This example demonstrates how to create a new data rule.", "value": {"description":"Only numeric digits are allowed.","regularExpression":"^[0-9]*$","name":"digits only"} @@ -10156,7 +12153,21 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaDatabasesInfo" }, - "example": {"databases":[{"key":"MI_Training","versionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","status":"Ok","isReadOnly":false,"isLocked":false,"indexInSync":true,"schemaVersion":"2022.08.18.01","name":"MI Training","guid":"43a43640-4919-428a-bac9-16efbc4ce6ed"}]} + "example": { + "databases": [ + { + "key": "MI_Training", + "status": "Ok", + "isReadOnly": false, + "isLocked": false, + "name": "MI Training", + "guid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "versionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "indexInSync": true, + "schemaVersion": "2022.08.18.01" + } + ] + } } } } @@ -10219,10 +12230,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUpdateDatabase" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Update everything in a database", "description": "This example shows how to update all properties of the MI_Training database.", - "value": {"author":"Ansys Granta Technical Training (Updated)","company":"ANSYS, Inc. (updated)","notes":"MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)","currencyCode":"PLN","versionGuid":"29f79b90-47cb-44c7-8c24-8ad53da3eca4","name":"MI Training (Updated)","guid":"804d73eb-1d44-4a3a-9499-62b07ac9f829"} + "value": { + "author": "Ansys Granta Technical Training (Updated)", + "company": "ANSYS, Inc. (updated)", + "notes": "MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)", + "currencyCode": "PLN", + "versionGuid": "c4f8066c-ae88-4031-9528-eb577b95ca95", + "name": "MI Training (Updated)", + "guid": "5cb46f76-c9a1-4e49-88bc-f952508b72ec" + } }, "Update the author": { "summary": "This example shows how to update the 'Author' property of the MI_Training database.", @@ -10235,10 +12254,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUpdateDatabase" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Update everything in a database", "description": "This example shows how to update all properties of the MI_Training database.", - "value": {"author":"Ansys Granta Technical Training (Updated)","company":"ANSYS, Inc. (updated)","notes":"MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)","currencyCode":"PLN","versionGuid":"29f79b90-47cb-44c7-8c24-8ad53da3eca4","name":"MI Training (Updated)","guid":"804d73eb-1d44-4a3a-9499-62b07ac9f829"} + "value": { + "author": "Ansys Granta Technical Training (Updated)", + "company": "ANSYS, Inc. (updated)", + "notes": "MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)", + "currencyCode": "PLN", + "versionGuid": "c4f8066c-ae88-4031-9528-eb577b95ca95", + "name": "MI Training (Updated)", + "guid": "5cb46f76-c9a1-4e49-88bc-f952508b72ec" + } }, "Update the author": { "summary": "This example shows how to update the 'Author' property of the MI_Training database.", @@ -10251,10 +12278,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUpdateDatabase" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Update everything in a database", "description": "This example shows how to update all properties of the MI_Training database.", - "value": {"author":"Ansys Granta Technical Training (Updated)","company":"ANSYS, Inc. (updated)","notes":"MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)","currencyCode":"PLN","versionGuid":"29f79b90-47cb-44c7-8c24-8ad53da3eca4","name":"MI Training (Updated)","guid":"804d73eb-1d44-4a3a-9499-62b07ac9f829"} + "value": { + "author": "Ansys Granta Technical Training (Updated)", + "company": "ANSYS, Inc. (updated)", + "notes": "MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)", + "currencyCode": "PLN", + "versionGuid": "c4f8066c-ae88-4031-9528-eb577b95ca95", + "name": "MI Training (Updated)", + "guid": "5cb46f76-c9a1-4e49-88bc-f952508b72ec" + } }, "Update the author": { "summary": "This example shows how to update the 'Author' property of the MI_Training database.", @@ -10267,10 +12302,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUpdateDatabase" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Update everything in a database", "description": "This example shows how to update all properties of the MI_Training database.", - "value": {"author":"Ansys Granta Technical Training (Updated)","company":"ANSYS, Inc. (updated)","notes":"MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)","currencyCode":"PLN","versionGuid":"29f79b90-47cb-44c7-8c24-8ad53da3eca4","name":"MI Training (Updated)","guid":"804d73eb-1d44-4a3a-9499-62b07ac9f829"} + "value": { + "author": "Ansys Granta Technical Training (Updated)", + "company": "ANSYS, Inc. (updated)", + "notes": "MI Training Database for Granta MI v2022R2 and above.\r\n\r\n\nThis database has been developed to support training classes. Any other use of this database will not be supported by Ansys Granta. (Updated)", + "currencyCode": "PLN", + "versionGuid": "c4f8066c-ae88-4031-9528-eb577b95ca95", + "name": "MI Training (Updated)", + "guid": "5cb46f76-c9a1-4e49-88bc-f952508b72ec" + } }, "Update the author": { "summary": "This example shows how to update the 'Author' property of the MI_Training database.", @@ -10444,12 +12487,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteTypesCreateDiscreteType" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Ordered Discrete Type", "description": "This example demonstrates how to create a new ordered discrete type for the MI_Training database.", "value": {"isOrdered":true,"name":"Ordered Discrete Type"} }, - "Example 32": { + "Example 2": { "summary": "Unordered Discrete Type", "description": "This example demonstrates how to create a new unordered discrete type for the MI_Training database.", "value": {"isOrdered":false,"name":"Unordered Discrete Type"} @@ -10461,12 +12504,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteTypesCreateDiscreteType" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Ordered Discrete Type", "description": "This example demonstrates how to create a new ordered discrete type for the MI_Training database.", "value": {"isOrdered":true,"name":"Ordered Discrete Type"} }, - "Example 32": { + "Example 2": { "summary": "Unordered Discrete Type", "description": "This example demonstrates how to create a new unordered discrete type for the MI_Training database.", "value": {"isOrdered":false,"name":"Unordered Discrete Type"} @@ -10478,12 +12521,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteTypesCreateDiscreteType" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Ordered Discrete Type", "description": "This example demonstrates how to create a new ordered discrete type for the MI_Training database.", "value": {"isOrdered":true,"name":"Ordered Discrete Type"} }, - "Example 32": { + "Example 2": { "summary": "Unordered Discrete Type", "description": "This example demonstrates how to create a new unordered discrete type for the MI_Training database.", "value": {"isOrdered":false,"name":"Unordered Discrete Type"} @@ -10495,12 +12538,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteTypesCreateDiscreteType" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Ordered Discrete Type", "description": "This example demonstrates how to create a new ordered discrete type for the MI_Training database.", "value": {"isOrdered":true,"name":"Ordered Discrete Type"} }, - "Example 32": { + "Example 2": { "summary": "Unordered Discrete Type", "description": "This example demonstrates how to create a new unordered discrete type for the MI_Training database.", "value": {"isOrdered":false,"name":"Unordered Discrete Type"} @@ -10814,15 +12857,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Discrete Value", "description": "This example demonstrates how to create a new discrete value.", "value": {"name":"New Discrete Value 1"} }, - "Example 32": { + "Example 2": { "summary": "Discrete Value with Guid", "description": "This example demonstrates how to create a new discrete value with a specified guid value.", - "value": {"name":"New Discrete Value 2","guid":"152146e4-43a6-4f38-91ab-9c6f38f3de38"} + "value": { + "name": "New Discrete Value 2", + "guid": "e08122e8-7582-40c6-ba8a-b6af5b50d937" + } } } }, @@ -10831,15 +12877,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Discrete Value", "description": "This example demonstrates how to create a new discrete value.", "value": {"name":"New Discrete Value 1"} }, - "Example 32": { + "Example 2": { "summary": "Discrete Value with Guid", "description": "This example demonstrates how to create a new discrete value with a specified guid value.", - "value": {"name":"New Discrete Value 2","guid":"152146e4-43a6-4f38-91ab-9c6f38f3de38"} + "value": { + "name": "New Discrete Value 2", + "guid": "e08122e8-7582-40c6-ba8a-b6af5b50d937" + } } } }, @@ -10848,15 +12897,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Discrete Value", "description": "This example demonstrates how to create a new discrete value.", "value": {"name":"New Discrete Value 1"} }, - "Example 32": { + "Example 2": { "summary": "Discrete Value with Guid", "description": "This example demonstrates how to create a new discrete value with a specified guid value.", - "value": {"name":"New Discrete Value 2","guid":"152146e4-43a6-4f38-91ab-9c6f38f3de38"} + "value": { + "name": "New Discrete Value 2", + "guid": "e08122e8-7582-40c6-ba8a-b6af5b50d937" + } } } }, @@ -10865,15 +12917,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaDiscreteValuesCreateDiscreteValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Discrete Value", "description": "This example demonstrates how to create a new discrete value.", "value": {"name":"New Discrete Value 1"} }, - "Example 32": { + "Example 2": { "summary": "Discrete Value with Guid", "description": "This example demonstrates how to create a new discrete value with a specified guid value.", - "value": {"name":"New Discrete Value 2","guid":"152146e4-43a6-4f38-91ab-9c6f38f3de38"} + "value": { + "name": "New Discrete Value 2", + "guid": "e08122e8-7582-40c6-ba8a-b6af5b50d937" + } } } } @@ -11277,7 +13332,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Exporter Folder", "description": "This example demonstrates how to create a new exporter folder under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","name":"New Folder"} @@ -11289,7 +13344,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Exporter Folder", "description": "This example demonstrates how to create a new exporter folder under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","name":"New Folder"} @@ -11301,7 +13356,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Exporter Folder", "description": "This example demonstrates how to create a new exporter folder under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","name":"New Folder"} @@ -11313,7 +13368,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Exporter Folder", "description": "This example demonstrates how to create a new exporter folder under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","name":"New Folder"} @@ -11492,15 +13547,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Exporter Folder", "description": "This example demonstrates how to rename an existing Exporter folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", - "value": {"guid":"2aec53fa-b096-47d0-bb12-da4a317311d3"} + "value": { + "guid": "6357a2db-2c1e-415c-a749-9a551554c2c3" + } } } }, @@ -11509,15 +13566,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Exporter Folder", "description": "This example demonstrates how to rename an existing Exporter folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", - "value": {"guid":"2aec53fa-b096-47d0-bb12-da4a317311d3"} + "value": { + "guid": "6357a2db-2c1e-415c-a749-9a551554c2c3" + } } } }, @@ -11526,15 +13585,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Exporter Folder", "description": "This example demonstrates how to rename an existing Exporter folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", - "value": {"guid":"2aec53fa-b096-47d0-bb12-da4a317311d3"} + "value": { + "guid": "6357a2db-2c1e-415c-a749-9a551554c2c3" + } } } }, @@ -11543,15 +13604,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Exporter Folder", "description": "This example demonstrates how to rename an existing Exporter folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", - "value": {"guid":"2aec53fa-b096-47d0-bb12-da4a317311d3"} + "value": { + "guid": "6357a2db-2c1e-415c-a749-9a551554c2c3" + } } } } @@ -11769,7 +13832,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter Folder", "description": "This example demonstrates how to move an existing exporter folder to be under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -11781,7 +13844,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter Folder", "description": "This example demonstrates how to move an existing exporter folder to be under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -11793,7 +13856,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter Folder", "description": "This example demonstrates how to move an existing exporter folder to be under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -11805,7 +13868,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter Folder", "description": "This example demonstrates how to move an existing exporter folder to be under the root 'Exporters' folder.", "value": {"parentGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -11884,19 +13947,52 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"exporter-1.exp","guid":"f04c4d15-fc08-4c51-acb8-81df90b8d6c4"},{"name":"no-transform.xslt","guid":"cb2807eb-be1d-47b3-8559-1c372fd5b198"}]} + "example": { + "files": [ + { + "name": "exporter-1.exp", + "guid": "1e0c6757-2bbc-4508-b46c-3c70bfb5c280" + }, + { + "name": "no-transform.xslt", + "guid": "6f5c7770-2011-494b-a475-3fd3c452868b" + } + ] + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"exporter-1.exp","guid":"f04c4d15-fc08-4c51-acb8-81df90b8d6c4"},{"name":"no-transform.xslt","guid":"cb2807eb-be1d-47b3-8559-1c372fd5b198"}]} + "example": { + "files": [ + { + "name": "exporter-1.exp", + "guid": "1e0c6757-2bbc-4508-b46c-3c70bfb5c280" + }, + { + "name": "no-transform.xslt", + "guid": "6f5c7770-2011-494b-a475-3fd3c452868b" + } + ] + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"exporter-1.exp","guid":"f04c4d15-fc08-4c51-acb8-81df90b8d6c4"},{"name":"no-transform.xslt","guid":"cb2807eb-be1d-47b3-8559-1c372fd5b198"}]} + "example": { + "files": [ + { + "name": "exporter-1.exp", + "guid": "1e0c6757-2bbc-4508-b46c-3c70bfb5c280" + }, + { + "name": "no-transform.xslt", + "guid": "6f5c7770-2011-494b-a475-3fd3c452868b" + } + ] + } } } }, @@ -11964,19 +14060,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"1471aaf1-ad4d-4981-ac21-a6e3ffb5f0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "c77e77fd-a8ac-46d1-be4d-ca1f595f07b5" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"1471aaf1-ad4d-4981-ac21-a6e3ffb5f0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "c77e77fd-a8ac-46d1-be4d-ca1f595f07b5" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"1471aaf1-ad4d-4981-ac21-a6e3ffb5f0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "c77e77fd-a8ac-46d1-be4d-ca1f595f07b5" + } } } }, @@ -12035,19 +14155,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"42e4c0b6-cb88-4037-a5d6-b22f9a0acc84"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "0fe4a8b0-719d-4461-b0ea-070d74cb1746" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"42e4c0b6-cb88-4037-a5d6-b22f9a0acc84"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "0fe4a8b0-719d-4461-b0ea-070d74cb1746" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"42e4c0b6-cb88-4037-a5d6-b22f9a0acc84"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "0fe4a8b0-719d-4461-b0ea-070d74cb1746" + } } } }, @@ -12097,20 +14241,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Exporter File", "description": "This example demonstrates how to rename an existing Exporter file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for an Exporter File", "description": "This example demonstrates how to change the description for an existing Exporter file.", "value": {"description":"New description for Exporter file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", - "value": {"guid":"c6aa7856-3f8d-44eb-b782-f509075ba736"} + "value": { + "guid": "485f4965-13b0-4510-acd9-292c7f11b63d" + } } } }, @@ -12119,20 +14265,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Exporter File", "description": "This example demonstrates how to rename an existing Exporter file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for an Exporter File", "description": "This example demonstrates how to change the description for an existing Exporter file.", "value": {"description":"New description for Exporter file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", - "value": {"guid":"c6aa7856-3f8d-44eb-b782-f509075ba736"} + "value": { + "guid": "485f4965-13b0-4510-acd9-292c7f11b63d" + } } } }, @@ -12141,20 +14289,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Exporter File", "description": "This example demonstrates how to rename an existing Exporter file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for an Exporter File", "description": "This example demonstrates how to change the description for an existing Exporter file.", "value": {"description":"New description for Exporter file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", - "value": {"guid":"c6aa7856-3f8d-44eb-b782-f509075ba736"} + "value": { + "guid": "485f4965-13b0-4510-acd9-292c7f11b63d" + } } } }, @@ -12163,20 +14313,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Exporter File", "description": "This example demonstrates how to rename an existing Exporter file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for an Exporter File", "description": "This example demonstrates how to change the description for an existing Exporter file.", "value": {"description":"New description for Exporter file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", - "value": {"guid":"c6aa7856-3f8d-44eb-b782-f509075ba736"} + "value": { + "guid": "485f4965-13b0-4510-acd9-292c7f11b63d" + } } } } @@ -12190,19 +14342,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"97fa8c37-595c-4a16-b61c-62fa702ca0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "16e30ec6-1453-4740-955d-f04813d59798" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"97fa8c37-595c-4a16-b61c-62fa702ca0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "16e30ec6-1453-4740-955d-f04813d59798" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"97fa8c37-595c-4a16-b61c-62fa702ca0da"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "16e30ec6-1453-4740-955d-f04813d59798" + } } } }, @@ -12351,7 +14527,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter File", "description": "This example demonstrates how to move an existing Exporter file to be under the root 'Exporters' folder.", "value": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -12363,7 +14539,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter File", "description": "This example demonstrates how to move an existing Exporter file to be under the root 'Exporters' folder.", "value": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -12375,7 +14551,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter File", "description": "This example demonstrates how to move an existing Exporter file to be under the root 'Exporters' folder.", "value": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -12387,7 +14563,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Exporter File", "description": "This example demonstrates how to move an existing Exporter file to be under the root 'Exporters' folder.", "value": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44"} @@ -12404,19 +14580,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"c023d383-e87f-4e99-9158-3e521f838b13"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "980376e1-a58a-4943-8108-7f678de8b92f" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"c023d383-e87f-4e99-9158-3e521f838b13"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "980376e1-a58a-4943-8108-7f678de8b92f" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"c023d383-e87f-4e99-9158-3e521f838b13"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "980376e1-a58a-4943-8108-7f678de8b92f" + } } } }, @@ -12491,7 +14691,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsExpressionsInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Get all expressions", "description": "This example demonstrates the response to getting all expressions from 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from MI_Training database.", "value": {"expressions":[{"name":"Fatigue Model","guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"}]} @@ -12537,17 +14737,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsCreateExpression" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Expression", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression"} }, - "Example 47": { + "Example 2": { "summary": "Expression with specified guid", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression with specified guid","guid":"10b02421-87be-4aba-a9e8-71a8c96170ad"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "name": "Simple expression with specified guid", + "guid": "494234ac-12b8-4b3b-b659-a0346ec3450f" + } }, - "Example 48": { + "Example 3": { "summary": "Expression with specified unit", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified unit 'ohm' from the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"name":"Simple expression with specified unit"} @@ -12559,17 +14763,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsCreateExpression" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Expression", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression"} }, - "Example 47": { + "Example 2": { "summary": "Expression with specified guid", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression with specified guid","guid":"10b02421-87be-4aba-a9e8-71a8c96170ad"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "name": "Simple expression with specified guid", + "guid": "494234ac-12b8-4b3b-b659-a0346ec3450f" + } }, - "Example 48": { + "Example 3": { "summary": "Expression with specified unit", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified unit 'ohm' from the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"name":"Simple expression with specified unit"} @@ -12581,17 +14789,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsCreateExpression" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Expression", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression"} }, - "Example 47": { + "Example 2": { "summary": "Expression with specified guid", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression with specified guid","guid":"10b02421-87be-4aba-a9e8-71a8c96170ad"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "name": "Simple expression with specified guid", + "guid": "494234ac-12b8-4b3b-b659-a0346ec3450f" + } }, - "Example 48": { + "Example 3": { "summary": "Expression with specified unit", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified unit 'ohm' from the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"name":"Simple expression with specified unit"} @@ -12603,17 +14815,21 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsCreateExpression" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Expression", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression"} }, - "Example 47": { + "Example 2": { "summary": "Expression with specified guid", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') in the MI_Training database with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","name":"Simple expression with specified guid","guid":"10b02421-87be-4aba-a9e8-71a8c96170ad"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "name": "Simple expression with specified guid", + "guid": "494234ac-12b8-4b3b-b659-a0346ec3450f" + } }, - "Example 48": { + "Example 3": { "summary": "Expression with specified unit", "description": "This example demonstrates how to create a new expression for 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified unit 'ohm' from the MI_Training database.", "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"00000059-0013-4fff-8fff-0000ffff0000"},"name":"Simple expression with specified unit"} @@ -12631,7 +14847,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsExpression" }, "examples": { - "Example 47": { + "Example 2": { "summary": "Get expression", "description": "This example demonstrates the response to getting 'Fatigue Model' expression (GUID = '535074aa-216f-4f60-b13e-f5e8be72d05f') from 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from MI_Training database.", "value": {"value":"[A:Tensile strength] / ((1 + [P:Stress Ratio]) / (1 - [P:Stress Ratio]) + [A:Tensile strength] / (([A:Tensile strength] * (1 + [A:Elongation] / 100) - [A:Yield strength (elastic limit)]) / (log(1 + mean([A:Elongation] / 100)) - [A:Yield strength (elastic limit)] / (1000 * [A:Young's modulus])) * log(1 + mean([A:Elongation] / 100)) * (2 * [P:Number of Cycles]) ^ -0.6 + [A:Tensile strength] * (1 + [A:Elongation] / 100) * (2 * [P:Number of Cycles]) ^ (log10(mean([A:Fatigue strength at 10^7 cycles] / ([A:Tensile strength] * (1 + [A:Elongation] / 100)))) / log10(20000000))))","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeDependencies":[{"name":"Young's modulus","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"},{"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"},{"name":"Fatigue strength at 10^7 cycles","guid":"0000010c-0001-4fff-8fff-dd92ffff0000"},{"name":"Elongation","guid":"0000011a-0001-4fff-8fff-dd92ffff0000"},{"name":"Yield strength (elastic limit)","guid":"0000011b-0001-4fff-8fff-dd92ffff0000"}],"constantDependencies":[],"parameterDependencies":[{"name":"Number of Cycles","guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"name":"Stress Ratio","guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"name":"Fatigue Model","guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"} @@ -12720,7 +14936,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsExpression" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Get expression", "description": "This example demonstrates the response to getting 'Fatigue Model' expression (GUID = '535074aa-216f-4f60-b13e-f5e8be72d05f') from 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from MI_Training database.", "value": {"value":"[A:Tensile strength] / ((1 + [P:Stress Ratio]) / (1 - [P:Stress Ratio]) + [A:Tensile strength] / (([A:Tensile strength] * (1 + [A:Elongation] / 100) - [A:Yield strength (elastic limit)]) / (log(1 + mean([A:Elongation] / 100)) - [A:Yield strength (elastic limit)] / (1000 * [A:Young's modulus])) * log(1 + mean([A:Elongation] / 100)) * (2 * [P:Number of Cycles]) ^ -0.6 + [A:Tensile strength] * (1 + [A:Elongation] / 100) * (2 * [P:Number of Cycles]) ^ (log10(mean([A:Fatigue strength at 10^7 cycles] / ([A:Tensile strength] * (1 + [A:Elongation] / 100)))) / log10(20000000))))","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeDependencies":[{"name":"Young's modulus","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"},{"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"},{"name":"Fatigue strength at 10^7 cycles","guid":"0000010c-0001-4fff-8fff-dd92ffff0000"},{"name":"Elongation","guid":"0000011a-0001-4fff-8fff-dd92ffff0000"},{"name":"Yield strength (elastic limit)","guid":"0000011b-0001-4fff-8fff-dd92ffff0000"}],"constantDependencies":[],"parameterDependencies":[{"name":"Number of Cycles","guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"name":"Stress Ratio","guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"name":"Fatigue Model","guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"} @@ -12775,12 +14991,19 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsUpdateExpression" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for an expression", "description": "This example demonstrates how to update all properties of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Unit will be set to kg.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"name":"Fatigue Model (Updated)","guid":"494d5307-17ed-4d3b-a896-036c43241562"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "name": "Fatigue Model (Updated)", + "guid": "d7e14ba8-7811-4c5e-a6ef-6d6d2baf341a" + } }, - "Example 32": { + "Example 2": { "summary": "Rename expression", "description": "This example demonstrates how to update the 'Name' property of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Fatigue Model (Updated)"} @@ -12792,12 +15015,19 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsUpdateExpression" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for an expression", "description": "This example demonstrates how to update all properties of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Unit will be set to kg.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"name":"Fatigue Model (Updated)","guid":"494d5307-17ed-4d3b-a896-036c43241562"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "name": "Fatigue Model (Updated)", + "guid": "d7e14ba8-7811-4c5e-a6ef-6d6d2baf341a" + } }, - "Example 32": { + "Example 2": { "summary": "Rename expression", "description": "This example demonstrates how to update the 'Name' property of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Fatigue Model (Updated)"} @@ -12809,12 +15039,19 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsUpdateExpression" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for an expression", "description": "This example demonstrates how to update all properties of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Unit will be set to kg.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"name":"Fatigue Model (Updated)","guid":"494d5307-17ed-4d3b-a896-036c43241562"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "name": "Fatigue Model (Updated)", + "guid": "d7e14ba8-7811-4c5e-a6ef-6d6d2baf341a" + } }, - "Example 32": { + "Example 2": { "summary": "Rename expression", "description": "This example demonstrates how to update the 'Name' property of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Fatigue Model (Updated)"} @@ -12826,12 +15063,19 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsUpdateExpression" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for an expression", "description": "This example demonstrates how to update all properties of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Unit will be set to kg.", - "value": {"value":"[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"name":"Fatigue Model (Updated)","guid":"494d5307-17ed-4d3b-a896-036c43241562"} + "value": { + "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "name": "Fatigue Model (Updated)", + "guid": "d7e14ba8-7811-4c5e-a6ef-6d6d2baf341a" + } }, - "Example 32": { + "Example 2": { "summary": "Rename expression", "description": "This example demonstrates how to update the 'Name' property of the 'Fatigue Model' expression (guid = 535074aa-216f-4f60-b13e-f5e8be72d05f) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Fatigue Model (Updated)"} @@ -12849,7 +15093,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaExpressionsExpression" }, "examples": { - "Example 48": { + "Example 3": { "summary": "Get expression", "description": "This example demonstrates the response to getting 'Fatigue Model' expression (GUID = '535074aa-216f-4f60-b13e-f5e8be72d05f') from 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from MI_Training database.", "value": {"value":"[A:Tensile strength] / ((1 + [P:Stress Ratio]) / (1 - [P:Stress Ratio]) + [A:Tensile strength] / (([A:Tensile strength] * (1 + [A:Elongation] / 100) - [A:Yield strength (elastic limit)]) / (log(1 + mean([A:Elongation] / 100)) - [A:Yield strength (elastic limit)] / (1000 * [A:Young's modulus])) * log(1 + mean([A:Elongation] / 100)) * (2 * [P:Number of Cycles]) ^ -0.6 + [A:Tensile strength] * (1 + [A:Elongation] / 100) * (2 * [P:Number of Cycles]) ^ (log10(mean([A:Fatigue strength at 10^7 cycles] / ([A:Tensile strength] * (1 + [A:Elongation] / 100)))) / log10(20000000))))","unit":{"symbol":"MPa","guid":"0000002b-0013-4fff-8fff-0000ffff0000"},"attributeDependencies":[{"name":"Young's modulus","guid":"0000003f-0001-4fff-8fff-dd92ffff0000"},{"name":"Tensile strength","guid":"000000e3-0001-4fff-8fff-dd92ffff0000"},{"name":"Fatigue strength at 10^7 cycles","guid":"0000010c-0001-4fff-8fff-dd92ffff0000"},{"name":"Elongation","guid":"0000011a-0001-4fff-8fff-dd92ffff0000"},{"name":"Yield strength (elastic limit)","guid":"0000011b-0001-4fff-8fff-dd92ffff0000"}],"constantDependencies":[],"parameterDependencies":[{"name":"Number of Cycles","guid":"00000007-000a-4fff-8fff-0000ffff0000"},{"name":"Stress Ratio","guid":"00000004-000a-4fff-8fff-0000ffff0000"}],"name":"Fatigue Model","guid":"535074aa-216f-4f60-b13e-f5e8be72d05f"} @@ -12988,7 +15232,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Help File Folder", "description": "This example demonstrates how to create a new help file folder under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22","name":"New Folder"} @@ -13000,7 +15244,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Help File Folder", "description": "This example demonstrates how to create a new help file folder under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22","name":"New Folder"} @@ -13012,7 +15256,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Help File Folder", "description": "This example demonstrates how to create a new help file folder under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22","name":"New Folder"} @@ -13024,7 +15268,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Help File Folder", "description": "This example demonstrates how to create a new help file folder under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22","name":"New Folder"} @@ -13203,15 +15447,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Help File Folder", "description": "This example demonstrates how to rename an existing help file folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", - "value": {"guid":"d25a7c09-6681-40cd-b408-bd09168e4355"} + "value": { + "guid": "1897d27b-ce9f-4f2e-9a54-6915221748f5" + } } } }, @@ -13220,15 +15466,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Help File Folder", "description": "This example demonstrates how to rename an existing help file folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", - "value": {"guid":"d25a7c09-6681-40cd-b408-bd09168e4355"} + "value": { + "guid": "1897d27b-ce9f-4f2e-9a54-6915221748f5" + } } } }, @@ -13237,15 +15485,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Help File Folder", "description": "This example demonstrates how to rename an existing help file folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", - "value": {"guid":"d25a7c09-6681-40cd-b408-bd09168e4355"} + "value": { + "guid": "1897d27b-ce9f-4f2e-9a54-6915221748f5" + } } } }, @@ -13254,15 +15504,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Help File Folder", "description": "This example demonstrates how to rename an existing help file folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", - "value": {"guid":"d25a7c09-6681-40cd-b408-bd09168e4355"} + "value": { + "guid": "1897d27b-ce9f-4f2e-9a54-6915221748f5" + } } } } @@ -13430,7 +15682,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File Folder", "description": "This example demonstrates how to move an existing help file folder to be under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -13442,7 +15694,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File Folder", "description": "This example demonstrates how to move an existing help file folder to be under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -13454,7 +15706,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File Folder", "description": "This example demonstrates how to move an existing help file folder to be under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -13466,7 +15718,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File Folder", "description": "This example demonstrates how to move an existing help file folder to be under the root 'Help Pages' folder.", "value": {"parentGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -13625,19 +15877,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"14046b01-6c9d-47f2-8923-ff94f3aefc1e"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "24dc6df4-9b83-4054-8543-487da8b1cab8" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"14046b01-6c9d-47f2-8923-ff94f3aefc1e"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "24dc6df4-9b83-4054-8543-487da8b1cab8" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"14046b01-6c9d-47f2-8923-ff94f3aefc1e"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "24dc6df4-9b83-4054-8543-487da8b1cab8" + } } } }, @@ -13758,20 +16034,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Help File", "description": "This example demonstrates how to rename an existing help file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Help File", "description": "This example demonstrates how to change the description for an existing help file.", "value": {"description":"New description for help file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", - "value": {"guid":"907756e7-1fa8-4b3e-a419-aac25b804e0a"} + "value": { + "guid": "d4ba7aea-d491-4ccd-b480-3e8bf390e311" + } } } }, @@ -13780,20 +16058,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Help File", "description": "This example demonstrates how to rename an existing help file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Help File", "description": "This example demonstrates how to change the description for an existing help file.", "value": {"description":"New description for help file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", - "value": {"guid":"907756e7-1fa8-4b3e-a419-aac25b804e0a"} + "value": { + "guid": "d4ba7aea-d491-4ccd-b480-3e8bf390e311" + } } } }, @@ -13802,20 +16082,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Help File", "description": "This example demonstrates how to rename an existing help file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Help File", "description": "This example demonstrates how to change the description for an existing help file.", "value": {"description":"New description for help file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", - "value": {"guid":"907756e7-1fa8-4b3e-a419-aac25b804e0a"} + "value": { + "guid": "d4ba7aea-d491-4ccd-b480-3e8bf390e311" + } } } }, @@ -13824,20 +16106,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Help File", "description": "This example demonstrates how to rename an existing help file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Help File", "description": "This example demonstrates how to change the description for an existing help file.", "value": {"description":"New description for help file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", - "value": {"guid":"907756e7-1fa8-4b3e-a419-aac25b804e0a"} + "value": { + "guid": "d4ba7aea-d491-4ccd-b480-3e8bf390e311" + } } } } @@ -13851,19 +16135,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"3f5da858-97c4-4dba-9fa4-a986347a4619"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "97fecdca-8f1b-4125-8eb1-66722c6747d3" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"3f5da858-97c4-4dba-9fa4-a986347a4619"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "97fecdca-8f1b-4125-8eb1-66722c6747d3" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"3f5da858-97c4-4dba-9fa4-a986347a4619"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "97fecdca-8f1b-4125-8eb1-66722c6747d3" + } } } }, @@ -14012,7 +16320,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File", "description": "This example demonstrates how to move an existing help file to be under the root 'Help Pages' folder.", "value": {"folderGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -14024,7 +16332,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File", "description": "This example demonstrates how to move an existing help file to be under the root 'Help Pages' folder.", "value": {"folderGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -14036,7 +16344,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File", "description": "This example demonstrates how to move an existing help file to be under the root 'Help Pages' folder.", "value": {"folderGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -14048,7 +16356,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Help File", "description": "This example demonstrates how to move an existing help file to be under the root 'Help Pages' folder.", "value": {"folderGuid":"e7dbba58-b963-4d1f-bbf4-c8436d00bf22"} @@ -14065,19 +16373,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"aaae592e-9fce-493c-8f9a-a0d033e32029"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "bbe55a65-77e6-4e9f-997f-59a59be82631" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"aaae592e-9fce-493c-8f9a-a0d033e32029"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "bbe55a65-77e6-4e9f-997f-59a59be82631" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"aaae592e-9fce-493c-8f9a-a0d033e32029"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "bbe55a65-77e6-4e9f-997f-59a59be82631" + } } } }, @@ -14118,19 +16450,55 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"name":"Home Pages","guid":"c13eb185-2558-4b4a-8395-33c031663925"},{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"376eed7c-7edf-416b-a2ab-c1175e1bf7de"}]} + "example": { + "folders": [ + { + "name": "Home Pages", + "guid": "c13eb185-2558-4b4a-8395-33c031663925" + }, + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "4ea20645-5c56-433d-afac-4fd7b36477a0" + } + ] + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"name":"Home Pages","guid":"c13eb185-2558-4b4a-8395-33c031663925"},{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"376eed7c-7edf-416b-a2ab-c1175e1bf7de"}]} + "example": { + "folders": [ + { + "name": "Home Pages", + "guid": "c13eb185-2558-4b4a-8395-33c031663925" + }, + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "4ea20645-5c56-433d-afac-4fd7b36477a0" + } + ] + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"name":"Home Pages","guid":"c13eb185-2558-4b4a-8395-33c031663925"},{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"376eed7c-7edf-416b-a2ab-c1175e1bf7de"}]} + "example": { + "folders": [ + { + "name": "Home Pages", + "guid": "c13eb185-2558-4b4a-8395-33c031663925" + }, + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "4ea20645-5c56-433d-afac-4fd7b36477a0" + } + ] + } } } }, @@ -14162,7 +16530,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Home Page Folder", "description": "This example demonstrates how to create a new home page folder under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"New Folder"} @@ -14174,7 +16542,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Home Page Folder", "description": "This example demonstrates how to create a new home page folder under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"New Folder"} @@ -14186,7 +16554,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Home Page Folder", "description": "This example demonstrates how to create a new home page folder under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"New Folder"} @@ -14198,7 +16566,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesCreateFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Home Page Folder", "description": "This example demonstrates how to create a new home page folder under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"New Folder"} @@ -14324,19 +16692,31 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFolder" }, - "example": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"e84ee05e-7051-41f8-ac39-f0df796118aa"} + "example": { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "2b42699d-5ea1-4975-9366-60d161748fcb" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFolder" }, - "example": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"e84ee05e-7051-41f8-ac39-f0df796118aa"} + "example": { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "2b42699d-5ea1-4975-9366-60d161748fcb" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFolder" }, - "example": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"e84ee05e-7051-41f8-ac39-f0df796118aa"} + "example": { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "2b42699d-5ea1-4975-9366-60d161748fcb" + } } } }, @@ -14377,15 +16757,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Home Page Folder", "description": "This example demonstrates how to rename an existing home page folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", - "value": {"guid":"c7331c04-9044-47e7-9337-7e0aca594bfa"} + "value": { + "guid": "fd76f569-4bbe-4e9b-8e1e-89403490286a" + } } } }, @@ -14394,15 +16776,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Home Page Folder", "description": "This example demonstrates how to rename an existing home page folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", - "value": {"guid":"c7331c04-9044-47e7-9337-7e0aca594bfa"} + "value": { + "guid": "fd76f569-4bbe-4e9b-8e1e-89403490286a" + } } } }, @@ -14411,15 +16795,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Home Page Folder", "description": "This example demonstrates how to rename an existing home page folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", - "value": {"guid":"c7331c04-9044-47e7-9337-7e0aca594bfa"} + "value": { + "guid": "fd76f569-4bbe-4e9b-8e1e-89403490286a" + } } } }, @@ -14428,15 +16814,17 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFolder" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Rename Home Page Folder", "description": "This example demonstrates how to rename an existing home page folder.", "value": {"name":"New Folder Name"} }, - "Example 32": { + "Example 2": { "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", - "value": {"guid":"c7331c04-9044-47e7-9337-7e0aca594bfa"} + "value": { + "guid": "fd76f569-4bbe-4e9b-8e1e-89403490286a" + } } } } @@ -14549,19 +16937,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"0adcce10-c8f9-464a-b3e3-7230f61f8e69"}]} + "example": { + "folders": [ + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "85378156-233e-4e6b-bbdc-094ebb4d1823" + } + ] + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"0adcce10-c8f9-464a-b3e3-7230f61f8e69"}]} + "example": { + "folders": [ + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "85378156-233e-4e6b-bbdc-094ebb4d1823" + } + ] + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFoldersInfo" }, - "example": {"folders":[{"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925","name":"images","guid":"0adcce10-c8f9-464a-b3e3-7230f61f8e69"}]} + "example": { + "folders": [ + { + "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "name": "images", + "guid": "85378156-233e-4e6b-bbdc-094ebb4d1823" + } + ] + } } } }, @@ -14604,7 +17016,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page Folder", "description": "This example demonstrates how to move an existing home page folder to be under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -14616,7 +17028,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page Folder", "description": "This example demonstrates how to move an existing home page folder to be under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -14628,7 +17040,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page Folder", "description": "This example demonstrates how to move an existing home page folder to be under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -14640,7 +17052,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFolder" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page Folder", "description": "This example demonstrates how to move an existing home page folder to be under the root 'Home Pages' folder.", "value": {"parentGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -14719,19 +17131,52 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"home-page-1.html","guid":"57090d9f-9dda-4c43-8685-c54b03a2c3eb"},{"name":"home-page-2.html","guid":"70474734-bf45-483f-ae44-af1c49a3fefb"}]} + "example": { + "files": [ + { + "name": "home-page-1.html", + "guid": "740f5be6-1e85-4fe4-a197-8eeca45c4a5b" + }, + { + "name": "home-page-2.html", + "guid": "5f0fc5ee-f3c7-4e38-9154-bfd1ffde61c1" + } + ] + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"home-page-1.html","guid":"57090d9f-9dda-4c43-8685-c54b03a2c3eb"},{"name":"home-page-2.html","guid":"70474734-bf45-483f-ae44-af1c49a3fefb"}]} + "example": { + "files": [ + { + "name": "home-page-1.html", + "guid": "740f5be6-1e85-4fe4-a197-8eeca45c4a5b" + }, + { + "name": "home-page-2.html", + "guid": "5f0fc5ee-f3c7-4e38-9154-bfd1ffde61c1" + } + ] + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFilesInfo" }, - "example": {"files":[{"name":"home-page-1.html","guid":"57090d9f-9dda-4c43-8685-c54b03a2c3eb"},{"name":"home-page-2.html","guid":"70474734-bf45-483f-ae44-af1c49a3fefb"}]} + "example": { + "files": [ + { + "name": "home-page-1.html", + "guid": "740f5be6-1e85-4fe4-a197-8eeca45c4a5b" + }, + { + "name": "home-page-2.html", + "guid": "5f0fc5ee-f3c7-4e38-9154-bfd1ffde61c1" + } + ] + } } } }, @@ -14799,19 +17244,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"b05b4590-45be-4fa1-951a-67177a91a83f"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "46e2ea6c-4504-42e8-8026-d9011de5f257" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"b05b4590-45be-4fa1-951a-67177a91a83f"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "46e2ea6c-4504-42e8-8026-d9011de5f257" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"b05b4590-45be-4fa1-951a-67177a91a83f"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "46e2ea6c-4504-42e8-8026-d9011de5f257" + } } } }, @@ -14870,19 +17339,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925","description":"Description of home page file.","extension":"html","dataLength":12895,"path":"HomePages","name":"home-page.html","guid":"f4787d06-95f7-4232-bb27-bed0c5cf7b42"} + "example": { + "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "description": "Description of home page file.", + "extension": "html", + "dataLength": 12895, + "path": "HomePages", + "name": "home-page.html", + "guid": "3561fd89-480a-4cbf-87ae-ab54198c13a3" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925","description":"Description of home page file.","extension":"html","dataLength":12895,"path":"HomePages","name":"home-page.html","guid":"f4787d06-95f7-4232-bb27-bed0c5cf7b42"} + "example": { + "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "description": "Description of home page file.", + "extension": "html", + "dataLength": 12895, + "path": "HomePages", + "name": "home-page.html", + "guid": "3561fd89-480a-4cbf-87ae-ab54198c13a3" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925","description":"Description of home page file.","extension":"html","dataLength":12895,"path":"HomePages","name":"home-page.html","guid":"f4787d06-95f7-4232-bb27-bed0c5cf7b42"} + "example": { + "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", + "description": "Description of home page file.", + "extension": "html", + "dataLength": 12895, + "path": "HomePages", + "name": "home-page.html", + "guid": "3561fd89-480a-4cbf-87ae-ab54198c13a3" + } } } }, @@ -14932,20 +17425,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Home Page File", "description": "This example demonstrates how to rename an existing home page file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Home Page File", "description": "This example demonstrates how to change the description for an existing home page file.", "value": {"description":"New description for home page file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", - "value": {"guid":"97df8231-fde8-4e7a-8912-f9563729cbb2"} + "value": { + "guid": "c69d8f23-edf0-4f8a-92de-c2b2b81b405f" + } } } }, @@ -14954,20 +17449,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Home Page File", "description": "This example demonstrates how to rename an existing home page file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Home Page File", "description": "This example demonstrates how to change the description for an existing home page file.", "value": {"description":"New description for home page file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", - "value": {"guid":"97df8231-fde8-4e7a-8912-f9563729cbb2"} + "value": { + "guid": "c69d8f23-edf0-4f8a-92de-c2b2b81b405f" + } } } }, @@ -14976,20 +17473,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Home Page File", "description": "This example demonstrates how to rename an existing home page file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Home Page File", "description": "This example demonstrates how to change the description for an existing home page file.", "value": {"description":"New description for home page file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", - "value": {"guid":"97df8231-fde8-4e7a-8912-f9563729cbb2"} + "value": { + "guid": "c69d8f23-edf0-4f8a-92de-c2b2b81b405f" + } } } }, @@ -14998,20 +17497,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesUpdateFile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Rename Home Page File", "description": "This example demonstrates how to rename an existing home page file.", "value": {"name":"New File Name"} }, - "Example 47": { + "Example 2": { "summary": "Modify the description for a Home Page File", "description": "This example demonstrates how to change the description for an existing home page file.", "value": {"description":"New description for home page file."} }, - "Example 48": { + "Example 3": { "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", - "value": {"guid":"97df8231-fde8-4e7a-8912-f9563729cbb2"} + "value": { + "guid": "c69d8f23-edf0-4f8a-92de-c2b2b81b405f" + } } } } @@ -15025,19 +17526,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"08d07a66-4ff4-4a51-81c3-d2f9f523f65c"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "242252c6-5747-466f-9c95-3cc0df509d87" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"08d07a66-4ff4-4a51-81c3-d2f9f523f65c"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "242252c6-5747-466f-9c95-3cc0df509d87" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"08d07a66-4ff4-4a51-81c3-d2f9f523f65c"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "242252c6-5747-466f-9c95-3cc0df509d87" + } } } }, @@ -15186,7 +17711,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page File", "description": "This example demonstrates how to move an existing home page file to be under the root 'Home Pages' folder.", "value": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -15198,7 +17723,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page File", "description": "This example demonstrates how to move an existing home page file to be under the root 'Home Pages' folder.", "value": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -15210,7 +17735,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page File", "description": "This example demonstrates how to move an existing home page file to be under the root 'Home Pages' folder.", "value": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -15222,7 +17747,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaFilesMoveFile" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Move Home Page File", "description": "This example demonstrates how to move an existing home page file to be under the root 'Home Pages' folder.", "value": {"folderGuid":"c13eb185-2558-4b4a-8395-33c031663925"} @@ -15239,19 +17764,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"53ee807e-db95-4d97-8c40-c6d98971abd3"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "b0c0d65e-00dc-4b74-ba28-775be31344a6" + } }, "application/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"53ee807e-db95-4d97-8c40-c6d98971abd3"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "b0c0d65e-00dc-4b74-ba28-775be31344a6" + } }, "text/json": { "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaFilesFileHeader" }, - "example": {"folderGuid":"c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44","description":"Description of exporter file.","extension":"exp","dataLength":12895,"path":"Exporters","name":"exporter-1.exp","guid":"53ee807e-db95-4d97-8c40-c6d98971abd3"} + "example": { + "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", + "description": "Description of exporter file.", + "extension": "exp", + "dataLength": 12895, + "path": "Exporters", + "name": "exporter-1.exp", + "guid": "b0c0d65e-00dc-4b74-ba28-775be31344a6" + } } } }, @@ -15342,15 +17891,90 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsLayoutSectionsInfo" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Get 'slim' layout sections", "description": "This example demonstrates the response to getting the sections for a layout with the 'showFullDetail' parameter set to false, which is the default value.", "value": {"layoutSections":[{"sectionDetailType":"slim","displayNames":{"en":"General Properties English Display Name","fr":"General Properties French Display Name"},"name":"General Properties","guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"sectionDetailType":"slim","displayNames":{"en":"Mechanical Properties English Display Name","fr":"Mechanical Properties French Display Name"},"name":"Mechanical Properties","guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"}]} }, - "Example 32": { + "Example 2": { "summary": "Get 'full' layout sections", "description": "This example demonstrates the response to getting the sections for a layout with the 'showFullDetail' parameter set to true.", - "value": {"layoutSections":[{"sectionDetailType":"full","sectionItems":[{"itemType":"attribute","attributeType":"point","required":false,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"8de7939d-b788-493f-875a-e16cafa953c5","name":"Price","guid":"402fece9-eac7-4a1e-b82c-551193531d69"},{"itemType":"attribute","attributeType":"point","required":false,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"6eab3600-0502-4808-9739-9266912d9606","name":"Density","guid":"8dd20318-1d4e-4c11-a8bb-e289107e463b"}],"displayNames":{"en":"General Properties English Display Name","fr":"General Properties French Display Name"},"name":"General Properties","guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"sectionDetailType":"full","sectionItems":[{"itemType":"attribute","attributeType":"floatFunctional","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"8954bf07-b070-4842-bb9e-e0c180429219","name":"Young's modulus","guid":"acd474a8-ab0f-4d15-95e1-47fbd82d754c"},{"itemType":"attribute","attributeType":"range","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"1b052c88-71a2-449f-b867-a2f8402eaa7b","name":"Tensile strength","guid":"3994d4d6-fb1a-4734-af0a-6b5b1414240f"},{"itemType":"attribute","attributeType":"point","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"1c3eaee7-a47b-4edc-a22d-68fe3c5219c2","name":"Shape factor","guid":"459f802a-183e-46a7-bff0-7fa645286735"}],"displayNames":{"en":"Mechanical Properties English Display Name","fr":"Mechanical Properties French Display Name"},"name":"Mechanical Properties","guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"}]} + "value": { + "layoutSections": [ + { + "sectionDetailType": "full", + "sectionItems": [ + { + "itemType": "attribute", + "attributeType": "point", + "required": false, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "89f5028d-641a-42b9-9f2b-6b5aa616cd44", + "name": "Price", + "guid": "2f7a4549-74e1-4480-87e0-f7e397a3619f" + }, + { + "itemType": "attribute", + "attributeType": "point", + "required": false, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "8c54448c-edb3-452c-a64d-1236a88ad5e4", + "name": "Density", + "guid": "0cf13f87-e5dc-4331-89a0-c9c09792eb87" + } + ], + "displayNames": { + "en": "General Properties English Display Name", + "fr": "General Properties French Display Name" + }, + "name": "General Properties", + "guid": "b10170ab-ff56-4828-81b8-c4427674ed2f" + }, + { + "sectionDetailType": "full", + "sectionItems": [ + { + "itemType": "attribute", + "attributeType": "floatFunctional", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "78824248-32ad-4f75-89b2-695b3925a13f", + "name": "Young's modulus", + "guid": "2240d932-1240-43ce-aeec-d4faf8db36d6" + }, + { + "itemType": "attribute", + "attributeType": "range", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "3c7b5615-d849-477b-afe6-5dc20b36a0f5", + "name": "Tensile strength", + "guid": "99e35f84-af1f-4132-9e70-a02cdfc5a270" + }, + { + "itemType": "attribute", + "attributeType": "point", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "096f8079-f0ea-4708-93b3-0c59f7d10666", + "name": "Shape factor", + "guid": "07bdf999-6831-4248-ba88-67a08e2fb96e" + } + ], + "displayNames": { + "en": "Mechanical Properties English Display Name", + "fr": "Mechanical Properties French Display Name" + }, + "name": "Mechanical Properties", + "guid": "aa6a7ef2-0e37-40a6-b3eb-11d502408281" + } + ] + } } } } @@ -15402,15 +18026,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayoutSection" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout Section", "description": "This example demonstrates how to create a new layout section in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Additional Properties"} }, - "Example 32": { + "Example 2": { "summary": "Layout Section with Guid", "description": "This example demonstrates how to create a new layout section with a specified guid value in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"Additional Properties (Guid)","guid":"7e4de615-6b36-4b5b-84ad-911e29f114e8"} + "value": { + "name": "Additional Properties (Guid)", + "guid": "58be8b17-919b-4b0f-a007-ca59e4f61343" + } } } }, @@ -15419,15 +18046,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayoutSection" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout Section", "description": "This example demonstrates how to create a new layout section in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Additional Properties"} }, - "Example 32": { + "Example 2": { "summary": "Layout Section with Guid", "description": "This example demonstrates how to create a new layout section with a specified guid value in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"Additional Properties (Guid)","guid":"7e4de615-6b36-4b5b-84ad-911e29f114e8"} + "value": { + "name": "Additional Properties (Guid)", + "guid": "58be8b17-919b-4b0f-a007-ca59e4f61343" + } } } }, @@ -15436,15 +18066,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayoutSection" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout Section", "description": "This example demonstrates how to create a new layout section in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Additional Properties"} }, - "Example 32": { + "Example 2": { "summary": "Layout Section with Guid", "description": "This example demonstrates how to create a new layout section with a specified guid value in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"Additional Properties (Guid)","guid":"7e4de615-6b36-4b5b-84ad-911e29f114e8"} + "value": { + "name": "Additional Properties (Guid)", + "guid": "58be8b17-919b-4b0f-a007-ca59e4f61343" + } } } }, @@ -15453,15 +18086,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayoutSection" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout Section", "description": "This example demonstrates how to create a new layout section in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Additional Properties"} }, - "Example 32": { + "Example 2": { "summary": "Layout Section with Guid", "description": "This example demonstrates how to create a new layout section with a specified guid value in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"Additional Properties (Guid)","guid":"7e4de615-6b36-4b5b-84ad-911e29f114e8"} + "value": { + "name": "Additional Properties (Guid)", + "guid": "58be8b17-919b-4b0f-a007-ca59e4f61343" + } } } } @@ -15475,7 +18111,12 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaSlimEntitiesSlimLayoutSection" }, - "example": {"sectionDetailType":"slim","displayNames":{},"name":"Additional Properties","guid":"bb3b0731-b5f3-4b9c-aacc-923c27e6db1a"} + "example": { + "sectionDetailType": "slim", + "displayNames": {}, + "name": "Additional Properties", + "guid": "9170e8b5-ad10-424b-99b9-61a5db3e76b1" + } } } }, @@ -15531,7 +18172,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsReorderSectionsInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Reorder Layout Sections", "description": "This example demonstrates how to reorder sections in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"layoutSections":[{"guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"},{"guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"guid":"07124fac-3100-444f-ad5b-385decd9539f"},{"guid":"937e77fe-70ca-4e99-b013-f9186bce45d3"},{"guid":"6f610145-72f9-4c11-aa72-6cbe268e9238"},{"guid":"f2587e4f-36b4-4b75-8ecb-853e51adf3a5"},{"guid":"6a5788ea-1a46-4806-a9d7-916a2eebb71c"},{"guid":"e243499b-3369-45db-bf3e-3c0dbb82f57f"},{"guid":"b175f578-cf61-4642-9b98-eda48578db1e"},{"guid":"268854a1-1886-4bbf-b6aa-02aa64020fac"},{"guid":"3bde950b-9320-439e-8e7a-cf12c54eb94d"},{"guid":"3b829b2a-bfca-4531-9532-834eedcc0778"},{"guid":"b9d84ce2-9435-4f22-9377-9db56fb80c53"},{"guid":"3be73930-15a2-4dca-a818-3e18aa6081aa"},{"guid":"83ba3aad-cb2f-49df-89e5-091017087563"},{"guid":"0c17f625-debe-4b6a-bcde-d60f3db571f5"},{"guid":"461c81d8-ecb4-4675-a05d-2dfef747db71"},{"guid":"5b986b6d-ce14-48fd-b5a9-6286b9983954"},{"guid":"d15a87a0-2880-4508-af1e-381a2aa9e831"}]} @@ -15543,7 +18184,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsReorderSectionsInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Reorder Layout Sections", "description": "This example demonstrates how to reorder sections in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"layoutSections":[{"guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"},{"guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"guid":"07124fac-3100-444f-ad5b-385decd9539f"},{"guid":"937e77fe-70ca-4e99-b013-f9186bce45d3"},{"guid":"6f610145-72f9-4c11-aa72-6cbe268e9238"},{"guid":"f2587e4f-36b4-4b75-8ecb-853e51adf3a5"},{"guid":"6a5788ea-1a46-4806-a9d7-916a2eebb71c"},{"guid":"e243499b-3369-45db-bf3e-3c0dbb82f57f"},{"guid":"b175f578-cf61-4642-9b98-eda48578db1e"},{"guid":"268854a1-1886-4bbf-b6aa-02aa64020fac"},{"guid":"3bde950b-9320-439e-8e7a-cf12c54eb94d"},{"guid":"3b829b2a-bfca-4531-9532-834eedcc0778"},{"guid":"b9d84ce2-9435-4f22-9377-9db56fb80c53"},{"guid":"3be73930-15a2-4dca-a818-3e18aa6081aa"},{"guid":"83ba3aad-cb2f-49df-89e5-091017087563"},{"guid":"0c17f625-debe-4b6a-bcde-d60f3db571f5"},{"guid":"461c81d8-ecb4-4675-a05d-2dfef747db71"},{"guid":"5b986b6d-ce14-48fd-b5a9-6286b9983954"},{"guid":"d15a87a0-2880-4508-af1e-381a2aa9e831"}]} @@ -15555,7 +18196,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsReorderSectionsInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Reorder Layout Sections", "description": "This example demonstrates how to reorder sections in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"layoutSections":[{"guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"},{"guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"guid":"07124fac-3100-444f-ad5b-385decd9539f"},{"guid":"937e77fe-70ca-4e99-b013-f9186bce45d3"},{"guid":"6f610145-72f9-4c11-aa72-6cbe268e9238"},{"guid":"f2587e4f-36b4-4b75-8ecb-853e51adf3a5"},{"guid":"6a5788ea-1a46-4806-a9d7-916a2eebb71c"},{"guid":"e243499b-3369-45db-bf3e-3c0dbb82f57f"},{"guid":"b175f578-cf61-4642-9b98-eda48578db1e"},{"guid":"268854a1-1886-4bbf-b6aa-02aa64020fac"},{"guid":"3bde950b-9320-439e-8e7a-cf12c54eb94d"},{"guid":"3b829b2a-bfca-4531-9532-834eedcc0778"},{"guid":"b9d84ce2-9435-4f22-9377-9db56fb80c53"},{"guid":"3be73930-15a2-4dca-a818-3e18aa6081aa"},{"guid":"83ba3aad-cb2f-49df-89e5-091017087563"},{"guid":"0c17f625-debe-4b6a-bcde-d60f3db571f5"},{"guid":"461c81d8-ecb4-4675-a05d-2dfef747db71"},{"guid":"5b986b6d-ce14-48fd-b5a9-6286b9983954"},{"guid":"d15a87a0-2880-4508-af1e-381a2aa9e831"}]} @@ -15567,7 +18208,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsReorderSectionsInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Reorder Layout Sections", "description": "This example demonstrates how to reorder sections in the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"layoutSections":[{"guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"},{"guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"guid":"07124fac-3100-444f-ad5b-385decd9539f"},{"guid":"937e77fe-70ca-4e99-b013-f9186bce45d3"},{"guid":"6f610145-72f9-4c11-aa72-6cbe268e9238"},{"guid":"f2587e4f-36b4-4b75-8ecb-853e51adf3a5"},{"guid":"6a5788ea-1a46-4806-a9d7-916a2eebb71c"},{"guid":"e243499b-3369-45db-bf3e-3c0dbb82f57f"},{"guid":"b175f578-cf61-4642-9b98-eda48578db1e"},{"guid":"268854a1-1886-4bbf-b6aa-02aa64020fac"},{"guid":"3bde950b-9320-439e-8e7a-cf12c54eb94d"},{"guid":"3b829b2a-bfca-4531-9532-834eedcc0778"},{"guid":"b9d84ce2-9435-4f22-9377-9db56fb80c53"},{"guid":"3be73930-15a2-4dca-a818-3e18aa6081aa"},{"guid":"83ba3aad-cb2f-49df-89e5-091017087563"},{"guid":"0c17f625-debe-4b6a-bcde-d60f3db571f5"},{"guid":"461c81d8-ecb4-4675-a05d-2dfef747db71"},{"guid":"5b986b6d-ce14-48fd-b5a9-6286b9983954"},{"guid":"d15a87a0-2880-4508-af1e-381a2aa9e831"}]} @@ -15684,15 +18325,129 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsLayoutSection" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Get 'slim' layout section", "description": "This example demonstrates the response to getting a layout section with the 'showFullDetail' parameter set to false, which is the default value.", - "value": {"detailType":"slim","displayNames":{"de":"Testing Information German Display Name","fr":"Testing Information French Display Name"},"name":"Testing Information","guid":"82eefe18-5953-4999-a420-96f29c38e9d8"} + "value": { + "detailType": "slim", + "displayNames": { + "de": "Testing Information German Display Name", + "fr": "Testing Information French Display Name" + }, + "name": "Testing Information", + "guid": "c112d435-606b-4061-8b0f-4d6d783ee2f3" + } }, - "Example 32": { + "Example 2": { "summary": "Get 'full' layout section", "description": "This example demonstrates the response to getting a layout section with the 'showFullDetail' parameter set to true.", - "value": {"detailType":"full","sectionItems":[{"itemType":"attribute","attributeType":"shortText","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"ffafb3bc-7522-4ca6-b794-02ee24477148","name":"Form","guid":"323131f9-dfe2-4cc3-99dc-88bce93553f1"},{"itemType":"attribute","attributeType":"point","required":true,"readOnly":false,"metaAttributes":[{"itemType":"attribute","attributeType":"longText","required":true,"readOnly":false,"underlyingEntityGuid":"4659d37b-64b3-47c5-b801-7bd8f11eb215","name":"Sources","guid":"ab5c7230-202a-4115-8fc9-7af785d3edd1"},{"itemType":"attribute","attributeType":"shortText","required":true,"readOnly":false,"underlyingEntityGuid":"39ae9a50-2917-4106-a042-f8ea35148c3a","name":"Notes","guid":"89fab23f-e4db-4461-8750-d4de8c214b21"}],"underlyingEntityGuid":"3e50a9e2-318e-4f20-a84c-1017663848a1","name":"Chemical resistance","guid":"56a34491-92ca-4a29-91e1-ebb673f44003"},{"itemType":"link","linkType":"recordLink","targetDatabase":"b6acf438-7cc9-4a49-bc43-f4d025bdcfac","targetDatabaseVersion":"f0192012-6201-4c64-a5eb-7d0a5ba2d1f7","targetTable":"1eb0496e-9f25-47ab-adec-7ff09a675d7e","forwards":true,"underlyingEntityGuid":"8c2671d5-330a-4a50-af90-d0f73677148b","name":"Material Pedigree","guid":"4880546d-375f-422a-b9ef-f8cf505ecb1d"},{"itemType":"attribute","attributeType":"link","required":false,"readOnly":false,"metaAttributes":[],"tabularColumns":[{"columnType":"linkedAttribute","tabularColumnGuid":"9da04eee-ea0f-4b41-b11d-b1fd4c281643","name":"Offset Yield Stress","guid":"bcfd1828-aa6b-40c0-9046-5e22c3091add"},{"columnType":"localShortText","tabularColumnGuid":"ae5c866e-08be-4ed7-b02b-076d8e666dcf","name":"Young's Modulus Notes","guid":"e911b37a-7070-49f4-b45a-98d05dda2991"}],"underlyingEntityGuid":"1f568621-4c94-4ee0-ad2a-e1b90347092f","name":"Reference Characteristics","guid":"f5164aa8-bae7-4ec5-8962-c32d9116da3c"},{"itemType":"link","linkType":"associationChain","targetDatabase":"b6acf438-7cc9-4a49-bc43-f4d025bdcfac","targetDatabaseVersion":"f0192012-6201-4c64-a5eb-7d0a5ba2d1f7","targetTable":"02eebddf-dcd6-4f31-823b-de607dff30e4","forwards":true,"nextLink":{"itemType":"link","linkType":"associationChain","targetDatabase":"b6acf438-7cc9-4a49-bc43-f4d025bdcfac","targetDatabaseVersion":"f0192012-6201-4c64-a5eb-7d0a5ba2d1f7","targetTable":"84dfab00-cfae-46c0-96e4-0721df167357","forwards":false,"underlyingEntityGuid":"2eab036e-4e8c-42a0-9e90-183edefa2e25","name":"Pedigree information","guid":"b9e9f971-739e-41e3-b29e-7c74f7987bed"},"underlyingEntityGuid":"f0d06297-4690-4105-897d-628eff3c0095","name":"To Pedigree from Producers","guid":"2052ec1f-0609-4b38-b15e-0e9425fdb1ef"}],"displayNames":{"de":"Testing Information German Display Name","fr":"Testing Information French Display Name"},"name":"Testing Information","guid":"65534299-434e-4738-b1ed-ccd1ec24c7f1"} + "value": { + "detailType": "full", + "sectionItems": [ + { + "itemType": "attribute", + "attributeType": "shortText", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "e671733f-9d20-4b4d-aa31-db1c1932d3f7", + "name": "Form", + "guid": "2e2e82c9-c360-44ad-8427-1b4af0d0d847" + }, + { + "itemType": "attribute", + "attributeType": "point", + "required": true, + "readOnly": false, + "metaAttributes": [ + { + "itemType": "attribute", + "attributeType": "longText", + "required": true, + "readOnly": false, + "underlyingEntityGuid": "450f1b96-03cd-44b3-b0fa-c0c8092bd3cf", + "name": "Sources", + "guid": "81167ed7-b010-43df-b3ef-3375a15e10bb" + }, + { + "itemType": "attribute", + "attributeType": "shortText", + "required": true, + "readOnly": false, + "underlyingEntityGuid": "800b1594-d31a-4c4c-b4d0-b468307c4cde", + "name": "Notes", + "guid": "fb6baa15-9d2b-405d-9dad-d9b7ba70caed" + } + ], + "underlyingEntityGuid": "3c15f7c2-1784-4702-bb4d-8b22042cd674", + "name": "Chemical resistance", + "guid": "5cf97f76-638a-4672-8d17-2836ecad1a2b" + }, + { + "itemType": "link", + "linkType": "recordLink", + "targetDatabase": "6959abb1-a3f1-4999-aeed-233df9ea9efb", + "targetDatabaseVersion": "961c9dda-7e75-4b69-9f5c-1bf10d4cedc3", + "targetTable": "54c2f8a2-ff17-4f91-971d-f5dc0484b51c", + "forwards": true, + "underlyingEntityGuid": "f847da09-55bf-4f7e-bcad-5213f9982f2e", + "name": "Material Pedigree", + "guid": "ac82bfd9-92a9-4752-9810-992d68ba0b22" + }, + { + "itemType": "attribute", + "attributeType": "link", + "required": false, + "readOnly": false, + "metaAttributes": [], + "tabularColumns": [ + { + "columnType": "linkedAttribute", + "tabularColumnGuid": "a8552fa7-0861-414f-a6ef-5228ba47046d", + "name": "Offset Yield Stress", + "guid": "d985a7fc-869a-4018-9630-e923171ac0ab" + }, + { + "columnType": "localShortText", + "tabularColumnGuid": "56ff7a0d-0ecf-4f76-9c75-a5ce4b3890dc", + "name": "Young's Modulus Notes", + "guid": "3ee121a3-73a0-479d-aad8-1763b4be1b3d" + } + ], + "underlyingEntityGuid": "5d64b0e6-c64c-4f23-8a25-f4ec407ae909", + "name": "Reference Characteristics", + "guid": "e69e8c88-f8ee-4b6b-bae7-d93d4d550cb0" + }, + { + "itemType": "link", + "linkType": "associationChain", + "targetDatabase": "6959abb1-a3f1-4999-aeed-233df9ea9efb", + "targetDatabaseVersion": "961c9dda-7e75-4b69-9f5c-1bf10d4cedc3", + "targetTable": "e480ce92-6ee5-4143-8f8e-918522cd8afc", + "forwards": true, + "nextLink": { + "itemType": "link", + "linkType": "associationChain", + "targetDatabase": "6959abb1-a3f1-4999-aeed-233df9ea9efb", + "targetDatabaseVersion": "961c9dda-7e75-4b69-9f5c-1bf10d4cedc3", + "targetTable": "b6d17a66-a991-427f-b24a-5633c93b2ac5", + "forwards": false, + "underlyingEntityGuid": "6b6710d6-9ff0-46a1-8206-9d25f544406c", + "name": "Pedigree information", + "guid": "58c781be-54e8-4c7e-8818-ef561b3763eb" + }, + "underlyingEntityGuid": "e0712ca3-12cb-4cd4-b0e6-ab83243c4053", + "name": "To Pedigree from Producers", + "guid": "ee5654c7-9d32-4371-88d3-e70757ebf4a6" + } + ], + "displayNames": { + "de": "Testing Information German Display Name", + "fr": "Testing Information French Display Name" + }, + "name": "Testing Information", + "guid": "48133413-7e1c-4234-8a91-76c7eebb1e01" + } } } } @@ -15813,45 +18568,65 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutItem" }, "examples": { - "Example 121": { + "Example 1": { "summary": "Layout Attribute Item", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The ReadOnly and Required properties default to false.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b"} }, - "Example 122": { + "Example 2": { "summary": "Layout Attribute Item with ReadOnly and Required properties set", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database specifying the ReadOnly and Required properties and the Guid of the created layout item.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b","required":true,"readOnly":true} }, - "Example 123": { + "Example 3": { "summary": "Layout Attribute Item with Meta Attributes", "description": "This example demonstrates how to add the 'Flexural modulus' attribute with its 'Notes' meta-attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"attribute","attributeGuid":"000000ec-0001-4fff-8fff-dd92ffff0000","metaAttributes":[{"itemType":"attribute","attributeGuid":"3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5","required":false,"readOnly":false}]} }, - "Example 124": { + "Example 4": { "summary": "Layout Attribute Item for a Tabular Attribute", "description": "This example demonstrates how to add the 'Restricted substances associated with this material' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with specified tabular columns to include.", "value": {"itemType":"attribute","attributeGuid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","tabularColumnGuids":["7b28a5fd-4972-40fc-8181-626586258bc3","9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"]} }, - "Example 125": { + "Example 5": { "summary": "Layout Record Link Group Item", "description": "This example demonstrates how to add the 'MaterialUniverse' (reverse name 'Training Exercise') link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"recordLink","linkGroupGuid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"} }, - "Example 126": { + "Example 6": { "summary": "Layout Smart Link Group Item", "description": "This example demonstrates how to add the 'Smart Link to Training Record' smart link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"smartLink","forwards":true,"linkGroupGuid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"} }, - "Example 127": { + "Example 7": { "summary": "Layout Cross Database Link Group Item", "description": "This example demonstrates how to add a cross database link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"crossDatabaseLink","sourceDatabaseGuid":"27097620-4cf9-42a9-9d46-ddb58feb3ab7","sourceTableGuid":"eeed35d5-827f-40a4-b036-f51a53ad3d20","linkGroupGuid":"96b1c8a0-5558-42d9-ba82-4e784b1b0733"} + "value": { + "itemType": "crossDatabaseLink", + "sourceDatabaseGuid": "34210c54-854f-4cbc-8d06-fccff35e926a", + "sourceTableGuid": "ba1c3c9f-d10a-4c36-93ab-464fdc56dd83", + "linkGroupGuid": "4f98eb28-207c-4a22-b28c-6ea7f53a32cf" + } }, - "Example 128": { + "Example 8": { "summary": "Layout Association Chain Item", "description": "This example demonstrates how to add an association chain to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"associationChain","associationChainName":"Name of association chain","associationChainLinks":[{"forwards":true,"sourceDatabaseVersionGuid":"730433b5-2feb-4b40-ab66-54ebffe2637f","tabularAttributeGuid":"9100e238-1113-4868-a129-d331b8610fa8"},{"forwards":false,"sourceDatabaseVersionGuid":"90dd3aa0-7fa8-4cfa-92c4-eaeac68802da","tabularAttributeGuid":"a45783a5-d922-459b-a3e5-cb1f2ef0e709"}]} + "value": { + "itemType": "associationChain", + "associationChainName": "Name of association chain", + "associationChainLinks": [ + { + "forwards": true, + "sourceDatabaseVersionGuid": "b70111f7-748d-4363-a66c-477d40931bc8", + "tabularAttributeGuid": "93cc7ec4-9e68-488e-849b-c77d1d8fdb0a" + }, + { + "forwards": false, + "sourceDatabaseVersionGuid": "b8f36cfc-8b7c-4249-a386-1b5a10c3cbac", + "tabularAttributeGuid": "e3b0ea6c-611f-456d-b349-ef00fffcfabd" + } + ] + } } } }, @@ -15860,45 +18635,65 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutItem" }, "examples": { - "Example 121": { + "Example 1": { "summary": "Layout Attribute Item", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The ReadOnly and Required properties default to false.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b"} }, - "Example 122": { + "Example 2": { "summary": "Layout Attribute Item with ReadOnly and Required properties set", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database specifying the ReadOnly and Required properties and the Guid of the created layout item.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b","required":true,"readOnly":true} }, - "Example 123": { + "Example 3": { "summary": "Layout Attribute Item with Meta Attributes", "description": "This example demonstrates how to add the 'Flexural modulus' attribute with its 'Notes' meta-attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"attribute","attributeGuid":"000000ec-0001-4fff-8fff-dd92ffff0000","metaAttributes":[{"itemType":"attribute","attributeGuid":"3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5","required":false,"readOnly":false}]} }, - "Example 124": { + "Example 4": { "summary": "Layout Attribute Item for a Tabular Attribute", "description": "This example demonstrates how to add the 'Restricted substances associated with this material' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with specified tabular columns to include.", "value": {"itemType":"attribute","attributeGuid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","tabularColumnGuids":["7b28a5fd-4972-40fc-8181-626586258bc3","9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"]} }, - "Example 125": { + "Example 5": { "summary": "Layout Record Link Group Item", "description": "This example demonstrates how to add the 'MaterialUniverse' (reverse name 'Training Exercise') link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"recordLink","linkGroupGuid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"} }, - "Example 126": { + "Example 6": { "summary": "Layout Smart Link Group Item", "description": "This example demonstrates how to add the 'Smart Link to Training Record' smart link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"smartLink","forwards":true,"linkGroupGuid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"} }, - "Example 127": { + "Example 7": { "summary": "Layout Cross Database Link Group Item", "description": "This example demonstrates how to add a cross database link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"crossDatabaseLink","sourceDatabaseGuid":"27097620-4cf9-42a9-9d46-ddb58feb3ab7","sourceTableGuid":"eeed35d5-827f-40a4-b036-f51a53ad3d20","linkGroupGuid":"96b1c8a0-5558-42d9-ba82-4e784b1b0733"} + "value": { + "itemType": "crossDatabaseLink", + "sourceDatabaseGuid": "34210c54-854f-4cbc-8d06-fccff35e926a", + "sourceTableGuid": "ba1c3c9f-d10a-4c36-93ab-464fdc56dd83", + "linkGroupGuid": "4f98eb28-207c-4a22-b28c-6ea7f53a32cf" + } }, - "Example 128": { + "Example 8": { "summary": "Layout Association Chain Item", "description": "This example demonstrates how to add an association chain to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"associationChain","associationChainName":"Name of association chain","associationChainLinks":[{"forwards":true,"sourceDatabaseVersionGuid":"730433b5-2feb-4b40-ab66-54ebffe2637f","tabularAttributeGuid":"9100e238-1113-4868-a129-d331b8610fa8"},{"forwards":false,"sourceDatabaseVersionGuid":"90dd3aa0-7fa8-4cfa-92c4-eaeac68802da","tabularAttributeGuid":"a45783a5-d922-459b-a3e5-cb1f2ef0e709"}]} + "value": { + "itemType": "associationChain", + "associationChainName": "Name of association chain", + "associationChainLinks": [ + { + "forwards": true, + "sourceDatabaseVersionGuid": "b70111f7-748d-4363-a66c-477d40931bc8", + "tabularAttributeGuid": "93cc7ec4-9e68-488e-849b-c77d1d8fdb0a" + }, + { + "forwards": false, + "sourceDatabaseVersionGuid": "b8f36cfc-8b7c-4249-a386-1b5a10c3cbac", + "tabularAttributeGuid": "e3b0ea6c-611f-456d-b349-ef00fffcfabd" + } + ] + } } } }, @@ -15907,45 +18702,65 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutItem" }, "examples": { - "Example 121": { + "Example 1": { "summary": "Layout Attribute Item", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The ReadOnly and Required properties default to false.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b"} }, - "Example 122": { + "Example 2": { "summary": "Layout Attribute Item with ReadOnly and Required properties set", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database specifying the ReadOnly and Required properties and the Guid of the created layout item.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b","required":true,"readOnly":true} }, - "Example 123": { + "Example 3": { "summary": "Layout Attribute Item with Meta Attributes", "description": "This example demonstrates how to add the 'Flexural modulus' attribute with its 'Notes' meta-attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"attribute","attributeGuid":"000000ec-0001-4fff-8fff-dd92ffff0000","metaAttributes":[{"itemType":"attribute","attributeGuid":"3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5","required":false,"readOnly":false}]} }, - "Example 124": { + "Example 4": { "summary": "Layout Attribute Item for a Tabular Attribute", "description": "This example demonstrates how to add the 'Restricted substances associated with this material' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with specified tabular columns to include.", "value": {"itemType":"attribute","attributeGuid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","tabularColumnGuids":["7b28a5fd-4972-40fc-8181-626586258bc3","9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"]} }, - "Example 125": { + "Example 5": { "summary": "Layout Record Link Group Item", "description": "This example demonstrates how to add the 'MaterialUniverse' (reverse name 'Training Exercise') link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"recordLink","linkGroupGuid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"} }, - "Example 126": { + "Example 6": { "summary": "Layout Smart Link Group Item", "description": "This example demonstrates how to add the 'Smart Link to Training Record' smart link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"smartLink","forwards":true,"linkGroupGuid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"} }, - "Example 127": { + "Example 7": { "summary": "Layout Cross Database Link Group Item", "description": "This example demonstrates how to add a cross database link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"crossDatabaseLink","sourceDatabaseGuid":"27097620-4cf9-42a9-9d46-ddb58feb3ab7","sourceTableGuid":"eeed35d5-827f-40a4-b036-f51a53ad3d20","linkGroupGuid":"96b1c8a0-5558-42d9-ba82-4e784b1b0733"} + "value": { + "itemType": "crossDatabaseLink", + "sourceDatabaseGuid": "34210c54-854f-4cbc-8d06-fccff35e926a", + "sourceTableGuid": "ba1c3c9f-d10a-4c36-93ab-464fdc56dd83", + "linkGroupGuid": "4f98eb28-207c-4a22-b28c-6ea7f53a32cf" + } }, - "Example 128": { + "Example 8": { "summary": "Layout Association Chain Item", "description": "This example demonstrates how to add an association chain to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"associationChain","associationChainName":"Name of association chain","associationChainLinks":[{"forwards":true,"sourceDatabaseVersionGuid":"730433b5-2feb-4b40-ab66-54ebffe2637f","tabularAttributeGuid":"9100e238-1113-4868-a129-d331b8610fa8"},{"forwards":false,"sourceDatabaseVersionGuid":"90dd3aa0-7fa8-4cfa-92c4-eaeac68802da","tabularAttributeGuid":"a45783a5-d922-459b-a3e5-cb1f2ef0e709"}]} + "value": { + "itemType": "associationChain", + "associationChainName": "Name of association chain", + "associationChainLinks": [ + { + "forwards": true, + "sourceDatabaseVersionGuid": "b70111f7-748d-4363-a66c-477d40931bc8", + "tabularAttributeGuid": "93cc7ec4-9e68-488e-849b-c77d1d8fdb0a" + }, + { + "forwards": false, + "sourceDatabaseVersionGuid": "b8f36cfc-8b7c-4249-a386-1b5a10c3cbac", + "tabularAttributeGuid": "e3b0ea6c-611f-456d-b349-ef00fffcfabd" + } + ] + } } } }, @@ -15954,45 +18769,65 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutItem" }, "examples": { - "Example 121": { + "Example 1": { "summary": "Layout Attribute Item", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. The ReadOnly and Required properties default to false.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b"} }, - "Example 122": { + "Example 2": { "summary": "Layout Attribute Item with ReadOnly and Required properties set", "description": "This example demonstrates how to add the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database specifying the ReadOnly and Required properties and the Guid of the created layout item.", "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b","required":true,"readOnly":true} }, - "Example 123": { + "Example 3": { "summary": "Layout Attribute Item with Meta Attributes", "description": "This example demonstrates how to add the 'Flexural modulus' attribute with its 'Notes' meta-attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"attribute","attributeGuid":"000000ec-0001-4fff-8fff-dd92ffff0000","metaAttributes":[{"itemType":"attribute","attributeGuid":"3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5","required":false,"readOnly":false}]} }, - "Example 124": { + "Example 4": { "summary": "Layout Attribute Item for a Tabular Attribute", "description": "This example demonstrates how to add the 'Restricted substances associated with this material' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with specified tabular columns to include.", "value": {"itemType":"attribute","attributeGuid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","tabularColumnGuids":["7b28a5fd-4972-40fc-8181-626586258bc3","9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"]} }, - "Example 125": { + "Example 5": { "summary": "Layout Record Link Group Item", "description": "This example demonstrates how to add the 'MaterialUniverse' (reverse name 'Training Exercise') link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"recordLink","linkGroupGuid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"} }, - "Example 126": { + "Example 6": { "summary": "Layout Smart Link Group Item", "description": "This example demonstrates how to add the 'Smart Link to Training Record' smart link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"smartLink","forwards":true,"linkGroupGuid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"} }, - "Example 127": { + "Example 7": { "summary": "Layout Cross Database Link Group Item", "description": "This example demonstrates how to add a cross database link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"crossDatabaseLink","sourceDatabaseGuid":"27097620-4cf9-42a9-9d46-ddb58feb3ab7","sourceTableGuid":"eeed35d5-827f-40a4-b036-f51a53ad3d20","linkGroupGuid":"96b1c8a0-5558-42d9-ba82-4e784b1b0733"} + "value": { + "itemType": "crossDatabaseLink", + "sourceDatabaseGuid": "34210c54-854f-4cbc-8d06-fccff35e926a", + "sourceTableGuid": "ba1c3c9f-d10a-4c36-93ab-464fdc56dd83", + "linkGroupGuid": "4f98eb28-207c-4a22-b28c-6ea7f53a32cf" + } }, - "Example 128": { + "Example 8": { "summary": "Layout Association Chain Item", "description": "This example demonstrates how to add an association chain to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"associationChain","associationChainName":"Name of association chain","associationChainLinks":[{"forwards":true,"sourceDatabaseVersionGuid":"730433b5-2feb-4b40-ab66-54ebffe2637f","tabularAttributeGuid":"9100e238-1113-4868-a129-d331b8610fa8"},{"forwards":false,"sourceDatabaseVersionGuid":"90dd3aa0-7fa8-4cfa-92c4-eaeac68802da","tabularAttributeGuid":"a45783a5-d922-459b-a3e5-cb1f2ef0e709"}]} + "value": { + "itemType": "associationChain", + "associationChainName": "Name of association chain", + "associationChainLinks": [ + { + "forwards": true, + "sourceDatabaseVersionGuid": "b70111f7-748d-4363-a66c-477d40931bc8", + "tabularAttributeGuid": "93cc7ec4-9e68-488e-849b-c77d1d8fdb0a" + }, + { + "forwards": false, + "sourceDatabaseVersionGuid": "b8f36cfc-8b7c-4249-a386-1b5a10c3cbac", + "tabularAttributeGuid": "e3b0ea6c-611f-456d-b349-ef00fffcfabd" + } + ] + } } } } @@ -16007,40 +18842,85 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsNewLayoutItem" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Layout Attribute Item", "description": "This example demonstrates the response to creating a new attribute layout item. It was created by adding the 'Additive' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"attribute","attributeGuid":"ec51581f-4a78-4b1b-81df-83382c541b7b","required":true,"readOnly":false,"metaAttributes":null,"tabularColumnGuids":null,"guid":"f280219f-e410-4e08-854a-ab1600c03888"} + "value": { + "itemType": "attribute", + "attributeGuid": "ec51581f-4a78-4b1b-81df-83382c541b7b", + "required": true, + "readOnly": false, + "metaAttributes": null, + "tabularColumnGuids": null, + "guid": "5f09f8ef-8583-46b3-bd45-1549a9b690a9" + } }, - "Example 107": { + "Example 2": { "summary": "Layout Attribute Item with Meta Attributes", "description": "This example demonstrates the response to creating a new attribute layout item with a meta-attribute. It was created by adding the 'Flexural modulus' attribute with its 'Notes' meta-attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"attribute","attributeGuid":"000000ec-0001-4fff-8fff-dd92ffff0000","required":false,"readOnly":false,"metaAttributes":[{"itemType":"attribute","attributeGuid":"3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5","required":true,"readOnly":false}],"tabularColumnGuids":null,"guid":"81fc2713-4fce-4e6d-872a-d165dd7d0c2d"} + "value": { + "itemType": "attribute", + "attributeGuid": "000000ec-0001-4fff-8fff-dd92ffff0000", + "required": false, + "readOnly": false, + "metaAttributes": [ + { + "itemType": "attribute", + "attributeGuid": "3cd6866c-3ad4-4cc9-b2d0-e7296b0c12d5", + "required": true, + "readOnly": false + } + ], + "tabularColumnGuids": null, + "guid": "22e8638d-6a29-4ea5-9dfe-34d5884b8199" + } }, - "Example 108": { + "Example 3": { "summary": "Layout Attribute Item for a Tabular Attribute", "description": "This example demonstrates the response to creating a new tabular attribute layout item with specified tabular columns to include. It was created by adding the 'Restricted substances associated with this material' attribute to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with specified tabular columns to include. ", "value": {"itemType":"attribute","attributeGuid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","required":false,"readOnly":false,"metaAttributes":null,"tabularColumnGuids":["7b28a5fd-4972-40fc-8181-626586258bc3","9a0ce77a-60cf-42c7-b827-e7d74bea7a6b"],"guid":null} }, - "Example 109": { + "Example 4": { "summary": "Layout Record Link Group Item", "description": "This example demonstrates the response to creating a new link group layout item. It was created by adding the 'MaterialUniverse' (reverse name 'Training Exercise') link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"recordLink","linkGroupGuid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949","guid":null} }, - "Example 110": { + "Example 5": { "summary": "Layout Smart Link Group Item", "description": "This example demonstrates the response to creating a new smart link group layout item. It was created by adding the 'Smart Link to Training Record' smart link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"itemType":"smartLink","forwards":true,"linkGroupGuid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66","guid":null} }, - "Example 111": { + "Example 6": { "summary": "Layout Cross Database Link Group Item", "description": "This example demonstrates the response to creating a new cross database link group layout item. It was created by adding a cross database link group to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"crossDatabaseLink","sourceDatabaseGuid":"8cf9c208-fe30-47e0-a9b2-8071bc13aed5","sourceTableGuid":"ba223015-b641-4274-aeae-437f3b2c3504","linkGroupGuid":"7f3ad308-d12e-45e4-98aa-d2edae89d8d5","guid":null} + "value": { + "itemType": "crossDatabaseLink", + "sourceDatabaseGuid": "254e2990-1f4a-4f62-a7e6-b58cf75d12c3", + "sourceTableGuid": "041e499a-cddc-4269-a942-35b9374323b2", + "linkGroupGuid": "0e33c30e-6d4c-4aab-8b26-ca916f588462", + "guid": null + } }, - "Example 112": { + "Example 7": { "summary": "Layout Association Chain Item", "description": "This example demonstrates the response to creating a new association chain layout item. It was created by adding a association chain to the 'General Properties' layout section (guid = b10170ab-ff56-4828-81b8-c4427674ed2f) of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"itemType":"associationChain","associationChainName":"Name of association chain","associationChainLinks":[{"forwards":true,"sourceDatabaseVersionGuid":"00000000-0000-0000-0000-000000000000","tabularAttributeGuid":"22110405-6c37-45fa-b698-40aebe622938"},{"forwards":false,"sourceDatabaseVersionGuid":"00000000-0000-0000-0000-000000000000","tabularAttributeGuid":"fbe09b73-5cfb-4540-8599-3a73ebeb2a3e"}],"guid":null} + "value": { + "itemType": "associationChain", + "associationChainName": "Name of association chain", + "associationChainLinks": [ + { + "forwards": true, + "sourceDatabaseVersionGuid": "00000000-0000-0000-0000-000000000000", + "tabularAttributeGuid": "5713bb7d-0318-406a-bee4-338e98a0f425" + }, + { + "forwards": false, + "sourceDatabaseVersionGuid": "00000000-0000-0000-0000-000000000000", + "tabularAttributeGuid": "401e2aeb-125b-41bb-ab9f-45b424b3ca70" + } + ], + "guid": null + } } } } @@ -16226,15 +19106,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Composite materials"} }, - "Example 32": { + "Example 2": { "summary": "Layout with Guid", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with a specified guid value. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Composite materials (guid)","guid":"f9066a96-10de-4ba9-8986-85fb1155fb8f"} + "value": { + "name": "Composite materials (guid)", + "guid": "9f2899db-d162-4c03-9339-13c70126bfe6" + } } } }, @@ -16243,15 +19126,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Composite materials"} }, - "Example 32": { + "Example 2": { "summary": "Layout with Guid", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with a specified guid value. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Composite materials (guid)","guid":"f9066a96-10de-4ba9-8986-85fb1155fb8f"} + "value": { + "name": "Composite materials (guid)", + "guid": "9f2899db-d162-4c03-9339-13c70126bfe6" + } } } }, @@ -16260,15 +19146,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Composite materials"} }, - "Example 32": { + "Example 2": { "summary": "Layout with Guid", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with a specified guid value. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Composite materials (guid)","guid":"f9066a96-10de-4ba9-8986-85fb1155fb8f"} + "value": { + "name": "Composite materials (guid)", + "guid": "9f2899db-d162-4c03-9339-13c70126bfe6" + } } } }, @@ -16277,15 +19166,18 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsCreateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Composite materials"} }, - "Example 32": { + "Example 2": { "summary": "Layout with Guid", "description": "This example demonstrates how to create a new layout for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with a specified guid value. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Composite materials (guid)","guid":"f9066a96-10de-4ba9-8986-85fb1155fb8f"} + "value": { + "name": "Composite materials (guid)", + "guid": "9f2899db-d162-4c03-9339-13c70126bfe6" + } } } } @@ -16299,7 +19191,11 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaSlimEntitiesSlimLayout" }, - "example": {"displayNames":{},"name":"Ceramics","guid":"1b2a7da3-bcc6-4354-9840-c4ca4d64c9e5"} + "example": { + "displayNames": {}, + "name": "Ceramics", + "guid": "d2cedf38-a213-4f36-ae86-c345b4fd00b8" + } } } }, @@ -16390,15 +19286,96 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Layout with 'slim' sections", "description": "This example demonstrated the response to getting a layout with the 'showFullDetail' parameter set to false, which is the default value.", "value": {"sections":[{"sectionDetailType":"slim","displayNames":{"en":"General Properties English Display Name","fr":"General Properties French Display Name"},"name":"General Properties","guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"sectionDetailType":"slim","displayNames":{"en":"Mechanical Properties English Display Name","fr":"Mechanical Properties French Display Name"},"name":"Mechanical Properties","guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"}],"displayNames":{"en":"Ceramics English Display Name","fr":"Ceramics French Display Name"},"name":"Ceramics","guid":"00000b36-0009-4fff-8fff-dd92ffff0000"} }, - "Example 32": { + "Example 2": { "summary": "Layout with 'full' sections", "description": "This example demonstrated the response to getting a layout with the 'showFullDetail' parameter set to true.", - "value": {"sections":[{"sectionDetailType":"full","sectionItems":[{"itemType":"attribute","attributeType":"point","required":false,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"366ac3b9-c87d-48dc-b11b-716f30732b62","name":"Price","guid":"e9e3ad07-40bd-4333-8953-ac8431324d71"},{"itemType":"attribute","attributeType":"point","required":false,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"f86e9666-c6df-4896-9ec2-957006f33e50","name":"Density","guid":"f8921d32-fbba-494a-81da-cfbec0ebe309"}],"displayNames":{"en":"General Properties English Display Name","fr":"General Properties French Display Name"},"name":"General Properties","guid":"b10170ab-ff56-4828-81b8-c4427674ed2f"},{"sectionDetailType":"full","sectionItems":[{"itemType":"attribute","attributeType":"floatFunctional","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"3b29920a-17a7-4e5f-8a4f-43d112f5aa36","name":"Young's modulus","guid":"4e52177a-20b5-44f2-93a5-b1650e6d5c1c"},{"itemType":"attribute","attributeType":"range","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"cf0f9a10-7eed-42d2-97d1-a5965f3158aa","name":"Tensile strength","guid":"83f752d3-c2b7-4520-9165-6fe39e0e47c3"},{"itemType":"attribute","attributeType":"point","required":true,"readOnly":false,"metaAttributes":[],"underlyingEntityGuid":"3848a1db-811d-44b8-b590-d78e86bf374c","name":"Shape factor","guid":"b49fcc53-c223-4282-8c76-7e9c09e9399f"}],"displayNames":{"en":"Mechanical Properties English Display Name","fr":"Mechanical Properties French Display Name"},"name":"Mechanical Properties","guid":"aa6a7ef2-0e37-40a6-b3eb-11d502408281"}],"displayNames":{"en":"Ceramics English Display Name","fr":"Ceramics French Display Name"},"name":"Ceramics","guid":"00000b36-0009-4fff-8fff-dd92ffff0000"} + "value": { + "sections": [ + { + "sectionDetailType": "full", + "sectionItems": [ + { + "itemType": "attribute", + "attributeType": "point", + "required": false, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "fef60a39-c969-4dc8-b2c7-cd0d06a44a53", + "name": "Price", + "guid": "d208863f-49f0-43fe-a7d0-fab813c59737" + }, + { + "itemType": "attribute", + "attributeType": "point", + "required": false, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "a8a717dc-1945-42a9-b697-2f253660be2c", + "name": "Density", + "guid": "ec7a6be7-9d30-4764-9183-084b9f98b4c2" + } + ], + "displayNames": { + "en": "General Properties English Display Name", + "fr": "General Properties French Display Name" + }, + "name": "General Properties", + "guid": "b10170ab-ff56-4828-81b8-c4427674ed2f" + }, + { + "sectionDetailType": "full", + "sectionItems": [ + { + "itemType": "attribute", + "attributeType": "floatFunctional", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "4d09c2c2-849e-44f8-9c8a-678e1634e99e", + "name": "Young's modulus", + "guid": "f9b8b3a3-5eba-42fb-b9ac-c8119a1c1cd7" + }, + { + "itemType": "attribute", + "attributeType": "range", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "3f2a778d-a4ab-4328-bade-3c30b03bbeb1", + "name": "Tensile strength", + "guid": "65f08d4a-5e6c-404b-8b12-a0e55966b12e" + }, + { + "itemType": "attribute", + "attributeType": "point", + "required": true, + "readOnly": false, + "metaAttributes": [], + "underlyingEntityGuid": "8c9eb888-00a9-4b13-8f51-07ed987d47e5", + "name": "Shape factor", + "guid": "918a074c-a9de-40fb-a7e7-2b0e4436c1a1" + } + ], + "displayNames": { + "en": "Mechanical Properties English Display Name", + "fr": "Mechanical Properties French Display Name" + }, + "name": "Mechanical Properties", + "guid": "aa6a7ef2-0e37-40a6-b3eb-11d502408281" + } + ], + "displayNames": { + "en": "Ceramics English Display Name", + "fr": "Ceramics French Display Name" + }, + "name": "Ceramics", + "guid": "00000b36-0009-4fff-8fff-dd92ffff0000" + } } } } @@ -16450,12 +19427,15 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsUpdateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a layout", "description": "This example demonstrates how to update all properties of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"Ceramics (Updated)","guid":"5e2c62b8-7b97-469c-9c00-092060d7e1d0"} + "value": { + "name": "Ceramics (Updated)", + "guid": "089440bc-c2dc-42ed-85a2-4d9f5da3de0c" + } }, - "Example 32": { + "Example 2": { "summary": "Rename layout", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} @@ -16467,12 +19447,15 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsUpdateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a layout", "description": "This example demonstrates how to update all properties of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"Ceramics (Updated)","guid":"5e2c62b8-7b97-469c-9c00-092060d7e1d0"} + "value": { + "name": "Ceramics (Updated)", + "guid": "089440bc-c2dc-42ed-85a2-4d9f5da3de0c" + } }, - "Example 32": { + "Example 2": { "summary": "Rename layout", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} @@ -16484,12 +19467,15 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsUpdateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a layout", "description": "This example demonstrates how to update all properties of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"Ceramics (Updated)","guid":"5e2c62b8-7b97-469c-9c00-092060d7e1d0"} + "value": { + "name": "Ceramics (Updated)", + "guid": "089440bc-c2dc-42ed-85a2-4d9f5da3de0c" + } }, - "Example 32": { + "Example 2": { "summary": "Rename layout", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} @@ -16501,12 +19487,15 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaLayoutsUpdateLayout" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Everything for a layout", "description": "This example demonstrates how to update all properties of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"Ceramics (Updated)","guid":"5e2c62b8-7b97-469c-9c00-092060d7e1d0"} + "value": { + "name": "Ceramics (Updated)", + "guid": "089440bc-c2dc-42ed-85a2-4d9f5da3de0c" + } }, - "Example 32": { + "Example 2": { "summary": "Rename layout", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' layout (guid = 00000b36-0009-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} @@ -16613,7 +19602,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersParametersInfo" }, "examples": { - "Example 16": { + "Example 1": { "summary": "A mix of parameters", "description": "This example contains a mix of numeric and discrete parameters from the MI_Training database.", "value": {"parameters":[{"type":"numeric","isRestricted":false,"unit":{"symbol":"% strain","guid":"0000019b-0013-4fff-8fff-0000ffff0000"},"values":[{"type":"numeric","value":0.1,"guid":"173284fb-e557-406f-a7eb-f4e75f1d48a9"},{"type":"numeric","value":1.0,"guid":"00000005-000b-4fff-8fff-0005ffff0000"}],"interpolationType":"linear","scaleType":"linear","helpPath":"/help/strain.html","defaultParameterValueGuid":"00000005-000b-4fff-8fff-0005ffff0000","displayNames":{"en":"Strain","fr":"Souche"},"name":"Strain","guid":"00000005-000a-4fff-8fff-0000ffff0000"},{"type":"numeric","isRestricted":false,"values":[{"type":"numeric","value":-1.0,"guid":"4c35e5cd-0641-45d1-96d3-bc42076b3a94"},{"type":"numeric","value":0.0,"guid":"00000022-000b-4fff-8fff-0022ffff0000"}],"interpolationType":"linear","scaleType":"linear","helpPath":"/help/strain-ratio.html","defaultParameterValueGuid":"4c35e5cd-0641-45d1-96d3-bc42076b3a94","displayNames":{"en":"Strain Ratio","fr":"Rapport de contrainte"},"name":"Strain Ratio","guid":"00000022-000a-4fff-8fff-0000ffff0000"},{"type":"discrete","values":[{"type":"discrete","name":"Mean","guid":"21a27377-12eb-413c-bac4-d4ffceda39d1"},{"type":"discrete","name":"A-basis","guid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c"},{"type":"discrete","name":"B-basis","guid":"9ba94816-6784-4848-bfa6-d24b12597a5b"}],"helpPath":"/help/basis.html","defaultParameterValueGuid":"21a27377-12eb-413c-bac4-d4ffceda39d1","displayNames":{"en":"Basis","fr":"Base"},"name":"Basis","guid":"7a6ccb7b-8a47-4cab-8203-c741d476560f"}]} @@ -16650,27 +19639,57 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameter" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Discrete Parameter", "description": "This example demonstrates how to create a new discrete parameter for the MI_Training database.", - "value": {"values":[{"type":"discrete","name":"Red"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":0,"name":"Color"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 0, + "name": "Color" + } }, - "Example 77": { + "Example 2": { "summary": "Discrete Parameter with Guids", "description": "This example demonstrates how to create a new discrete parameter with a specified guid value for the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. Guids can be explicitly set for the individual parameter values, if needed.", - "value": {"values":[{"type":"discrete","name":"Red","guid":"0d4e41f2-391f-4cd8-b797-fc5748841ed6"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":1,"name":"Color (guid)","guid":"804d141b-4241-403c-85e8-871af9e46111"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red", + "guid": "b5cc5126-14f4-43bb-90c2-4c0e0a84f187" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 1, + "name": "Color (guid)", + "guid": "844713d2-43ea-47b0-962a-335aca2e5800" + } }, - "Example 78": { + "Example 3": { "summary": "Numeric Restricted Parameter", "description": "This example demonstrates how to create a new numeric restricted parameter for the MI_Training database. Note that the IsRestricted flag is set to true.", "value": {"type":"numeric","isRestricted":true,"values":[{"value":2010.0,"type":"numeric","name":"Twenty Ten"},{"value":2015.0,"type":"numeric"},{"value":2020.0,"type":"numeric","name":"Twenty Twenty"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":2,"name":"Year"} }, - "Example 79": { + "Example 4": { "summary": "Numeric Restricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric restricted parameter which also has the 'centimetre' unit from the MI_Training database. Note that the IsRestricted flag is set to true. Only the unit guid is required to reference a unit.", "value": {"type":"numeric","isRestricted":true,"unit":{"guid":"00000099-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Small box"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Big box"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":0,"name":"Box dimension"} }, - "Example 80": { + "Example 5": { "summary": "Numeric Unrestricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric unrestricted parameter which also has the 'Temperature (Kelvin/Celsius)' unit from the MI_Training database. The IsRestricted flag can either be explicitly set to false or omitted. Pre-defined parameter values can still be specified, but the parameter will not be restricted to them.", "value": {"type":"numeric","isRestricted":false,"unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Cold"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Hot"}],"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"/help/outside-temperature.html","defaultParameterValueIndex":2,"name":"Outside Temperature"} @@ -16682,27 +19701,57 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameter" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Discrete Parameter", "description": "This example demonstrates how to create a new discrete parameter for the MI_Training database.", - "value": {"values":[{"type":"discrete","name":"Red"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":0,"name":"Color"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 0, + "name": "Color" + } }, - "Example 77": { + "Example 2": { "summary": "Discrete Parameter with Guids", "description": "This example demonstrates how to create a new discrete parameter with a specified guid value for the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. Guids can be explicitly set for the individual parameter values, if needed.", - "value": {"values":[{"type":"discrete","name":"Red","guid":"0d4e41f2-391f-4cd8-b797-fc5748841ed6"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":1,"name":"Color (guid)","guid":"804d141b-4241-403c-85e8-871af9e46111"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red", + "guid": "b5cc5126-14f4-43bb-90c2-4c0e0a84f187" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 1, + "name": "Color (guid)", + "guid": "844713d2-43ea-47b0-962a-335aca2e5800" + } }, - "Example 78": { + "Example 3": { "summary": "Numeric Restricted Parameter", "description": "This example demonstrates how to create a new numeric restricted parameter for the MI_Training database. Note that the IsRestricted flag is set to true.", "value": {"type":"numeric","isRestricted":true,"values":[{"value":2010.0,"type":"numeric","name":"Twenty Ten"},{"value":2015.0,"type":"numeric"},{"value":2020.0,"type":"numeric","name":"Twenty Twenty"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":2,"name":"Year"} }, - "Example 79": { + "Example 4": { "summary": "Numeric Restricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric restricted parameter which also has the 'centimetre' unit from the MI_Training database. Note that the IsRestricted flag is set to true. Only the unit guid is required to reference a unit.", "value": {"type":"numeric","isRestricted":true,"unit":{"guid":"00000099-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Small box"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Big box"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":0,"name":"Box dimension"} }, - "Example 80": { + "Example 5": { "summary": "Numeric Unrestricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric unrestricted parameter which also has the 'Temperature (Kelvin/Celsius)' unit from the MI_Training database. The IsRestricted flag can either be explicitly set to false or omitted. Pre-defined parameter values can still be specified, but the parameter will not be restricted to them.", "value": {"type":"numeric","isRestricted":false,"unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Cold"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Hot"}],"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"/help/outside-temperature.html","defaultParameterValueIndex":2,"name":"Outside Temperature"} @@ -16714,27 +19763,57 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameter" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Discrete Parameter", "description": "This example demonstrates how to create a new discrete parameter for the MI_Training database.", - "value": {"values":[{"type":"discrete","name":"Red"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":0,"name":"Color"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 0, + "name": "Color" + } }, - "Example 77": { + "Example 2": { "summary": "Discrete Parameter with Guids", "description": "This example demonstrates how to create a new discrete parameter with a specified guid value for the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. Guids can be explicitly set for the individual parameter values, if needed.", - "value": {"values":[{"type":"discrete","name":"Red","guid":"0d4e41f2-391f-4cd8-b797-fc5748841ed6"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":1,"name":"Color (guid)","guid":"804d141b-4241-403c-85e8-871af9e46111"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red", + "guid": "b5cc5126-14f4-43bb-90c2-4c0e0a84f187" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 1, + "name": "Color (guid)", + "guid": "844713d2-43ea-47b0-962a-335aca2e5800" + } }, - "Example 78": { + "Example 3": { "summary": "Numeric Restricted Parameter", "description": "This example demonstrates how to create a new numeric restricted parameter for the MI_Training database. Note that the IsRestricted flag is set to true.", "value": {"type":"numeric","isRestricted":true,"values":[{"value":2010.0,"type":"numeric","name":"Twenty Ten"},{"value":2015.0,"type":"numeric"},{"value":2020.0,"type":"numeric","name":"Twenty Twenty"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":2,"name":"Year"} }, - "Example 79": { + "Example 4": { "summary": "Numeric Restricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric restricted parameter which also has the 'centimetre' unit from the MI_Training database. Note that the IsRestricted flag is set to true. Only the unit guid is required to reference a unit.", "value": {"type":"numeric","isRestricted":true,"unit":{"guid":"00000099-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Small box"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Big box"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":0,"name":"Box dimension"} }, - "Example 80": { + "Example 5": { "summary": "Numeric Unrestricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric unrestricted parameter which also has the 'Temperature (Kelvin/Celsius)' unit from the MI_Training database. The IsRestricted flag can either be explicitly set to false or omitted. Pre-defined parameter values can still be specified, but the parameter will not be restricted to them.", "value": {"type":"numeric","isRestricted":false,"unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Cold"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Hot"}],"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"/help/outside-temperature.html","defaultParameterValueIndex":2,"name":"Outside Temperature"} @@ -16746,27 +19825,57 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameter" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Discrete Parameter", "description": "This example demonstrates how to create a new discrete parameter for the MI_Training database.", - "value": {"values":[{"type":"discrete","name":"Red"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":0,"name":"Color"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 0, + "name": "Color" + } }, - "Example 77": { + "Example 2": { "summary": "Discrete Parameter with Guids", "description": "This example demonstrates how to create a new discrete parameter with a specified guid value for the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. Guids can be explicitly set for the individual parameter values, if needed.", - "value": {"values":[{"type":"discrete","name":"Red","guid":"0d4e41f2-391f-4cd8-b797-fc5748841ed6"},{"type":"discrete","name":"Green"}],"type":"discrete","defaultParameterValueIndex":1,"name":"Color (guid)","guid":"804d141b-4241-403c-85e8-871af9e46111"} + "value": { + "values": [ + { + "type": "discrete", + "name": "Red", + "guid": "b5cc5126-14f4-43bb-90c2-4c0e0a84f187" + }, + { + "type": "discrete", + "name": "Green" + } + ], + "type": "discrete", + "defaultParameterValueIndex": 1, + "name": "Color (guid)", + "guid": "844713d2-43ea-47b0-962a-335aca2e5800" + } }, - "Example 78": { + "Example 3": { "summary": "Numeric Restricted Parameter", "description": "This example demonstrates how to create a new numeric restricted parameter for the MI_Training database. Note that the IsRestricted flag is set to true.", "value": {"type":"numeric","isRestricted":true,"values":[{"value":2010.0,"type":"numeric","name":"Twenty Ten"},{"value":2015.0,"type":"numeric"},{"value":2020.0,"type":"numeric","name":"Twenty Twenty"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":2,"name":"Year"} }, - "Example 79": { + "Example 4": { "summary": "Numeric Restricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric restricted parameter which also has the 'centimetre' unit from the MI_Training database. Note that the IsRestricted flag is set to true. Only the unit guid is required to reference a unit.", "value": {"type":"numeric","isRestricted":true,"unit":{"guid":"00000099-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Small box"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Big box"}],"interpolationType":"none","scaleType":"linear","defaultParameterValueIndex":0,"name":"Box dimension"} }, - "Example 80": { + "Example 5": { "summary": "Numeric Unrestricted Parameter with Unit", "description": "This example demonstrates how to create a new numeric unrestricted parameter which also has the 'Temperature (Kelvin/Celsius)' unit from the MI_Training database. The IsRestricted flag can either be explicitly set to false or omitted. Pre-defined parameter values can still be specified, but the parameter will not be restricted to them.", "value": {"type":"numeric","isRestricted":false,"unit":{"guid":"00000002-0013-4fff-8fff-0000ffff0000"},"values":[{"value":10.0,"type":"numeric","name":"Cold"},{"value":20.0,"type":"numeric"},{"value":30.0,"type":"numeric","name":"Hot"}],"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"/help/outside-temperature.html","defaultParameterValueIndex":2,"name":"Outside Temperature"} @@ -16874,37 +19983,63 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameter" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a numeric parameter", "description": "This example shows how to update all properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"help/strain-updated.html","defaultParameterValueGuid":"173284fb-e557-406f-a7eb-f4e75f1d48a9","name":"Strain (Updated)","guid":"57d8c231-1d82-478a-a757-cb729ca7beb1"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "interpolationType": "cubicSpline", + "scaleType": "logarithmic", + "helpPath": "help/strain-updated.html", + "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", + "name": "Strain (Updated)", + "guid": "66a7d855-c830-4715-8edf-f9fd451900c4" + } }, - "Example 107": { + "Example 2": { "summary": "Everything for a discrete parameter", "description": "This example shows how to update all properties of the 'Basis' discrete parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","helpPath":"help/basis-updated.html","defaultParameterValueGuid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c","name":"Basis (Updated)","guid":"1713de76-22e7-4c28-b016-d03b618c7908"} + "value": { + "type": "discrete", + "helpPath": "help/basis-updated.html", + "defaultParameterValueGuid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c", + "name": "Basis (Updated)", + "guid": "931eda0c-574c-4e6e-9e0d-c8a858197e29" + } }, - "Example 108": { + "Example 3": { "summary": "Update Guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Guid can be updated for both kinds of parameters.", - "value": {"type":"numeric","guid":"b3af9949-f311-4b13-aaca-c816b3932067"} + "value": { + "type": "numeric", + "guid": "2a7f240c-2993-467f-8bd2-548b9eb213a5" + } }, - "Example 109": { + "Example 4": { "summary": "Update Name", "description": "This example demonstrates how to update the 'Name' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Name can be updated for both kinds of parameters.", "value": {"type":"discrete","name":"Strain (Updated)"} }, - "Example 110": { + "Example 5": { "summary": "Update Guid and Unit", "description": "This example demonstrates how to update the 'Guid' and 'Unit' properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg. Only numeric parameters have units.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"guid":"0d7a1b2c-b768-4d2e-a889-a28051251ebf"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "guid": "1105b356-dd30-4f47-93a1-b8ebd2f39edb" + } }, - "Example 111": { + "Example 6": { "summary": "Remove Unit", "description": "This example demonstrates how to remove the 'Unit' property of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database by setting it to null.", "value": {"type":"numeric","unit":null} }, - "Example 112": { + "Example 7": { "summary": "Change interpolation and scale type", "description": "This example demonstrates how to update the interpolation type and scale type of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. The parameter must be a numeric parameter.", "value": {"type":"numeric","interpolationType":"cubicSpline","scaleType":"logarithmic"} @@ -16916,37 +20051,63 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameter" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a numeric parameter", "description": "This example shows how to update all properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"help/strain-updated.html","defaultParameterValueGuid":"173284fb-e557-406f-a7eb-f4e75f1d48a9","name":"Strain (Updated)","guid":"57d8c231-1d82-478a-a757-cb729ca7beb1"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "interpolationType": "cubicSpline", + "scaleType": "logarithmic", + "helpPath": "help/strain-updated.html", + "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", + "name": "Strain (Updated)", + "guid": "66a7d855-c830-4715-8edf-f9fd451900c4" + } }, - "Example 107": { + "Example 2": { "summary": "Everything for a discrete parameter", "description": "This example shows how to update all properties of the 'Basis' discrete parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","helpPath":"help/basis-updated.html","defaultParameterValueGuid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c","name":"Basis (Updated)","guid":"1713de76-22e7-4c28-b016-d03b618c7908"} + "value": { + "type": "discrete", + "helpPath": "help/basis-updated.html", + "defaultParameterValueGuid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c", + "name": "Basis (Updated)", + "guid": "931eda0c-574c-4e6e-9e0d-c8a858197e29" + } }, - "Example 108": { + "Example 3": { "summary": "Update Guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Guid can be updated for both kinds of parameters.", - "value": {"type":"numeric","guid":"b3af9949-f311-4b13-aaca-c816b3932067"} + "value": { + "type": "numeric", + "guid": "2a7f240c-2993-467f-8bd2-548b9eb213a5" + } }, - "Example 109": { + "Example 4": { "summary": "Update Name", "description": "This example demonstrates how to update the 'Name' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Name can be updated for both kinds of parameters.", "value": {"type":"discrete","name":"Strain (Updated)"} }, - "Example 110": { + "Example 5": { "summary": "Update Guid and Unit", "description": "This example demonstrates how to update the 'Guid' and 'Unit' properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg. Only numeric parameters have units.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"guid":"0d7a1b2c-b768-4d2e-a889-a28051251ebf"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "guid": "1105b356-dd30-4f47-93a1-b8ebd2f39edb" + } }, - "Example 111": { + "Example 6": { "summary": "Remove Unit", "description": "This example demonstrates how to remove the 'Unit' property of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database by setting it to null.", "value": {"type":"numeric","unit":null} }, - "Example 112": { + "Example 7": { "summary": "Change interpolation and scale type", "description": "This example demonstrates how to update the interpolation type and scale type of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. The parameter must be a numeric parameter.", "value": {"type":"numeric","interpolationType":"cubicSpline","scaleType":"logarithmic"} @@ -16958,37 +20119,63 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameter" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a numeric parameter", "description": "This example shows how to update all properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"help/strain-updated.html","defaultParameterValueGuid":"173284fb-e557-406f-a7eb-f4e75f1d48a9","name":"Strain (Updated)","guid":"57d8c231-1d82-478a-a757-cb729ca7beb1"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "interpolationType": "cubicSpline", + "scaleType": "logarithmic", + "helpPath": "help/strain-updated.html", + "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", + "name": "Strain (Updated)", + "guid": "66a7d855-c830-4715-8edf-f9fd451900c4" + } }, - "Example 107": { + "Example 2": { "summary": "Everything for a discrete parameter", "description": "This example shows how to update all properties of the 'Basis' discrete parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","helpPath":"help/basis-updated.html","defaultParameterValueGuid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c","name":"Basis (Updated)","guid":"1713de76-22e7-4c28-b016-d03b618c7908"} + "value": { + "type": "discrete", + "helpPath": "help/basis-updated.html", + "defaultParameterValueGuid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c", + "name": "Basis (Updated)", + "guid": "931eda0c-574c-4e6e-9e0d-c8a858197e29" + } }, - "Example 108": { + "Example 3": { "summary": "Update Guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Guid can be updated for both kinds of parameters.", - "value": {"type":"numeric","guid":"b3af9949-f311-4b13-aaca-c816b3932067"} + "value": { + "type": "numeric", + "guid": "2a7f240c-2993-467f-8bd2-548b9eb213a5" + } }, - "Example 109": { + "Example 4": { "summary": "Update Name", "description": "This example demonstrates how to update the 'Name' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Name can be updated for both kinds of parameters.", "value": {"type":"discrete","name":"Strain (Updated)"} }, - "Example 110": { + "Example 5": { "summary": "Update Guid and Unit", "description": "This example demonstrates how to update the 'Guid' and 'Unit' properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg. Only numeric parameters have units.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"guid":"0d7a1b2c-b768-4d2e-a889-a28051251ebf"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "guid": "1105b356-dd30-4f47-93a1-b8ebd2f39edb" + } }, - "Example 111": { + "Example 6": { "summary": "Remove Unit", "description": "This example demonstrates how to remove the 'Unit' property of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database by setting it to null.", "value": {"type":"numeric","unit":null} }, - "Example 112": { + "Example 7": { "summary": "Change interpolation and scale type", "description": "This example demonstrates how to update the interpolation type and scale type of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. The parameter must be a numeric parameter.", "value": {"type":"numeric","interpolationType":"cubicSpline","scaleType":"logarithmic"} @@ -17000,37 +20187,63 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameter" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a numeric parameter", "description": "This example shows how to update all properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"interpolationType":"cubicSpline","scaleType":"logarithmic","helpPath":"help/strain-updated.html","defaultParameterValueGuid":"173284fb-e557-406f-a7eb-f4e75f1d48a9","name":"Strain (Updated)","guid":"57d8c231-1d82-478a-a757-cb729ca7beb1"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "interpolationType": "cubicSpline", + "scaleType": "logarithmic", + "helpPath": "help/strain-updated.html", + "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", + "name": "Strain (Updated)", + "guid": "66a7d855-c830-4715-8edf-f9fd451900c4" + } }, - "Example 107": { + "Example 2": { "summary": "Everything for a discrete parameter", "description": "This example shows how to update all properties of the 'Basis' discrete parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","helpPath":"help/basis-updated.html","defaultParameterValueGuid":"505b5d32-0a4a-48af-9a7a-90c4caacd35c","name":"Basis (Updated)","guid":"1713de76-22e7-4c28-b016-d03b618c7908"} + "value": { + "type": "discrete", + "helpPath": "help/basis-updated.html", + "defaultParameterValueGuid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c", + "name": "Basis (Updated)", + "guid": "931eda0c-574c-4e6e-9e0d-c8a858197e29" + } }, - "Example 108": { + "Example 3": { "summary": "Update Guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Guid can be updated for both kinds of parameters.", - "value": {"type":"numeric","guid":"b3af9949-f311-4b13-aaca-c816b3932067"} + "value": { + "type": "numeric", + "guid": "2a7f240c-2993-467f-8bd2-548b9eb213a5" + } }, - "Example 109": { + "Example 4": { "summary": "Update Name", "description": "This example demonstrates how to update the 'Name' property of the 'Strain' parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Name can be updated for both kinds of parameters.", "value": {"type":"discrete","name":"Strain (Updated)"} }, - "Example 110": { + "Example 5": { "summary": "Update Guid and Unit", "description": "This example demonstrates how to update the 'Guid' and 'Unit' properties of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. Its Unit will be changed to kg. Only numeric parameters have units.", - "value": {"type":"numeric","unit":{"guid":"0000007a-0013-4fff-8fff-0000ffff0000"},"guid":"0d7a1b2c-b768-4d2e-a889-a28051251ebf"} + "value": { + "type": "numeric", + "unit": { + "guid": "0000007a-0013-4fff-8fff-0000ffff0000" + }, + "guid": "1105b356-dd30-4f47-93a1-b8ebd2f39edb" + } }, - "Example 111": { + "Example 6": { "summary": "Remove Unit", "description": "This example demonstrates how to remove the 'Unit' property of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database by setting it to null.", "value": {"type":"numeric","unit":null} }, - "Example 112": { + "Example 7": { "summary": "Change interpolation and scale type", "description": "This example demonstrates how to update the interpolation type and scale type of the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database. The parameter must be a numeric parameter.", "value": {"type":"numeric","interpolationType":"cubicSpline","scaleType":"logarithmic"} @@ -17247,20 +20460,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameterValue" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update numeric parameter value", "description": "This example demonstrates how to update all properties of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"value":10.0,"type":"numeric","name":"Strain 0.1 (Updated)","guid":"b5c55c7f-5b62-4309-9472-bc1525fe2249"} + "value": { + "value": 10.0, + "type": "numeric", + "name": "Strain 0.1 (Updated)", + "guid": "90df11b8-724e-450b-91ad-2cceadfed7d5" + } }, - "Example 47": { + "Example 2": { "summary": "Update discrete parameter value", "description": "This example demonstrates how to update all properties of the 'Mean' discrete parameter value (guid = 21a27377-12eb-413c-bac4-d4ffceda39d1) from the 'Basis' numeric parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","name":"Mean (Updated)","guid":"c2b07b72-af70-404e-8f34-0e62949f8cfd"} + "value": { + "type": "discrete", + "name": "Mean (Updated)", + "guid": "0a82c5b2-bc49-4e08-85a2-e09339441d7c" + } }, - "Example 48": { + "Example 3": { "summary": "Change guid of numeric", "description": "This example demonstrates how to update guid of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database using a PATCH request.", - "value": {"type":"numeric","guid":"7ba6c76d-ab3d-49b4-b764-804a0795ac91"} + "value": { + "type": "numeric", + "guid": "171d4ec5-84ae-4a5a-b9b6-8a0232adeac9" + } } } }, @@ -17269,20 +20494,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameterValue" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update numeric parameter value", "description": "This example demonstrates how to update all properties of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"value":10.0,"type":"numeric","name":"Strain 0.1 (Updated)","guid":"b5c55c7f-5b62-4309-9472-bc1525fe2249"} + "value": { + "value": 10.0, + "type": "numeric", + "name": "Strain 0.1 (Updated)", + "guid": "90df11b8-724e-450b-91ad-2cceadfed7d5" + } }, - "Example 47": { + "Example 2": { "summary": "Update discrete parameter value", "description": "This example demonstrates how to update all properties of the 'Mean' discrete parameter value (guid = 21a27377-12eb-413c-bac4-d4ffceda39d1) from the 'Basis' numeric parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","name":"Mean (Updated)","guid":"c2b07b72-af70-404e-8f34-0e62949f8cfd"} + "value": { + "type": "discrete", + "name": "Mean (Updated)", + "guid": "0a82c5b2-bc49-4e08-85a2-e09339441d7c" + } }, - "Example 48": { + "Example 3": { "summary": "Change guid of numeric", "description": "This example demonstrates how to update guid of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database using a PATCH request.", - "value": {"type":"numeric","guid":"7ba6c76d-ab3d-49b4-b764-804a0795ac91"} + "value": { + "type": "numeric", + "guid": "171d4ec5-84ae-4a5a-b9b6-8a0232adeac9" + } } } }, @@ -17291,20 +20528,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameterValue" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update numeric parameter value", "description": "This example demonstrates how to update all properties of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"value":10.0,"type":"numeric","name":"Strain 0.1 (Updated)","guid":"b5c55c7f-5b62-4309-9472-bc1525fe2249"} + "value": { + "value": 10.0, + "type": "numeric", + "name": "Strain 0.1 (Updated)", + "guid": "90df11b8-724e-450b-91ad-2cceadfed7d5" + } }, - "Example 47": { + "Example 2": { "summary": "Update discrete parameter value", "description": "This example demonstrates how to update all properties of the 'Mean' discrete parameter value (guid = 21a27377-12eb-413c-bac4-d4ffceda39d1) from the 'Basis' numeric parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","name":"Mean (Updated)","guid":"c2b07b72-af70-404e-8f34-0e62949f8cfd"} + "value": { + "type": "discrete", + "name": "Mean (Updated)", + "guid": "0a82c5b2-bc49-4e08-85a2-e09339441d7c" + } }, - "Example 48": { + "Example 3": { "summary": "Change guid of numeric", "description": "This example demonstrates how to update guid of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database using a PATCH request.", - "value": {"type":"numeric","guid":"7ba6c76d-ab3d-49b4-b764-804a0795ac91"} + "value": { + "type": "numeric", + "guid": "171d4ec5-84ae-4a5a-b9b6-8a0232adeac9" + } } } }, @@ -17313,20 +20562,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersUpdateParameterValue" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update numeric parameter value", "description": "This example demonstrates how to update all properties of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"value":10.0,"type":"numeric","name":"Strain 0.1 (Updated)","guid":"b5c55c7f-5b62-4309-9472-bc1525fe2249"} + "value": { + "value": 10.0, + "type": "numeric", + "name": "Strain 0.1 (Updated)", + "guid": "90df11b8-724e-450b-91ad-2cceadfed7d5" + } }, - "Example 47": { + "Example 2": { "summary": "Update discrete parameter value", "description": "This example demonstrates how to update all properties of the 'Mean' discrete parameter value (guid = 21a27377-12eb-413c-bac4-d4ffceda39d1) from the 'Basis' numeric parameter (guid = 7a6ccb7b-8a47-4cab-8203-c741d476560f) from the MI_Training database.", - "value": {"type":"discrete","name":"Mean (Updated)","guid":"c2b07b72-af70-404e-8f34-0e62949f8cfd"} + "value": { + "type": "discrete", + "name": "Mean (Updated)", + "guid": "0a82c5b2-bc49-4e08-85a2-e09339441d7c" + } }, - "Example 48": { + "Example 3": { "summary": "Change guid of numeric", "description": "This example demonstrates how to update guid of the 'Strain 0.1' numeric parameter value (guid = 173284fb-e557-406f-a7eb-f4e75f1d48a9) from the 'Strain' numeric parameter (guid = 00000005-000a-4fff-8fff-0000ffff0000) from the MI_Training database using a PATCH request.", - "value": {"type":"numeric","guid":"7ba6c76d-ab3d-49b4-b764-804a0795ac91"} + "value": { + "type": "numeric", + "guid": "171d4ec5-84ae-4a5a-b9b6-8a0232adeac9" + } } } } @@ -17446,12 +20707,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameterValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Numeric parameter value", "description": "This example demonstrates how to create a new numeric parameter value for the 'Temperature' numeric parameter (guid = 00000001-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"value":10.0,"type":"numeric","name":"Cold"} }, - "Example 32": { + "Example 2": { "summary": "Discrete parameter value", "description": "This example demonstrates how to create a new discrete parameter value for the 'Chemical Environment' discrete parameter (guid = b7cee874-160f-439a-a784-b887c516b2d5) from the MI_Training database.", "value": {"type":"discrete","name":"Heavy water"} @@ -17463,12 +20724,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameterValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Numeric parameter value", "description": "This example demonstrates how to create a new numeric parameter value for the 'Temperature' numeric parameter (guid = 00000001-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"value":10.0,"type":"numeric","name":"Cold"} }, - "Example 32": { + "Example 2": { "summary": "Discrete parameter value", "description": "This example demonstrates how to create a new discrete parameter value for the 'Chemical Environment' discrete parameter (guid = b7cee874-160f-439a-a784-b887c516b2d5) from the MI_Training database.", "value": {"type":"discrete","name":"Heavy water"} @@ -17480,12 +20741,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameterValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Numeric parameter value", "description": "This example demonstrates how to create a new numeric parameter value for the 'Temperature' numeric parameter (guid = 00000001-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"value":10.0,"type":"numeric","name":"Cold"} }, - "Example 32": { + "Example 2": { "summary": "Discrete parameter value", "description": "This example demonstrates how to create a new discrete parameter value for the 'Chemical Environment' discrete parameter (guid = b7cee874-160f-439a-a784-b887c516b2d5) from the MI_Training database.", "value": {"type":"discrete","name":"Heavy water"} @@ -17497,12 +20758,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaParametersCreateParameterValue" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Numeric parameter value", "description": "This example demonstrates how to create a new numeric parameter value for the 'Temperature' numeric parameter (guid = 00000001-000a-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"value":10.0,"type":"numeric","name":"Cold"} }, - "Example 32": { + "Example 2": { "summary": "Discrete parameter value", "description": "This example demonstrates how to create a new discrete parameter value for the 'Chemical Environment' discrete parameter (guid = b7cee874-160f-439a-a784-b887c516b2d5) from the MI_Training database.", "value": {"type":"discrete","name":"Heavy water"} @@ -17572,22 +20833,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateAllProfilesInfo" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update default profile", "description": "This example demonstrates how to update default profile. Default Profile might be set to one of the profiles visible to user or to null.", "value": {"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} }, - "Example 62": { + "Example 2": { "summary": "Remove default profile", "description": "This example demonstrates how to remove default profile by setting it to null", "value": {"defaultProfile":null} }, - "Example 63": { + "Example 3": { "summary": "Update profiles order", "description": "This example demonstrates how to reorder profiles. Profiles will be reordered in the order provided. Their values can not be changed. Full list of explicit profiles must be provided.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}]} }, - "Example 64": { + "Example 4": { "summary": "Everything for AllProfilesInfo", "description": "This example shows all properties that can be updated for AllProfilesInfo.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}],"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} @@ -17599,22 +20860,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateAllProfilesInfo" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update default profile", "description": "This example demonstrates how to update default profile. Default Profile might be set to one of the profiles visible to user or to null.", "value": {"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} }, - "Example 62": { + "Example 2": { "summary": "Remove default profile", "description": "This example demonstrates how to remove default profile by setting it to null", "value": {"defaultProfile":null} }, - "Example 63": { + "Example 3": { "summary": "Update profiles order", "description": "This example demonstrates how to reorder profiles. Profiles will be reordered in the order provided. Their values can not be changed. Full list of explicit profiles must be provided.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}]} }, - "Example 64": { + "Example 4": { "summary": "Everything for AllProfilesInfo", "description": "This example shows all properties that can be updated for AllProfilesInfo.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}],"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} @@ -17626,22 +20887,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateAllProfilesInfo" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update default profile", "description": "This example demonstrates how to update default profile. Default Profile might be set to one of the profiles visible to user or to null.", "value": {"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} }, - "Example 62": { + "Example 2": { "summary": "Remove default profile", "description": "This example demonstrates how to remove default profile by setting it to null", "value": {"defaultProfile":null} }, - "Example 63": { + "Example 3": { "summary": "Update profiles order", "description": "This example demonstrates how to reorder profiles. Profiles will be reordered in the order provided. Their values can not be changed. Full list of explicit profiles must be provided.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}]} }, - "Example 64": { + "Example 4": { "summary": "Everything for AllProfilesInfo", "description": "This example shows all properties that can be updated for AllProfilesInfo.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}],"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} @@ -17653,22 +20914,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateAllProfilesInfo" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update default profile", "description": "This example demonstrates how to update default profile. Default Profile might be set to one of the profiles visible to user or to null.", "value": {"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} }, - "Example 62": { + "Example 2": { "summary": "Remove default profile", "description": "This example demonstrates how to remove default profile by setting it to null", "value": {"defaultProfile":null} }, - "Example 63": { + "Example 3": { "summary": "Update profiles order", "description": "This example demonstrates how to reorder profiles. Profiles will be reordered in the order provided. Their values can not be changed. Full list of explicit profiles must be provided.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}]} }, - "Example 64": { + "Example 4": { "summary": "Everything for AllProfilesInfo", "description": "This example shows all properties that can be updated for AllProfilesInfo.", "value": {"profiles":[{"guid":"31ae18d9-eaf7-43ab-9b88-716c34e61658"},{"guid":"f76e3ce8-608a-42da-8d99-f0009dac966f"},{"guid":"90cb537b-82e9-4e8b-8193-208f581f7e0a"}],"defaultProfile":{"key":"MITrainingComposites-90cb537b-82e9-4e8b-8193-208f581f7e0a"}} @@ -17713,20 +20974,29 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesCreateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile", "description": "This example demonstrates how to create a new profile", "value": {"name":"MI:Training Processes"} }, - "Example 47": { + "Example 2": { "summary": "Profile with specified guid", "description": "This example demonstrates how to create a new profile with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"MI:Training Processes","guid":"5dc04ef3-fc9b-4c81-ab91-d34630897ada"} + "value": { + "name": "MI:Training Processes", + "guid": "a856e1e4-b5ad-4aa5-ba3c-5ab8c5213c8b" + } }, - "Example 48": { + "Example 3": { "summary": "Full profile", "description": "This example demonstrates how to create a new profile with all of its fields filled out.", - "value": {"description":"#markdown\r\nFor process-oriented users.","homepageUrl":"TrainingProfiles/TrainingProcesses","groupName":"MI:Training Profiles","name":"MI:Training Processes","guid":"7ea20055-7b0f-46c9-9205-86f38aeb8b2e"} + "value": { + "description": "#markdown\r\nFor process-oriented users.", + "homepageUrl": "TrainingProfiles/TrainingProcesses", + "groupName": "MI:Training Profiles", + "name": "MI:Training Processes", + "guid": "9ffb0f27-c2fe-46be-98d4-6f2371cfac0f" + } } } }, @@ -17735,20 +21005,29 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesCreateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile", "description": "This example demonstrates how to create a new profile", "value": {"name":"MI:Training Processes"} }, - "Example 47": { + "Example 2": { "summary": "Profile with specified guid", "description": "This example demonstrates how to create a new profile with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"MI:Training Processes","guid":"5dc04ef3-fc9b-4c81-ab91-d34630897ada"} + "value": { + "name": "MI:Training Processes", + "guid": "a856e1e4-b5ad-4aa5-ba3c-5ab8c5213c8b" + } }, - "Example 48": { + "Example 3": { "summary": "Full profile", "description": "This example demonstrates how to create a new profile with all of its fields filled out.", - "value": {"description":"#markdown\r\nFor process-oriented users.","homepageUrl":"TrainingProfiles/TrainingProcesses","groupName":"MI:Training Profiles","name":"MI:Training Processes","guid":"7ea20055-7b0f-46c9-9205-86f38aeb8b2e"} + "value": { + "description": "#markdown\r\nFor process-oriented users.", + "homepageUrl": "TrainingProfiles/TrainingProcesses", + "groupName": "MI:Training Profiles", + "name": "MI:Training Processes", + "guid": "9ffb0f27-c2fe-46be-98d4-6f2371cfac0f" + } } } }, @@ -17757,20 +21036,29 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesCreateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile", "description": "This example demonstrates how to create a new profile", "value": {"name":"MI:Training Processes"} }, - "Example 47": { + "Example 2": { "summary": "Profile with specified guid", "description": "This example demonstrates how to create a new profile with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"MI:Training Processes","guid":"5dc04ef3-fc9b-4c81-ab91-d34630897ada"} + "value": { + "name": "MI:Training Processes", + "guid": "a856e1e4-b5ad-4aa5-ba3c-5ab8c5213c8b" + } }, - "Example 48": { + "Example 3": { "summary": "Full profile", "description": "This example demonstrates how to create a new profile with all of its fields filled out.", - "value": {"description":"#markdown\r\nFor process-oriented users.","homepageUrl":"TrainingProfiles/TrainingProcesses","groupName":"MI:Training Profiles","name":"MI:Training Processes","guid":"7ea20055-7b0f-46c9-9205-86f38aeb8b2e"} + "value": { + "description": "#markdown\r\nFor process-oriented users.", + "homepageUrl": "TrainingProfiles/TrainingProcesses", + "groupName": "MI:Training Profiles", + "name": "MI:Training Processes", + "guid": "9ffb0f27-c2fe-46be-98d4-6f2371cfac0f" + } } } }, @@ -17779,20 +21067,29 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesCreateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile", "description": "This example demonstrates how to create a new profile", "value": {"name":"MI:Training Processes"} }, - "Example 47": { + "Example 2": { "summary": "Profile with specified guid", "description": "This example demonstrates how to create a new profile with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"name":"MI:Training Processes","guid":"5dc04ef3-fc9b-4c81-ab91-d34630897ada"} + "value": { + "name": "MI:Training Processes", + "guid": "a856e1e4-b5ad-4aa5-ba3c-5ab8c5213c8b" + } }, - "Example 48": { + "Example 3": { "summary": "Full profile", "description": "This example demonstrates how to create a new profile with all of its fields filled out.", - "value": {"description":"#markdown\r\nFor process-oriented users.","homepageUrl":"TrainingProfiles/TrainingProcesses","groupName":"MI:Training Profiles","name":"MI:Training Processes","guid":"7ea20055-7b0f-46c9-9205-86f38aeb8b2e"} + "value": { + "description": "#markdown\r\nFor process-oriented users.", + "homepageUrl": "TrainingProfiles/TrainingProcesses", + "groupName": "MI:Training Profiles", + "name": "MI:Training Processes", + "guid": "9ffb0f27-c2fe-46be-98d4-6f2371cfac0f" + } } } } @@ -17881,20 +21178,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update a guid", "description": "This example demonstrates how to update the 'Guid' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"41cd6600-f164-4352-acb1-ded882eb3991"} + "value": { + "guid": "e5a04eec-e208-4f47-90d1-605a4fe1bbdf" + } }, - "Example 47": { + "Example 2": { "summary": "Update a name", "description": "This example demonstrates how to update the 'Name' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"name":"MI:Training Metals (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Everything for a profile", "description": "This example demonstrates how to update all properties of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f). Profile tables will be reordered in the order provided. Their values can not be changed. Full list of profiles profileTables must be provided.", - "value": {"description":"#markdown\r\nFor metals-oriented users. (Updated)","homepageUrl":"TrainingProfiles/TrainingMetalsUpdated","profileTableGuids":["81bb4607-e2a3-4c78-81fc-a18a09979c72","a7cb2018-8410-42fd-ac6a-8bc1b441ba6e"],"guid":"06bd2460-0381-4592-b60b-e266b0661997","groupName":"MI:Training Profiles (Updated)","name":"MI:Training Metals"} + "value": { + "description": "#markdown\r\nFor metals-oriented users. (Updated)", + "homepageUrl": "TrainingProfiles/TrainingMetalsUpdated", + "profileTableGuids": [ + "81bb4607-e2a3-4c78-81fc-a18a09979c72", + "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" + ], + "guid": "bce049bb-8f36-44fc-89df-3e4d2bc86398", + "groupName": "MI:Training Profiles (Updated)", + "name": "MI:Training Metals" + } } } }, @@ -17903,20 +21212,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update a guid", "description": "This example demonstrates how to update the 'Guid' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"41cd6600-f164-4352-acb1-ded882eb3991"} + "value": { + "guid": "e5a04eec-e208-4f47-90d1-605a4fe1bbdf" + } }, - "Example 47": { + "Example 2": { "summary": "Update a name", "description": "This example demonstrates how to update the 'Name' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"name":"MI:Training Metals (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Everything for a profile", "description": "This example demonstrates how to update all properties of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f). Profile tables will be reordered in the order provided. Their values can not be changed. Full list of profiles profileTables must be provided.", - "value": {"description":"#markdown\r\nFor metals-oriented users. (Updated)","homepageUrl":"TrainingProfiles/TrainingMetalsUpdated","profileTableGuids":["81bb4607-e2a3-4c78-81fc-a18a09979c72","a7cb2018-8410-42fd-ac6a-8bc1b441ba6e"],"guid":"06bd2460-0381-4592-b60b-e266b0661997","groupName":"MI:Training Profiles (Updated)","name":"MI:Training Metals"} + "value": { + "description": "#markdown\r\nFor metals-oriented users. (Updated)", + "homepageUrl": "TrainingProfiles/TrainingMetalsUpdated", + "profileTableGuids": [ + "81bb4607-e2a3-4c78-81fc-a18a09979c72", + "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" + ], + "guid": "bce049bb-8f36-44fc-89df-3e4d2bc86398", + "groupName": "MI:Training Profiles (Updated)", + "name": "MI:Training Metals" + } } } }, @@ -17925,20 +21246,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update a guid", "description": "This example demonstrates how to update the 'Guid' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"41cd6600-f164-4352-acb1-ded882eb3991"} + "value": { + "guid": "e5a04eec-e208-4f47-90d1-605a4fe1bbdf" + } }, - "Example 47": { + "Example 2": { "summary": "Update a name", "description": "This example demonstrates how to update the 'Name' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"name":"MI:Training Metals (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Everything for a profile", "description": "This example demonstrates how to update all properties of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f). Profile tables will be reordered in the order provided. Their values can not be changed. Full list of profiles profileTables must be provided.", - "value": {"description":"#markdown\r\nFor metals-oriented users. (Updated)","homepageUrl":"TrainingProfiles/TrainingMetalsUpdated","profileTableGuids":["81bb4607-e2a3-4c78-81fc-a18a09979c72","a7cb2018-8410-42fd-ac6a-8bc1b441ba6e"],"guid":"06bd2460-0381-4592-b60b-e266b0661997","groupName":"MI:Training Profiles (Updated)","name":"MI:Training Metals"} + "value": { + "description": "#markdown\r\nFor metals-oriented users. (Updated)", + "homepageUrl": "TrainingProfiles/TrainingMetalsUpdated", + "profileTableGuids": [ + "81bb4607-e2a3-4c78-81fc-a18a09979c72", + "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" + ], + "guid": "bce049bb-8f36-44fc-89df-3e4d2bc86398", + "groupName": "MI:Training Profiles (Updated)", + "name": "MI:Training Metals" + } } } }, @@ -17947,20 +21280,32 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfilesUpdateProfile" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Update a guid", "description": "This example demonstrates how to update the 'Guid' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"41cd6600-f164-4352-acb1-ded882eb3991"} + "value": { + "guid": "e5a04eec-e208-4f47-90d1-605a4fe1bbdf" + } }, - "Example 47": { + "Example 2": { "summary": "Update a name", "description": "This example demonstrates how to update the 'Name' property of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"name":"MI:Training Metals (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Everything for a profile", "description": "This example demonstrates how to update all properties of the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f). Profile tables will be reordered in the order provided. Their values can not be changed. Full list of profiles profileTables must be provided.", - "value": {"description":"#markdown\r\nFor metals-oriented users. (Updated)","homepageUrl":"TrainingProfiles/TrainingMetalsUpdated","profileTableGuids":["81bb4607-e2a3-4c78-81fc-a18a09979c72","a7cb2018-8410-42fd-ac6a-8bc1b441ba6e"],"guid":"06bd2460-0381-4592-b60b-e266b0661997","groupName":"MI:Training Profiles (Updated)","name":"MI:Training Metals"} + "value": { + "description": "#markdown\r\nFor metals-oriented users. (Updated)", + "homepageUrl": "TrainingProfiles/TrainingMetalsUpdated", + "profileTableGuids": [ + "81bb4607-e2a3-4c78-81fc-a18a09979c72", + "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" + ], + "guid": "bce049bb-8f36-44fc-89df-3e4d2bc86398", + "groupName": "MI:Training Profiles (Updated)", + "name": "MI:Training Metals" + } } } } @@ -18084,20 +21429,30 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesCreateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f)", "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e"} }, - "Example 47": { + "Example 2": { "summary": "Profile Table with specified guid", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","guid":"b712f3f5-a740-41e9-aab8-b1274718773c"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "guid": "8cc07606-3568-4874-b70b-de4d15048114" + } }, - "Example 48": { + "Example 3": { "summary": "Full Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with all of its fields filled out.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","subsetGuid":"c2a6b6d0-540c-4927-b861-840644fc3968","layoutGuid":"f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0","guid":"2d4d0369-31b1-4afa-b7d9-dba4a5546e7a"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", + "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", + "guid": "40ce5cb5-245d-45dd-bdc3-79d55a0ec410" + } } } }, @@ -18106,20 +21461,30 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesCreateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f)", "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e"} }, - "Example 47": { + "Example 2": { "summary": "Profile Table with specified guid", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","guid":"b712f3f5-a740-41e9-aab8-b1274718773c"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "guid": "8cc07606-3568-4874-b70b-de4d15048114" + } }, - "Example 48": { + "Example 3": { "summary": "Full Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with all of its fields filled out.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","subsetGuid":"c2a6b6d0-540c-4927-b861-840644fc3968","layoutGuid":"f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0","guid":"2d4d0369-31b1-4afa-b7d9-dba4a5546e7a"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", + "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", + "guid": "40ce5cb5-245d-45dd-bdc3-79d55a0ec410" + } } } }, @@ -18128,20 +21493,30 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesCreateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f)", "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e"} }, - "Example 47": { + "Example 2": { "summary": "Profile Table with specified guid", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","guid":"b712f3f5-a740-41e9-aab8-b1274718773c"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "guid": "8cc07606-3568-4874-b70b-de4d15048114" + } }, - "Example 48": { + "Example 3": { "summary": "Full Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with all of its fields filled out.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","subsetGuid":"c2a6b6d0-540c-4927-b861-840644fc3968","layoutGuid":"f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0","guid":"2d4d0369-31b1-4afa-b7d9-dba4a5546e7a"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", + "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", + "guid": "40ce5cb5-245d-45dd-bdc3-79d55a0ec410" + } } } }, @@ -18150,20 +21525,30 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesCreateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f)", "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e"} }, - "Example 47": { + "Example 2": { "summary": "Profile Table with specified guid", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","guid":"b712f3f5-a740-41e9-aab8-b1274718773c"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "guid": "8cc07606-3568-4874-b70b-de4d15048114" + } }, - "Example 48": { + "Example 3": { "summary": "Full Profile Table", "description": "This example demonstrates how to create a new profile table for the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f) with all of its fields filled out.", - "value": {"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","tableGuid":"bc666ac6-8ac6-482b-9a16-502e6ab3730e","subsetGuid":"c2a6b6d0-540c-4927-b861-840644fc3968","layoutGuid":"f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0","guid":"2d4d0369-31b1-4afa-b7d9-dba4a5546e7a"} + "value": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", + "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", + "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", + "guid": "40ce5cb5-245d-45dd-bdc3-79d55a0ec410" + } } } } @@ -18273,20 +21658,26 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesUpdateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a profile table", "description": "This example shows how to update all properties of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","layoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","guid":"8a2f6da0-ec18-4ac9-9a5b-b337da8a6fc9"} + "value": { + "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "guid": "0694d977-3737-4eae-94f6-8265d9b79d85" + } }, - "Example 47": { + "Example 2": { "summary": "Remove subset and layout", "description": "This example shows how to remove the 'Subset' and 'Layout' properties from the 'Design Data' profile table (guid = 2aa49cb3-19a4-44e3-a389-278123c96631) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"subsetGuid":null,"layoutGuid":null} }, - "Example 48": { + "Example 3": { "summary": "Just guid", "description": "This example shows how to update the 'Guid' property of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"891c5f17-253a-4c80-8184-c86bf43c4dcc"} + "value": { + "guid": "996e33ee-6fb8-4372-b065-3ba601895f00" + } } } }, @@ -18295,20 +21686,26 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesUpdateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a profile table", "description": "This example shows how to update all properties of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","layoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","guid":"8a2f6da0-ec18-4ac9-9a5b-b337da8a6fc9"} + "value": { + "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "guid": "0694d977-3737-4eae-94f6-8265d9b79d85" + } }, - "Example 47": { + "Example 2": { "summary": "Remove subset and layout", "description": "This example shows how to remove the 'Subset' and 'Layout' properties from the 'Design Data' profile table (guid = 2aa49cb3-19a4-44e3-a389-278123c96631) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"subsetGuid":null,"layoutGuid":null} }, - "Example 48": { + "Example 3": { "summary": "Just guid", "description": "This example shows how to update the 'Guid' property of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"891c5f17-253a-4c80-8184-c86bf43c4dcc"} + "value": { + "guid": "996e33ee-6fb8-4372-b065-3ba601895f00" + } } } }, @@ -18317,20 +21714,26 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesUpdateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a profile table", "description": "This example shows how to update all properties of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","layoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","guid":"8a2f6da0-ec18-4ac9-9a5b-b337da8a6fc9"} + "value": { + "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "guid": "0694d977-3737-4eae-94f6-8265d9b79d85" + } }, - "Example 47": { + "Example 2": { "summary": "Remove subset and layout", "description": "This example shows how to remove the 'Subset' and 'Layout' properties from the 'Design Data' profile table (guid = 2aa49cb3-19a4-44e3-a389-278123c96631) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"subsetGuid":null,"layoutGuid":null} }, - "Example 48": { + "Example 3": { "summary": "Just guid", "description": "This example shows how to update the 'Guid' property of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"891c5f17-253a-4c80-8184-c86bf43c4dcc"} + "value": { + "guid": "996e33ee-6fb8-4372-b065-3ba601895f00" + } } } }, @@ -18339,20 +21742,26 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaProfileTablesUpdateProfileTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a profile table", "description": "This example shows how to update all properties of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","layoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","guid":"8a2f6da0-ec18-4ac9-9a5b-b337da8a6fc9"} + "value": { + "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "guid": "0694d977-3737-4eae-94f6-8265d9b79d85" + } }, - "Example 47": { + "Example 2": { "summary": "Remove subset and layout", "description": "This example shows how to remove the 'Subset' and 'Layout' properties from the 'Design Data' profile table (guid = 2aa49cb3-19a4-44e3-a389-278123c96631) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", "value": {"subsetGuid":null,"layoutGuid":null} }, - "Example 48": { + "Example 3": { "summary": "Just guid", "description": "This example shows how to update the 'Guid' property of the 'MaterialUniverse' profile table (guid = a7cb2018-8410-42fd-ac6a-8bc1b441ba6e) from the 'MI:Training Metals' profile (guid = f76e3ce8-608a-42da-8d99-f0009dac966f).", - "value": {"guid":"891c5f17-253a-4c80-8184-c86bf43c4dcc"} + "value": { + "guid": "996e33ee-6fb8-4372-b065-3ba601895f00" + } } } } @@ -18478,7 +21887,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo" }, - "example": {"recordLinkGroups":[{"identity":115,"type":"static","reverseName":"Training Exercise","reverseDisplayNames":{},"displayNames":{},"name":"MaterialUniverse","guid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"},{"identity":3,"type":"dynamic","reverseName":"Smart Link to Training Record","reverseDisplayNames":{"en":"en-Smart Link to Training Record","fr":"fr-Smart Link to Training Record"},"displayNames":{"en":"en-Smart Link to MaterialUniverse","fr":"fr-Smart Link to MaterialUniverse"},"name":"Smart Link to MaterialUniverse","guid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"},{"identity":1,"type":"crossDatabase","reverseName":"Second Training Database And Table - MI Training Exercise for Import","reverseDisplayNames":{},"displayNames":{},"name":"MI Training Exercise for Import - Second Training Database And Table","guid":"ab25659b-3346-4938-b2c9-e0e4c5db690a"}]} + "example": { + "recordLinkGroups": [ + { + "identity": 115, + "type": "static", + "reverseName": "Training Exercise", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "MaterialUniverse", + "guid": "00e07ec0-695e-4ca3-bf1d-3bbeef126949" + }, + { + "identity": 3, + "type": "dynamic", + "reverseName": "Smart Link to Training Record", + "reverseDisplayNames": { + "en": "en-Smart Link to Training Record", + "fr": "fr-Smart Link to Training Record" + }, + "displayNames": { + "en": "en-Smart Link to MaterialUniverse", + "fr": "fr-Smart Link to MaterialUniverse" + }, + "name": "Smart Link to MaterialUniverse", + "guid": "7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66" + }, + { + "identity": 1, + "type": "crossDatabase", + "reverseName": "Second Training Database And Table - MI Training Exercise for Import", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "MI Training Exercise for Import - Second Training Database And Table", + "guid": "3a6a6cc0-0032-4c8e-907e-e16a14844b2b" + } + ] + } } } }, @@ -18519,35 +21964,86 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Static record link group", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself.", "value": {"type":"static","includeIndirectLinks":false,"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static self link reversed","name":"Material Universe static self link"} }, - "Example 92": { + "Example 2": { "summary": "Static record link group with specified guid", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"static","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static link","name":"Process Universe static link","guid":"eb56b3d4-5061-46a9-8322-c53817c8b728"} + "value": { + "type": "static", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe static link", + "name": "Process Universe static link", + "guid": "31bcd8f7-0cea-465e-bfd5-5ad7dc63cbd5" + } }, - "Example 93": { + "Example 3": { "summary": "Cross database record link group", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to a table in different databases. Since no database guid is specified this will link to all databases containing this table.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkTarget":{"tableGuid":"f37d9d67-e75c-4217-992d-54b6c83ddd9d"},"reverseName":"Cross database link to Material Universe","name":"Cross database link from Material Universe"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkTarget": { + "tableGuid": "7563afa6-294c-43dd-b382-de725ffeda04" + }, + "reverseName": "Cross database link to Material Universe", + "name": "Cross database link from Material Universe" + } }, - "Example 94": { + "Example 4": { "summary": "Cross database record link group with specified guid and target database guid", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to a table in different database. Since the database guid is specified it will link to all versions of that specific database.", - "value": {"type":"crossDatabase","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"7ea0228a-dcb7-450c-8369-7e21993bf460","tableGuid":"7648ccb6-d213-41a9-af30-49410b8ff531"},"reverseName":"Cross database link to MI Training - Material Universe","name":"Cross database link from MI Training - Material Universe","guid":"06622032-b6c9-4d05-ad80-8145a0c32847"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "0e415ef1-1a57-4fed-9e78-f2c71c1424c3", + "tableGuid": "d154b59c-a983-4ccc-98ce-8d94a4117932" + }, + "reverseName": "Cross database link to MI Training - Material Universe", + "name": "Cross database link from MI Training - Material Universe", + "guid": "d826aafb-6904-4dfd-8475-0c56cf971189" + } }, - "Example 95": { + "Example 5": { "summary": "Dynamic record link group", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself. Created link will have 'One to One' referential integrity model and will allow orphans.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"000002cf-0001-4fff-8fff-dd92ffff0000"}],"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic self link reversed","name":"Material Universe dynamic self link"} }, - "Example 96": { + "Example 6": { "summary": "Dynamic record link group with all fields specified", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid, referential integrity model and forbid orphans flag. If the guid is not specified a random new Guid will be generated. If referential integrity model is not specified it defaults to 'One to One' model. If forbid orphans flag is not specified it defaults to allowing them. This link group will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"dynamic","forbidOrphans":true,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"00000079-0001-4fff-8fff-3248ffff0000"},{"attributeSourceGuid":"0000007c-0001-4fff-8fff-dd92ffff0000","attributeTargetGuid":"000000cf-0001-4fff-8fff-3248ffff0000"}],"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic link","name":"Process Universe dynamic link","guid":"5edb6ae3-52bf-455d-9c87-2b1906b4d6e3"} + "value": { + "type": "dynamic", + "forbidOrphans": true, + "referentialIntegrityModel": "oneToMany", + "attributePairs": [ + { + "attributeSourceGuid": "bd489a13-97ee-4933-a677-7a18513e0997", + "attributeTargetGuid": "00000079-0001-4fff-8fff-3248ffff0000" + }, + { + "attributeSourceGuid": "0000007c-0001-4fff-8fff-dd92ffff0000", + "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" + } + ], + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic link", + "name": "Process Universe dynamic link", + "guid": "5657114b-0bc8-4861-89d5-76d5b57ead8f" + } } } }, @@ -18556,35 +22052,86 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Static record link group", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself.", "value": {"type":"static","includeIndirectLinks":false,"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static self link reversed","name":"Material Universe static self link"} }, - "Example 92": { + "Example 2": { "summary": "Static record link group with specified guid", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"static","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static link","name":"Process Universe static link","guid":"eb56b3d4-5061-46a9-8322-c53817c8b728"} + "value": { + "type": "static", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe static link", + "name": "Process Universe static link", + "guid": "31bcd8f7-0cea-465e-bfd5-5ad7dc63cbd5" + } }, - "Example 93": { + "Example 3": { "summary": "Cross database record link group", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to a table in different databases. Since no database guid is specified this will link to all databases containing this table.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkTarget":{"tableGuid":"f37d9d67-e75c-4217-992d-54b6c83ddd9d"},"reverseName":"Cross database link to Material Universe","name":"Cross database link from Material Universe"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkTarget": { + "tableGuid": "7563afa6-294c-43dd-b382-de725ffeda04" + }, + "reverseName": "Cross database link to Material Universe", + "name": "Cross database link from Material Universe" + } }, - "Example 94": { + "Example 4": { "summary": "Cross database record link group with specified guid and target database guid", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to a table in different database. Since the database guid is specified it will link to all versions of that specific database.", - "value": {"type":"crossDatabase","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"7ea0228a-dcb7-450c-8369-7e21993bf460","tableGuid":"7648ccb6-d213-41a9-af30-49410b8ff531"},"reverseName":"Cross database link to MI Training - Material Universe","name":"Cross database link from MI Training - Material Universe","guid":"06622032-b6c9-4d05-ad80-8145a0c32847"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "0e415ef1-1a57-4fed-9e78-f2c71c1424c3", + "tableGuid": "d154b59c-a983-4ccc-98ce-8d94a4117932" + }, + "reverseName": "Cross database link to MI Training - Material Universe", + "name": "Cross database link from MI Training - Material Universe", + "guid": "d826aafb-6904-4dfd-8475-0c56cf971189" + } }, - "Example 95": { + "Example 5": { "summary": "Dynamic record link group", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself. Created link will have 'One to One' referential integrity model and will allow orphans.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"000002cf-0001-4fff-8fff-dd92ffff0000"}],"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic self link reversed","name":"Material Universe dynamic self link"} }, - "Example 96": { + "Example 6": { "summary": "Dynamic record link group with all fields specified", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid, referential integrity model and forbid orphans flag. If the guid is not specified a random new Guid will be generated. If referential integrity model is not specified it defaults to 'One to One' model. If forbid orphans flag is not specified it defaults to allowing them. This link group will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"dynamic","forbidOrphans":true,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"00000079-0001-4fff-8fff-3248ffff0000"},{"attributeSourceGuid":"0000007c-0001-4fff-8fff-dd92ffff0000","attributeTargetGuid":"000000cf-0001-4fff-8fff-3248ffff0000"}],"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic link","name":"Process Universe dynamic link","guid":"5edb6ae3-52bf-455d-9c87-2b1906b4d6e3"} + "value": { + "type": "dynamic", + "forbidOrphans": true, + "referentialIntegrityModel": "oneToMany", + "attributePairs": [ + { + "attributeSourceGuid": "bd489a13-97ee-4933-a677-7a18513e0997", + "attributeTargetGuid": "00000079-0001-4fff-8fff-3248ffff0000" + }, + { + "attributeSourceGuid": "0000007c-0001-4fff-8fff-dd92ffff0000", + "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" + } + ], + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic link", + "name": "Process Universe dynamic link", + "guid": "5657114b-0bc8-4861-89d5-76d5b57ead8f" + } } } }, @@ -18593,35 +22140,86 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Static record link group", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself.", "value": {"type":"static","includeIndirectLinks":false,"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static self link reversed","name":"Material Universe static self link"} }, - "Example 92": { + "Example 2": { "summary": "Static record link group with specified guid", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"static","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static link","name":"Process Universe static link","guid":"eb56b3d4-5061-46a9-8322-c53817c8b728"} + "value": { + "type": "static", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe static link", + "name": "Process Universe static link", + "guid": "31bcd8f7-0cea-465e-bfd5-5ad7dc63cbd5" + } }, - "Example 93": { + "Example 3": { "summary": "Cross database record link group", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to a table in different databases. Since no database guid is specified this will link to all databases containing this table.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkTarget":{"tableGuid":"f37d9d67-e75c-4217-992d-54b6c83ddd9d"},"reverseName":"Cross database link to Material Universe","name":"Cross database link from Material Universe"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkTarget": { + "tableGuid": "7563afa6-294c-43dd-b382-de725ffeda04" + }, + "reverseName": "Cross database link to Material Universe", + "name": "Cross database link from Material Universe" + } }, - "Example 94": { + "Example 4": { "summary": "Cross database record link group with specified guid and target database guid", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to a table in different database. Since the database guid is specified it will link to all versions of that specific database.", - "value": {"type":"crossDatabase","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"7ea0228a-dcb7-450c-8369-7e21993bf460","tableGuid":"7648ccb6-d213-41a9-af30-49410b8ff531"},"reverseName":"Cross database link to MI Training - Material Universe","name":"Cross database link from MI Training - Material Universe","guid":"06622032-b6c9-4d05-ad80-8145a0c32847"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "0e415ef1-1a57-4fed-9e78-f2c71c1424c3", + "tableGuid": "d154b59c-a983-4ccc-98ce-8d94a4117932" + }, + "reverseName": "Cross database link to MI Training - Material Universe", + "name": "Cross database link from MI Training - Material Universe", + "guid": "d826aafb-6904-4dfd-8475-0c56cf971189" + } }, - "Example 95": { + "Example 5": { "summary": "Dynamic record link group", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself. Created link will have 'One to One' referential integrity model and will allow orphans.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"000002cf-0001-4fff-8fff-dd92ffff0000"}],"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic self link reversed","name":"Material Universe dynamic self link"} }, - "Example 96": { + "Example 6": { "summary": "Dynamic record link group with all fields specified", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid, referential integrity model and forbid orphans flag. If the guid is not specified a random new Guid will be generated. If referential integrity model is not specified it defaults to 'One to One' model. If forbid orphans flag is not specified it defaults to allowing them. This link group will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"dynamic","forbidOrphans":true,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"00000079-0001-4fff-8fff-3248ffff0000"},{"attributeSourceGuid":"0000007c-0001-4fff-8fff-dd92ffff0000","attributeTargetGuid":"000000cf-0001-4fff-8fff-3248ffff0000"}],"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic link","name":"Process Universe dynamic link","guid":"5edb6ae3-52bf-455d-9c87-2b1906b4d6e3"} + "value": { + "type": "dynamic", + "forbidOrphans": true, + "referentialIntegrityModel": "oneToMany", + "attributePairs": [ + { + "attributeSourceGuid": "bd489a13-97ee-4933-a677-7a18513e0997", + "attributeTargetGuid": "00000079-0001-4fff-8fff-3248ffff0000" + }, + { + "attributeSourceGuid": "0000007c-0001-4fff-8fff-dd92ffff0000", + "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" + } + ], + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic link", + "name": "Process Universe dynamic link", + "guid": "5657114b-0bc8-4861-89d5-76d5b57ead8f" + } } } }, @@ -18630,35 +22228,86 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsCreateRecordLinkGroup" }, "examples": { - "Example 91": { + "Example 1": { "summary": "Static record link group", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself.", "value": {"type":"static","includeIndirectLinks":false,"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static self link reversed","name":"Material Universe static self link"} }, - "Example 92": { + "Example 2": { "summary": "Static record link group with specified guid", "description": "This example demonstrates how to create a new static record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"static","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe static link","name":"Process Universe static link","guid":"eb56b3d4-5061-46a9-8322-c53817c8b728"} + "value": { + "type": "static", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe static link", + "name": "Process Universe static link", + "guid": "31bcd8f7-0cea-465e-bfd5-5ad7dc63cbd5" + } }, - "Example 93": { + "Example 3": { "summary": "Cross database record link group", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to a table in different databases. Since no database guid is specified this will link to all databases containing this table.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkTarget":{"tableGuid":"f37d9d67-e75c-4217-992d-54b6c83ddd9d"},"reverseName":"Cross database link to Material Universe","name":"Cross database link from Material Universe"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkTarget": { + "tableGuid": "7563afa6-294c-43dd-b382-de725ffeda04" + }, + "reverseName": "Cross database link to Material Universe", + "name": "Cross database link from Material Universe" + } }, - "Example 94": { + "Example 4": { "summary": "Cross database record link group with specified guid and target database guid", "description": "This example demonstrates how to create a new cross database record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid. Normally, if the guid is not specified, a random new Guid will be generated. This will link from 'MaterialUniverse' table to a table in different database. Since the database guid is specified it will link to all versions of that specific database.", - "value": {"type":"crossDatabase","includeIndirectLinks":true,"linkTarget":{"databaseGuid":"7ea0228a-dcb7-450c-8369-7e21993bf460","tableGuid":"7648ccb6-d213-41a9-af30-49410b8ff531"},"reverseName":"Cross database link to MI Training - Material Universe","name":"Cross database link from MI Training - Material Universe","guid":"06622032-b6c9-4d05-ad80-8145a0c32847"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": true, + "linkTarget": { + "databaseGuid": "0e415ef1-1a57-4fed-9e78-f2c71c1424c3", + "tableGuid": "d154b59c-a983-4ccc-98ce-8d94a4117932" + }, + "reverseName": "Cross database link to MI Training - Material Universe", + "name": "Cross database link from MI Training - Material Universe", + "guid": "d826aafb-6904-4dfd-8475-0c56cf971189" + } }, - "Example 95": { + "Example 5": { "summary": "Dynamic record link group", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000'). This will link from 'MaterialUniverse' table to itself. Created link will have 'One to One' referential integrity model and will allow orphans.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"000002cf-0001-4fff-8fff-dd92ffff0000"}],"linkTarget":{"tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic self link reversed","name":"Material Universe dynamic self link"} }, - "Example 96": { + "Example 6": { "summary": "Dynamic record link group with all fields specified", "description": "This example demonstrates how to create a new dynamic record link group for the MI_Training database in 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') with a specified guid, referential integrity model and forbid orphans flag. If the guid is not specified a random new Guid will be generated. If referential integrity model is not specified it defaults to 'One to One' model. If forbid orphans flag is not specified it defaults to allowing them. This link group will link from 'MaterialUniverse' table to 'ProcessUniverse' table", - "value": {"type":"dynamic","forbidOrphans":true,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSourceGuid":"bd489a13-97ee-4933-a677-7a18513e0997","attributeTargetGuid":"00000079-0001-4fff-8fff-3248ffff0000"},{"attributeSourceGuid":"0000007c-0001-4fff-8fff-dd92ffff0000","attributeTargetGuid":"000000cf-0001-4fff-8fff-3248ffff0000"}],"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"00003248-0011-4fff-8fff-0000ffff0000"},"reverseName":"Material Universe dynamic link","name":"Process Universe dynamic link","guid":"5edb6ae3-52bf-455d-9c87-2b1906b4d6e3"} + "value": { + "type": "dynamic", + "forbidOrphans": true, + "referentialIntegrityModel": "oneToMany", + "attributePairs": [ + { + "attributeSourceGuid": "bd489a13-97ee-4933-a677-7a18513e0997", + "attributeTargetGuid": "00000079-0001-4fff-8fff-3248ffff0000" + }, + { + "attributeSourceGuid": "0000007c-0001-4fff-8fff-dd92ffff0000", + "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" + } + ], + "linkTarget": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic link", + "name": "Process Universe dynamic link", + "guid": "5657114b-0bc8-4861-89d5-76d5b57ead8f" + } } } } @@ -18673,17 +22322,37 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup" }, "examples": { - "Example 139": { + "Example 4": { "summary": "Static record link group", "description": "This example demonstrates the returned value from getting a 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from MI_Training database.", "value": {"type":"static","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"c9954321-b4d4-4443-949e-f9b161e2c8fb"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"73d8f19a-38df-4144-964d-cc1448d38ebb"}},"identity":125,"reverseName":"Fatigue Statistical Data","reverseDisplayNames":{},"displayNames":{},"name":"Fatigue Test Data","guid":"485da78d-d094-4edb-a5a9-077fe1bc02f2"} }, - "Example 140": { + "Example 5": { "summary": "Cross database record link group", "description": "This example demonstrates the returned value from getting a cross database record link group from 'MaterialUniverse' table from MI_Training database.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"linkTarget":{"databaseGuid":"f693fc39-754d-49f3-b543-6824c8056ff1","tableGuid":"dd6d0ffc-1841-4fcb-93b1-c150df237176"}},"identity":1,"reverseName":"MI Training - MaterialUniverse","reverseDisplayNames":{},"displayNames":{},"name":"Different database - different table","guid":"7b857048-c009-4eb0-bc1e-e5c514e36900"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkInfo": { + "linkSource": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "linkTarget": { + "databaseGuid": "bfdcfbc6-770a-458b-8a7c-ae7e88a3a2cd", + "tableGuid": "e0916c54-1938-4bee-8339-e6ee492d6f7a" + } + }, + "identity": 1, + "reverseName": "MI Training - MaterialUniverse", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "Different database - different table", + "guid": "fe03d00d-1793-48fa-8a97-98fa3968aa5f" + } }, - "Example 141": { + "Example 6": { "summary": "Dynamic record link group", "description": "This example demonstrates the returned value from getting a 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSource":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"6e50a7a8-a759-44c9-b151-215a07949c1f"},"attributeTarget":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"}}],"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"7db2ff8e-54ed-45d6-b522-e03c8be405b3"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333"}},"identity":8,"reverseName":"Further panel information","reverseDisplayNames":{},"displayNames":{},"name":"Tensile test data","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"} @@ -18762,7 +22431,43 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroupsInfo" }, - "example": {"recordLinkGroups":[{"identity":115,"type":"static","reverseName":"Training Exercise","reverseDisplayNames":{},"displayNames":{},"name":"MaterialUniverse","guid":"00e07ec0-695e-4ca3-bf1d-3bbeef126949"},{"identity":3,"type":"dynamic","reverseName":"Smart Link to Training Record","reverseDisplayNames":{"en":"en-Smart Link to Training Record","fr":"fr-Smart Link to Training Record"},"displayNames":{"en":"en-Smart Link to MaterialUniverse","fr":"fr-Smart Link to MaterialUniverse"},"name":"Smart Link to MaterialUniverse","guid":"7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66"},{"identity":1,"type":"crossDatabase","reverseName":"MI Training MaterialUniverse - Second Training Database And Table","reverseDisplayNames":{},"displayNames":{},"name":"Second Training Database And Table - MI Training MaterialUniverse","guid":"3d5724d6-eb0f-4440-b3f9-3d30cf539f8b"}]} + "example": { + "recordLinkGroups": [ + { + "identity": 115, + "type": "static", + "reverseName": "Training Exercise", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "MaterialUniverse", + "guid": "00e07ec0-695e-4ca3-bf1d-3bbeef126949" + }, + { + "identity": 3, + "type": "dynamic", + "reverseName": "Smart Link to Training Record", + "reverseDisplayNames": { + "en": "en-Smart Link to Training Record", + "fr": "fr-Smart Link to Training Record" + }, + "displayNames": { + "en": "en-Smart Link to MaterialUniverse", + "fr": "fr-Smart Link to MaterialUniverse" + }, + "name": "Smart Link to MaterialUniverse", + "guid": "7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66" + }, + { + "identity": 1, + "type": "crossDatabase", + "reverseName": "MI Training MaterialUniverse - Second Training Database And Table", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "Second Training Database And Table - MI Training MaterialUniverse", + "guid": "52b820f9-b827-4029-bdfc-6a0cdf5c90ae" + } + ] + } } } }, @@ -18854,17 +22559,37 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Static record link group", "description": "This example demonstrates the returned value from getting a 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from MI_Training database.", "value": {"type":"static","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"c9954321-b4d4-4443-949e-f9b161e2c8fb"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"73d8f19a-38df-4144-964d-cc1448d38ebb"}},"identity":125,"reverseName":"Fatigue Statistical Data","reverseDisplayNames":{},"displayNames":{},"name":"Fatigue Test Data","guid":"485da78d-d094-4edb-a5a9-077fe1bc02f2"} }, - "Example 47": { + "Example 2": { "summary": "Cross database record link group", "description": "This example demonstrates the returned value from getting a cross database record link group from 'MaterialUniverse' table from MI_Training database.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"linkTarget":{"databaseGuid":"31ec22cc-633f-48cd-afb8-5e0d6f5dcb3b","tableGuid":"b094687b-074f-472b-bded-d9363662d240"}},"identity":1,"reverseName":"MI Training - MaterialUniverse","reverseDisplayNames":{},"displayNames":{},"name":"Different database - different table","guid":"925f726b-328c-49cd-8927-4c4a3d09590a"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkInfo": { + "linkSource": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "linkTarget": { + "databaseGuid": "fcf91831-7a47-4907-89fa-f1ddf2edf68f", + "tableGuid": "e2e9641b-542f-48c0-a580-e715a47ae5fb" + } + }, + "identity": 1, + "reverseName": "MI Training - MaterialUniverse", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "Different database - different table", + "guid": "f6fb8e2f-080f-4fff-9c7b-be821408c3b7" + } }, - "Example 48": { + "Example 3": { "summary": "Dynamic record link group", "description": "This example demonstrates the returned value from getting a 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSource":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"6e50a7a8-a759-44c9-b151-215a07949c1f"},"attributeTarget":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"}}],"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"7db2ff8e-54ed-45d6-b522-e03c8be405b3"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333"}},"identity":8,"reverseName":"Further panel information","reverseDisplayNames":{},"displayNames":{},"name":"Tensile test data","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"} @@ -18981,30 +22706,62 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"type":"static","guid":"87398dff-ecc8-494a-ae7d-b36d7512cb6b"} + "value": { + "type": "static", + "guid": "793139d9-9be4-49cf-83ee-7f0020480720" + } }, - "Example 77": { + "Example 2": { "summary": "Update name and reverse name", "description": "This example demonstrates how to update the 'Name' and 'Reverse name' properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", "value": {"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)"} }, - "Example 78": { + "Example 3": { "summary": "Update everything for static record link group", "description": "This example demonstrates how to update all properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)","guid":"c7c784ef-8f51-46e7-8fb4-ad11979c445b"} + "value": { + "includeIndirectLinks": true, + "type": "static", + "reverseName": "Fatigue Statistical Data (updated)", + "name": "Fatigue Test Data (updated)", + "guid": "a7c251da-d729-4b3a-ac71-606b7b7b33a0" + } }, - "Example 79": { + "Example 4": { "summary": "Update everything for cross database record link group", "description": "This example demonstrates how to update all properties of cross database record link group from the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"crossDatabase","reverseName":"Link To MI Training - Material Universe (Updated)","name":"Link From MI Training - Material Universe (Updated)","guid":"1fe2f6ae-cc4d-4147-8620-131ab752da66"} + "value": { + "includeIndirectLinks": true, + "type": "crossDatabase", + "reverseName": "Link To MI Training - Material Universe (Updated)", + "name": "Link From MI Training - Material Universe (Updated)", + "guid": "595753ac-d42d-4913-947e-8700dcf973dc" + } }, - "Example 80": { + "Example 5": { "summary": "Update everything for dynamic record link group", "description": "This example demonstrates how to update all properties of 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from the 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from the MI_Training database.", - "value": {"forbidOrphans":true,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"6e50a7a8-a759-44c9-b151-215a07949c1f","attributeTargetGuid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"},{"attributeSourceGuid":"1228c02f-25e7-4748-bcfa-038c334c73e4","attributeTargetGuid":"61796104-14e0-4d59-bdba-22a9277f4775"}],"type":"dynamic","reverseName":"Further panel information (Updated)","name":"Tensile test data (Updated)","guid":"6efe0827-c548-402f-8bf1-78163c979e94"} + "value": { + "forbidOrphans": true, + "referentialIntegrityModel": "oneToOne", + "attributePairs": [ + { + "attributeSourceGuid": "6e50a7a8-a759-44c9-b151-215a07949c1f", + "attributeTargetGuid": "ab0ddcf2-d73e-44b1-9e69-383a7374edf7" + }, + { + "attributeSourceGuid": "1228c02f-25e7-4748-bcfa-038c334c73e4", + "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" + } + ], + "type": "dynamic", + "reverseName": "Further panel information (Updated)", + "name": "Tensile test data (Updated)", + "guid": "e99cb34a-3297-420d-bdfd-330a175b09bf" + } } } }, @@ -19013,30 +22770,62 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"type":"static","guid":"87398dff-ecc8-494a-ae7d-b36d7512cb6b"} + "value": { + "type": "static", + "guid": "793139d9-9be4-49cf-83ee-7f0020480720" + } }, - "Example 77": { + "Example 2": { "summary": "Update name and reverse name", "description": "This example demonstrates how to update the 'Name' and 'Reverse name' properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", "value": {"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)"} }, - "Example 78": { + "Example 3": { "summary": "Update everything for static record link group", "description": "This example demonstrates how to update all properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)","guid":"c7c784ef-8f51-46e7-8fb4-ad11979c445b"} + "value": { + "includeIndirectLinks": true, + "type": "static", + "reverseName": "Fatigue Statistical Data (updated)", + "name": "Fatigue Test Data (updated)", + "guid": "a7c251da-d729-4b3a-ac71-606b7b7b33a0" + } }, - "Example 79": { + "Example 4": { "summary": "Update everything for cross database record link group", "description": "This example demonstrates how to update all properties of cross database record link group from the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"crossDatabase","reverseName":"Link To MI Training - Material Universe (Updated)","name":"Link From MI Training - Material Universe (Updated)","guid":"1fe2f6ae-cc4d-4147-8620-131ab752da66"} + "value": { + "includeIndirectLinks": true, + "type": "crossDatabase", + "reverseName": "Link To MI Training - Material Universe (Updated)", + "name": "Link From MI Training - Material Universe (Updated)", + "guid": "595753ac-d42d-4913-947e-8700dcf973dc" + } }, - "Example 80": { + "Example 5": { "summary": "Update everything for dynamic record link group", "description": "This example demonstrates how to update all properties of 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from the 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from the MI_Training database.", - "value": {"forbidOrphans":true,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"6e50a7a8-a759-44c9-b151-215a07949c1f","attributeTargetGuid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"},{"attributeSourceGuid":"1228c02f-25e7-4748-bcfa-038c334c73e4","attributeTargetGuid":"61796104-14e0-4d59-bdba-22a9277f4775"}],"type":"dynamic","reverseName":"Further panel information (Updated)","name":"Tensile test data (Updated)","guid":"6efe0827-c548-402f-8bf1-78163c979e94"} + "value": { + "forbidOrphans": true, + "referentialIntegrityModel": "oneToOne", + "attributePairs": [ + { + "attributeSourceGuid": "6e50a7a8-a759-44c9-b151-215a07949c1f", + "attributeTargetGuid": "ab0ddcf2-d73e-44b1-9e69-383a7374edf7" + }, + { + "attributeSourceGuid": "1228c02f-25e7-4748-bcfa-038c334c73e4", + "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" + } + ], + "type": "dynamic", + "reverseName": "Further panel information (Updated)", + "name": "Tensile test data (Updated)", + "guid": "e99cb34a-3297-420d-bdfd-330a175b09bf" + } } } }, @@ -19045,30 +22834,62 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"type":"static","guid":"87398dff-ecc8-494a-ae7d-b36d7512cb6b"} + "value": { + "type": "static", + "guid": "793139d9-9be4-49cf-83ee-7f0020480720" + } }, - "Example 77": { + "Example 2": { "summary": "Update name and reverse name", "description": "This example demonstrates how to update the 'Name' and 'Reverse name' properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", "value": {"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)"} }, - "Example 78": { + "Example 3": { "summary": "Update everything for static record link group", "description": "This example demonstrates how to update all properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)","guid":"c7c784ef-8f51-46e7-8fb4-ad11979c445b"} + "value": { + "includeIndirectLinks": true, + "type": "static", + "reverseName": "Fatigue Statistical Data (updated)", + "name": "Fatigue Test Data (updated)", + "guid": "a7c251da-d729-4b3a-ac71-606b7b7b33a0" + } }, - "Example 79": { + "Example 4": { "summary": "Update everything for cross database record link group", "description": "This example demonstrates how to update all properties of cross database record link group from the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"crossDatabase","reverseName":"Link To MI Training - Material Universe (Updated)","name":"Link From MI Training - Material Universe (Updated)","guid":"1fe2f6ae-cc4d-4147-8620-131ab752da66"} + "value": { + "includeIndirectLinks": true, + "type": "crossDatabase", + "reverseName": "Link To MI Training - Material Universe (Updated)", + "name": "Link From MI Training - Material Universe (Updated)", + "guid": "595753ac-d42d-4913-947e-8700dcf973dc" + } }, - "Example 80": { + "Example 5": { "summary": "Update everything for dynamic record link group", "description": "This example demonstrates how to update all properties of 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from the 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from the MI_Training database.", - "value": {"forbidOrphans":true,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"6e50a7a8-a759-44c9-b151-215a07949c1f","attributeTargetGuid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"},{"attributeSourceGuid":"1228c02f-25e7-4748-bcfa-038c334c73e4","attributeTargetGuid":"61796104-14e0-4d59-bdba-22a9277f4775"}],"type":"dynamic","reverseName":"Further panel information (Updated)","name":"Tensile test data (Updated)","guid":"6efe0827-c548-402f-8bf1-78163c979e94"} + "value": { + "forbidOrphans": true, + "referentialIntegrityModel": "oneToOne", + "attributePairs": [ + { + "attributeSourceGuid": "6e50a7a8-a759-44c9-b151-215a07949c1f", + "attributeTargetGuid": "ab0ddcf2-d73e-44b1-9e69-383a7374edf7" + }, + { + "attributeSourceGuid": "1228c02f-25e7-4748-bcfa-038c334c73e4", + "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" + } + ], + "type": "dynamic", + "reverseName": "Further panel information (Updated)", + "name": "Tensile test data (Updated)", + "guid": "e99cb34a-3297-420d-bdfd-330a175b09bf" + } } } }, @@ -19077,30 +22898,62 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsUpdateRecordLinkGroup" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"type":"static","guid":"87398dff-ecc8-494a-ae7d-b36d7512cb6b"} + "value": { + "type": "static", + "guid": "793139d9-9be4-49cf-83ee-7f0020480720" + } }, - "Example 77": { + "Example 2": { "summary": "Update name and reverse name", "description": "This example demonstrates how to update the 'Name' and 'Reverse name' properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", "value": {"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)"} }, - "Example 78": { + "Example 3": { "summary": "Update everything for static record link group", "description": "This example demonstrates how to update all properties of the 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from the 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"static","reverseName":"Fatigue Statistical Data (updated)","name":"Fatigue Test Data (updated)","guid":"c7c784ef-8f51-46e7-8fb4-ad11979c445b"} + "value": { + "includeIndirectLinks": true, + "type": "static", + "reverseName": "Fatigue Statistical Data (updated)", + "name": "Fatigue Test Data (updated)", + "guid": "a7c251da-d729-4b3a-ac71-606b7b7b33a0" + } }, - "Example 79": { + "Example 4": { "summary": "Update everything for cross database record link group", "description": "This example demonstrates how to update all properties of cross database record link group from the 'MaterialUniverse' table (GUID = '0000dd92-0011-4fff-8fff-0000ffff0000') from the MI_Training database.", - "value": {"includeIndirectLinks":true,"type":"crossDatabase","reverseName":"Link To MI Training - Material Universe (Updated)","name":"Link From MI Training - Material Universe (Updated)","guid":"1fe2f6ae-cc4d-4147-8620-131ab752da66"} + "value": { + "includeIndirectLinks": true, + "type": "crossDatabase", + "reverseName": "Link To MI Training - Material Universe (Updated)", + "name": "Link From MI Training - Material Universe (Updated)", + "guid": "595753ac-d42d-4913-947e-8700dcf973dc" + } }, - "Example 80": { + "Example 5": { "summary": "Update everything for dynamic record link group", "description": "This example demonstrates how to update all properties of 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from the 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from the MI_Training database.", - "value": {"forbidOrphans":true,"referentialIntegrityModel":"oneToOne","attributePairs":[{"attributeSourceGuid":"6e50a7a8-a759-44c9-b151-215a07949c1f","attributeTargetGuid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"},{"attributeSourceGuid":"1228c02f-25e7-4748-bcfa-038c334c73e4","attributeTargetGuid":"61796104-14e0-4d59-bdba-22a9277f4775"}],"type":"dynamic","reverseName":"Further panel information (Updated)","name":"Tensile test data (Updated)","guid":"6efe0827-c548-402f-8bf1-78163c979e94"} + "value": { + "forbidOrphans": true, + "referentialIntegrityModel": "oneToOne", + "attributePairs": [ + { + "attributeSourceGuid": "6e50a7a8-a759-44c9-b151-215a07949c1f", + "attributeTargetGuid": "ab0ddcf2-d73e-44b1-9e69-383a7374edf7" + }, + { + "attributeSourceGuid": "1228c02f-25e7-4748-bcfa-038c334c73e4", + "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" + } + ], + "type": "dynamic", + "reverseName": "Further panel information (Updated)", + "name": "Tensile test data (Updated)", + "guid": "e99cb34a-3297-420d-bdfd-330a175b09bf" + } } } } @@ -19115,17 +22968,37 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaRecordLinkGroupsRecordLinkGroup" }, "examples": { - "Example 142": { + "Example 7": { "summary": "Static record link group", "description": "This example demonstrates the returned value from getting a 'Fatigue Test Data' static record link group (GUID = '485da78d-d094-4edb-a5a9-077fe1bc02f2') from 'Fatigue Statistical Data' table (GUID = 'c9954321-b4d4-4443-949e-f9b161e2c8fb') from MI_Training database.", "value": {"type":"static","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"c9954321-b4d4-4443-949e-f9b161e2c8fb"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"73d8f19a-38df-4144-964d-cc1448d38ebb"}},"identity":125,"reverseName":"Fatigue Statistical Data","reverseDisplayNames":{},"displayNames":{},"name":"Fatigue Test Data","guid":"485da78d-d094-4edb-a5a9-077fe1bc02f2"} }, - "Example 143": { + "Example 8": { "summary": "Cross database record link group", "description": "This example demonstrates the returned value from getting a cross database record link group from 'MaterialUniverse' table from MI_Training database.", - "value": {"type":"crossDatabase","includeIndirectLinks":false,"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0000dd92-0011-4fff-8fff-0000ffff0000"},"linkTarget":{"databaseGuid":"e0029b55-b283-49db-ab2f-a08084634653","tableGuid":"070f4801-491c-41ad-b084-cf18bde6cc25"}},"identity":1,"reverseName":"MI Training - MaterialUniverse","reverseDisplayNames":{},"displayNames":{},"name":"Different database - different table","guid":"9ab986b4-d4d7-488d-9b52-f6837a558fae"} + "value": { + "type": "crossDatabase", + "includeIndirectLinks": false, + "linkInfo": { + "linkSource": { + "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", + "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "linkTarget": { + "databaseGuid": "c3ba64ba-f600-485a-b6e8-e378d7f570dc", + "tableGuid": "4237f710-71b9-4813-9375-6c1e066fcd66" + } + }, + "identity": 1, + "reverseName": "MI Training - MaterialUniverse", + "reverseDisplayNames": {}, + "displayNames": {}, + "name": "Different database - different table", + "guid": "152c16a5-6e8a-47ae-9428-c7f1372fceaf" + } }, - "Example 144": { + "Example 9": { "summary": "Dynamic record link group", "description": "This example demonstrates the returned value from getting a 'Tensile test data' dynamic record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", "value": {"type":"dynamic","forbidOrphans":false,"referentialIntegrityModel":"oneToMany","attributePairs":[{"attributeSource":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"6e50a7a8-a759-44c9-b151-215a07949c1f"},"attributeTarget":{"type":"shortText","displayNames":{},"name":"Panel Number","guid":"ab0ddcf2-d73e-44b1-9e69-383a7374edf7"}}],"linkInfo":{"linkSource":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"7db2ff8e-54ed-45d6-b522-e03c8be405b3"},"linkTarget":{"databaseGuid":"43a43640-4919-428a-bac9-16efbc4ce6ed","databaseVersionGuid":"feead34a-cc0e-4070-bbc0-647654a25407","tableGuid":"0dd5348e-72f3-4bcb-bb38-621e5953a333"}},"identity":8,"reverseName":"Further panel information","reverseDisplayNames":{},"displayNames":{},"name":"Tensile test data","guid":"5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f"} @@ -19202,27 +23075,34 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesCreateStandardName" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Standard name for attributes", "description": "This example demonstrates how to create a new standard name which maps to two attributes from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"name":"Unification"} }, - "Example 77": { + "Example 2": { "summary": "Standard name for parameters", "description": "This example demonstrates how to create a new standard name which maps to two parameters from the MI_Training database.", "value": {"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}],"name":"Unification"} }, - "Example 78": { + "Example 3": { "summary": "Standard name for record link groups", "description": "This example demonstrates how to create a new standard name which maps to a record link group from the MI_Training database.", "value": {"mappedRecordLinkGroups":[{"guid":"9337df8e-c22b-4aaf-a9fc-6930c69c94cb"}],"name":"Unification"} }, - "Example 79": { + "Example 4": { "summary": "Standard name for cross-database record link groups", "description": "This example demonstrates how to create a new standard name which maps to a cross-database record link group.", - "value": {"mappedCrossDatabaseRecordLinkGroups":[{"guid":"be4527ce-6c43-4f96-bee1-c573308e3ea7"}],"name":"Unification"} + "value": { + "mappedCrossDatabaseRecordLinkGroups": [ + { + "guid": "bf33f74a-fc2f-4573-b123-a849e4beb5ce" + } + ], + "name": "Unification" + } }, - "Example 80": { + "Example 5": { "summary": "Standard name for attributes and parameters", "description": "This example demonstrates how to create a new standard name which maps to two attributes and a parameter from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"name":"Unification"} @@ -19234,27 +23114,34 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesCreateStandardName" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Standard name for attributes", "description": "This example demonstrates how to create a new standard name which maps to two attributes from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"name":"Unification"} }, - "Example 77": { + "Example 2": { "summary": "Standard name for parameters", "description": "This example demonstrates how to create a new standard name which maps to two parameters from the MI_Training database.", "value": {"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}],"name":"Unification"} }, - "Example 78": { + "Example 3": { "summary": "Standard name for record link groups", "description": "This example demonstrates how to create a new standard name which maps to a record link group from the MI_Training database.", "value": {"mappedRecordLinkGroups":[{"guid":"9337df8e-c22b-4aaf-a9fc-6930c69c94cb"}],"name":"Unification"} }, - "Example 79": { + "Example 4": { "summary": "Standard name for cross-database record link groups", "description": "This example demonstrates how to create a new standard name which maps to a cross-database record link group.", - "value": {"mappedCrossDatabaseRecordLinkGroups":[{"guid":"be4527ce-6c43-4f96-bee1-c573308e3ea7"}],"name":"Unification"} + "value": { + "mappedCrossDatabaseRecordLinkGroups": [ + { + "guid": "bf33f74a-fc2f-4573-b123-a849e4beb5ce" + } + ], + "name": "Unification" + } }, - "Example 80": { + "Example 5": { "summary": "Standard name for attributes and parameters", "description": "This example demonstrates how to create a new standard name which maps to two attributes and a parameter from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"name":"Unification"} @@ -19266,27 +23153,34 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesCreateStandardName" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Standard name for attributes", "description": "This example demonstrates how to create a new standard name which maps to two attributes from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"name":"Unification"} }, - "Example 77": { + "Example 2": { "summary": "Standard name for parameters", "description": "This example demonstrates how to create a new standard name which maps to two parameters from the MI_Training database.", "value": {"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}],"name":"Unification"} }, - "Example 78": { + "Example 3": { "summary": "Standard name for record link groups", "description": "This example demonstrates how to create a new standard name which maps to a record link group from the MI_Training database.", "value": {"mappedRecordLinkGroups":[{"guid":"9337df8e-c22b-4aaf-a9fc-6930c69c94cb"}],"name":"Unification"} }, - "Example 79": { + "Example 4": { "summary": "Standard name for cross-database record link groups", "description": "This example demonstrates how to create a new standard name which maps to a cross-database record link group.", - "value": {"mappedCrossDatabaseRecordLinkGroups":[{"guid":"be4527ce-6c43-4f96-bee1-c573308e3ea7"}],"name":"Unification"} + "value": { + "mappedCrossDatabaseRecordLinkGroups": [ + { + "guid": "bf33f74a-fc2f-4573-b123-a849e4beb5ce" + } + ], + "name": "Unification" + } }, - "Example 80": { + "Example 5": { "summary": "Standard name for attributes and parameters", "description": "This example demonstrates how to create a new standard name which maps to two attributes and a parameter from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"name":"Unification"} @@ -19298,27 +23192,34 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesCreateStandardName" }, "examples": { - "Example 76": { + "Example 1": { "summary": "Standard name for attributes", "description": "This example demonstrates how to create a new standard name which maps to two attributes from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"name":"Unification"} }, - "Example 77": { + "Example 2": { "summary": "Standard name for parameters", "description": "This example demonstrates how to create a new standard name which maps to two parameters from the MI_Training database.", "value": {"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}],"name":"Unification"} }, - "Example 78": { + "Example 3": { "summary": "Standard name for record link groups", "description": "This example demonstrates how to create a new standard name which maps to a record link group from the MI_Training database.", "value": {"mappedRecordLinkGroups":[{"guid":"9337df8e-c22b-4aaf-a9fc-6930c69c94cb"}],"name":"Unification"} }, - "Example 79": { + "Example 4": { "summary": "Standard name for cross-database record link groups", "description": "This example demonstrates how to create a new standard name which maps to a cross-database record link group.", - "value": {"mappedCrossDatabaseRecordLinkGroups":[{"guid":"be4527ce-6c43-4f96-bee1-c573308e3ea7"}],"name":"Unification"} + "value": { + "mappedCrossDatabaseRecordLinkGroups": [ + { + "guid": "bf33f74a-fc2f-4573-b123-a849e4beb5ce" + } + ], + "name": "Unification" + } }, - "Example 80": { + "Example 5": { "summary": "Standard name for attributes and parameters", "description": "This example demonstrates how to create a new standard name which maps to two attributes and a parameter from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}],"name":"Unification"} @@ -19424,22 +23325,24 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesUpdateStandardName" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"name":"Density (Updated)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", - "value": {"guid":"1634321c-d644-4ed1-811e-aa3f8fec13d3"} + "value": { + "guid": "112d2f6a-870a-4cdc-b2dd-5fc2c1f9af55" + } }, - "Example 63": { + "Example 3": { "summary": "Update mapped attributes", "description": "This example demonstrates how to update the mapped attributes of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}]} }, - "Example 64": { + "Example 4": { "summary": "Replace mapped attributes with parameters", "description": "This example demonstrates how to remove the mapped attribute and add mapped parameters to the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}]} @@ -19451,22 +23354,24 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesUpdateStandardName" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"name":"Density (Updated)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", - "value": {"guid":"1634321c-d644-4ed1-811e-aa3f8fec13d3"} + "value": { + "guid": "112d2f6a-870a-4cdc-b2dd-5fc2c1f9af55" + } }, - "Example 63": { + "Example 3": { "summary": "Update mapped attributes", "description": "This example demonstrates how to update the mapped attributes of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}]} }, - "Example 64": { + "Example 4": { "summary": "Replace mapped attributes with parameters", "description": "This example demonstrates how to remove the mapped attribute and add mapped parameters to the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}]} @@ -19478,22 +23383,24 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesUpdateStandardName" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"name":"Density (Updated)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", - "value": {"guid":"1634321c-d644-4ed1-811e-aa3f8fec13d3"} + "value": { + "guid": "112d2f6a-870a-4cdc-b2dd-5fc2c1f9af55" + } }, - "Example 63": { + "Example 3": { "summary": "Update mapped attributes", "description": "This example demonstrates how to update the mapped attributes of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}]} }, - "Example 64": { + "Example 4": { "summary": "Replace mapped attributes with parameters", "description": "This example demonstrates how to remove the mapped attribute and add mapped parameters to the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}]} @@ -19505,22 +23412,24 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaStandardNamesUpdateStandardName" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"name":"Density (Updated)"} }, - "Example 62": { + "Example 2": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' property of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", - "value": {"guid":"1634321c-d644-4ed1-811e-aa3f8fec13d3"} + "value": { + "guid": "112d2f6a-870a-4cdc-b2dd-5fc2c1f9af55" + } }, - "Example 63": { + "Example 3": { "summary": "Update mapped attributes", "description": "This example demonstrates how to update the mapped attributes of the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[{"guid":"000000b9-0001-4fff-8fff-dd92ffff0000"},{"guid":"000000ec-0001-4fff-8fff-dd92ffff0000"}]} }, - "Example 64": { + "Example 4": { "summary": "Replace mapped attributes with parameters", "description": "This example demonstrates how to remove the mapped attribute and add mapped parameters to the 'Density' standard name (guid = 5f5b89f7-da4e-4ae2-8c65-485e3c1a98fd) from the MI_Training database.", "value": {"mappedAttributes":[],"mappedParameters":[{"guid":"00000001-000a-4fff-8fff-0000ffff0000"},{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}]} @@ -19691,17 +23600,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsCreateSubset" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Subset", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Alloys"} }, - "Example 47": { + "Example 2": { "summary": "Subset with Guid", "description": "This example demonstrates how to create a new subset with a specified guid value for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Alloys (guid)","guid":"dc8e3ce1-c53e-428c-bf50-d0317caea896"} + "value": { + "name": "Alloys (guid)", + "guid": "733ba3e0-835a-45e9-9318-2b0ba454882b" + } }, - "Example 48": { + "Example 3": { "summary": "Subset with associated layout", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with the 'Ceramics' layout associated.", "value": {"associatedLayout":{"guid":"00000b36-0009-4fff-8fff-dd92ffff0000"},"name":"Alloys (Layout)"} @@ -19713,17 +23625,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsCreateSubset" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Subset", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Alloys"} }, - "Example 47": { + "Example 2": { "summary": "Subset with Guid", "description": "This example demonstrates how to create a new subset with a specified guid value for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Alloys (guid)","guid":"dc8e3ce1-c53e-428c-bf50-d0317caea896"} + "value": { + "name": "Alloys (guid)", + "guid": "733ba3e0-835a-45e9-9318-2b0ba454882b" + } }, - "Example 48": { + "Example 3": { "summary": "Subset with associated layout", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with the 'Ceramics' layout associated.", "value": {"associatedLayout":{"guid":"00000b36-0009-4fff-8fff-dd92ffff0000"},"name":"Alloys (Layout)"} @@ -19735,17 +23650,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsCreateSubset" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Subset", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Alloys"} }, - "Example 47": { + "Example 2": { "summary": "Subset with Guid", "description": "This example demonstrates how to create a new subset with a specified guid value for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Alloys (guid)","guid":"dc8e3ce1-c53e-428c-bf50-d0317caea896"} + "value": { + "name": "Alloys (guid)", + "guid": "733ba3e0-835a-45e9-9318-2b0ba454882b" + } }, - "Example 48": { + "Example 3": { "summary": "Subset with associated layout", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with the 'Ceramics' layout associated.", "value": {"associatedLayout":{"guid":"00000b36-0009-4fff-8fff-dd92ffff0000"},"name":"Alloys (Layout)"} @@ -19757,17 +23675,20 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsCreateSubset" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Subset", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Alloys"} }, - "Example 47": { + "Example 2": { "summary": "Subset with Guid", "description": "This example demonstrates how to create a new subset with a specified guid value for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"name":"Alloys (guid)","guid":"dc8e3ce1-c53e-428c-bf50-d0317caea896"} + "value": { + "name": "Alloys (guid)", + "guid": "733ba3e0-835a-45e9-9318-2b0ba454882b" + } }, - "Example 48": { + "Example 3": { "summary": "Subset with associated layout", "description": "This example demonstrates how to create a new subset for the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database with the 'Ceramics' layout associated.", "value": {"associatedLayout":{"guid":"00000b36-0009-4fff-8fff-dd92ffff0000"},"name":"Alloys (Layout)"} @@ -19917,22 +23838,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsUpdateSubset" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Everything for a subset", "description": "This example demonstrates how to update all properties of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"},"name":"Ceramics (Updated)","guid":"daea1718-de7c-467e-aae0-d5d157ddf010"} + "value": { + "associatedLayout": { + "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" + }, + "name": "Ceramics (Updated)", + "guid": "64429c6b-5cb5-4780-ade3-eb4d4412c423" + } }, - "Example 62": { + "Example 2": { "summary": "Rename subset", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} }, - "Example 63": { + "Example 3": { "summary": "Update associated layout", "description": "This example demonstrates how to update associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"}} }, - "Example 64": { + "Example 4": { "summary": "Remove associated layout", "description": "This example demonstrates how to remove associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":null} @@ -19944,22 +23871,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsUpdateSubset" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Everything for a subset", "description": "This example demonstrates how to update all properties of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"},"name":"Ceramics (Updated)","guid":"daea1718-de7c-467e-aae0-d5d157ddf010"} + "value": { + "associatedLayout": { + "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" + }, + "name": "Ceramics (Updated)", + "guid": "64429c6b-5cb5-4780-ade3-eb4d4412c423" + } }, - "Example 62": { + "Example 2": { "summary": "Rename subset", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} }, - "Example 63": { + "Example 3": { "summary": "Update associated layout", "description": "This example demonstrates how to update associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"}} }, - "Example 64": { + "Example 4": { "summary": "Remove associated layout", "description": "This example demonstrates how to remove associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":null} @@ -19971,22 +23904,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsUpdateSubset" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Everything for a subset", "description": "This example demonstrates how to update all properties of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"},"name":"Ceramics (Updated)","guid":"daea1718-de7c-467e-aae0-d5d157ddf010"} + "value": { + "associatedLayout": { + "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" + }, + "name": "Ceramics (Updated)", + "guid": "64429c6b-5cb5-4780-ade3-eb4d4412c423" + } }, - "Example 62": { + "Example 2": { "summary": "Rename subset", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} }, - "Example 63": { + "Example 3": { "summary": "Update associated layout", "description": "This example demonstrates how to update associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"}} }, - "Example 64": { + "Example 4": { "summary": "Remove associated layout", "description": "This example demonstrates how to remove associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":null} @@ -19998,22 +23937,28 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsUpdateSubset" }, "examples": { - "Example 61": { + "Example 1": { "summary": "Everything for a subset", "description": "This example demonstrates how to update all properties of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"},"name":"Ceramics (Updated)","guid":"daea1718-de7c-467e-aae0-d5d157ddf010"} + "value": { + "associatedLayout": { + "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" + }, + "name": "Ceramics (Updated)", + "guid": "64429c6b-5cb5-4780-ade3-eb4d4412c423" + } }, - "Example 62": { + "Example 2": { "summary": "Rename subset", "description": "This example demonstrates how to update the 'Name' property of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"Ceramics (Updated)"} }, - "Example 63": { + "Example 3": { "summary": "Update associated layout", "description": "This example demonstrates how to update associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":{"guid":"0000b135-0009-4fff-8fff-dd92ffff0000"}} }, - "Example 64": { + "Example 4": { "summary": "Remove associated layout", "description": "This example demonstrates how to remove associated layout of the 'Ceramics' subset (guid = 00000b36-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"associatedLayout":null} @@ -20137,12 +24082,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsAddRecordHistoryToSubset" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Add a Record History to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History only (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":false} }, - "Example 32": { + "Example 2": { "summary": "Add a Record History and its descendants to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) and all of its descendants to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":true} @@ -20154,12 +24099,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsAddRecordHistoryToSubset" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Add a Record History to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History only (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":false} }, - "Example 32": { + "Example 2": { "summary": "Add a Record History and its descendants to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) and all of its descendants to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":true} @@ -20171,12 +24116,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsAddRecordHistoryToSubset" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Add a Record History to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History only (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":false} }, - "Example 32": { + "Example 2": { "summary": "Add a Record History and its descendants to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) and all of its descendants to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":true} @@ -20188,12 +24133,12 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsAddRecordHistoryToSubset" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Add a Record History to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History only (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":false} }, - "Example 32": { + "Example 2": { "summary": "Add a Record History and its descendants to a Subset", "description": "This example demonstrates how to add the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) and all of its descendants to the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03","recurseChildren":true} @@ -20260,7 +24205,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Remove a Record History from a Subset", "description": "This example demonstrates how to remove the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) from the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"} @@ -20272,7 +24217,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Remove a Record History from a Subset", "description": "This example demonstrates how to remove the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) from the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"} @@ -20284,7 +24229,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Remove a Record History from a Subset", "description": "This example demonstrates how to remove the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) from the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"} @@ -20296,7 +24241,7 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaSubsetsRemoveRecordHistoryFromSubset" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Remove a Record History from a Subset", "description": "This example demonstrates how to remove the 'Alumino Silicate' Record History (guid = 5a842e54-e143-45f5-aec8-18fb84f4fe03) from the 'All Bulk Materials' subset (guid = 0000b1c5-0010-4fff-8fff-dd92ffff0000) from the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"recordHistoryGuid":"5a842e54-e143-45f5-aec8-18fb84f4fe03"} @@ -20370,7 +24315,36 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaTablesTablesInfo" }, - "example": {"tables":[{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"tableTypes":["Universe","Material"],"displayNames":{"en":"MaterialUniverse English Display Name","fr":"MaterialUniverse French Display Name"},"name":"MaterialUniverse","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"},{"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":true,"tableTypes":["Design"],"displayNames":{},"name":"Design Data","guid":"0000b5e2-0011-4fff-8fff-0000ffff0000"}]} + "example": { + "tables": [ + { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "tableTypes": [ + "Universe", + "Material" + ], + "displayNames": { + "en": "MaterialUniverse English Display Name", + "fr": "MaterialUniverse French Display Name" + }, + "name": "MaterialUniverse", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": true, + "tableTypes": [ + "Design" + ], + "displayNames": {}, + "name": "Design Data", + "guid": "0000b5e2-0011-4fff-8fff-0000ffff0000" + } + ] + } } } }, @@ -20402,17 +24376,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesCreateTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Table", "description": "This example demonstrates how to create a new table in the MI_Training database.", "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings"} }, - "Example 47": { + "Example 2": { "summary": "Table with Guid", "description": "This example demonstrates how to create a new table with a specified guid value in the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings (Guid)","guid":"cb5195f7-caa1-4291-ae2c-e16f3a644161"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "name": "Coatings (Guid)", + "guid": "09481cca-c5b3-478b-8e44-423f626441ea" + } }, - "Example 48": { + "Example 3": { "summary": "Hidden Table", "description": "This example demonstrates how to create a new table in the MI_Training database that is not browsable or searchable. ", "value": {"isHiddenFromBrowse":true,"isHiddenFromSearch":true,"name":"Coatings (Hidden)"} @@ -20424,17 +24403,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesCreateTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Table", "description": "This example demonstrates how to create a new table in the MI_Training database.", "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings"} }, - "Example 47": { + "Example 2": { "summary": "Table with Guid", "description": "This example demonstrates how to create a new table with a specified guid value in the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings (Guid)","guid":"cb5195f7-caa1-4291-ae2c-e16f3a644161"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "name": "Coatings (Guid)", + "guid": "09481cca-c5b3-478b-8e44-423f626441ea" + } }, - "Example 48": { + "Example 3": { "summary": "Hidden Table", "description": "This example demonstrates how to create a new table in the MI_Training database that is not browsable or searchable. ", "value": {"isHiddenFromBrowse":true,"isHiddenFromSearch":true,"name":"Coatings (Hidden)"} @@ -20446,17 +24430,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesCreateTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Table", "description": "This example demonstrates how to create a new table in the MI_Training database.", "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings"} }, - "Example 47": { + "Example 2": { "summary": "Table with Guid", "description": "This example demonstrates how to create a new table with a specified guid value in the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings (Guid)","guid":"cb5195f7-caa1-4291-ae2c-e16f3a644161"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "name": "Coatings (Guid)", + "guid": "09481cca-c5b3-478b-8e44-423f626441ea" + } }, - "Example 48": { + "Example 3": { "summary": "Hidden Table", "description": "This example demonstrates how to create a new table in the MI_Training database that is not browsable or searchable. ", "value": {"isHiddenFromBrowse":true,"isHiddenFromSearch":true,"name":"Coatings (Hidden)"} @@ -20468,17 +24457,22 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesCreateTable" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Table", "description": "This example demonstrates how to create a new table in the MI_Training database.", "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings"} }, - "Example 47": { + "Example 2": { "summary": "Table with Guid", "description": "This example demonstrates how to create a new table with a specified guid value in the MI_Training database. Normally, if the guid is not specified, a random new Guid will be generated. ", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":false,"name":"Coatings (Guid)","guid":"cb5195f7-caa1-4291-ae2c-e16f3a644161"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "name": "Coatings (Guid)", + "guid": "09481cca-c5b3-478b-8e44-423f626441ea" + } }, - "Example 48": { + "Example 3": { "summary": "Hidden Table", "description": "This example demonstrates how to create a new table in the MI_Training database that is not browsable or searchable. ", "value": {"isHiddenFromBrowse":true,"isHiddenFromSearch":true,"name":"Coatings (Hidden)"} @@ -20495,7 +24489,16 @@ "schema": { "$ref": "#/components/schemas/GrantaServerApiSchemaTablesTable" }, - "example": {"versionState":"unversioned","isHiddenFromBrowse":false,"isHiddenFromSearch":false,"isVersioned":false,"tableTypes":[],"displayNames":{},"name":"Material Universe","guid":"0000dd92-0011-4fff-8fff-0000ffff0000"} + "example": { + "versionState": "unversioned", + "isHiddenFromBrowse": false, + "isHiddenFromSearch": false, + "isVersioned": false, + "tableTypes": [], + "displayNames": {}, + "name": "Material Universe", + "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" + } } } }, @@ -20610,37 +24613,44 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesUpdateTable" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a table", "description": "This example demonstrates how to update all properties of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":true,"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","name":"MaterialUniverse (Updated)","guid":"59b83b1f-fc23-4f1c-be40-b80c76aa1bbd"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": true, + "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "name": "MaterialUniverse (Updated)", + "guid": "c55293cb-01ae-460b-a020-2f82e26dbd83" + } }, - "Example 107": { + "Example 2": { "summary": "Update 'IsHiddenFromBrowse'", "description": "This example demonstrates how to update the 'IsHiddenFromBrowse' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromBrowse":true} }, - "Example 108": { + "Example 3": { "summary": "Update 'IsHiddenFromSearch'", "description": "This example demonstrates how to update the 'IsHiddenFromSearch' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromSearch":false} }, - "Example 109": { + "Example 4": { "summary": "Update default subset", "description": "This example demonstrates how to update the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000"} }, - "Example 110": { + "Example 5": { "summary": "Remove default subset", "description": "This example demonstrates how to remove the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":null} }, - "Example 111": { + "Example 6": { "summary": "Update default layout", "description": "This example demonstrates how to update the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000"} }, - "Example 112": { + "Example 7": { "summary": "Remove default layout", "description": "This example demonstrates how to remove the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":null} @@ -20652,37 +24662,44 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesUpdateTable" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a table", "description": "This example demonstrates how to update all properties of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":true,"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","name":"MaterialUniverse (Updated)","guid":"59b83b1f-fc23-4f1c-be40-b80c76aa1bbd"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": true, + "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "name": "MaterialUniverse (Updated)", + "guid": "c55293cb-01ae-460b-a020-2f82e26dbd83" + } }, - "Example 107": { + "Example 2": { "summary": "Update 'IsHiddenFromBrowse'", "description": "This example demonstrates how to update the 'IsHiddenFromBrowse' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromBrowse":true} }, - "Example 108": { + "Example 3": { "summary": "Update 'IsHiddenFromSearch'", "description": "This example demonstrates how to update the 'IsHiddenFromSearch' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromSearch":false} }, - "Example 109": { + "Example 4": { "summary": "Update default subset", "description": "This example demonstrates how to update the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000"} }, - "Example 110": { + "Example 5": { "summary": "Remove default subset", "description": "This example demonstrates how to remove the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":null} }, - "Example 111": { + "Example 6": { "summary": "Update default layout", "description": "This example demonstrates how to update the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000"} }, - "Example 112": { + "Example 7": { "summary": "Remove default layout", "description": "This example demonstrates how to remove the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":null} @@ -20694,37 +24711,44 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesUpdateTable" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a table", "description": "This example demonstrates how to update all properties of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":true,"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","name":"MaterialUniverse (Updated)","guid":"59b83b1f-fc23-4f1c-be40-b80c76aa1bbd"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": true, + "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "name": "MaterialUniverse (Updated)", + "guid": "c55293cb-01ae-460b-a020-2f82e26dbd83" + } }, - "Example 107": { + "Example 2": { "summary": "Update 'IsHiddenFromBrowse'", "description": "This example demonstrates how to update the 'IsHiddenFromBrowse' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromBrowse":true} }, - "Example 108": { + "Example 3": { "summary": "Update 'IsHiddenFromSearch'", "description": "This example demonstrates how to update the 'IsHiddenFromSearch' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromSearch":false} }, - "Example 109": { + "Example 4": { "summary": "Update default subset", "description": "This example demonstrates how to update the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000"} }, - "Example 110": { + "Example 5": { "summary": "Remove default subset", "description": "This example demonstrates how to remove the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":null} }, - "Example 111": { + "Example 6": { "summary": "Update default layout", "description": "This example demonstrates how to update the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000"} }, - "Example 112": { + "Example 7": { "summary": "Remove default layout", "description": "This example demonstrates how to remove the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":null} @@ -20736,37 +24760,44 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaTablesUpdateTable" }, "examples": { - "Example 106": { + "Example 1": { "summary": "Everything for a table", "description": "This example demonstrates how to update all properties of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"isHiddenFromBrowse":false,"isHiddenFromSearch":true,"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000","name":"MaterialUniverse (Updated)","guid":"59b83b1f-fc23-4f1c-be40-b80c76aa1bbd"} + "value": { + "isHiddenFromBrowse": false, + "isHiddenFromSearch": true, + "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", + "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", + "name": "MaterialUniverse (Updated)", + "guid": "c55293cb-01ae-460b-a020-2f82e26dbd83" + } }, - "Example 107": { + "Example 2": { "summary": "Update 'IsHiddenFromBrowse'", "description": "This example demonstrates how to update the 'IsHiddenFromBrowse' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromBrowse":true} }, - "Example 108": { + "Example 3": { "summary": "Update 'IsHiddenFromSearch'", "description": "This example demonstrates how to update the 'IsHiddenFromSearch' property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"isHiddenFromSearch":false} }, - "Example 109": { + "Example 4": { "summary": "Update default subset", "description": "This example demonstrates how to update the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000"} }, - "Example 110": { + "Example 5": { "summary": "Remove default subset", "description": "This example demonstrates how to remove the default subset property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultSubsetGuid":null} }, - "Example 111": { + "Example 6": { "summary": "Update default layout", "description": "This example demonstrates how to update the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":"00000b36-0009-4fff-8fff-dd92ffff0000"} }, - "Example 112": { + "Example 7": { "summary": "Remove default layout", "description": "This example demonstrates how to remove the default layout property of the 'MaterialUniverse' table (guid = 0000dd92-0011-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"defaultLayoutGuid":null} @@ -20893,12 +24924,12 @@ "$ref": "#/components/schemas/GrantaServerApiExceptionsVersionControlReleaseTableVersionControlException" }, "examples": { - "Example 31": { + "Example 1": { "summary": "Invalid version state.", "description": "A table can only be released if it is currently unreleased.", "value": {"message":"Cannot release table 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'.","code":400,"errors":[{"message":"Invalid version state 'Released'.","reason":"invalidVersionState","versionState":"released"}]} }, - "Example 32": { + "Example 2": { "summary": "Table is not version controlled.", "value": {"message":"Cannot release table '0000dd92-0011-4fff-8fff-0000ffff0000'.","code":400,"errors":[{"message":"Table is not version controlled.","reason":"notVersioned"}]} } @@ -21454,10 +25485,13 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsCreateUnitSystem" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Unit System", "description": "This example demonstrates how to create a new unit system for the MI_Training database. Only guid and name can be set as the rest of fields is backend generated and changes via equivalents endpoints.", - "value": {"name":"Hawaiian common","guid":"40baf2ce-5e3e-4466-8aaa-5c4ae55a4a91"} + "value": { + "name": "Hawaiian common", + "guid": "e512e84b-9046-459d-9495-cedc05725192" + } } } }, @@ -21466,10 +25500,13 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsCreateUnitSystem" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Unit System", "description": "This example demonstrates how to create a new unit system for the MI_Training database. Only guid and name can be set as the rest of fields is backend generated and changes via equivalents endpoints.", - "value": {"name":"Hawaiian common","guid":"40baf2ce-5e3e-4466-8aaa-5c4ae55a4a91"} + "value": { + "name": "Hawaiian common", + "guid": "e512e84b-9046-459d-9495-cedc05725192" + } } } }, @@ -21478,10 +25515,13 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsCreateUnitSystem" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Unit System", "description": "This example demonstrates how to create a new unit system for the MI_Training database. Only guid and name can be set as the rest of fields is backend generated and changes via equivalents endpoints.", - "value": {"name":"Hawaiian common","guid":"40baf2ce-5e3e-4466-8aaa-5c4ae55a4a91"} + "value": { + "name": "Hawaiian common", + "guid": "e512e84b-9046-459d-9495-cedc05725192" + } } } }, @@ -21490,10 +25530,13 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsCreateUnitSystem" }, "examples": { - "Example 16": { + "Example 1": { "summary": "Unit System", "description": "This example demonstrates how to create a new unit system for the MI_Training database. Only guid and name can be set as the rest of fields is backend generated and changes via equivalents endpoints.", - "value": {"name":"Hawaiian common","guid":"40baf2ce-5e3e-4466-8aaa-5c4ae55a4a91"} + "value": { + "name": "Hawaiian common", + "guid": "e512e84b-9046-459d-9495-cedc05725192" + } } } } @@ -21596,20 +25639,25 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsUpdateUnitSystem" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a unit system", "description": "This example demonstrates how to update all properties of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"UK Imperial (Updated)","guid":"31b54b9f-7153-4099-90b5-fdb7323c9bb7"} + "value": { + "name": "UK Imperial (Updated)", + "guid": "7c9e6d05-74f6-4a88-8c5b-306ea1633cf0" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"UK Imperial (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"guid":"4404ac2e-0d6a-4f15-969c-5d542cf6a55c"} + "value": { + "guid": "15ca9ecd-0682-4c2a-bb4f-519ea578d94c" + } } } }, @@ -21618,20 +25666,25 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsUpdateUnitSystem" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a unit system", "description": "This example demonstrates how to update all properties of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"UK Imperial (Updated)","guid":"31b54b9f-7153-4099-90b5-fdb7323c9bb7"} + "value": { + "name": "UK Imperial (Updated)", + "guid": "7c9e6d05-74f6-4a88-8c5b-306ea1633cf0" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"UK Imperial (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"guid":"4404ac2e-0d6a-4f15-969c-5d542cf6a55c"} + "value": { + "guid": "15ca9ecd-0682-4c2a-bb4f-519ea578d94c" + } } } }, @@ -21640,20 +25693,25 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsUpdateUnitSystem" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a unit system", "description": "This example demonstrates how to update all properties of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"UK Imperial (Updated)","guid":"31b54b9f-7153-4099-90b5-fdb7323c9bb7"} + "value": { + "name": "UK Imperial (Updated)", + "guid": "7c9e6d05-74f6-4a88-8c5b-306ea1633cf0" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"UK Imperial (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"guid":"4404ac2e-0d6a-4f15-969c-5d542cf6a55c"} + "value": { + "guid": "15ca9ecd-0682-4c2a-bb4f-519ea578d94c" + } } } }, @@ -21662,20 +25720,25 @@ "$ref": "#/components/schemas/GrantaServerApiSchemaUnitsUpdateUnitSystem" }, "examples": { - "Example 46": { + "Example 1": { "summary": "Everything for a unit system", "description": "This example demonstrates how to update all properties of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"name":"UK Imperial (Updated)","guid":"31b54b9f-7153-4099-90b5-fdb7323c9bb7"} + "value": { + "name": "UK Imperial (Updated)", + "guid": "7c9e6d05-74f6-4a88-8c5b-306ea1633cf0" + } }, - "Example 47": { + "Example 2": { "summary": "Update name", "description": "This example demonstrates how to update the 'Name' property of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", "value": {"name":"UK Imperial (Updated)"} }, - "Example 48": { + "Example 3": { "summary": "Update guid", "description": "This example demonstrates how to update the 'Guid' of the 'UK Imperial' unit system (guid = 00000007-0014-4fff-8fff-0000ffff0000) from the MI_Training database.", - "value": {"guid":"4404ac2e-0d6a-4f15-969c-5d542cf6a55c"} + "value": { + "guid": "15ca9ecd-0682-4c2a-bb4f-519ea578d94c" + } } } } @@ -21800,137 +25863,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["b5c9c591-6ed3-4849-8f42-ebfdb2d8c129","eea286a9-bd03-42c7-b219-b78c9ca1e266"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "834311e5-dffa-492e-9c0f-77ca6f977740", + "8499ed9b-9e36-407d-9944-322b9d17f700" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -21942,137 +26416,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["b5c9c591-6ed3-4849-8f42-ebfdb2d8c129","eea286a9-bd03-42c7-b219-b78c9ca1e266"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "834311e5-dffa-492e-9c0f-77ca6f977740", + "8499ed9b-9e36-407d-9944-322b9d17f700" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22084,137 +26969,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["b5c9c591-6ed3-4849-8f42-ebfdb2d8c129","eea286a9-bd03-42c7-b219-b78c9ca1e266"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "834311e5-dffa-492e-9c0f-77ca6f977740", + "8499ed9b-9e36-407d-9944-322b9d17f700" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22226,137 +27522,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["b5c9c591-6ed3-4849-8f42-ebfdb2d8c129","eea286a9-bd03-42c7-b219-b78c9ca1e266"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "834311e5-dffa-492e-9c0f-77ca6f977740", + "8499ed9b-9e36-407d-9944-322b9d17f700" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22445,137 +28152,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["e35c24c4-cce4-4fdd-a8e2-4eb45d29aab3","3efc684c-005b-4955-bbf9-ae28f1ac0e2a"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "a235afb0-62e8-49bc-86f1-a098141bbe08", + "12ed370c-ec3c-4f3f-a369-9fb29245cd40" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22587,137 +28705,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["e35c24c4-cce4-4fdd-a8e2-4eb45d29aab3","3efc684c-005b-4955-bbf9-ae28f1ac0e2a"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "a235afb0-62e8-49bc-86f1-a098141bbe08", + "12ed370c-ec3c-4f3f-a369-9fb29245cd40" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22729,137 +29258,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["e35c24c4-cce4-4fdd-a8e2-4eb45d29aab3","3efc684c-005b-4955-bbf9-ae28f1ac0e2a"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "a235afb0-62e8-49bc-86f1-a098141bbe08", + "12ed370c-ec3c-4f3f-a369-9fb29245cd40" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -22871,137 +29811,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["e35c24c4-cce4-4fdd-a8e2-4eb45d29aab3","3efc684c-005b-4955-bbf9-ae28f1ac0e2a"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "a235afb0-62e8-49bc-86f1-a098141bbe08", + "12ed370c-ec3c-4f3f-a369-9fb29245cd40" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23081,137 +30432,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["bcd15fcb-fa12-4303-aa15-bb4b2bdb506c","938eb932-29fa-4079-bacb-efedee590ead"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "395f25a3-e503-4a5b-b301-914dcac5ff90", + "9b202dce-a9a4-417e-a086-b79149674b5d" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23223,137 +30985,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["bcd15fcb-fa12-4303-aa15-bb4b2bdb506c","938eb932-29fa-4079-bacb-efedee590ead"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "395f25a3-e503-4a5b-b301-914dcac5ff90", + "9b202dce-a9a4-417e-a086-b79149674b5d" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23365,137 +31538,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["bcd15fcb-fa12-4303-aa15-bb4b2bdb506c","938eb932-29fa-4079-bacb-efedee590ead"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "395f25a3-e503-4a5b-b301-914dcac5ff90", + "9b202dce-a9a4-417e-a086-b79149674b5d" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23507,137 +32091,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 811": { + "Example 1": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 812": { + "Example 2": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 813": { + "Example 3": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 814": { + "Example 4": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 815": { + "Example 5": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 816": { + "Example 6": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 817": { + "Example 7": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 818": { + "Example 8": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 819": { + "Example 9": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 820": { + "Example 10": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["bcd15fcb-fa12-4303-aa15-bb4b2bdb506c","938eb932-29fa-4079-bacb-efedee590ead"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "395f25a3-e503-4a5b-b301-914dcac5ff90", + "9b202dce-a9a4-417e-a086-b79149674b5d" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 821": { + "Example 11": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 822": { + "Example 12": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 823": { + "Example 13": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 824": { + "Example 14": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 825": { + "Example 15": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 826": { + "Example 16": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 827": { + "Example 17": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 828": { + "Example 18": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 829": { + "Example 19": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 830": { + "Example 20": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 831": { + "Example 21": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 832": { + "Example 22": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 833": { + "Example 23": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 834": { + "Example 24": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 835": { + "Example 25": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 836": { + "Example 26": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 837": { + "Example 27": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23694,137 +32689,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["34bcef75-0789-4d0a-8451-3479074bb298","68d6f337-1c2d-49b6-9c36-725b7124c15b"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "827d01d0-89a7-4b79-972b-c5dd0c3b96ee", + "a13f90b1-9489-436c-9109-032825e29c33" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23836,137 +33242,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["34bcef75-0789-4d0a-8451-3479074bb298","68d6f337-1c2d-49b6-9c36-725b7124c15b"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "827d01d0-89a7-4b79-972b-c5dd0c3b96ee", + "a13f90b1-9489-436c-9109-032825e29c33" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -23978,137 +33795,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["34bcef75-0789-4d0a-8451-3479074bb298","68d6f337-1c2d-49b6-9c36-725b7124c15b"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "827d01d0-89a7-4b79-972b-c5dd0c3b96ee", + "a13f90b1-9489-436c-9109-032825e29c33" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -24120,137 +34348,548 @@ "$ref": "#/components/schemas/GrantaServerApiSearchSearchRequest" }, "examples": { - "Example 838": { + "Example 28": { "summary": "Free text search", "description": "This example demonstrates how to create a new free text search with results sorted by relevance", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ] + } }, - "Example 839": { + "Example 29": { "summary": "Free text search with boosted identities", "description": "A free text search in MI_TRAINING in attributes with identities -4 (record name), 928 and 886 with results in the record name boosted by a factor of 20", - "value": {"criterion":{"value":"lead","attributes":{"identities":[-4,928,886],"guids":[],"filterOn":"specific"},"localColumns":{"filterOn":"none"},"attributeIdentitiesToBoost":[{"identity":-4,"boostFactor":20.0}],"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "lead", + "attributes": { + "identities": [ + -4, + 928, + 886 + ], + "guids": [], + "filterOn": "specific" + }, + "localColumns": { + "filterOn": "none" + }, + "attributeIdentitiesToBoost": [ + { + "identity": -4, + "boostFactor": 20.0 + } + ], + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 840": { + "Example 30": { "summary": "Free text search with excluded columns", "description": "A free text search in MI_TRAINING with local tabular columns 'Comments' and 'Category' from 'Restricted substances that may be used in the manufacture of this material' tabular attribute from 'MaterialUniverse' table excluded from search.", - "value": {"criterion":{"value":"Intermediate","attributes":{"filterOn":"none"},"localColumns":{"identities":[],"guids":["d5c215fe-6305-407b-a830-cc5ff14e4cf9","bfb3edea-be3e-4598-a711-6abb171a4569"],"filterOn":"specific"},"type":"text"},"sortCriteria":[]} + "value": { + "criterion": { + "value": "Intermediate", + "attributes": { + "filterOn": "none" + }, + "localColumns": { + "identities": [], + "guids": [ + "d5c215fe-6305-407b-a830-cc5ff14e4cf9", + "bfb3edea-be3e-4598-a711-6abb171a4569" + ], + "filterOn": "specific" + }, + "type": "text" + }, + "sortCriteria": [] + } }, - "Example 841": { + "Example 31": { "summary": "Simple attribute search", "description": "A simple search in MI_TRAINING on an integer 8965 attribute, with results sorted by that attribute", "value": {"criterion":{"innerCriterion":{"gte":1,"lte":10,"type":"integer"},"attributeCriterionType":"matches","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"identity":8965,"attributeType":"integer","type":"attribute","sortDirection":"ascending"}]} }, - "Example 842": { + "Example 32": { "summary": "Attribute exists search", "description": "A search in MI_TRAINING on for records that have data for integer 8965 attribute", "value": {"criterion":{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 843": { + "Example 33": { "summary": "Multiple attribute search", "description": "A search where results must match all three attribute criterion (the long text meta attribute exist, the date time attribute has a value in the given range, and the discrete attribute has one of the given values)", "value": {"criterion":{"all":[{"innerCriterion":{"type":"longText"},"attributeCriterionType":"exists","identity":5886,"isMetaAttribute":true,"type":"attribute"},{"innerCriterion":{"gte":"1990-01-01T00:00:00+00:00","lte":"1999-12-31T00:00:00+00:00","type":"dateTime"},"attributeCriterionType":"matches","identity":5872,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"all":[],"any":[1665,1666],"none":[],"type":"discreteIdentityValues"},"attributeCriterionType":"matches","identity":5876,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"},"sortCriteria":[]} }, - "Example 844": { + "Example 34": { "summary": "Nested boolean search", "description": "A nested boolean search in MI_TRAINING where results must either match the free text search for 'steel', or both the integer attribute with identity 8965 exists and attribute with identity 928 is not applicable", - "value": {"criterion":{"all":[],"any":[{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},{"all":[{"innerCriterion":{"type":"integer"},"attributeCriterionType":"exists","identity":8965,"isMetaAttribute":false,"type":"attribute"},{"attributeCriterionType":"notApplicable","identity":928,"isMetaAttribute":false,"type":"attribute"}],"any":[],"none":[],"type":"boolean"}],"none":[],"type":"boolean"},"sortCriteria":[]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + { + "all": [ + { + "innerCriterion": { + "type": "integer" + }, + "attributeCriterionType": "exists", + "identity": 8965, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "attributeCriterionType": "notApplicable", + "identity": 928, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "any": [], + "none": [], + "type": "boolean" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [] + } }, - "Example 845": { + "Example 35": { "summary": "Record name search", "description": "A search in MI_TRAINING for a value in either the (full) record name, the short (tree) name, or the breadcrumbs, sorted by (full) record name", - "value": {"criterion":{"all":[],"any":[{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-4,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-9,"isMetaAttribute":false,"type":"attribute"},{"innerCriterion":{"value":"steel","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","identity":-10,"isMetaAttribute":false,"type":"attribute"}],"none":[],"type":"boolean"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "all": [], + "any": [ + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -4, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -9, + "isMetaAttribute": false, + "type": "attribute" + }, + { + "innerCriterion": { + "value": "steel", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "identity": -10, + "isMetaAttribute": false, + "type": "attribute" + } + ], + "none": [], + "type": "boolean" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 846": { + "Example 36": { "summary": "Record color search", "description": "A search in MI_TRAINING for results where the record color is red, sorted by record name", - "value": {"criterion":{"innerCriterion":{"all":["red"],"any":[],"none":[],"textMatchBehavior":"contains","type":"discreteTextValues"},"attributeCriterionType":"matches","identity":-6,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"property":"recordName","sortType":"natural","type":"recordProperty","sortDirection":"descending"}]} + "value": { + "criterion": { + "innerCriterion": { + "all": [ + "red" + ], + "any": [], + "none": [], + "textMatchBehavior": "contains", + "type": "discreteTextValues" + }, + "attributeCriterionType": "matches", + "identity": -6, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [ + { + "property": "recordName", + "sortType": "natural", + "type": "recordProperty", + "sortDirection": "descending" + } + ] + } }, - "Example 847": { + "Example 37": { "summary": "Record list search", "description": "A search in MI_TRAINING for results where the record is in any of the given (favorites) list", - "value": {"criterion":{"recordListIdentifiers":["34bcef75-0789-4d0a-8451-3479074bb298","68d6f337-1c2d-49b6-9c36-725b7124c15b"],"type":"recordListMember"},"sortCriteria":[]} + "value": { + "criterion": { + "recordListIdentifiers": [ + "827d01d0-89a7-4b79-972b-c5dd0c3b96ee", + "a13f90b1-9489-436c-9109-032825e29c33" + ], + "type": "recordListMember" + }, + "sortCriteria": [] + } }, - "Example 848": { + "Example 38": { "summary": "Record reference search", "description": "A search in MI_TRAINING for results where the record matches the record history GUID", "value": {"criterion":{"databaseKey":"MI_Training","recordHistoryGuid":"dc1c65fc-25fa-4b86-9b5b-d3f25fa2a8ae","type":"reference"},"sortCriteria":[]} }, - "Example 849": { + "Example 39": { "summary": "Record ancestor search", "description": "A search in MI_TRAINING for results where the record is below the Glasses folder in the tree", "value": {"criterion":{"ancestorIdentity":8923,"directParentOnly":false,"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 850": { + "Example 40": { "summary": "Top level records search", "description": "A search in MI_TRAINING for results where the record has no parent in the tree", "value": {"criterion":{"type":"recordAncestor"},"sortCriteria":[]} }, - "Example 851": { + "Example 41": { "summary": "Subset search", "description": "A search in MI_TRAINING for results where the record is in the Material Universe 'Ceramics' subset", "value": {"criterion":{"subsetGuid":"00000b36-0010-4fff-8fff-dd92ffff0000","type":"subset"},"sortCriteria":[]} }, - "Example 852": { + "Example 42": { "summary": "Tabular data link exists", "description": "A tabular search in MI_TRAINING where there is a tabular link from the tabular attribute 'Restricted substances that may be associated with this material'. Target attribute and table may both be omitted, but this could affect performance.", "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","type":"link"},"attributeCriterionType":"exists","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 853": { + "Example 43": { "summary": "Tabular data local column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where the 'amount' is greater than 10% ('amount' is a local column).", - "value": {"criterion":{"innerCriterion":{"localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"localColumnCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","type":"localColumn"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "localColumnCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "type": "localColumn" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 854": { + "Example 44": { "summary": "Tabular data linked attribute column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material', where there is a linked 'Restricted Substance' with an 'amount' greater than 10% ('amount' is a local column), and the 'Chemical name' attribute in the linked 'Restricted Substances' table contains 'Alkanes'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","localCriterion":{"innerCriterion":{"gte":10.0,"type":"range"},"attributeCriterionType":"matches","guid":"1f1e5808-5a10-4b70-9ff6-8b832bf561d8","isMetaAttribute":false,"type":"attribute"},"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"value":"Alkanes","textMatchBehavior":"contains","type":"shortText"},"attributeCriterionType":"matches","guid":"5555b6f5-d492-4efd-bfe3-3e9faf79ab07","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "localCriterion": { + "innerCriterion": { + "gte": 10.0, + "type": "range" + }, + "attributeCriterionType": "matches", + "guid": "1f1e5808-5a10-4b70-9ff6-8b832bf561d8", + "isMetaAttribute": false, + "type": "attribute" + }, + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "value": "Alkanes", + "textMatchBehavior": "contains", + "type": "shortText" + }, + "attributeCriterionType": "matches", + "guid": "5555b6f5-d492-4efd-bfe3-3e9faf79ab07", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 855": { + "Example 45": { "summary": "Tabular data linked column column search", "description": "A tabular search in MI_TRAINING on the tabular attribute 'Restricted substances that may be associated with this material' where there is a linked 'Restricted Substance', which has a linked 'Legislations and Lists' via the tabular attribute 'Legislations restricting its use', and the 'Legislation rating' is 'Banned with conditions'. Target attribute and table may both be omitted, but this could affect performance.", - "value": {"criterion":{"innerCriterion":{"targetTableGuid":"fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"446d4fc3-f902-4875-9e48-6df9a691c2b0","innerCriterion":{"innerCriterion":{"targetTableGuid":"08a1f735-9b37-49bc-96b3-e46e070f6c17","targetDatabaseKey":"MI_TRAINING","linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"targetAttributeGuid":"77e38bc0-d8ab-484d-a84c-a9ffec81afab","innerCriterion":{"innerCriterion":{"value":"Banned with conditions","textMatchBehavior":"exactMatch","type":"discreteText"},"attributeCriterionType":"matches","guid":"5d7b7b7e-b666-4279-9964-2f28c4123c45","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc","isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"6e5d7d7b-be80-4e81-b013-0a19db19305f","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableGuid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "446d4fc3-f902-4875-9e48-6df9a691c2b0", + "innerCriterion": { + "innerCriterion": { + "targetTableGuid": "08a1f735-9b37-49bc-96b3-e46e070f6c17", + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "targetAttributeGuid": "77e38bc0-d8ab-484d-a84c-a9ffec81afab", + "innerCriterion": { + "innerCriterion": { + "value": "Banned with conditions", + "textMatchBehavior": "exactMatch", + "type": "discreteText" + }, + "attributeCriterionType": "matches", + "guid": "5d7b7b7e-b666-4279-9964-2f28c4123c45", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc", + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "6e5d7d7b-be80-4e81-b013-0a19db19305f", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 856": { + "Example 46": { "summary": "Tabular linking value search", "description": "A tabular search in MI_TRAINING where the tabular linking value for the tabular attribute 'Restricted substances associated with this material' contains '85535'", - "value": {"criterion":{"innerCriterion":{"linkDatumType":"tabularAttribute","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"values":["85535"],"linkingValueMatchBehavior":"FreeTextMatchingRows","type":"tabularLinkingValue"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","guid":"51e51832-0bcc-4fe0-bb95-ddd6917dc554","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "linkDatumType": "tabularAttribute", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "values": [ + "85535" + ], + "linkingValueMatchBehavior": "FreeTextMatchingRows", + "type": "tabularLinkingValue" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "guid": "51e51832-0bcc-4fe0-bb95-ddd6917dc554", + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 857": { + "Example 47": { "summary": "Record link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where record link to table with identity 59 exists where the target has a populated picture attribute with identity 8563. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"picture"},"attributeCriterionType":"exists","identity":8563,"isMetaAttribute":false,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 59, + "targetDatabaseKey": "MI_TRAINING", + "linkDatumType": "recordLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "picture" + }, + "attributeCriterionType": "exists", + "identity": 8563, + "isMetaAttribute": false, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 101, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 858": { + "Example 48": { "summary": "Record link exists search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a record link to table with identity 59 exists. Note that link searches must be made against a specific table", "value": {"criterion":{"innerCriterion":{"targetTableIdentity":59,"targetDatabaseKey":"MI_TRAINING","linkDatumType":"recordLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"type":"link"},"attributeCriterionType":"exists","identity":101,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 859": { + "Example 49": { "summary": "Cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a cross database link to table with identity 56 in Target_Database exists and the linked record has a populated float functional meta attribute with identity 33. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":56,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":false,"innerCriterion":{"innerCriterion":{"type":"floatFunctional"},"attributeCriterionType":"exists","identity":33,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":45,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 56, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": false, + "innerCriterion": { + "innerCriterion": { + "type": "floatFunctional" + }, + "attributeCriterionType": "exists", + "identity": 33, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 45, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 860": { + "Example 50": { "summary": "Reverse cross database link search", "description": "A search in MI_TRAINING from Metals Pedigree table ($ad27baf0-42e9-4136-bc96-9dbbf116e265) where a reverse cross database link from table 39 in Target_Database exists and the linked record has a populated file attribute with identity 87. Note that link searches must be made against a specific table", - "value": {"criterion":{"innerCriterion":{"targetTableIdentity":39,"targetDatabaseKey":"Target_Database","linkDatumType":"crossDatabaseLink","indirectLinks":"fromLinkDefinition","searchInReversedDirection":true,"innerCriterion":{"innerCriterion":{"type":"file"},"attributeCriterionType":"exists","identity":87,"isMetaAttribute":true,"type":"attribute"},"type":"link","localRowsBehavior":"AllRows"},"attributeCriterionType":"matches","identity":65,"isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} + "value": { + "criterion": { + "innerCriterion": { + "targetTableIdentity": 39, + "targetDatabaseKey": "Target_Database", + "linkDatumType": "crossDatabaseLink", + "indirectLinks": "fromLinkDefinition", + "searchInReversedDirection": true, + "innerCriterion": { + "innerCriterion": { + "type": "file" + }, + "attributeCriterionType": "exists", + "identity": 87, + "isMetaAttribute": true, + "type": "attribute" + }, + "type": "link", + "localRowsBehavior": "AllRows" + }, + "attributeCriterionType": "matches", + "identity": 65, + "isMetaAttribute": false, + "type": "attribute" + }, + "sortCriteria": [] + } }, - "Example 861": { + "Example 51": { "summary": "Paginated search", "description": "A free text search where only the first 5 results will be returned initially, and the results have a sliding expiration time of 10 minutes", - "value": {"criterion":{"value":"steel","attributes":{"filterOn":"all"},"localColumns":{"filterOn":"all"},"type":"text"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}],"pagingOptions":{"pageSize":5,"keepAliveInMinutes":10,"pageNumber":1}} + "value": { + "criterion": { + "value": "steel", + "attributes": { + "filterOn": "all" + }, + "localColumns": { + "filterOn": "all" + }, + "type": "text" + }, + "sortCriteria": [ + { + "type": "relevance", + "sortDirection": "ascending" + } + ], + "pagingOptions": { + "pageSize": 5, + "keepAliveInMinutes": 10, + "pageNumber": 1 + } + } }, - "Example 862": { + "Example 52": { "summary": "Float functional graph search", "description": "A search on the float functional attribute 'Young's modulus with temperature' for records that have at least one series, use the Temperature parameter (00000001-000a-4fff-8fff-0000ffff0000) on the X-Axis and are not marked as 'Show as table'", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalGraph","xAxisParameterGuid":"00000001-000a-4fff-8fff-0000ffff0000","numberOfSeriesGte":1,"showAsTable":false},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[{"type":"relevance","sortDirection":"ascending"}]} }, - "Example 863": { + "Example 53": { "summary": "Float functional search by attribute value", "description": "A search in MI_TRAINING on 'Young's modulus with temperature' for records that have a Young's Modulus of between 75 and 80 GPa at a temperature of 100°C", "value": {"criterion":{"innerCriterion":{"type":"floatFunctionalData","gte":75.0,"lte":80.0,"constraints":[{"gte":100.0,"lte":100.0,"scaleType":"linear","interpolationType":"linear","type":"numeric","parameter":{"guid":"00000001-000a-4fff-8fff-0000ffff0000"}}]},"attributeCriterionType":"matches","guid":"00000001-0001-4fff-8fff-dd92ffff0000","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} }, - "Example 864": { + "Example 54": { "summary": "Discrete functional search", "description": "A search in MI_TRAINING on 'Environmental Resistance' for records that have a resistance of 'Good' or 'Very good' in the Chemical Environment of 'Fresh Water'", "value": {"criterion":{"innerCriterion":{"anyGuids":["00000032-0007-4fff-8fff-000cffff0000","00000033-0007-4fff-8fff-000cffff0000"],"type":"discreteFunctionalValues","constraints":[{"any":["Fresh water"],"type":"discreteName","parameter":{"guid":"b7cee874-160f-439a-a784-b887c516b2d5"}}]},"attributeCriterionType":"matches","guid":"0cb16afc-c567-4e20-943c-9639b30fee62","isMetaAttribute":false,"type":"attribute"},"sortCriteria":[]} @@ -24348,6 +34987,9 @@ } } }, + "403": { + "description": "Forbidden" + }, "404": { "description": "Search not found" } @@ -24375,6 +35017,9 @@ "200": { "description": "Ok" }, + "403": { + "description": "Forbidden" + }, "404": { "description": "Search not found" } @@ -27418,6 +38063,9 @@ }, "isEstimated": { "type": "boolean" + }, + "isRange": { + "type": "boolean" } }, "additionalProperties": false, @@ -27487,9 +38135,6 @@ "isLogarithmic": { "type": "boolean" }, - "isRange": { - "type": "boolean" - }, "showAsTable": { "type": "boolean" } @@ -34411,11 +45056,9 @@ }, "GrantaServerApiSchemaDatabase": { "required": [ - "guid", "isLocked", "isReadOnly", "key", - "name", "status" ], "type": "object", @@ -34443,11 +45086,6 @@ "key": { "type": "string" }, - "versionGuid": { - "type": "string", - "format": "uuid", - "nullable": true - }, "status": { "$ref": "#/components/schemas/GrantaServerApiDatabaseStatus" }, @@ -34457,6 +45095,20 @@ "isLocked": { "type": "boolean" }, + "name": { + "type": "string", + "nullable": true + }, + "guid": { + "type": "string", + "format": "uuid", + "nullable": true + }, + "versionGuid": { + "type": "string", + "format": "uuid", + "nullable": true + }, "indexInSync": { "type": "boolean", "nullable": true @@ -34473,13 +45125,6 @@ "schemaVersion": { "type": "string", "nullable": true - }, - "name": { - "type": "string" - }, - "guid": { - "type": "string", - "format": "uuid" } }, "additionalProperties": false @@ -37210,11 +47855,9 @@ }, "GrantaServerApiSchemaSlimEntitiesSlimDatabase": { "required": [ - "guid", "isLocked", "isReadOnly", "key", - "name", "status" ], "type": "object", @@ -37222,11 +47865,6 @@ "key": { "type": "string" }, - "versionGuid": { - "type": "string", - "format": "uuid", - "nullable": true - }, "status": { "$ref": "#/components/schemas/GrantaServerApiDatabaseStatus" }, @@ -37236,6 +47874,20 @@ "isLocked": { "type": "boolean" }, + "name": { + "type": "string", + "nullable": true + }, + "guid": { + "type": "string", + "format": "uuid", + "nullable": true + }, + "versionGuid": { + "type": "string", + "format": "uuid", + "nullable": true + }, "indexInSync": { "type": "boolean", "nullable": true @@ -37252,13 +47904,6 @@ "schemaVersion": { "type": "string", "nullable": true - }, - "name": { - "type": "string" - }, - "guid": { - "type": "string", - "format": "uuid" } }, "additionalProperties": false @@ -40052,6 +50697,29 @@ "description": "dateTime: Criterion for matching records where the datetime data is within the given bounds. If one of gte or lte is null, this will be an open ended search.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "dateTime" }, + "GrantaServerApiSearchDateTimeDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "dateTime" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "dateTime" + }, "GrantaServerApiSearchDatumCriterion": { "type": "object", "additionalProperties": false, @@ -40088,15 +50756,75 @@ "GrantaServerApiSearchDatumExistsCriterion": { "type": "object", "additionalProperties": false, - "description": "Inner criterion of an attribute search criterion for when the only bit of information about the datum that we want to convey is its type\r\nFor link datum types, linking information must also be provided.\r\n\r\nThis is one of: \r\n * GrantaServerApiSearchLinkExistsDatumCriterion\r\n * GrantaServerApiSearchSimpleDatumExistsCriterion", + "description": "Inner criterion of an attribute search criterion for when the only bit of information about the datum that we want to convey is its type\r\nFor link datum types, linking information must also be provided.\r\n\r\nThis is one of: \r\n * GrantaServerApiSearchIntegerDatumExistsCriterion\r\n * GrantaServerApiSearchPointDatumExistsCriterion\r\n * GrantaServerApiSearchRangeDatumExistsCriterion\r\n * GrantaServerApiSearchLogicalDatumExistsCriterion\r\n * GrantaServerApiSearchShortTextDatumExistsCriterion\r\n * GrantaServerApiSearchLongTextDatumExistsCriterion\r\n * GrantaServerApiSearchDateTimeDatumExistsCriterion\r\n * GrantaServerApiSearchDiscreteDatumExistsCriterion\r\n * GrantaServerApiSearchHyperlinkDatumExistsCriterion\r\n * GrantaServerApiSearchFileDatumExistsCriterion\r\n * GrantaServerApiSearchPictureDatumExistsCriterion\r\n * GrantaServerApiSearchLinkExistsDatumCriterion\r\n * GrantaServerApiSearchFloatFunctionalDatumExistsCriterion\r\n * GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion\r\n * GrantaServerApiSearchMathsFunctionalDatumExistsCriterion\r\n * GrantaServerApiSearchTabularDatumExistsCriterion", "discriminator": { "propertyName": "type", "mapping": { + "integer": "#/components/schemas/GrantaServerApiSearchIntegerDatumExistsCriterion", + "point": "#/components/schemas/GrantaServerApiSearchPointDatumExistsCriterion", + "range": "#/components/schemas/GrantaServerApiSearchRangeDatumExistsCriterion", + "logical": "#/components/schemas/GrantaServerApiSearchLogicalDatumExistsCriterion", + "shortText": "#/components/schemas/GrantaServerApiSearchShortTextDatumExistsCriterion", + "longText": "#/components/schemas/GrantaServerApiSearchLongTextDatumExistsCriterion", + "dateTime": "#/components/schemas/GrantaServerApiSearchDateTimeDatumExistsCriterion", + "discrete": "#/components/schemas/GrantaServerApiSearchDiscreteDatumExistsCriterion", + "hyperlink": "#/components/schemas/GrantaServerApiSearchHyperlinkDatumExistsCriterion", + "file": "#/components/schemas/GrantaServerApiSearchFileDatumExistsCriterion", + "picture": "#/components/schemas/GrantaServerApiSearchPictureDatumExistsCriterion", "link": "#/components/schemas/GrantaServerApiSearchLinkExistsDatumCriterion", - "type": "#/components/schemas/GrantaServerApiSearchSimpleDatumExistsCriterion" + "floatFunctional": "#/components/schemas/GrantaServerApiSearchFloatFunctionalDatumExistsCriterion", + "discreteFunctional": "#/components/schemas/GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion", + "mathsFunctional": "#/components/schemas/GrantaServerApiSearchMathsFunctionalDatumExistsCriterion", + "tabular": "#/components/schemas/GrantaServerApiSearchTabularDatumExistsCriterion" } } }, + "GrantaServerApiSearchDiscreteDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "discrete" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "discrete" + }, + "GrantaServerApiSearchDiscreteFunctionalDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "discreteFunctional" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "discreteFunctional" + }, "GrantaServerApiSearchDiscreteFunctionalRangeDatumCriterion": { "required": [ "type" @@ -40587,6 +51315,29 @@ "description": "\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "file" }, + "GrantaServerApiSearchFileDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "file" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "file" + }, "GrantaServerApiSearchFloatFunctionalDatumCriterion": { "required": [ "type" @@ -40631,6 +51382,29 @@ "description": "floatFunctionalData: Criterion for matching records with float functional data\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "floatFunctionalData" }, + "GrantaServerApiSearchFloatFunctionalDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "floatFunctional" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "floatFunctional" + }, "GrantaServerApiSearchFloatFunctionalGraphDatumCriterion": { "required": [ "type" @@ -40800,6 +51574,29 @@ "description": "hyperlink: Criterion for matching records where the hyperlink description contains the given value.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "hyperlink" }, + "GrantaServerApiSearchHyperlinkDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "hyperlink" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "hyperlink" + }, "GrantaServerApiSearchIndexStatus": { "type": "object", "properties": { @@ -40887,6 +51684,29 @@ "description": "integer: Criterion for matching records where the integer data is within the given bounds. If one of gte or lte is null, this will be an open ended search.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "integer" }, + "GrantaServerApiSearchIntegerDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "integer" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "integer" + }, "GrantaServerApiSearchLinkDatumCriterion": { "required": [ "type" @@ -41183,6 +52003,29 @@ "description": "\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "logical" }, + "GrantaServerApiSearchLogicalDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "logical" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "logical" + }, "GrantaServerApiSearchLongSortingValue": { "required": [ "type" @@ -41238,6 +52081,29 @@ "description": "\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "longText" }, + "GrantaServerApiSearchLongTextDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "longText" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "longText" + }, "GrantaServerApiSearchMathsFunctionalDatumCriterion": { "required": [ "type" @@ -41282,6 +52148,29 @@ "description": "mathsFunctional: Criterion for matching records with maths functional data (EELs)\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "mathsFunctional" }, + "GrantaServerApiSearchMathsFunctionalDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "mathsFunctional" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "mathsFunctional" + }, "GrantaServerApiSearchNumericParameterConstraint": { "required": [ "type" @@ -41396,6 +52285,29 @@ "description": "picture: Criterion for matching records where picture data exists.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "picture" }, + "GrantaServerApiSearchPictureDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "picture" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "picture" + }, "GrantaServerApiSearchPointDatumCriterion": { "required": [ "type" @@ -41431,6 +52343,29 @@ "description": "Criterion for matching records where the point data is within the given bounds. If one of gte or lte is null, this will be an open ended search.\r\nIf this is a unitted attribute, the search values should be given in terms of the units defined for the attribute in the database/integration schema.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "point" }, + "GrantaServerApiSearchPointDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "point" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "point" + }, "GrantaServerApiSearchRangeDatumCriterion": { "required": [ "type" @@ -41466,6 +52401,29 @@ "description": "Criterion for matching records where the range data is within the given bounds. If one of gte or lte is null, this will be an open ended search.\r\nIf this is a unitted attribute, the search values should be given in terms of the units defined for the attribute in the database/integration schema.\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "range" }, + "GrantaServerApiSearchRangeDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "range" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "range" + }, "GrantaServerApiSearchRecordAncestorCriterion": { "required": [ "type" @@ -41905,7 +52863,7 @@ "description": "\r\n\r\nThis extends: GrantaServerApiSearchDatumCriterion", "x-discriminator-value": "shortText" }, - "GrantaServerApiSearchSimpleDatumExistsCriterion": { + "GrantaServerApiSearchShortTextDatumExistsCriterion": { "required": [ "type" ], @@ -41919,14 +52877,14 @@ "properties": { "type": { "type": "string", - "default": "type" + "default": "shortText" } } } ], "additionalProperties": false, "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", - "x-discriminator-value": "type" + "x-discriminator-value": "shortText" }, "GrantaServerApiSearchSortCriterion": { "type": "object", @@ -42001,6 +52959,29 @@ "description": "\r\n\r\nThis extends: GrantaServerApiSearchSortingValue", "x-discriminator-value": "text" }, + "GrantaServerApiSearchTabularDatumExistsCriterion": { + "required": [ + "type" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GrantaServerApiSearchDatumExistsCriterion" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "tabular" + } + } + } + ], + "additionalProperties": false, + "description": "Inner criterion of an attribute exists search criterion for when the only bit of information about the datum that we want to convey is its type\r\n\r\nThis extends: GrantaServerApiSearchDatumExistsCriterion", + "x-discriminator-value": "tabular" + }, "GrantaServerApiSearchTabularLinkingValueCriterion": { "required": [ "type"