From e10c4a7d08452a827cbe472ce2cde0bc9a3c3811 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Sat, 23 Aug 2025 11:04:33 +0000 Subject: [PATCH 1/2] Update swagger.json --- yaml/server-api.json | 12986 ++++++----------------------------------- 1 file changed, 1773 insertions(+), 11213 deletions(-) diff --git a/yaml/server-api.json b/yaml/server-api.json index d754e413..2ead22fe 100644 --- a/yaml/server-api.json +++ b/yaml/server-api.json @@ -5,929 +5,6 @@ "version": "v1" }, "paths": { - "/v1alpha/activity-log/entries": { - "post": { - "tags": [ - "ActivityLog" - ], - "summary": "Get filtered activity log entries, ordered from newest to oldest.", - "operationId": "GetEntries", - "parameters": [ - { - "name": "pageSize", - "in": "query", - "description": "Page size. Defaults to 1 000. The limit is 10 000.", - "schema": { - "type": "integer", - "format": "int32", - "default": 1000 - } - }, - { - "name": "page", - "in": "query", - "description": "Page number. Defaults to 1.", - "schema": { - "type": "integer", - "format": "int32", - "default": 1 - } - } - ], - "requestBody": { - "description": "Filter object used to narrow down the entries to return.", - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesFilter" - }, - "examples": { - "Example 1": { - "summary": "Get activity log entries after a specific date", - "description": "Get activity log entries after a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": false, - "dateToInclusive": false - } - } - }, - "Example 2": { - "summary": "Get activity log entries after or on a specific date", - "description": "Get activity log entries after or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - } - } - }, - "Example 3": { - "summary": "Get activity log entries before a specific date", - "description": "Get activity log entries before a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": false - } - } - }, - "Example 4": { - "summary": "Get activity log entries before or on a specific date", - "description": "Get activity log entries before or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 5": { - "summary": "Get activity log entries between specific dates", - "description": "Get activity log entries between specific dates. Inclusive flag defaults to false. If both dates are specified, 'to date' must be later than 'from date'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 6": { - "summary": "Get activity log entries where username is the exact match (case-insensitive)", - "description": "Get activity log entries where username is the exact match (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "mi_user", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 7": { - "summary": "Get activity log entries where username contains the specified value (case-insensitive)", - "description": "Get activity log entries where username contains the specified value (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 8": { - "summary": "Get activity log entries where application names match the specified list", - "description": "Get activity log entries where application names match the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionExactMatch" - } - } - }, - "Example 9": { - "summary": "Get activity log entries where application names include those from the specified list", - "description": "Get activity log entries where application names include those from the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionContains" - } - } - }, - "Example 10": { - "summary": "Get activity log entries where at least one of the application names matches the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names matches the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 11": { - "summary": "Get activity log entries where at least one of the application names contains the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names contains the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 12": { - "summary": "Get activity log entries where database key matches specified value (case-insensitive)", - "description": "Get activity log entries where database key matches specified value (case-insensitive). If database key filter is specified `databaseKeyToMatch` must be set, but can be null to match entries without database value. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 13": { - "summary": "Get activity log entries where database key contains specified value (case-insensitive)", - "description": "Get activity log entries where database key contains specified value (case-insensitive). For this request `databaseKeyToMatch` must be set and CANNOT be null.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "training", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 14": { - "summary": "Get activity log entries where usage mode is equal to 'view'", - "description": "Get activity log entries where usage mode is equal to 'view'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - }, - "Example 15": { - "summary": "Get activity log entries where usage mode is equal to 'edit'", - "description": "Get activity log entries where usage mode is equal to 'edit'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "edit" - } - } - }, - "Example 16": { - "summary": "Get activity log entries that meet multiple filters", - "description": "Get activity log entries since 7 days ago (inclusive), for which the username contains the word 'admin', with at least one application name matching 'MI Explore' (case-insensitive), database key that matches 'MI_Training' (case-insensitive) and usage mode equal to 'view'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - }, - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - }, - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - }, - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - }, - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesFilter" - }, - "examples": { - "Example 1": { - "summary": "Get activity log entries after a specific date", - "description": "Get activity log entries after a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": false, - "dateToInclusive": false - } - } - }, - "Example 2": { - "summary": "Get activity log entries after or on a specific date", - "description": "Get activity log entries after or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - } - } - }, - "Example 3": { - "summary": "Get activity log entries before a specific date", - "description": "Get activity log entries before a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": false - } - } - }, - "Example 4": { - "summary": "Get activity log entries before or on a specific date", - "description": "Get activity log entries before or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 5": { - "summary": "Get activity log entries between specific dates", - "description": "Get activity log entries between specific dates. Inclusive flag defaults to false. If both dates are specified, 'to date' must be later than 'from date'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 6": { - "summary": "Get activity log entries where username is the exact match (case-insensitive)", - "description": "Get activity log entries where username is the exact match (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "mi_user", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 7": { - "summary": "Get activity log entries where username contains the specified value (case-insensitive)", - "description": "Get activity log entries where username contains the specified value (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 8": { - "summary": "Get activity log entries where application names match the specified list", - "description": "Get activity log entries where application names match the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionExactMatch" - } - } - }, - "Example 9": { - "summary": "Get activity log entries where application names include those from the specified list", - "description": "Get activity log entries where application names include those from the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionContains" - } - } - }, - "Example 10": { - "summary": "Get activity log entries where at least one of the application names matches the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names matches the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 11": { - "summary": "Get activity log entries where at least one of the application names contains the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names contains the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 12": { - "summary": "Get activity log entries where database key matches specified value (case-insensitive)", - "description": "Get activity log entries where database key matches specified value (case-insensitive). If database key filter is specified `databaseKeyToMatch` must be set, but can be null to match entries without database value. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 13": { - "summary": "Get activity log entries where database key contains specified value (case-insensitive)", - "description": "Get activity log entries where database key contains specified value (case-insensitive). For this request `databaseKeyToMatch` must be set and CANNOT be null.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "training", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 14": { - "summary": "Get activity log entries where usage mode is equal to 'view'", - "description": "Get activity log entries where usage mode is equal to 'view'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - }, - "Example 15": { - "summary": "Get activity log entries where usage mode is equal to 'edit'", - "description": "Get activity log entries where usage mode is equal to 'edit'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "edit" - } - } - }, - "Example 16": { - "summary": "Get activity log entries that meet multiple filters", - "description": "Get activity log entries since 7 days ago (inclusive), for which the username contains the word 'admin', with at least one application name matching 'MI Explore' (case-insensitive), database key that matches 'MI_Training' (case-insensitive) and usage mode equal to 'view'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - }, - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - }, - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - }, - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - }, - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesFilter" - }, - "examples": { - "Example 1": { - "summary": "Get activity log entries after a specific date", - "description": "Get activity log entries after a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": false, - "dateToInclusive": false - } - } - }, - "Example 2": { - "summary": "Get activity log entries after or on a specific date", - "description": "Get activity log entries after or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - } - } - }, - "Example 3": { - "summary": "Get activity log entries before a specific date", - "description": "Get activity log entries before a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": false - } - } - }, - "Example 4": { - "summary": "Get activity log entries before or on a specific date", - "description": "Get activity log entries before or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 5": { - "summary": "Get activity log entries between specific dates", - "description": "Get activity log entries between specific dates. Inclusive flag defaults to false. If both dates are specified, 'to date' must be later than 'from date'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 6": { - "summary": "Get activity log entries where username is the exact match (case-insensitive)", - "description": "Get activity log entries where username is the exact match (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "mi_user", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 7": { - "summary": "Get activity log entries where username contains the specified value (case-insensitive)", - "description": "Get activity log entries where username contains the specified value (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 8": { - "summary": "Get activity log entries where application names match the specified list", - "description": "Get activity log entries where application names match the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionExactMatch" - } - } - }, - "Example 9": { - "summary": "Get activity log entries where application names include those from the specified list", - "description": "Get activity log entries where application names include those from the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionContains" - } - } - }, - "Example 10": { - "summary": "Get activity log entries where at least one of the application names matches the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names matches the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 11": { - "summary": "Get activity log entries where at least one of the application names contains the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names contains the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 12": { - "summary": "Get activity log entries where database key matches specified value (case-insensitive)", - "description": "Get activity log entries where database key matches specified value (case-insensitive). If database key filter is specified `databaseKeyToMatch` must be set, but can be null to match entries without database value. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 13": { - "summary": "Get activity log entries where database key contains specified value (case-insensitive)", - "description": "Get activity log entries where database key contains specified value (case-insensitive). For this request `databaseKeyToMatch` must be set and CANNOT be null.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "training", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 14": { - "summary": "Get activity log entries where usage mode is equal to 'view'", - "description": "Get activity log entries where usage mode is equal to 'view'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - }, - "Example 15": { - "summary": "Get activity log entries where usage mode is equal to 'edit'", - "description": "Get activity log entries where usage mode is equal to 'edit'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "edit" - } - } - }, - "Example 16": { - "summary": "Get activity log entries that meet multiple filters", - "description": "Get activity log entries since 7 days ago (inclusive), for which the username contains the word 'admin', with at least one application name matching 'MI Explore' (case-insensitive), database key that matches 'MI_Training' (case-insensitive) and usage mode equal to 'view'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - }, - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - }, - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - }, - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - }, - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - } - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesFilter" - }, - "examples": { - "Example 1": { - "summary": "Get activity log entries after a specific date", - "description": "Get activity log entries after a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": false, - "dateToInclusive": false - } - } - }, - "Example 2": { - "summary": "Get activity log entries after or on a specific date", - "description": "Get activity log entries after or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - } - } - }, - "Example 3": { - "summary": "Get activity log entries before a specific date", - "description": "Get activity log entries before a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": false - } - } - }, - "Example 4": { - "summary": "Get activity log entries before or on a specific date", - "description": "Get activity log entries before or on a specific date. Inclusive flag defaults to false. If date filter is specified either from or to date must be set.", - "value": { - "dateFilter": { - "dateFromInclusive": false, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 5": { - "summary": "Get activity log entries between specific dates", - "description": "Get activity log entries between specific dates. Inclusive flag defaults to false. If both dates are specified, 'to date' must be later than 'from date'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateTo": "2025-08-17T00:00:00Z", - "dateToInclusive": true - } - } - }, - "Example 6": { - "summary": "Get activity log entries where username is the exact match (case-insensitive)", - "description": "Get activity log entries where username is the exact match (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "mi_user", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 7": { - "summary": "Get activity log entries where username contains the specified value (case-insensitive)", - "description": "Get activity log entries where username contains the specified value (case-insensitive). If username filter is specified, `usernameToMatch` must be set. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 8": { - "summary": "Get activity log entries where application names match the specified list", - "description": "Get activity log entries where application names match the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionExactMatch" - } - } - }, - "Example 9": { - "summary": "Get activity log entries where application names include those from the specified list", - "description": "Get activity log entries where application names include those from the specified list. If application names collection filter is specified `applicationNamesToMatch` must be set. Elements in the list are compared case-insensitive and require an exact match. `collectionMatchType` defaults to `collectionExactMatch`.", - "value": { - "applicationNamesCollectionFilter": { - "applicationNamesToMatch": [ - "MI Explore", - "Server API" - ], - "collectionMatchType": "collectionContains" - } - } - }, - "Example 10": { - "summary": "Get activity log entries where at least one of the application names matches the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names matches the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 11": { - "summary": "Get activity log entries where at least one of the application names contains the specified value (case-insensitive)", - "description": "Get activity log entries where at least one of the application names contains the specified value. If application name filter is specified `applicationNameToMatch` must be set. Value is compared case-insensitive. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "applicationNameFilter": { - "applicationNameToMatch": "MI", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 12": { - "summary": "Get activity log entries where database key matches specified value (case-insensitive)", - "description": "Get activity log entries where database key matches specified value (case-insensitive). If database key filter is specified `databaseKeyToMatch` must be set, but can be null to match entries without database value. `matchType` defaults to `exactMatchCaseInsensitive`.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - } - } - }, - "Example 13": { - "summary": "Get activity log entries where database key contains specified value (case-insensitive)", - "description": "Get activity log entries where database key contains specified value (case-insensitive). For this request `databaseKeyToMatch` must be set and CANNOT be null.", - "value": { - "databaseKeyFilter": { - "databaseKeyToMatch": "training", - "matchType": "containsCaseInsensitive" - } - } - }, - "Example 14": { - "summary": "Get activity log entries where usage mode is equal to 'view'", - "description": "Get activity log entries where usage mode is equal to 'view'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - }, - "Example 15": { - "summary": "Get activity log entries where usage mode is equal to 'edit'", - "description": "Get activity log entries where usage mode is equal to 'edit'. If usage mode filter is specified `usageModeToMatch` must be specified.", - "value": { - "usageModeFilter": { - "usageModeToMatch": "edit" - } - } - }, - "Example 16": { - "summary": "Get activity log entries that meet multiple filters", - "description": "Get activity log entries since 7 days ago (inclusive), for which the username contains the word 'admin', with at least one application name matching 'MI Explore' (case-insensitive), database key that matches 'MI_Training' (case-insensitive) and usage mode equal to 'view'.", - "value": { - "dateFilter": { - "dateFrom": "2025-08-15T00:00:00Z", - "dateFromInclusive": true, - "dateToInclusive": false - }, - "usernameFilter": { - "usernameToMatch": "admin", - "matchType": "containsCaseInsensitive" - }, - "applicationNameFilter": { - "applicationNameToMatch": "MI Explore", - "matchType": "exactMatchCaseInsensitive" - }, - "databaseKeyFilter": { - "databaseKeyToMatch": "MI_Training", - "matchType": "exactMatchCaseInsensitive" - }, - "usageModeFilter": { - "usageModeToMatch": "view" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Ok", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesInfo" - }, - "examples": { - "Example 1": { - "summary": "Example response for getting activity log entries.", - "description": "Example response for getting activity log entries.", - "value": { - "entries": [ - { - "date": "2025-08-22T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Viewer" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "edit" - }, - { - "date": "2025-08-21T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Explore", - "Server API" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "view" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesInfo" - }, - "examples": { - "Example 1": { - "summary": "Example response for getting activity log entries.", - "description": "Example response for getting activity log entries.", - "value": { - "entries": [ - { - "date": "2025-08-22T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Viewer" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "edit" - }, - { - "date": "2025-08-21T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Explore", - "Server API" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "view" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaActivityLogEntriesInfo" - }, - "examples": { - "Example 1": { - "summary": "Example response for getting activity log entries.", - "description": "Example response for getting activity log entries.", - "value": { - "entries": [ - { - "date": "2025-08-22T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Viewer" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "edit" - }, - { - "date": "2025-08-21T00:00:00+01:00", - "username": "mi_user", - "applicationNames": [ - "MI Explore", - "Server API" - ], - "databaseKey": "MI_TRAINING", - "usageMode": "view" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "403": { - "description": "Forbidden" - } - } - } - }, "/v1alpha/databases/{database-key}/tables/{table-identity}:aggregations": { "post": { "tags": [ @@ -939,12 +16,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -1096,7 +170,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88e63198-68f7-4033-bbec-5b802a3e0d75", + "criterionGuid": "aa77f914-8672-4fc4-94b2-4b71f4eb4df4", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1122,7 +196,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "040e77eb-686a-481b-9473-bf0e49d58ab1", + "criterionGuid": "19c51954-0512-43d5-808b-d225483384de", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1154,7 +228,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "a182a2f9-cc45-4b39-b53b-a6341e52998f", + "criterionGuid": "2e4e5274-e184-4d34-b361-b6e747631dbf", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1316,7 +390,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88e63198-68f7-4033-bbec-5b802a3e0d75", + "criterionGuid": "aa77f914-8672-4fc4-94b2-4b71f4eb4df4", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1342,7 +416,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "040e77eb-686a-481b-9473-bf0e49d58ab1", + "criterionGuid": "19c51954-0512-43d5-808b-d225483384de", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1374,7 +448,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "a182a2f9-cc45-4b39-b53b-a6341e52998f", + "criterionGuid": "2e4e5274-e184-4d34-b361-b6e747631dbf", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1536,7 +610,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88e63198-68f7-4033-bbec-5b802a3e0d75", + "criterionGuid": "aa77f914-8672-4fc4-94b2-4b71f4eb4df4", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1562,7 +636,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "040e77eb-686a-481b-9473-bf0e49d58ab1", + "criterionGuid": "19c51954-0512-43d5-808b-d225483384de", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1594,7 +668,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "a182a2f9-cc45-4b39-b53b-a6341e52998f", + "criterionGuid": "2e4e5274-e184-4d34-b361-b6e747631dbf", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1756,7 +830,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88e63198-68f7-4033-bbec-5b802a3e0d75", + "criterionGuid": "aa77f914-8672-4fc4-94b2-4b71f4eb4df4", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1782,7 +856,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "040e77eb-686a-481b-9473-bf0e49d58ab1", + "criterionGuid": "19c51954-0512-43d5-808b-d225483384de", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1814,7 +888,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "a182a2f9-cc45-4b39-b53b-a6341e52998f", + "criterionGuid": "2e4e5274-e184-4d34-b361-b6e747631dbf", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -1903,22 +977,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -2062,7 +1131,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "7d9cba84-22d4-4cc2-81a0-9a7d25fafe99", + "criterionGuid": "56aecdcd-6975-476c-82e1-ab9c1ba0cf89", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2088,7 +1157,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "764c0fa0-b912-4306-b89a-338283f79be4", + "criterionGuid": "eaeaa696-9eb1-4530-8c79-7be07356e0c7", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2120,7 +1189,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "bf0fbd8c-7f9f-4e49-892c-afe24f72905c", + "criterionGuid": "aa09af0b-975f-414d-bce8-6926923403bb", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2282,7 +1351,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "7d9cba84-22d4-4cc2-81a0-9a7d25fafe99", + "criterionGuid": "56aecdcd-6975-476c-82e1-ab9c1ba0cf89", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2308,7 +1377,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "764c0fa0-b912-4306-b89a-338283f79be4", + "criterionGuid": "eaeaa696-9eb1-4530-8c79-7be07356e0c7", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2340,7 +1409,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "bf0fbd8c-7f9f-4e49-892c-afe24f72905c", + "criterionGuid": "aa09af0b-975f-414d-bce8-6926923403bb", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2502,7 +1571,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "7d9cba84-22d4-4cc2-81a0-9a7d25fafe99", + "criterionGuid": "56aecdcd-6975-476c-82e1-ab9c1ba0cf89", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2528,7 +1597,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "764c0fa0-b912-4306-b89a-338283f79be4", + "criterionGuid": "eaeaa696-9eb1-4530-8c79-7be07356e0c7", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2560,7 +1629,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "bf0fbd8c-7f9f-4e49-892c-afe24f72905c", + "criterionGuid": "aa09af0b-975f-414d-bce8-6926923403bb", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2722,7 +1791,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "7d9cba84-22d4-4cc2-81a0-9a7d25fafe99", + "criterionGuid": "56aecdcd-6975-476c-82e1-ab9c1ba0cf89", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2748,7 +1817,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "764c0fa0-b912-4306-b89a-338283f79be4", + "criterionGuid": "eaeaa696-9eb1-4530-8c79-7be07356e0c7", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2780,7 +1849,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "bf0fbd8c-7f9f-4e49-892c-afe24f72905c", + "criterionGuid": "aa09af0b-975f-414d-bce8-6926923403bb", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -2869,12 +1938,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -3017,7 +2083,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88ac7063-68fa-4e1c-bad5-da61c4ce8fd9", + "criterionGuid": "737ba0da-8da7-4877-8d20-d6995259ea2e", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3043,7 +2109,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "47a75ca9-8713-40ad-8f16-d9bf2cce71c6", + "criterionGuid": "5ac774a1-5f2c-414f-a130-0a2503c3cc10", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3075,7 +2141,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "d8522459-61e2-4621-b77b-b906af39ec3d", + "criterionGuid": "114ded44-e557-4d13-8c5a-4ee3f2866838", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3237,7 +2303,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88ac7063-68fa-4e1c-bad5-da61c4ce8fd9", + "criterionGuid": "737ba0da-8da7-4877-8d20-d6995259ea2e", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3263,7 +2329,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "47a75ca9-8713-40ad-8f16-d9bf2cce71c6", + "criterionGuid": "5ac774a1-5f2c-414f-a130-0a2503c3cc10", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3295,7 +2361,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "d8522459-61e2-4621-b77b-b906af39ec3d", + "criterionGuid": "114ded44-e557-4d13-8c5a-4ee3f2866838", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3457,7 +2523,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88ac7063-68fa-4e1c-bad5-da61c4ce8fd9", + "criterionGuid": "737ba0da-8da7-4877-8d20-d6995259ea2e", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3483,7 +2549,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "47a75ca9-8713-40ad-8f16-d9bf2cce71c6", + "criterionGuid": "5ac774a1-5f2c-414f-a130-0a2503c3cc10", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3515,7 +2581,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "d8522459-61e2-4621-b77b-b906af39ec3d", + "criterionGuid": "114ded44-e557-4d13-8c5a-4ee3f2866838", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3677,7 +2743,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "88ac7063-68fa-4e1c-bad5-da61c4ce8fd9", + "criterionGuid": "737ba0da-8da7-4877-8d20-d6995259ea2e", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3703,7 +2769,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "47a75ca9-8713-40ad-8f16-d9bf2cce71c6", + "criterionGuid": "5ac774a1-5f2c-414f-a130-0a2503c3cc10", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3735,7 +2801,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "d8522459-61e2-4621-b77b-b906af39ec3d", + "criterionGuid": "114ded44-e557-4d13-8c5a-4ee3f2866838", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3945,7 +3011,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "3091e8a4-d245-498b-bda1-ddfbba885ac6", + "criterionGuid": "33a9f71c-0c15-4ff5-8da9-31df34d5bdff", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -3971,7 +3037,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "828771b9-7762-482e-9d4c-1ceb586f93d7", + "criterionGuid": "66994be3-06fc-4c07-b633-b8d2980c035a", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4003,7 +3069,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "f1bc5225-1995-433f-bb6b-d0d1274f8c2e", + "criterionGuid": "6bfec61d-2850-42a0-83d2-2a5213a02d49", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4165,7 +3231,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "3091e8a4-d245-498b-bda1-ddfbba885ac6", + "criterionGuid": "33a9f71c-0c15-4ff5-8da9-31df34d5bdff", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4191,7 +3257,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "828771b9-7762-482e-9d4c-1ceb586f93d7", + "criterionGuid": "66994be3-06fc-4c07-b633-b8d2980c035a", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4223,7 +3289,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "f1bc5225-1995-433f-bb6b-d0d1274f8c2e", + "criterionGuid": "6bfec61d-2850-42a0-83d2-2a5213a02d49", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4385,7 +3451,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "3091e8a4-d245-498b-bda1-ddfbba885ac6", + "criterionGuid": "33a9f71c-0c15-4ff5-8da9-31df34d5bdff", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4411,7 +3477,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "828771b9-7762-482e-9d4c-1ceb586f93d7", + "criterionGuid": "66994be3-06fc-4c07-b633-b8d2980c035a", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4443,7 +3509,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "f1bc5225-1995-433f-bb6b-d0d1274f8c2e", + "criterionGuid": "6bfec61d-2850-42a0-83d2-2a5213a02d49", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4605,7 +3671,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "3091e8a4-d245-498b-bda1-ddfbba885ac6", + "criterionGuid": "33a9f71c-0c15-4ff5-8da9-31df34d5bdff", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4631,7 +3697,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "828771b9-7762-482e-9d4c-1ceb586f93d7", + "criterionGuid": "66994be3-06fc-4c07-b633-b8d2980c035a", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4663,7 +3729,7 @@ }, "aggregationCriteria": [ { - "criterionGuid": "f1bc5225-1995-433f-bb6b-d0d1274f8c2e", + "criterionGuid": "6bfec61d-2850-42a0-83d2-2a5213a02d49", "numberOfTerms": 10, "prefix": "st", "attributes": { @@ -4744,240 +3810,6 @@ } } }, - "/v1alpha/blob-infos/dataupdater": { - "get": { - "tags": [ - "BlobInfos" - ], - "summary": "Get a list of all blob descriptors for databases that the user is admin of.", - "operationId": "GetAllDataUpdaterBlobInfos", - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - } - } - } - } - } - }, - "/v1alpha/blob-infos/dataupdater/{database-key}/{blob-path}": { - "get": { - "tags": [ - "BlobInfos" - ], - "summary": "Get a list of blob descriptors for a specific database, optionally limited by their relative path.", - "operationId": "GetDataUpdaterBlobInfos", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "Database key.", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "blob-path", - "in": "path", - "description": "Path to look under (without the blob name). Can be empty", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "recursive", - "in": "query", - "description": "Whether to look under sub-paths as well.", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - } - } - } - } - } - }, - "/v1alpha/blobs/dataUpdater/{database-key}/{blobPath}": { - "get": { - "tags": [ - "Blobs" - ], - "summary": "Retrieve DataUpdater blob contents by its path.", - "operationId": "DownloadDataUpdaterBlob", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "Database key", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "blobPath", - "in": "path", - "description": "Blob path to a single blob (including its name).", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "404": { - "description": "Blob not found" - } - } - }, - "put": { - "tags": [ - "Blobs" - ], - "summary": "Store DataUpdater blob contents.", - "operationId": "UploadDataUpdaterBlob", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "Database key", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "blobPath", - "in": "path", - "description": "Blob path to a single blob (including its name).", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaBlobInfoDto" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Blobs" - ], - "summary": "Delete DataUpdater blob.", - "operationId": "DeleteDataUpdaterBlob", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "Database key", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "blobPath", - "in": "path", - "description": "Blob path to a single blob (including its name).", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, "/v1alpha/bulk": { "post": { "tags": [ @@ -5229,12 +4061,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -5260,7 +4091,6 @@ }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -5298,12 +4128,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -5329,7 +4158,6 @@ }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -5367,12 +4195,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -5398,7 +4225,6 @@ }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -5431,22 +4257,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -5742,22 +4563,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -6044,12 +4860,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -6344,12 +5157,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -6635,22 +5445,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -6738,8 +5543,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Attribute is not an exportable type" @@ -6761,22 +5565,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -6855,8 +5654,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Attribute is not an exportable type" @@ -6878,12 +5676,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -6970,8 +5765,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Attribute is not an exportable type" @@ -6993,12 +5787,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -7076,8 +5867,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Attribute is not an exportable type" @@ -7099,22 +5889,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -7236,22 +6021,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -7364,12 +6144,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -7490,12 +6267,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -7607,22 +6381,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -7728,8 +6497,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Column is not an exportable type" @@ -7751,22 +6519,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -7863,8 +6626,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Column is not an exportable type" @@ -7886,12 +6648,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -7996,8 +6755,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Column is not an exportable type" @@ -8019,12 +6777,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -8120,8 +6875,7 @@ "format": "binary" } } - }, - "x-is-file": true + } }, "400": { "description": "Column is not an exportable type" @@ -8143,22 +6897,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -8344,7 +7093,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9742465+01:00" + "value": "2025-08-23T03:08:18.9167893+00:00" } }, "Example 11": { @@ -8567,7 +7316,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9742465+01:00" + "value": "2025-08-23T03:08:18.9167893+00:00" } }, "Example 11": { @@ -8790,7 +7539,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9742465+01:00" + "value": "2025-08-23T03:08:18.9167893+00:00" } }, "Example 11": { @@ -9013,7 +7762,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9742465+01:00" + "value": "2025-08-23T03:08:18.9167893+00:00" } }, "Example 11": { @@ -9310,22 +8059,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -9372,12 +8116,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -9562,7 +8303,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9880252+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 25": { @@ -9785,7 +8526,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9880252+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 25": { @@ -10008,7 +8749,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9880252+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 25": { @@ -10231,7 +8972,7 @@ "description": "This example demonstrates how to set the value for a DateTime datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9880252+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 25": { @@ -10528,12 +9269,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -10579,22 +9317,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -10708,7 +9441,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9920332+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 8": { @@ -10805,7 +9538,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9920332+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 8": { @@ -10902,7 +9635,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9920332+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 8": { @@ -10999,7 +9732,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9920332+01:00" + "value": "2025-08-23T03:08:18.9322464+00:00" } }, "Example 8": { @@ -11257,22 +9990,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -11337,12 +10065,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -11455,7 +10180,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9988245+01:00" + "value": "2025-08-23T03:08:18.9478701+00:00" } }, "Example 17": { @@ -11552,7 +10277,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9988245+01:00" + "value": "2025-08-23T03:08:18.9478701+00:00" } }, "Example 17": { @@ -11649,7 +10374,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9988245+01:00" + "value": "2025-08-23T03:08:18.9478701+00:00" } }, "Example 17": { @@ -11746,7 +10471,7 @@ "description": "This example demonstrates how to set the value for a DateTime cell datum.", "value": { "setDatumType": "datetime", - "value": "2025-08-22T01:05:23.9988245+01:00" + "value": "2025-08-23T03:08:18.9478701+00:00" } }, "Example 17": { @@ -12004,12 +10729,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -12073,22 +10795,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -12187,12 +10904,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -12290,22 +11004,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -12386,12 +11095,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -12471,22 +11177,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -12603,12 +11304,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -12724,22 +11422,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -12838,12 +11531,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -12941,22 +11631,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -13003,12 +11688,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -13054,22 +11736,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -13270,12 +11947,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -13475,22 +12149,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -14043,12 +12712,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14603,9 +13269,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14661,9 +13325,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14721,9 +13383,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14780,9 +13440,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14850,9 +13508,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14919,9 +13575,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -14988,9 +13642,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -15056,9 +13708,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -15214,12 +13864,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -15436,8 +14083,8 @@ } }, "Example 8": { - "summary": "Linked Records Export - Smart Link", - "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the smart record link group 'Tensile Test Data'.", + "summary": "Linked Records Export - Dynamic Link", + "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the dynamic record link group 'Tensile Test Data'.", "value": { "attributes": [ { @@ -15445,7 +14092,7 @@ "targetTableGuid": "0dd5348e-72f3-4bcb-bb38-621e5953a333", "targetDatabaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "attributeType": "link", - "linkAttributeType": "smartLink", + "linkAttributeType": "dynamicLink", "exportInReversedDirection": false, "recordProperties": [ "fullName" @@ -15981,8 +14628,8 @@ } }, "Example 8": { - "summary": "Linked Records Export - Smart Link", - "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the smart record link group 'Tensile Test Data'.", + "summary": "Linked Records Export - Dynamic Link", + "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the dynamic record link group 'Tensile Test Data'.", "value": { "attributes": [ { @@ -15990,7 +14637,7 @@ "targetTableGuid": "0dd5348e-72f3-4bcb-bb38-621e5953a333", "targetDatabaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "attributeType": "link", - "linkAttributeType": "smartLink", + "linkAttributeType": "dynamicLink", "exportInReversedDirection": false, "recordProperties": [ "fullName" @@ -16526,8 +15173,8 @@ } }, "Example 8": { - "summary": "Linked Records Export - Smart Link", - "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the smart record link group 'Tensile Test Data'.", + "summary": "Linked Records Export - Dynamic Link", + "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the dynamic record link group 'Tensile Test Data'.", "value": { "attributes": [ { @@ -16535,7 +15182,7 @@ "targetTableGuid": "0dd5348e-72f3-4bcb-bb38-621e5953a333", "targetDatabaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "attributeType": "link", - "linkAttributeType": "smartLink", + "linkAttributeType": "dynamicLink", "exportInReversedDirection": false, "recordProperties": [ "fullName" @@ -17071,8 +15718,8 @@ } }, "Example 8": { - "summary": "Linked Records Export - Smart Link", - "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the smart record link group 'Tensile Test Data'.", + "summary": "Linked Records Export - Dynamic Link", + "description": "This example demonstrates how to export linked records from the record 'LBU14' in the 'Composite Pedigree' table from the 'MI_Training' database, following the dynamic record link group 'Tensile Test Data'.", "value": { "attributes": [ { @@ -17080,7 +15727,7 @@ "targetTableGuid": "0dd5348e-72f3-4bcb-bb38-621e5953a333", "targetDatabaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "attributeType": "link", - "linkAttributeType": "smartLink", + "linkAttributeType": "dynamicLink", "exportInReversedDirection": false, "recordProperties": [ "fullName" @@ -17708,601 +16355,6 @@ } } }, - "/v1alpha/dataupdater/updates": { - "get": { - "tags": [ - "DataUpdater" - ], - "operationId": "GetAllUpdates", - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/updates/{database-key}": { - "get": { - "tags": [ - "DataUpdater" - ], - "operationId": "GetUpdatesForDatabase", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - } - } - } - } - }, - "post": { - "tags": [ - "DataUpdater" - ], - "summary": "Register an update", - "operationId": "RegisterUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaRegisterUpdateRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaRegisterUpdateRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaRegisterUpdateRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaRegisterUpdateRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdateToken" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdateToken" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdateToken" - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}": { - "get": { - "tags": [ - "DataUpdater" - ], - "operationId": "GetUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "update-token-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdate" - } - } - } - } - } - }, - "delete": { - "tags": [ - "DataUpdater" - ], - "summary": "Deletes an update if it is in a deletable state.", - "operationId": "DeleteUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "update-token-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:dry-run": { - "post": { - "tags": [ - "DataUpdater" - ], - "summary": "Start a dry run job for a given update", - "operationId": "DryRunUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "update-token-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:apply": { - "post": { - "tags": [ - "DataUpdater" - ], - "summary": "Start an apply job for a given update", - "operationId": "ApplyUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "update-token-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:finalize": { - "post": { - "tags": [ - "DataUpdater" - ], - "summary": "Start a finalize job for a given update", - "operationId": "FinalizeUpdate", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "update-token-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "application/json": { - "schema": { - "type": "string", - "format": "uuid" - } - }, - "text/json": { - "schema": { - "type": "string", - "format": "uuid" - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/projects/{database-key}": { - "get": { - "tags": [ - "DataUpdater" - ], - "operationId": "GetProjectsForDatabase", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterProject" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterProject" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterProject" - } - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/projects/{database-key}:fill-in-fallback-ids": { - "post": { - "tags": [ - "DataUpdater" - ], - "summary": "Starts a long-running operation of generating fallback identifiers for a given database.\r\nReturns immediately.\r\nUser is expected to watch MI Server logs for progress and errors.", - "operationId": "FillInFallbackIdentifiers", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/v1alpha/dataupdater/jobs": { - "get": { - "tags": [ - "DataUpdater" - ], - "summary": "Get all jobs.\r\n(pertaining to databases that the user is administrator of)", - "operationId": "GetDataUpdaterJobs", - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - } - } - } - } - } - } - }, - "/v1alpha/dataupdater/jobs/{job-id}": { - "get": { - "tags": [ - "DataUpdater" - ], - "summary": "Get a specific job.", - "operationId": "GetDataUpdaterJob", - "parameters": [ - { - "name": "job-id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaDataUpdaterJob" - } - } - } - } - } - }, - "delete": { - "tags": [ - "DataUpdater" - ], - "summary": "Delete a specific job.\r\nOnly valid if job is in one of the completed states.", - "operationId": "DeleteCompletedDataUpdaterJob", - "parameters": [ - { - "name": "job-id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - } - } - } - }, "/v1alpha/databases/{database-key}/tables/{table-guid}/record-histories/{record-history-guid}/record-versions/{record-version-guid}/attributes/{attribute-guid}/graph": { "get": { "tags": [ @@ -18314,22 +16366,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -18523,22 +16570,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -18723,12 +16765,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -18921,12 +16960,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -19110,22 +17146,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -19342,7 +17373,6 @@ "value": { "graphValueType": "discrete", "value": { - "isProtected": false, "name": "Used in Production", "guid": "725244fb-c182-418a-91d8-c07294990c13" } @@ -19379,22 +17409,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -19602,7 +17627,6 @@ "value": { "graphValueType": "discrete", "value": { - "isProtected": false, "name": "Used in Production", "guid": "725244fb-c182-418a-91d8-c07294990c13" } @@ -19639,12 +17663,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -19860,7 +17881,6 @@ "value": { "graphValueType": "discrete", "value": { - "isProtected": false, "name": "Used in Production", "guid": "725244fb-c182-418a-91d8-c07294990c13" } @@ -19897,12 +17917,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -20109,7 +18126,6 @@ "value": { "graphValueType": "discrete", "value": { - "isProtected": false, "name": "Used in Production", "guid": "725244fb-c182-418a-91d8-c07294990c13" } @@ -20714,12 +18730,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -21713,7 +19726,7 @@ "description": "Search for the audit log items for the first 10 times the given list had an item added or removed", "value": { "listIdentifiers": [ - "dac111ab-30f2-45f1-8e6f-bf68e9db9486" + "aaf6b740-e644-4a70-a605-a0429005972a" ], "listActionsToInclude": [ "ItemAdded", @@ -21737,7 +19750,7 @@ "description": "Search for the audit log items for the first 10 times the given list had an item added or removed", "value": { "listIdentifiers": [ - "dac111ab-30f2-45f1-8e6f-bf68e9db9486" + "aaf6b740-e644-4a70-a605-a0429005972a" ], "listActionsToInclude": [ "ItemAdded", @@ -21761,7 +19774,7 @@ "description": "Search for the audit log items for the first 10 times the given list had an item added or removed", "value": { "listIdentifiers": [ - "dac111ab-30f2-45f1-8e6f-bf68e9db9486" + "aaf6b740-e644-4a70-a605-a0429005972a" ], "listActionsToInclude": [ "ItemAdded", @@ -21785,7 +19798,7 @@ "description": "Search for the audit log items for the first 10 times the given list had an item added or removed", "value": { "listIdentifiers": [ - "dac111ab-30f2-45f1-8e6f-bf68e9db9486" + "aaf6b740-e644-4a70-a605-a0429005972a" ], "listActionsToInclude": [ "ItemAdded", @@ -23259,12 +21272,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -23280,15 +21290,15 @@ "categories": [ { "name": "Geo", - "guid": "3687f92f-660d-4598-a4a6-f58ac51ca70b" + "guid": "5a8bde4c-dc2b-4dcf-902f-0ce8dfc16b75" }, { "name": "Sensitivity", - "guid": "baf1234e-e990-4a1d-864e-aaf70df01f78" + "guid": "ac6b2c2c-d412-4ff2-ad6e-91945ce4250b" }, { "name": "Division", - "guid": "809d2897-ef83-40ba-8091-281c69cab686" + "guid": "a75fe7de-4757-47e3-8586-71d0d6733b83" } ] } @@ -23318,12 +21328,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -23348,19 +21355,19 @@ "permissions": [ { "name": "US", - "guid": "8990b9aa-873e-4a79-be8f-06c9df374b2f" + "guid": "625f3ae7-4235-43d6-81d5-04ce6d9565cb" }, { "name": "EMEA", - "guid": "8cc9e265-db13-45d0-9dd2-af08bbd80d61" + "guid": "f07cec51-5667-4cb1-b68b-5427eda8f023" }, { "name": "APAC", - "guid": "53215cab-98db-4b49-acec-55928029f3a6" + "guid": "9ebf2f7f-960b-4a8f-a575-534ebaff18c4" } ], "name": "Geo", - "guid": "3687f92f-660d-4598-a4a6-f58ac51ca70b" + "guid": "5a8bde4c-dc2b-4dcf-902f-0ce8dfc16b75" } } } @@ -23388,12 +21395,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -23418,15 +21422,15 @@ "permissions": [ { "name": "US", - "guid": "8990b9aa-873e-4a79-be8f-06c9df374b2f" + "guid": "625f3ae7-4235-43d6-81d5-04ce6d9565cb" }, { "name": "EMEA", - "guid": "8cc9e265-db13-45d0-9dd2-af08bbd80d61" + "guid": "f07cec51-5667-4cb1-b68b-5427eda8f023" }, { "name": "APAC", - "guid": "53215cab-98db-4b49-acec-55928029f3a6" + "guid": "9ebf2f7f-960b-4a8f-a575-534ebaff18c4" } ] } @@ -23456,12 +21460,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -23497,7 +21498,7 @@ "setMessage": "Permission set", "unsetMessage": "No permission set", "name": "US", - "guid": "8990b9aa-873e-4a79-be8f-06c9df374b2f" + "guid": "625f3ae7-4235-43d6-81d5-04ce6d9565cb" } } } @@ -23525,22 +21526,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -23589,7 +21585,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -23635,12 +21630,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -23688,7 +21680,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -23734,22 +21725,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -23790,7 +21776,7 @@ "parent": { "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" }, - "guid": "567e832d-09b4-4a16-9b3c-d92f82ae3b49" + "guid": "a1db51a7-8882-4c62-9a76-3379cf7a523d" } }, "Example 4": { @@ -23852,7 +21838,7 @@ "parent": { "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" }, - "guid": "567e832d-09b4-4a16-9b3c-d92f82ae3b49" + "guid": "a1db51a7-8882-4c62-9a76-3379cf7a523d" } }, "Example 4": { @@ -23914,7 +21900,7 @@ "parent": { "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" }, - "guid": "567e832d-09b4-4a16-9b3c-d92f82ae3b49" + "guid": "a1db51a7-8882-4c62-9a76-3379cf7a523d" } }, "Example 4": { @@ -23976,7 +21962,7 @@ "parent": { "guid": "f92315e2-f836-4c2e-aba1-6d8a1a49e8a3" }, - "guid": "567e832d-09b4-4a16-9b3c-d92f82ae3b49" + "guid": "a1db51a7-8882-4c62-9a76-3379cf7a523d" } }, "Example 4": { @@ -24017,7 +22003,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -24032,11 +22017,11 @@ "versionNumber": 1, "versionState": "unversioned", "name": "New Alumino Silicate Record", - "guid": "69cf411a-ddda-4656-92c6-a0ec4fda77e6" + "guid": "88e04bcd-8910-4ab7-b857-7d66e206296d" } ], "subsets": [], - "guid": "63ed6d38-9a99-4eea-a013-da85d1341528" + "guid": "0ac342d2-b0ca-4e98-b6bd-1b59c3e944d8" } } } @@ -24064,22 +22049,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -24192,7 +22172,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -24233,7 +22212,7 @@ "summary": "New parent is not a folder.", "value": { "message": "Cannot move record history with GUID 'ba22491d-b470-42cf-80d7-531ff81b1583'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '17877254-3a26-4a28-94d6-9f6be164914c') is not a folder.", @@ -24246,7 +22225,7 @@ "summary": "New parent is not in the same table.", "value": { "message": "Cannot move record history with GUID '0a0a07f6-20d8-4292-a275-a7385398d8a2'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '5a842e54-e143-45f5-aec8-18fb84f4fe03') is not in the same table.", @@ -24259,7 +22238,7 @@ "summary": "The 'short name' of the record to be moved is not unique under the new parent.", "value": { "message": "Cannot move record history with GUID 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "A record with the short name 'Sheet' already exists in the parent folder.", @@ -24272,7 +22251,7 @@ "summary": "New parent is withdrawn.", "value": { "message": "Cannot move record history with GUID 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '4afa8a76-cd32-4835-be9d-31756bb9b7fb') is withdrawn or has a withdrawn ancestor.", @@ -24285,7 +22264,7 @@ "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 with GUID '5a842e54-e143-45f5-aec8-18fb84f4fe03'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = 'ba22491d-b470-42cf-80d7-531ff81b1583') is a descendant so will cause a circular reference.", @@ -24318,12 +22297,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -24435,7 +22411,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -24476,7 +22451,7 @@ "summary": "New parent is not a folder.", "value": { "message": "Cannot move record history with GUID 'ba22491d-b470-42cf-80d7-531ff81b1583'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '17877254-3a26-4a28-94d6-9f6be164914c') is not a folder.", @@ -24489,7 +22464,7 @@ "summary": "New parent is not in the same table.", "value": { "message": "Cannot move record history with GUID '0a0a07f6-20d8-4292-a275-a7385398d8a2'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '5a842e54-e143-45f5-aec8-18fb84f4fe03') is not in the same table.", @@ -24502,7 +22477,7 @@ "summary": "The 'short name' of the record to be moved is not unique under the new parent.", "value": { "message": "Cannot move record history with GUID 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "A record with the short name 'Sheet' already exists in the parent folder.", @@ -24515,7 +22490,7 @@ "summary": "New parent is withdrawn.", "value": { "message": "Cannot move record history with GUID 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '4afa8a76-cd32-4835-be9d-31756bb9b7fb') is withdrawn or has a withdrawn ancestor.", @@ -24528,7 +22503,7 @@ "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 with GUID '5a842e54-e143-45f5-aec8-18fb84f4fe03'.", - "code": "recordHistoryMove", + "code": 400, "errors": [ { "message": "New parent record history (GUID = 'ba22491d-b470-42cf-80d7-531ff81b1583') is a descendant so will cause a circular reference.", @@ -24561,22 +22536,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -24749,7 +22719,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -24773,7 +22742,7 @@ "guid": "0000b135-0010-4fff-8fff-dd92ffff0000" } ], - "guid": "beed8ee2-40e4-456a-9f19-60491efb9a55" + "guid": "f511e8d7-b814-44ba-a535-7cbea41753d8" } } } @@ -24790,7 +22759,7 @@ "summary": "New parent is not a folder.", "value": { "message": "Cannot copy record history with GUID 'ba22491d-b470-42cf-80d7-531ff81b1583'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '17877254-3a26-4a28-94d6-9f6be164914c') is not a folder.", @@ -24803,7 +22772,7 @@ "summary": "New parent is not in the same table.", "value": { "message": "Cannot copy record history with GUID '0a0a07f6-20d8-4292-a275-a7385398d8a2'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '5a842e54-e143-45f5-aec8-18fb84f4fe03') is not in the same table.", @@ -24816,7 +22785,7 @@ "summary": "The 'short name' of the record to be copied is not unique under the new parent.", "value": { "message": "Cannot copy record history with GUID 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "A record with the short name 'Sheet' already exists in the parent folder.", @@ -24829,7 +22798,7 @@ "summary": "New parent is withdrawn.", "value": { "message": "Cannot copy record history with GUID 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '4afa8a76-cd32-4835-be9d-31756bb9b7fb') is withdrawn or has a withdrawn ancestor.", @@ -24862,12 +22831,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -25039,7 +23005,6 @@ "example": { "isFolder": false, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -25063,7 +23028,7 @@ "guid": "0000b135-0010-4fff-8fff-dd92ffff0000" } ], - "guid": "f0d0c2fc-0c44-41c8-a190-e0a11b6d1e7e" + "guid": "5aa988c2-5fc7-42d7-9734-2cefe53f08bc" } } } @@ -25080,7 +23045,7 @@ "summary": "New parent is not a folder.", "value": { "message": "Cannot copy record history with GUID 'ba22491d-b470-42cf-80d7-531ff81b1583'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '17877254-3a26-4a28-94d6-9f6be164914c') is not a folder.", @@ -25093,7 +23058,7 @@ "summary": "New parent is not in the same table.", "value": { "message": "Cannot copy record history with GUID '0a0a07f6-20d8-4292-a275-a7385398d8a2'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '5a842e54-e143-45f5-aec8-18fb84f4fe03') is not in the same table.", @@ -25106,7 +23071,7 @@ "summary": "The 'short name' of the record to be copied is not unique under the new parent.", "value": { "message": "Cannot copy record history with GUID 'b39060d9-ac86-48dc-9e75-7ea241b7a556'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "A record with the short name 'Sheet' already exists in the parent folder.", @@ -25119,7 +23084,7 @@ "summary": "New parent is withdrawn.", "value": { "message": "Cannot copy record history with GUID 'ce294339-e59d-4be1-a96c-f9e92adb71ac'.", - "code": "recordHistoryCopy", + "code": 400, "errors": [ { "message": "New parent record history (GUID = '4afa8a76-cd32-4835-be9d-31756bb9b7fb') is withdrawn or has a withdrawn ancestor.", @@ -25152,22 +23117,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25218,7 +23178,6 @@ "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -25233,7 +23192,7 @@ "recordType": "record", "shortName": "Alumino silicate - 1720", "recordColor": "fuchsia", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": true, "canRelease": false, @@ -25266,12 +23225,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -25321,7 +23277,6 @@ "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -25336,7 +23291,7 @@ "recordType": "record", "shortName": "Alumino silicate - 1720", "recordColor": "fuchsia", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": true, "canRelease": false, @@ -25369,22 +23324,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25444,7 +23394,6 @@ "guid": "ba22491d-b470-42cf-80d7-531ff81b1583" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -25459,7 +23408,7 @@ "recordType": "record", "shortName": "Alumino silicate - 1720", "recordColor": "fuchsia", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": true, "canRelease": false, @@ -25490,22 +23439,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25552,22 +23496,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25603,7 +23542,6 @@ "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -25618,7 +23556,7 @@ "recordType": "record", "shortName": "Arsenic trioxide [1327-53-3]", "recordColor": "red", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": false, "canRelease": false, @@ -25647,7 +23585,7 @@ "description": "Only unreleased record versions can be released.", "value": { "message": "Cannot release record version with GUID 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.", - "code": "releaseRecordVersionControl", + "code": 400, "errors": [ { "message": "Invalid version state 'Released'.", @@ -25661,7 +23599,7 @@ "summary": "Table is not version controlled.", "value": { "message": "Cannot release record version with GUID '00000026-000e-4fff-8fff-dd92ffff0000'.", - "code": "releaseRecordVersionControl", + "code": 400, "errors": [ { "message": "Table is not version controlled.", @@ -25673,8 +23611,8 @@ "Example 3": { "summary": "Parent is not released.", "value": { - "message": "Cannot release record version with GUID '1057cb93-3266-4fd2-8a42-02c12eb049fa'.", - "code": "releaseRecordVersionControl", + "message": "Cannot release record version with GUID 'c26c33cb-4444-49d0-9283-01aec29af6f7'.", + "code": 400, "errors": [ { "message": "Tree parent is not in a valid state to perform this operation.", @@ -25707,22 +23645,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25758,7 +23691,6 @@ "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -25773,7 +23705,7 @@ "recordType": "record", "shortName": "Arsenic trioxide [1327-53-3]", "recordColor": "red", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": true, "canRelease": true, @@ -25802,7 +23734,7 @@ "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 with GUID 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.", - "code": "getModifiableRecordVersionControl", + "code": 400, "errors": [ { "message": "Invalid version state 'Superseded'.", @@ -25816,7 +23748,7 @@ "summary": "Table is not version controlled.", "value": { "message": "Cannot create a new version from the record version with GUID '00000026-000e-4fff-8fff-dd92ffff0000'.", - "code": "getModifiableRecordVersionControl", + "code": 400, "errors": [ { "message": "Table is not version controlled.", @@ -25828,8 +23760,8 @@ "Example 3": { "summary": "Record version is not the latest version.", "value": { - "message": "Cannot create a new version from the record version with GUID 'e049f1f7-1ca1-42f4-bc72-fd52f1da2276'.", - "code": "getModifiableRecordVersionControl", + "message": "Cannot create a new version from the record version with GUID 'd9ed394b-a793-4b1d-950e-b711d7ae3645'.", + "code": 400, "errors": [ { "message": "There is a newer version.", @@ -25838,7 +23770,7 @@ "versionNumber": 2, "versionState": "unreleased", "name": "Arsenic trioxide [1327-53-3] - new version", - "guid": "84a58c26-9fa3-4a67-85ee-fb0aafd99dd0" + "guid": "7c7096b1-7afb-4ba8-9b1d-82411bde189c" } } ] @@ -25868,22 +23800,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -25919,7 +23846,6 @@ "guid": "0a0a07f6-20d8-4292-a275-a7385398d8a2" }, "table": { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -25934,7 +23860,7 @@ "recordType": "record", "shortName": "Arsenic trioxide [1327-53-3]", "recordColor": "red", - "userCapabilities": { + "capabilities": { "canWrite": true, "canModify": false, "canRelease": false, @@ -25963,7 +23889,7 @@ "description": "Only released record versions can be withdrawn.", "value": { "message": "Cannot withdraw record version with GUID 'e1a72a7e-155e-47f9-b6c9-285fd5d3288a'.", - "code": "withdrawRecordVersionControl", + "code": 400, "errors": [ { "message": "Invalid version state 'Unreleased'.", @@ -25977,7 +23903,7 @@ "summary": "Table is not version controlled.", "value": { "message": "Cannot withdraw record version with GUID '00000026-000e-4fff-8fff-dd92ffff0000'.", - "code": "withdrawRecordVersionControl", + "code": 400, "errors": [ { "message": "Table is not version controlled.", @@ -26017,359 +23943,6 @@ } } }, - "/v1alpha/schema:resolve-link-targets": { - "post": { - "tags": [ - "Schema" - ], - "summary": "Gets all target tables that match the provided link target, for each target.\r\nThere could be several matches or no matches for each link target.\r\nFor example if two databases are loaded with the same databaseGuid and the databaseVersionGuid isn't specified,\r\nor if the databaseGuid and databaseVersionGuid are not specified and the tableGuid matches in several databases.\r\nThere could be no matches if the target database is not loaded.", - "operationId": "ResolveLinkTargets", - "parameters": [ - { - "name": "mode", - "in": "query", - "description": "The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.", - "schema": { - "enum": [ - "read", - "write" - ], - "type": "string" - } - }, - { - "name": "X-Ansys-VC-Mode", - "in": "header", - "description": "The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string.", - "schema": { - "enum": [ - "read", - "write" - ], - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaResolveLinkTargetsRequest" - }, - "examples": { - "Example 1": { - "summary": "All GUIDs specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when all GUIDs are specified.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - }, - "Example 2": { - "summary": "Optional GUIDs not specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when some GUIDs are not specified.If the DatabaseVersionGuid is not specified, the link target could resolve to more than one table if there are other database loaded that match the criteria.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaResolveLinkTargetsRequest" - }, - "examples": { - "Example 1": { - "summary": "All GUIDs specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when all GUIDs are specified.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - }, - "Example 2": { - "summary": "Optional GUIDs not specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when some GUIDs are not specified.If the DatabaseVersionGuid is not specified, the link target could resolve to more than one table if there are other database loaded that match the criteria.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaResolveLinkTargetsRequest" - }, - "examples": { - "Example 1": { - "summary": "All GUIDs specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when all GUIDs are specified.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - }, - "Example 2": { - "summary": "Optional GUIDs not specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when some GUIDs are not specified.If the DatabaseVersionGuid is not specified, the link target could resolve to more than one table if there are other database loaded that match the criteria.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - } - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaResolveLinkTargetsRequest" - }, - "examples": { - "Example 1": { - "summary": "All GUIDs specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when all GUIDs are specified.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - }, - "Example 2": { - "summary": "Optional GUIDs not specified", - "description": "This example demonstrates how to resolve a link target that targets the MaterialUniverse table, when some GUIDs are not specified.If the DatabaseVersionGuid is not specified, the link target could resolve to more than one table if there are other database loaded that match the criteria.", - "value": { - "linkTargets": [ - { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaResolveLinkTargetsInfo" - }, - "examples": { - "Example 1": { - "summary": "Resolved links", - "description": "This example shows results from resolving two link targets.", - "value": { - "resolvedLinkTargets": [ - { - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - "tables": [ - { - "databaseKey": "MI_TRAINING", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "displayNames": { - "en": "MaterialUniverse English Display Name", - "fr": "MaterialUniverse French Display Name" - }, - "name": "MaterialUniverse", - "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - }, - { - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, - "tables": [ - { - "databaseKey": "MI_TRAINING", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "displayNames": { - "en": "ProcessUniverse English Display Name", - "fr": "ProcessUniverse French Display Name" - }, - "name": "ProcessUniverse", - "guid": "00003248-0011-4fff-8fff-0000ffff0000" - } - ] - } - ] - } - }, - "Example 2": { - "summary": "Resolved links with multiple targets", - "description": "In this example, the first link target resolves to two copies of MaterialUniverse, each in different databases. This could happen if both databases have the same databaseGuid and the databaseVersionGuid was not specified in the request;or if the databaseGuid and databaseVersionGuid were not specified and the tableGuid matches.", - "value": { - "resolvedLinkTargets": [ - { - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - "tables": [ - { - "databaseKey": "MI_TRAINING", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "displayNames": { - "en": "MaterialUniverse English Display Name", - "fr": "MaterialUniverse French Display Name" - }, - "name": "MaterialUniverse", - "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - { - "databaseKey": "AnotherDatabase", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "name": "MaterialUniverse in another database", - "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - }, - { - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, - "tables": [ - { - "databaseKey": "MI_TRAINING", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "displayNames": { - "en": "ProcessUniverse English Display Name", - "fr": "ProcessUniverse French Display Name" - }, - "name": "ProcessUniverse", - "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - ] - } - }, - "Example 3": { - "summary": "Resolved links with missing targets", - "description": "In this example, the first link target does not resolve to any table. This could happen if the target database is not loaded.", - "value": { - "resolvedLinkTargets": [ - { - "linkTarget": { - "databaseGuid": "6efe4293-cc4f-48da-87b3-46785703343b", - "tableGuid": "0347d924-f7ac-4296-b635-3ffa63f53afc" - }, - "tables": [] - }, - { - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, - "tables": [ - { - "databaseKey": "MI_TRAINING", - "isHiddenFromBrowse": false, - "isHiddenFromSearch": false, - "isVersioned": false, - "displayNames": { - "en": "ProcessUniverse English Display Name", - "fr": "ProcessUniverse French Display Name" - }, - "name": "ProcessUniverse", - "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - ] - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad request" - } - } - } - }, "/v1alpha/security-attribute-groupings": { "get": { "tags": [ @@ -26408,22 +23981,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -26478,22 +24046,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -26515,29 +24078,16 @@ } }, "Example 2": { - "summary": "Date-time attribute with display names", - "description": "This example demonstrates how to create a new date-time attribute with French and German display names 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", - "displayNames": { - "fr": "La date de livraison", - "de": "Liefertermin" - }, - "name": "Delivery date (display names)" - } - }, - "Example 3": { "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": "ebb4f932-24de-400d-bf86-73f5bad76599" + "guid": "c97ba554-d839-49a8-9c6b-4d0428fbde7d" } }, - "Example 4": { + "Example 3": { "summary": "Date-time attribute with IsHiddenFromSearchCriteria", "description": "This example demonstrates how to create a new date-time attribute that should not be shown in search UIs. It will still be included in text searches. It will be created in 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": { @@ -26547,7 +24097,7 @@ "name": "Delivery date (hidden from search criteria)" } }, - "Example 5": { + "Example 4": { "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": { @@ -26560,7 +24110,7 @@ "name": "Used material type" } }, - "Example 6": { + "Example 5": { "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": { @@ -26573,7 +24123,7 @@ "name": "Appropriate material types" } }, - "Example 7": { + "Example 6": { "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": { @@ -26582,7 +24132,7 @@ "name": "Details PDF" } }, - "Example 8": { + "Example 7": { "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": { @@ -26591,7 +24141,7 @@ "name": "Supplier website" } }, - "Example 9": { + "Example 8": { "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": { @@ -26601,7 +24151,7 @@ "name": "Number of batches" } }, - "Example 10": { + "Example 9": { "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": { @@ -26611,7 +24161,7 @@ "name": "Batch ID Number" } }, - "Example 11": { + "Example 10": { "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": { @@ -26620,7 +24170,7 @@ "name": "Inspected" } }, - "Example 12": { + "Example 11": { "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": { @@ -26629,7 +24179,7 @@ "name": "Long Description" } }, - "Example 13": { + "Example 12": { "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": { @@ -26638,7 +24188,7 @@ "name": "Photo" } }, - "Example 14": { + "Example 13": { "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": { @@ -26648,7 +24198,7 @@ "name": "My Shape factor" } }, - "Example 15": { + "Example 14": { "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": { @@ -26661,7 +24211,7 @@ "name": "Mass" } }, - "Example 16": { + "Example 15": { "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": { @@ -26674,7 +24224,7 @@ "name": "Observed masses" } }, - "Example 17": { + "Example 16": { "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": { @@ -26689,7 +24239,7 @@ "name": "Max ratio" } }, - "Example 18": { + "Example 17": { "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": { @@ -26698,7 +24248,7 @@ "name": "Average permeability" } }, - "Example 19": { + "Example 18": { "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": { @@ -26710,7 +24260,7 @@ "name": "Boiling point" } }, - "Example 20": { + "Example 19": { "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": { @@ -26720,7 +24270,7 @@ "name": "Label" } }, - "Example 21": { + "Example 20": { "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": { @@ -26730,7 +24280,7 @@ "name": "Serial number" } }, - "Example 22": { + "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": { @@ -26754,7 +24304,7 @@ "name": "Electrical resistance with temperature" } }, - "Example 23": { + "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": { @@ -26774,7 +24324,7 @@ "name": "Environmental resistance" } }, - "Example 24": { + "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": { @@ -26860,7 +24410,7 @@ "name": "Fatigue strength model" } }, - "Example 25": { + "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": { @@ -26928,29 +24478,16 @@ } }, "Example 2": { - "summary": "Date-time attribute with display names", - "description": "This example demonstrates how to create a new date-time attribute with French and German display names 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", - "displayNames": { - "fr": "La date de livraison", - "de": "Liefertermin" - }, - "name": "Delivery date (display names)" - } - }, - "Example 3": { "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": "ebb4f932-24de-400d-bf86-73f5bad76599" + "guid": "c97ba554-d839-49a8-9c6b-4d0428fbde7d" } }, - "Example 4": { + "Example 3": { "summary": "Date-time attribute with IsHiddenFromSearchCriteria", "description": "This example demonstrates how to create a new date-time attribute that should not be shown in search UIs. It will still be included in text searches. It will be created in 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": { @@ -26960,7 +24497,7 @@ "name": "Delivery date (hidden from search criteria)" } }, - "Example 5": { + "Example 4": { "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": { @@ -26973,7 +24510,7 @@ "name": "Used material type" } }, - "Example 6": { + "Example 5": { "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": { @@ -26986,7 +24523,7 @@ "name": "Appropriate material types" } }, - "Example 7": { + "Example 6": { "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": { @@ -26995,7 +24532,7 @@ "name": "Details PDF" } }, - "Example 8": { + "Example 7": { "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": { @@ -27004,7 +24541,7 @@ "name": "Supplier website" } }, - "Example 9": { + "Example 8": { "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": { @@ -27014,7 +24551,7 @@ "name": "Number of batches" } }, - "Example 10": { + "Example 9": { "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": { @@ -27024,7 +24561,7 @@ "name": "Batch ID Number" } }, - "Example 11": { + "Example 10": { "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": { @@ -27033,7 +24570,7 @@ "name": "Inspected" } }, - "Example 12": { + "Example 11": { "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": { @@ -27042,7 +24579,7 @@ "name": "Long Description" } }, - "Example 13": { + "Example 12": { "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": { @@ -27051,7 +24588,7 @@ "name": "Photo" } }, - "Example 14": { + "Example 13": { "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": { @@ -27061,7 +24598,7 @@ "name": "My Shape factor" } }, - "Example 15": { + "Example 14": { "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": { @@ -27074,7 +24611,7 @@ "name": "Mass" } }, - "Example 16": { + "Example 15": { "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": { @@ -27087,7 +24624,7 @@ "name": "Observed masses" } }, - "Example 17": { + "Example 16": { "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": { @@ -27102,7 +24639,7 @@ "name": "Max ratio" } }, - "Example 18": { + "Example 17": { "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": { @@ -27111,7 +24648,7 @@ "name": "Average permeability" } }, - "Example 19": { + "Example 18": { "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": { @@ -27123,7 +24660,7 @@ "name": "Boiling point" } }, - "Example 20": { + "Example 19": { "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": { @@ -27133,7 +24670,7 @@ "name": "Label" } }, - "Example 21": { + "Example 20": { "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": { @@ -27143,7 +24680,7 @@ "name": "Serial number" } }, - "Example 22": { + "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": { @@ -27167,7 +24704,7 @@ "name": "Electrical resistance with temperature" } }, - "Example 23": { + "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": { @@ -27187,7 +24724,7 @@ "name": "Environmental resistance" } }, - "Example 24": { + "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": { @@ -27273,7 +24810,7 @@ "name": "Fatigue strength model" } }, - "Example 25": { + "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": { @@ -27341,29 +24878,16 @@ } }, "Example 2": { - "summary": "Date-time attribute with display names", - "description": "This example demonstrates how to create a new date-time attribute with French and German display names 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", - "displayNames": { - "fr": "La date de livraison", - "de": "Liefertermin" - }, - "name": "Delivery date (display names)" - } - }, - "Example 3": { "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": "ebb4f932-24de-400d-bf86-73f5bad76599" + "guid": "c97ba554-d839-49a8-9c6b-4d0428fbde7d" } }, - "Example 4": { + "Example 3": { "summary": "Date-time attribute with IsHiddenFromSearchCriteria", "description": "This example demonstrates how to create a new date-time attribute that should not be shown in search UIs. It will still be included in text searches. It will be created in 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": { @@ -27373,7 +24897,7 @@ "name": "Delivery date (hidden from search criteria)" } }, - "Example 5": { + "Example 4": { "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": { @@ -27386,7 +24910,7 @@ "name": "Used material type" } }, - "Example 6": { + "Example 5": { "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": { @@ -27399,7 +24923,7 @@ "name": "Appropriate material types" } }, - "Example 7": { + "Example 6": { "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": { @@ -27408,7 +24932,7 @@ "name": "Details PDF" } }, - "Example 8": { + "Example 7": { "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": { @@ -27417,7 +24941,7 @@ "name": "Supplier website" } }, - "Example 9": { + "Example 8": { "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": { @@ -27427,7 +24951,7 @@ "name": "Number of batches" } }, - "Example 10": { + "Example 9": { "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": { @@ -27437,7 +24961,7 @@ "name": "Batch ID Number" } }, - "Example 11": { + "Example 10": { "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": { @@ -27446,7 +24970,7 @@ "name": "Inspected" } }, - "Example 12": { + "Example 11": { "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": { @@ -27455,7 +24979,7 @@ "name": "Long Description" } }, - "Example 13": { + "Example 12": { "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": { @@ -27464,7 +24988,7 @@ "name": "Photo" } }, - "Example 14": { + "Example 13": { "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": { @@ -27474,7 +24998,7 @@ "name": "My Shape factor" } }, - "Example 15": { + "Example 14": { "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": { @@ -27487,7 +25011,7 @@ "name": "Mass" } }, - "Example 16": { + "Example 15": { "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": { @@ -27500,7 +25024,7 @@ "name": "Observed masses" } }, - "Example 17": { + "Example 16": { "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": { @@ -27515,7 +25039,7 @@ "name": "Max ratio" } }, - "Example 18": { + "Example 17": { "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": { @@ -27524,7 +25048,7 @@ "name": "Average permeability" } }, - "Example 19": { + "Example 18": { "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": { @@ -27536,7 +25060,7 @@ "name": "Boiling point" } }, - "Example 20": { + "Example 19": { "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": { @@ -27546,7 +25070,7 @@ "name": "Label" } }, - "Example 21": { + "Example 20": { "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": { @@ -27556,7 +25080,7 @@ "name": "Serial number" } }, - "Example 22": { + "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": { @@ -27580,7 +25104,7 @@ "name": "Electrical resistance with temperature" } }, - "Example 23": { + "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": { @@ -27600,7 +25124,7 @@ "name": "Environmental resistance" } }, - "Example 24": { + "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": { @@ -27686,7 +25210,7 @@ "name": "Fatigue strength model" } }, - "Example 25": { + "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": { @@ -27754,29 +25278,16 @@ } }, "Example 2": { - "summary": "Date-time attribute with display names", - "description": "This example demonstrates how to create a new date-time attribute with French and German display names 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", - "displayNames": { - "fr": "La date de livraison", - "de": "Liefertermin" - }, - "name": "Delivery date (display names)" - } - }, - "Example 3": { "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": "ebb4f932-24de-400d-bf86-73f5bad76599" + "guid": "c97ba554-d839-49a8-9c6b-4d0428fbde7d" } }, - "Example 4": { + "Example 3": { "summary": "Date-time attribute with IsHiddenFromSearchCriteria", "description": "This example demonstrates how to create a new date-time attribute that should not be shown in search UIs. It will still be included in text searches. It will be created in 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": { @@ -27786,7 +25297,7 @@ "name": "Delivery date (hidden from search criteria)" } }, - "Example 5": { + "Example 4": { "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": { @@ -27799,7 +25310,7 @@ "name": "Used material type" } }, - "Example 6": { + "Example 5": { "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": { @@ -27812,7 +25323,7 @@ "name": "Appropriate material types" } }, - "Example 7": { + "Example 6": { "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": { @@ -27821,7 +25332,7 @@ "name": "Details PDF" } }, - "Example 8": { + "Example 7": { "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": { @@ -27830,7 +25341,7 @@ "name": "Supplier website" } }, - "Example 9": { + "Example 8": { "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": { @@ -27840,7 +25351,7 @@ "name": "Number of batches" } }, - "Example 10": { + "Example 9": { "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": { @@ -27850,7 +25361,7 @@ "name": "Batch ID Number" } }, - "Example 11": { + "Example 10": { "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": { @@ -27859,7 +25370,7 @@ "name": "Inspected" } }, - "Example 12": { + "Example 11": { "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": { @@ -27868,7 +25379,7 @@ "name": "Long Description" } }, - "Example 13": { + "Example 12": { "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": { @@ -27877,7 +25388,7 @@ "name": "Photo" } }, - "Example 14": { + "Example 13": { "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": { @@ -27887,7 +25398,7 @@ "name": "My Shape factor" } }, - "Example 15": { + "Example 14": { "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": { @@ -27900,7 +25411,7 @@ "name": "Mass" } }, - "Example 16": { + "Example 15": { "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": { @@ -27913,7 +25424,7 @@ "name": "Observed masses" } }, - "Example 17": { + "Example 16": { "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": { @@ -27928,7 +25439,7 @@ "name": "Max ratio" } }, - "Example 18": { + "Example 17": { "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": { @@ -27937,7 +25448,7 @@ "name": "Average permeability" } }, - "Example 19": { + "Example 18": { "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": { @@ -27949,7 +25460,7 @@ "name": "Boiling point" } }, - "Example 20": { + "Example 19": { "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": { @@ -27959,7 +25470,7 @@ "name": "Label" } }, - "Example 21": { + "Example 20": { "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": { @@ -27969,7 +25480,7 @@ "name": "Serial number" } }, - "Example 22": { + "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": { @@ -27993,7 +25504,7 @@ "name": "Electrical resistance with temperature" } }, - "Example 23": { + "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": { @@ -28013,7 +25524,7 @@ "name": "Environmental resistance" } }, - "Example 24": { + "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": { @@ -28099,7 +25610,7 @@ "name": "Fatigue strength model" } }, - "Example 25": { + "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": { @@ -28178,12 +25689,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -28215,12 +25725,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28262,15 +25771,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "3d4b5b27-d2cd-4c51-aeb7-644253b4d385" + "guid": "1375fb31-066e-407b-80ae-e6ba6ac80f19" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28298,7 +25806,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -28335,7 +25842,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -28347,7 +25853,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -28396,12 +25901,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28427,11 +25931,11 @@ "description": "The GUID provided for the discrete type does not match a discrete type in the database.", "value": { "message": "Cannot create attribute 'Used material type'.", - "code": "attributeCreation", + "code": 400, "errors": [ { - "message": "Could not find discrete type with GUID '783f3a28-5d13-4699-9ef4-5b62c334d78c' in database 'MI_Training'.", - "guid": "783f3a28-5d13-4699-9ef4-5b62c334d78c", + "message": "Could not find discrete type with GUID 'e36de172-edf1-480a-8f4b-a6e9951c3c56' in database 'MI_Training'.", + "guid": "e36de172-edf1-480a-8f4b-a6e9951c3c56", "databaseKey": "MI_Training", "entityType": "discreteType", "reason": "noSuchEntity" @@ -28444,11 +25948,11 @@ "description": "Unit not found; no expressions specified (and 'allow anonymous expressions' not set to true); parameterContents contains a parameter that is not in attributeParameters", "value": { "message": "Cannot create attribute 'Fatigue strength model'.", - "code": "attributeCreation", + "code": 400, "errors": [ { - "message": "Could not find unit with GUID 'bff72849-a7c9-4a1b-adae-8c3904aa52e1' in database 'MI_Training'.", - "guid": "bff72849-a7c9-4a1b-adae-8c3904aa52e1", + "message": "Could not find unit with GUID '4d90ffdd-16f5-4bbb-8bea-5ebcc12545ce' in database 'MI_Training'.", + "guid": "4d90ffdd-16f5-4bbb-8bea-5ebcc12545ce", "databaseKey": "MI_Training", "entityType": "unit", "reason": "noSuchEntity" @@ -28461,9 +25965,9 @@ "reason": "noExpressions" }, { - "message": "Parameters in parameter contents must be from this attribute's parameters. GUIDs not found in attribute's parameters: '28dc26cb-a27c-4f5e-8eba-e8e583a95cc4'.", + "message": "Parameters in parameter contents must be from this attribute's parameters. GUIDs not found in attribute's parameters: 'b56603b2-ee49-4936-a488-3b3074e45d56'.", "parameterGuids": [ - "28dc26cb-a27c-4f5e-8eba-e8e583a95cc4" + "b56603b2-ee49-4936-a488-3b3074e45d56" ], "reason": "parameterContentUnknownParameters" } @@ -28478,7 +25982,7 @@ "description": "The required property 'name' was not provided.", "value": { "message": "CreateDateTimeAttribute: Required property 'name' not found in JSON", - "code": "jsonSerialization" + "code": 400 } } } @@ -28505,22 +26009,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -28582,12 +26081,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -28619,12 +26117,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28666,15 +26163,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "787e9fbb-a0b6-4e33-8335-635f37cf9e8c" + "guid": "b315ba65-18c5-4b25-b5e8-53dc9a187878" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28702,7 +26198,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -28739,7 +26234,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -28751,7 +26245,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -28800,12 +26293,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -28833,22 +26325,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -28878,35 +26365,6 @@ } }, "Example 2": { - "summary": "Update display names", - "description": "This example demonstrates how to update the French and German display names 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", - "displayNames": { - "fr": "Métaux", - "de": "Metalle" - } - } - }, - "Example 3": { - "summary": "Remove fr display name", - "description": "This example demonstrates how to remove the French display name 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", - "displayNames": { - "fr": null - } - } - }, - "Example 4": { - "summary": "Remove all display names", - "description": "This example demonstrates how to remove all display names 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", - "displayNames": null - } - }, - "Example 5": { "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": { @@ -28914,7 +26372,7 @@ "guid": "12345678-0013-4fff-8fff-0000ffff0000" } }, - "Example 6": { + "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": { @@ -28922,7 +26380,7 @@ "helpPath": "html/attributenotes/metals.html" } }, - "Example 7": { + "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": { @@ -28930,7 +26388,7 @@ "defaultThresholdType": "equal" } }, - "Example 8": { + "Example 5": { "summary": "Update IsHiddenFromSearchCriteria", "description": "This example demonstrates how to update an attribute so that it should not be shown in search UIs. It will still be included in text searches. The example is for 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": { @@ -28938,7 +26396,7 @@ "isHiddenFromSearchCriteria": true } }, - "Example 9": { + "Example 6": { "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": { @@ -28946,7 +26404,7 @@ "isMultiValued": true } }, - "Example 10": { + "Example 7": { "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": { @@ -28954,17 +26412,17 @@ "isUnique": true } }, - "Example 11": { + "Example 8": { "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 smart 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.", + "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 12": { + "Example 9": { "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 smart 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.", + "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, @@ -28975,7 +26433,7 @@ ] } }, - "Example 13": { + "Example 10": { "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": { @@ -28985,7 +26443,7 @@ } } }, - "Example 14": { + "Example 11": { "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": { @@ -28994,7 +26452,7 @@ "name": "Grain size (updated)" } }, - "Example 15": { + "Example 12": { "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": { @@ -29004,7 +26462,7 @@ } } }, - "Example 16": { + "Example 13": { "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": { @@ -29033,7 +26491,7 @@ ] } }, - "Example 17": { + "Example 14": { "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": { @@ -29097,7 +26555,7 @@ } } }, - "Example 18": { + "Example 15": { "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": { @@ -29141,7 +26599,7 @@ "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc" } }, - "Example 19": { + "Example 16": { "summary": "Update tabular target", "description": "This example demonstrates how to modify the tabular target attribute of the 'Legislations restricting its use' attribute from 'Legislation ID' to 'Parent legislation ID'. The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29151,7 +26609,7 @@ } } }, - "Example 20": { + "Example 17": { "summary": "Remove tabular target", "description": "This example demonstrates how to remove the tabular target of the 'Legislations restricting its use' attribute. Linked attribute columns will become 'unavailable'. The target can be reset, then the linked attribute columns will become available. The original target attribute is 'Legislation ID' ('targetAttributeGuid': '77e38bc0-d8ab-484d-a84c-a9ffec81afab') in table 'Legislations and Lists' ('targetTableGuid': '08a1f735-9b37-49bc-96b3-e46e070f6c17'), with 'targetDatabaseGuid' and 'targetDatabaseVersionGuid' for the MI_Training database.The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29175,35 +26633,6 @@ } }, "Example 2": { - "summary": "Update display names", - "description": "This example demonstrates how to update the French and German display names 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", - "displayNames": { - "fr": "Métaux", - "de": "Metalle" - } - } - }, - "Example 3": { - "summary": "Remove fr display name", - "description": "This example demonstrates how to remove the French display name 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", - "displayNames": { - "fr": null - } - } - }, - "Example 4": { - "summary": "Remove all display names", - "description": "This example demonstrates how to remove all display names 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", - "displayNames": null - } - }, - "Example 5": { "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": { @@ -29211,7 +26640,7 @@ "guid": "12345678-0013-4fff-8fff-0000ffff0000" } }, - "Example 6": { + "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": { @@ -29219,7 +26648,7 @@ "helpPath": "html/attributenotes/metals.html" } }, - "Example 7": { + "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": { @@ -29227,7 +26656,7 @@ "defaultThresholdType": "equal" } }, - "Example 8": { + "Example 5": { "summary": "Update IsHiddenFromSearchCriteria", "description": "This example demonstrates how to update an attribute so that it should not be shown in search UIs. It will still be included in text searches. The example is for 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": { @@ -29235,7 +26664,7 @@ "isHiddenFromSearchCriteria": true } }, - "Example 9": { + "Example 6": { "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": { @@ -29243,7 +26672,7 @@ "isMultiValued": true } }, - "Example 10": { + "Example 7": { "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": { @@ -29251,17 +26680,17 @@ "isUnique": true } }, - "Example 11": { + "Example 8": { "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 smart 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.", + "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 12": { + "Example 9": { "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 smart 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.", + "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, @@ -29272,7 +26701,7 @@ ] } }, - "Example 13": { + "Example 10": { "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": { @@ -29282,7 +26711,7 @@ } } }, - "Example 14": { + "Example 11": { "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": { @@ -29291,7 +26720,7 @@ "name": "Grain size (updated)" } }, - "Example 15": { + "Example 12": { "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": { @@ -29301,7 +26730,7 @@ } } }, - "Example 16": { + "Example 13": { "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": { @@ -29330,7 +26759,7 @@ ] } }, - "Example 17": { + "Example 14": { "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": { @@ -29394,7 +26823,7 @@ } } }, - "Example 18": { + "Example 15": { "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": { @@ -29438,7 +26867,7 @@ "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc" } }, - "Example 19": { + "Example 16": { "summary": "Update tabular target", "description": "This example demonstrates how to modify the tabular target attribute of the 'Legislations restricting its use' attribute from 'Legislation ID' to 'Parent legislation ID'. The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29448,7 +26877,7 @@ } } }, - "Example 20": { + "Example 17": { "summary": "Remove tabular target", "description": "This example demonstrates how to remove the tabular target of the 'Legislations restricting its use' attribute. Linked attribute columns will become 'unavailable'. The target can be reset, then the linked attribute columns will become available. The original target attribute is 'Legislation ID' ('targetAttributeGuid': '77e38bc0-d8ab-484d-a84c-a9ffec81afab') in table 'Legislations and Lists' ('targetTableGuid': '08a1f735-9b37-49bc-96b3-e46e070f6c17'), with 'targetDatabaseGuid' and 'targetDatabaseVersionGuid' for the MI_Training database.The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29472,35 +26901,6 @@ } }, "Example 2": { - "summary": "Update display names", - "description": "This example demonstrates how to update the French and German display names 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", - "displayNames": { - "fr": "Métaux", - "de": "Metalle" - } - } - }, - "Example 3": { - "summary": "Remove fr display name", - "description": "This example demonstrates how to remove the French display name 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", - "displayNames": { - "fr": null - } - } - }, - "Example 4": { - "summary": "Remove all display names", - "description": "This example demonstrates how to remove all display names 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", - "displayNames": null - } - }, - "Example 5": { "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": { @@ -29508,7 +26908,7 @@ "guid": "12345678-0013-4fff-8fff-0000ffff0000" } }, - "Example 6": { + "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": { @@ -29516,7 +26916,7 @@ "helpPath": "html/attributenotes/metals.html" } }, - "Example 7": { + "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": { @@ -29524,7 +26924,7 @@ "defaultThresholdType": "equal" } }, - "Example 8": { + "Example 5": { "summary": "Update IsHiddenFromSearchCriteria", "description": "This example demonstrates how to update an attribute so that it should not be shown in search UIs. It will still be included in text searches. The example is for 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": { @@ -29532,7 +26932,7 @@ "isHiddenFromSearchCriteria": true } }, - "Example 9": { + "Example 6": { "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": { @@ -29540,7 +26940,7 @@ "isMultiValued": true } }, - "Example 10": { + "Example 7": { "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": { @@ -29548,17 +26948,17 @@ "isUnique": true } }, - "Example 11": { + "Example 8": { "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 smart 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.", + "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 12": { + "Example 9": { "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 smart 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.", + "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, @@ -29569,7 +26969,7 @@ ] } }, - "Example 13": { + "Example 10": { "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": { @@ -29579,7 +26979,7 @@ } } }, - "Example 14": { + "Example 11": { "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": { @@ -29588,7 +26988,7 @@ "name": "Grain size (updated)" } }, - "Example 15": { + "Example 12": { "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": { @@ -29598,7 +26998,7 @@ } } }, - "Example 16": { + "Example 13": { "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": { @@ -29627,7 +27027,7 @@ ] } }, - "Example 17": { + "Example 14": { "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": { @@ -29691,7 +27091,7 @@ } } }, - "Example 18": { + "Example 15": { "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": { @@ -29735,7 +27135,7 @@ "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc" } }, - "Example 19": { + "Example 16": { "summary": "Update tabular target", "description": "This example demonstrates how to modify the tabular target attribute of the 'Legislations restricting its use' attribute from 'Legislation ID' to 'Parent legislation ID'. The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29745,7 +27145,7 @@ } } }, - "Example 20": { + "Example 17": { "summary": "Remove tabular target", "description": "This example demonstrates how to remove the tabular target of the 'Legislations restricting its use' attribute. Linked attribute columns will become 'unavailable'. The target can be reset, then the linked attribute columns will become available. The original target attribute is 'Legislation ID' ('targetAttributeGuid': '77e38bc0-d8ab-484d-a84c-a9ffec81afab') in table 'Legislations and Lists' ('targetTableGuid': '08a1f735-9b37-49bc-96b3-e46e070f6c17'), with 'targetDatabaseGuid' and 'targetDatabaseVersionGuid' for the MI_Training database.The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -29769,35 +27169,6 @@ } }, "Example 2": { - "summary": "Update display names", - "description": "This example demonstrates how to update the French and German display names 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", - "displayNames": { - "fr": "Métaux", - "de": "Metalle" - } - } - }, - "Example 3": { - "summary": "Remove fr display name", - "description": "This example demonstrates how to remove the French display name 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", - "displayNames": { - "fr": null - } - } - }, - "Example 4": { - "summary": "Remove all display names", - "description": "This example demonstrates how to remove all display names 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", - "displayNames": null - } - }, - "Example 5": { "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": { @@ -29805,7 +27176,7 @@ "guid": "12345678-0013-4fff-8fff-0000ffff0000" } }, - "Example 6": { + "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": { @@ -29813,7 +27184,7 @@ "helpPath": "html/attributenotes/metals.html" } }, - "Example 7": { + "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": { @@ -29821,7 +27192,7 @@ "defaultThresholdType": "equal" } }, - "Example 8": { + "Example 5": { "summary": "Update IsHiddenFromSearchCriteria", "description": "This example demonstrates how to update an attribute so that it should not be shown in search UIs. It will still be included in text searches. The example is for 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": { @@ -29829,7 +27200,7 @@ "isHiddenFromSearchCriteria": true } }, - "Example 9": { + "Example 6": { "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": { @@ -29837,7 +27208,7 @@ "isMultiValued": true } }, - "Example 10": { + "Example 7": { "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": { @@ -29845,17 +27216,17 @@ "isUnique": true } }, - "Example 11": { + "Example 8": { "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 smart 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.", + "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 12": { + "Example 9": { "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 smart 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.", + "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, @@ -29866,7 +27237,7 @@ ] } }, - "Example 13": { + "Example 10": { "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": { @@ -29876,7 +27247,7 @@ } } }, - "Example 14": { + "Example 11": { "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": { @@ -29885,7 +27256,7 @@ "name": "Grain size (updated)" } }, - "Example 15": { + "Example 12": { "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": { @@ -29895,7 +27266,7 @@ } } }, - "Example 16": { + "Example 13": { "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": { @@ -29924,7 +27295,7 @@ ] } }, - "Example 17": { + "Example 14": { "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": { @@ -29988,7 +27359,7 @@ } } }, - "Example 18": { + "Example 15": { "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": { @@ -30032,7 +27403,7 @@ "guid": "c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc" } }, - "Example 19": { + "Example 16": { "summary": "Update tabular target", "description": "This example demonstrates how to modify the tabular target attribute of the 'Legislations restricting its use' attribute from 'Legislation ID' to 'Parent legislation ID'. The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -30042,7 +27413,7 @@ } } }, - "Example 20": { + "Example 17": { "summary": "Remove tabular target", "description": "This example demonstrates how to remove the tabular target of the 'Legislations restricting its use' attribute. Linked attribute columns will become 'unavailable'. The target can be reset, then the linked attribute columns will become available. The original target attribute is 'Legislation ID' ('targetAttributeGuid': '77e38bc0-d8ab-484d-a84c-a9ffec81afab') in table 'Legislations and Lists' ('targetTableGuid': '08a1f735-9b37-49bc-96b3-e46e070f6c17'), with 'targetDatabaseGuid' and 'targetDatabaseVersionGuid' for the MI_Training database.The 'Legislations restricting its use' tabular attribute is in the 'Restricted Substances' table from the MI_Training database (tableGuid = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'; attributeGuid = 'c33cecb7-f3d2-4415-9de6-1ed4e5b2abdc').", "value": { @@ -30078,12 +27449,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -30115,12 +27485,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30162,15 +27531,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "b1853127-f79c-47bc-9e3f-3763daa0d1bf" + "guid": "757a4a49-8513-4d3c-b976-8f1bc6af0e98" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30198,7 +27566,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -30235,7 +27602,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -30247,7 +27613,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -30296,12 +27661,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30335,22 +27699,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -30373,8 +27732,8 @@ "$ref": "#/components/schemas/GsaAttributeDeletionException" }, "example": { - "message": "Cannot delete attribute with GUID '000000e3-0001-4fff-8fff-dd92ffff0000'.", - "code": "deletion", + "message": "Cannot delete attribute 'Tensile strength' (GUID = '000000e3-0001-4fff-8fff-dd92ffff0000').", + "code": 400, "errors": [ { "message": "It is being used in version controlled data.", @@ -30420,22 +27779,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -30492,22 +27846,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -30569,12 +27918,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -30606,12 +27954,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30653,15 +28000,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "8ee0f777-e526-4787-bc9e-76c1c23b994f" + "guid": "7d89fbc1-9ece-4ec1-aebb-29effb74bcbf" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30689,7 +28035,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -30726,7 +28071,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -30738,7 +28082,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -30787,12 +28130,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -30820,22 +28162,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -31065,12 +28402,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -31102,12 +28438,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31149,15 +28484,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "3bee6b2c-dcf4-4891-98e1-7335f92ddc70" + "guid": "c5d13c9c-56bc-4630-bbf8-019695536012" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31185,7 +28519,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -31222,7 +28555,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -31234,7 +28566,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -31283,12 +28614,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31322,22 +28652,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -31360,8 +28685,8 @@ "$ref": "#/components/schemas/GsaAttributeDeletionException" }, "example": { - "message": "Cannot delete attribute with GUID '4a2c8cb6-e4fe-463b-ac91-5d6c04b6ead1'.", - "code": "deletion", + "message": "Cannot delete attribute 'Notes' (GUID = '37666e2b-bfbc-429f-a9e0-fe59122bb4a6').", + "code": 400, "errors": [ { "message": "It is being used in version controlled data.", @@ -31375,7 +28700,7 @@ "referencedBy": [ { "name": "Search mask that searches in Notes", - "guid": "47f25e1b-27e7-4391-b060-930b26b42069" + "guid": "61c2a7d1-f0b3-47af-9fec-6a272148cbbb" } ] } @@ -31407,22 +28732,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -31486,22 +28806,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -31611,12 +28926,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "dateTime", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "ad27baf0-42e9-4136-bc96-9dbbf116e265" }, @@ -31648,12 +28962,11 @@ "orderedMetaAttributes": [], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31695,15 +29008,14 @@ "foreignDataLinkGroups": [ { "name": "Source of data (MaterialUniverse)", - "guid": "ee857216-3518-4556-af0d-1948c2ac4e1d" + "guid": "9296c7d7-f97e-424b-aedf-5239e63d8039" } ], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31731,7 +29043,6 @@ "linkedAttribute": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -31768,7 +29079,6 @@ "linkedAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f" }, @@ -31780,7 +29090,6 @@ "linkedAttribute": { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "08a1f735-9b37-49bc-96b3-e46e070f6c17" }, @@ -31829,12 +29138,11 @@ ], "primaryDataLinkGroups": [], "foreignDataLinkGroups": [], - "primarySmartLinkGroups": [], - "foreignSmartLinkGroups": [] + "primaryDynamicLinkGroups": [], + "foreignDynamicLinkGroups": [] }, "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -31856,16 +29164,16 @@ }, "example": { "message": "Cannot create meta-attribute 'Notes'.", - "code": "attributeCreation", + "code": 400, "errors": [ { "message": "The name or GUID is not valid.", "errors": [ { - "message": "MetaAttribute with GUID '58c13f14-a6ff-4f11-9238-0cc8c67d4fda' already exists.", - "guid": "58c13f14-a6ff-4f11-9238-0cc8c67d4fda", + "message": "Meta-attribute with GUID 'cfba14a2-353b-433f-a6f3-529fc0c92b9f' already exists.", + "guid": "cfba14a2-353b-433f-a6f3-529fc0c92b9f", "reason": "entityAlreadyExists", - "entityType": "metaAttribute" + "entityTypeName": "Meta-attribute" } ], "reason": "namedEntity" @@ -31899,22 +29207,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -31986,22 +29289,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -32073,22 +29371,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -32147,13 +29440,11 @@ "summary": "Fetch all attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, "isMultiValued": true, "isFunctionalRange": true, - "helpPath": true, "axisName": { "name": true, "displayNames": true @@ -32318,13 +29609,11 @@ "summary": "Fetch all attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, "isMultiValued": true, "isFunctionalRange": true, - "helpPath": true, "axisName": { "name": true, "displayNames": true @@ -32489,13 +29778,11 @@ "summary": "Fetch all attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, "isMultiValued": true, "isFunctionalRange": true, - "helpPath": true, "axisName": { "name": true, "displayNames": true @@ -32660,13 +29947,11 @@ "summary": "Fetch all attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, "isMultiValued": true, "isFunctionalRange": true, - "helpPath": true, "axisName": { "name": true, "displayNames": true @@ -32839,22 +30124,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -32909,7 +30189,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33064,7 +30343,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33219,7 +30497,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33374,7 +30651,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33541,22 +30817,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -33620,7 +30891,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33775,7 +31045,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -33930,7 +31199,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -34085,7 +31353,6 @@ "summary": "Fetch all meta-attributes with custom properties", "value": { "properties": { - "isProtected": true, "type": true, "defaultThresholdType": true, "isHiddenFromSearchCriteria": true, @@ -34252,18 +31519,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34310,18 +31574,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34356,7 +31617,7 @@ "description": "Basic configuration that can be used in explore.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "basic configuration", - "guid": "bb6dbb1e-4703-49d4-8108-7a40b814f103" + "guid": "8cbdbdfd-2cc0-43db-8fad-1ac463ba097d" } } } @@ -34381,7 +31642,7 @@ "description": "Basic configuration that can be used in explore.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "basic configuration", - "guid": "bb6dbb1e-4703-49d4-8108-7a40b814f103" + "guid": "8cbdbdfd-2cc0-43db-8fad-1ac463ba097d" } } } @@ -34406,7 +31667,7 @@ "description": "Basic configuration that can be used in explore.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "basic configuration", - "guid": "bb6dbb1e-4703-49d4-8108-7a40b814f103" + "guid": "8cbdbdfd-2cc0-43db-8fad-1ac463ba097d" } } } @@ -34431,7 +31692,7 @@ "description": "Basic configuration that can be used in explore.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "basic configuration", - "guid": "bb6dbb1e-4703-49d4-8108-7a40b814f103" + "guid": "8cbdbdfd-2cc0-43db-8fad-1ac463ba097d" } } } @@ -34455,41 +31716,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Explore Configuration file with the name 'examples', but there is already a file with that name.", - "value": { - "message": "Cannot create Configuration file 'examples'.", - "code": "fileCreation", - "name": "examples", - "folderType": "configuration", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'examples' already exists in this Folder.", - "name": "examples", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -34511,18 +31738,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34575,18 +31799,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34622,7 +31843,7 @@ "description": "Updated description for MI_Training Explore 'examples' configuration.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "examples (updated)", - "guid": "8217aa29-2970-4b45-b16d-53e6bb56efcc" + "guid": "7c18a8c4-a8e2-4a66-acb0-3e519d35f2dd" } }, "Example 2": { @@ -34646,7 +31867,7 @@ "description": "Updated description for MI_Training Explore 'examples' configuration.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "examples (updated)", - "guid": "8217aa29-2970-4b45-b16d-53e6bb56efcc" + "guid": "7c18a8c4-a8e2-4a66-acb0-3e519d35f2dd" } }, "Example 2": { @@ -34670,7 +31891,7 @@ "description": "Updated description for MI_Training Explore 'examples' configuration.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "examples (updated)", - "guid": "8217aa29-2970-4b45-b16d-53e6bb56efcc" + "guid": "7c18a8c4-a8e2-4a66-acb0-3e519d35f2dd" } }, "Example 2": { @@ -34694,7 +31915,7 @@ "description": "Updated description for MI_Training Explore 'examples' configuration.", "value": "{\"configurations\": [{\"key\": \"training-materials\",\"displayName\": \"MI Training Materials\",\"default\": true,\"groups\": [\"MI Training examples\"],\"table\": \"MaterialUniverse\",\"loadDataOnDemand\": false,\"description\": \"Explore MaterialUniverse data in the MI Training database\",\"searchLayout\": \"All bulk materials\",\"dataSheetLayout\": \"All bulk materials\",\"editableDatasheetLayout\": \"All bulk materials\",\"searchListLayout\": \"Explore list layout Materials\",\"newRecordLocation\": \"NEW RECORDS/{Base}\",\"subset\": \"All bulk materials\",\"logsliders\": true,\"xyChart\": {\"colorAttribute\": \"UV radiation (sunlight)\",\"colorAttribute2\": \"Flammability\",\"colorAttribute3\": \"Food contact\",\"colorAttribute4\": \"Material form\",\"colorAttribute5\": \"Organic solvents\",\"colorAttribute6\": \"Oxidation at 500C\",\"colorAttribute7\": \"Strong acids\",\"colorAttribute8\": \"Strong alkalis\",\"colorAttribute9\": \"Weak acids\",\"colorAttribute10\": \"Weak alkalis\",\"colorAttribute11\": \"Water (fresh)\",\"colorAttribute12\": \"Water (salt)\",\"colorAttribute13\": \"Transparency\",\"colorAttribute14\": \"Wear resistance\",\"xAttribute\": \"Density\",\"yAttribute\": \"Yield strength (elastic limit)\",\"preventAxisChange\": false,\"xAxisLogarithmic\": true,\"yAxisLogarithmic\": true},\"showBlanks\": false,\"reportsDisabled\": false,\"exportersDisabled\": false,\"tabularEditingEnabled\": true,\"configSwitching\": \"keyOnly\",\"workflowEnabled\": true,\"useCustomFormatters\": {\"Recycle fraction in current supply\": \"recyclingPercent\",\"Recycle\": \"recyclingBool\",\"Biodegrade\": \"biodegradeBool\",\"UV radiation (sunlight)\": \"uvradiationsunlightDiscrete\",\"Flammability\": \"flammabilityDiscrete\",\"Food contact\": \"foodcontactDiscrete\",\"Material form\": \"materialformDiscrete\",\"Organic solvents\": \"organicsolventsDiscrete\",\"Oxidation at 500C\": \"oxidationat500cDiscrete\",\"Strong acids\": \"strongacidsDiscrete\",\"Strong alkalis\": \"strongalkalisDiscrete\",\"Weak acids\": \"weakacidsDiscrete\",\"Weak alkalis\": \"weakalkalisDiscrete\",\"Water (fresh)\": \"waterfreshDiscrete\",\"Water (salt)\": \"watersaltDiscrete\",\"Transparency\": \"transparencyDiscrete\",\"Wear resistance\": \"wearresistanceDiscrete\",\"A renewable resource?\": \"arenewableresourceBool\",\"Combust for energy recovery\": \"combustforenergyrecoveryBool\",\"Downcycle\": \"downcycleBool\",\"Flame retardant additive\": \"flameretardantadditiveBool\",\"Landfill\": \"landfillBool\",\"RoHS (EU) compliant grades?\": \"rohseucompliantgradesBool\",\"Substance declaration available?\": \"substancedeclarationavailableBool\"}}],\"customFormatterDefinitions\": {\"recyclingBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleYes.png\",\"tooltipValue\": \"Can be recycled\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/RecycleNo.png\",\"tooltipValue\": \"Can not be recycled\"},\"chart\": {\"renderColor\": \"red\"}}]},\"biodegradeBool\": {\"attributeFormatter\": {\"list\": {\"columnHeader\": false,\"columnWidth\": 40}},\"valueFormatters\": [{\"match\": true,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafGreen.png\",\"tooltipValue\": \"Can be biodegraded\"},\"chart\": {\"renderColor\": \"green\"}},{\"match\": false,\"list\": {\"iconUrl\": \"/mi_servicelayer/Assets/v1.svc/HelpPageFiles/MI_Training/ExploreImages/LeafRed.png\",\"tooltipValue\": \"Can not be biodegraded\"},\"chart\": {\"renderColor\": \"red\"}}]}}}", "name": "examples (updated)", - "guid": "8217aa29-2970-4b45-b16d-53e6bb56efcc" + "guid": "7c18a8c4-a8e2-4a66-acb0-3e519d35f2dd" } }, "Example 2": { @@ -34725,33 +31946,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a Configuration file to ''.", - "value": { - "message": "Cannot update Configuration file with GUID 'de14ce79-331e-4831-87bf-48ab62d1f39e'.", - "code": "fileUpdate", - "fileGuid": "de14ce79-331e-4831-87bf-48ab62d1f39e", - "folderType": "configuration", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -34771,18 +31966,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34828,18 +32020,15 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "configuration-type", "in": "path", - "description": "The configuration type as entered.", + "description": "The configuration type.", "required": true, "schema": { "enum": [ @@ -34863,16 +32052,7 @@ ], "responses": { "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true + "description": "Ok" }, "404": { "description": "Database or configuration not found" @@ -34891,12 +32071,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -34941,9 +32118,7 @@ "description": "Database in which constant will be created", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -34969,7 +32144,7 @@ "value": { "value": 0.0072973525693, "name": "fine-structure constant (guid)", - "guid": "91f47865-cbfb-4bd9-aa95-49e9d649589b" + "guid": "b3eefc80-0aae-475d-bb20-cdf93552b7fa" } }, "Example 3": { @@ -35002,7 +32177,7 @@ "value": { "value": 0.0072973525693, "name": "fine-structure constant (guid)", - "guid": "91f47865-cbfb-4bd9-aa95-49e9d649589b" + "guid": "b3eefc80-0aae-475d-bb20-cdf93552b7fa" } }, "Example 3": { @@ -35035,7 +32210,7 @@ "value": { "value": 0.0072973525693, "name": "fine-structure constant (guid)", - "guid": "91f47865-cbfb-4bd9-aa95-49e9d649589b" + "guid": "b3eefc80-0aae-475d-bb20-cdf93552b7fa" } }, "Example 3": { @@ -35068,7 +32243,7 @@ "value": { "value": 0.0072973525693, "name": "fine-structure constant (guid)", - "guid": "91f47865-cbfb-4bd9-aa95-49e9d649589b" + "guid": "b3eefc80-0aae-475d-bb20-cdf93552b7fa" } }, "Example 3": { @@ -35130,9 +32305,7 @@ "description": "Database in which constant will be search for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35184,9 +32357,7 @@ "description": "Database in which constant will be search for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35215,7 +32386,7 @@ "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", "value": 376.730313668, "name": "characteristic impedance of vacuum", - "guid": "df6b0587-a378-4954-b14a-8f1d3aaf9e45" + "guid": "976eab1e-1e6e-4880-98e0-bd9840d0a5de" } }, "Example 2": { @@ -35230,7 +32401,7 @@ "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": "90c1e899-30f9-49a3-bae1-0d38ace4cd20" + "guid": "13f8308a-b5a4-484a-ac02-6af471d958d0" } } } @@ -35247,7 +32418,7 @@ "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", "value": 376.730313668, "name": "characteristic impedance of vacuum", - "guid": "df6b0587-a378-4954-b14a-8f1d3aaf9e45" + "guid": "976eab1e-1e6e-4880-98e0-bd9840d0a5de" } }, "Example 2": { @@ -35262,7 +32433,7 @@ "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": "90c1e899-30f9-49a3-bae1-0d38ace4cd20" + "guid": "13f8308a-b5a4-484a-ac02-6af471d958d0" } } } @@ -35279,7 +32450,7 @@ "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", "value": 376.730313668, "name": "characteristic impedance of vacuum", - "guid": "df6b0587-a378-4954-b14a-8f1d3aaf9e45" + "guid": "976eab1e-1e6e-4880-98e0-bd9840d0a5de" } }, "Example 2": { @@ -35294,7 +32465,7 @@ "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": "90c1e899-30f9-49a3-bae1-0d38ace4cd20" + "guid": "13f8308a-b5a4-484a-ac02-6af471d958d0" } } } @@ -35311,7 +32482,7 @@ "unitGuid": "00000059-0013-4fff-8fff-0000ffff0000", "value": 376.730313668, "name": "characteristic impedance of vacuum", - "guid": "df6b0587-a378-4954-b14a-8f1d3aaf9e45" + "guid": "976eab1e-1e6e-4880-98e0-bd9840d0a5de" } }, "Example 2": { @@ -35326,7 +32497,7 @@ "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": "90c1e899-30f9-49a3-bae1-0d38ace4cd20" + "guid": "13f8308a-b5a4-484a-ac02-6af471d958d0" } } } @@ -35377,9 +32548,7 @@ "description": "Database in which constant will be search for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35402,8 +32571,8 @@ "$ref": "#/components/schemas/GsaConstantDeletionException" }, "example": { - "message": "Cannot delete constant with GUID '00000001-0004-4fff-8fff-0000ffff0000'.", - "code": "deletion", + "message": "Cannot delete constant 'PI' (GUID = '00000001-0004-4fff-8fff-0000ffff0000').", + "code": 400, "errors": [ { "message": "It is being used in one or more expressions.", @@ -35444,12 +32613,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -35479,12 +32645,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -35590,12 +32753,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35634,12 +32794,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35708,12 +32865,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35854,12 +33008,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -35889,12 +33040,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -35923,12 +33071,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -35956,8 +33101,8 @@ "company": "ANSYS, Inc. (updated)", "notes": "MI Training Database for Granta MI v2022R2 and above. This 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": "f5d9609b-55a7-49c8-8798-42f9477679b8", - "guid": "2f935521-1acc-4167-b76c-df22b21d5324", + "versionGuid": "f28d436a-d05d-4385-a839-85f5430264f6", + "guid": "0804305e-f857-4012-a949-57bec0f2268d", "name": "MI Training (Updated)" } }, @@ -35982,8 +33127,8 @@ "company": "ANSYS, Inc. (updated)", "notes": "MI Training Database for Granta MI v2022R2 and above. This 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": "f5d9609b-55a7-49c8-8798-42f9477679b8", - "guid": "2f935521-1acc-4167-b76c-df22b21d5324", + "versionGuid": "f28d436a-d05d-4385-a839-85f5430264f6", + "guid": "0804305e-f857-4012-a949-57bec0f2268d", "name": "MI Training (Updated)" } }, @@ -36008,8 +33153,8 @@ "company": "ANSYS, Inc. (updated)", "notes": "MI Training Database for Granta MI v2022R2 and above. This 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": "f5d9609b-55a7-49c8-8798-42f9477679b8", - "guid": "2f935521-1acc-4167-b76c-df22b21d5324", + "versionGuid": "f28d436a-d05d-4385-a839-85f5430264f6", + "guid": "0804305e-f857-4012-a949-57bec0f2268d", "name": "MI Training (Updated)" } }, @@ -36034,8 +33179,8 @@ "company": "ANSYS, Inc. (updated)", "notes": "MI Training Database for Granta MI v2022R2 and above. This 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": "f5d9609b-55a7-49c8-8798-42f9477679b8", - "guid": "2f935521-1acc-4167-b76c-df22b21d5324", + "versionGuid": "f28d436a-d05d-4385-a839-85f5430264f6", + "guid": "0804305e-f857-4012-a949-57bec0f2268d", "name": "MI Training (Updated)" } }, @@ -36072,82 +33217,6 @@ } } }, - "/v1alpha/databases/default": { - "get": { - "tags": [ - "Schema - Databases" - ], - "summary": "Returns details for a default database or null if the default database is not set or user cannot see it.", - "operationId": "GetDefaultDatabase", - "responses": { - "200": { - "description": "OK.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDatabase" - } - } - } - }, - "204": { - "description": "No default database set." - } - } - }, - "post": { - "tags": [ - "Schema - Databases" - ], - "summary": "Sets the default database.", - "operationId": "UpdateDefaultDatabase", - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDefaultDatabase" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDefaultDatabase" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDefaultDatabase" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDefaultDatabase" - } - } - } - }, - "responses": { - "200": { - "description": "OK.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDatabase" - } - } - } - }, - "400": { - "description": "Bad request." - }, - "403": { - "description": "Forbidden." - }, - "404": { - "description": "Database not found." - } - } - } - }, "/v1alpha/databases:validate": { "post": { "tags": [ @@ -36210,12 +33279,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36297,12 +33363,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36343,9 +33406,7 @@ "description": "Database to lock", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36386,9 +33447,7 @@ "description": "Database to unlock", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36415,290 +33474,6 @@ } } }, - "/v1alpha/databases/{database-key}:outbound-links": { - "post": { - "tags": [ - "Schema - Databases" - ], - "summary": "Get all link groups and tabular attributes pointing from the database, i.e. the source of the link is in the given database.\r\nMay include links where the target is in the same database, or where the target cannot be resolved (e.g. the target database is not loaded).", - "operationId": "GetOutboundLinks", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "type", - "in": "query", - "description": "The link attribute types as entered", - "schema": { - "type": "array", - "items": { - "enum": [ - "recordLink", - "crossDatabaseLink", - "smartLink", - "tabularAttribute" - ], - "type": "string" - } - } - }, - { - "name": "mode", - "in": "query", - "description": "The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header.", - "schema": { - "enum": [ - "read", - "write" - ], - "type": "string" - } - }, - { - "name": "X-Ansys-VC-Mode", - "in": "header", - "description": "The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string.", - "schema": { - "enum": [ - "read", - "write" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaLinksInfo" - }, - "example": { - "links": [ - { - "type": "recordLink", - "reverseName": "Training Exercise", - "reverseDisplayNames": {}, - "linkInfo": { - "linkSource": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0404f83b-64fb-47b1-8f3c-3388c513c9b0" - }, - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - }, - "displayNames": {}, - "name": "MaterialUniverse", - "guid": "00e07ec0-695e-4ca3-bf1d-3bbeef126949" - }, - { - "type": "smartLink", - "reverseName": "Smart Link to Training Record", - "reverseDisplayNames": { - "en": "en-Smart Link to Training Record", - "fr": "fr-Smart Link to Training Record" - }, - "linkInfo": { - "linkSource": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0404f83b-64fb-47b1-8f3c-3388c513c9b0" - }, - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - }, - "displayNames": { - "en": "en-Smart Link to MaterialUniverse", - "fr": "fr-Smart Link to MaterialUniverse" - }, - "name": "Smart Link to MaterialUniverse", - "guid": "7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66" - }, - { - "type": "crossDatabaseLink", - "reverseName": "Cross database link group : MI Training MaterialUniverse - Second Training Database And Table", - "reverseDisplayNames": {}, - "linkInfo": { - "linkSource": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, - "linkTarget": { - "databaseGuid": "45f0f333-668e-48e2-8da7-380f5748a6e2", - "tableGuid": "7414b682-430c-437f-bead-869e6c41b38a" - } - }, - "displayNames": {}, - "name": "Cross database link group : MI Training MaterialUniverse - Second Training Database And Table", - "guid": "755f7ff5-d684-49b2-bc57-9b487fb7fef0" - }, - { - "type": "tabularAttribute", - "reverseName": "Environmental performances overview", - "reverseDisplayNames": {}, - "linkInfo": { - "linkSource": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0404f83b-64fb-47b1-8f3c-3388c513c9b0" - }, - "linkTarget": { - "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", - "databaseVersionGuid": "feead34a-cc0e-4070-bbc0-647654a25407", - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - } - }, - "displayNames": {}, - "name": "Environmental performances overview", - "guid": "2523a67a-6246-4c9e-8583-15b64d6290e5" - } - ] - } - } - } - }, - "403": { - "description": "Forbidden." - }, - "404": { - "description": "Database not found" - } - } - } - }, - "/v1alpha/databases:check-retarget-potential": { - "post": { - "tags": [ - "Schema - Databases" - ], - "summary": "Check databases for retarget potential - whether there are any cross-database tabular attributes targeting them.", - "operationId": "CheckDatabasesForRetargetPotential", - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetPotentialRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetPotentialRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetPotentialRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetPotentialRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDatabasesInfo" - }, - "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" - } - ] - } - } - } - }, - "400": { - "description": "Bad request." - } - } - } - }, - "/v1alpha/databases:retarget": { - "post": { - "tags": [ - "Schema - Databases" - ], - "summary": "Retargets tabulars from the current database to a new one.", - "operationId": "RetargetTabulars", - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetRequest" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetRequest" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetRequest" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaRetargetResultsInfo" - } - } - } - }, - "400": { - "description": "Bad request." - }, - "404": { - "description": "Database not found." - } - } - } - }, "/v1alpha/databases/{database-key}/discrete-types": { "get": { "tags": [ @@ -36710,12 +33485,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36748,12 +33520,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -36887,12 +33656,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -36931,12 +33697,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37005,12 +33768,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37032,8 +33792,8 @@ "$ref": "#/components/schemas/GsaDiscreteTypeDeletionException" }, "example": { - "message": "Cannot delete discrete type with GUID '00000083-0006-4fff-8fff-0000ffff0000'.", - "code": "deletion", + "message": "Cannot delete discrete type 'MU Durability' (GUID = '00000083-0006-4fff-8fff-0000ffff0000').", + "code": 400, "errors": [ { "message": "It is being used in one or more attributes.", @@ -37043,7 +33803,6 @@ { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -37080,12 +33839,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37111,7 +33867,6 @@ { "type": "discrete", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "2a77f51b-ac53-4179-bc72-1eb6c378d9ef" }, @@ -37124,7 +33879,6 @@ "tabularAttribute": { "type": "link", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "7db2ff8e-54ed-45d6-b522-e03c8be405b3" }, @@ -37163,12 +33917,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -37183,7 +33934,6 @@ "summary": "Fetch all discrete types with custom properties", "value": { "properties": { - "isProtected": true, "discreteValues": { "name": true, "guid": true @@ -37246,7 +33996,6 @@ "summary": "Fetch all discrete types with custom properties", "value": { "properties": { - "isProtected": true, "discreteValues": { "name": true, "guid": true @@ -37309,7 +34058,6 @@ "summary": "Fetch all discrete types with custom properties", "value": { "properties": { - "isProtected": true, "discreteValues": { "name": true, "guid": true @@ -37372,7 +34120,6 @@ "summary": "Fetch all discrete types with custom properties", "value": { "properties": { - "isProtected": true, "discreteValues": { "name": true, "guid": true @@ -37459,12 +34206,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37503,12 +34247,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37540,7 +34281,7 @@ "description": "This example demonstrates how to create a new discrete value with a specified guid value.", "value": { "name": "New Discrete Value 2", - "guid": "31457097-0b6f-41d4-874c-c1d0dc001487" + "guid": "e70987e9-6c8b-47c8-99a9-eeb3d1b9b08c" } } } @@ -37562,7 +34303,7 @@ "description": "This example demonstrates how to create a new discrete value with a specified guid value.", "value": { "name": "New Discrete Value 2", - "guid": "31457097-0b6f-41d4-874c-c1d0dc001487" + "guid": "e70987e9-6c8b-47c8-99a9-eeb3d1b9b08c" } } } @@ -37584,7 +34325,7 @@ "description": "This example demonstrates how to create a new discrete value with a specified guid value.", "value": { "name": "New Discrete Value 2", - "guid": "31457097-0b6f-41d4-874c-c1d0dc001487" + "guid": "e70987e9-6c8b-47c8-99a9-eeb3d1b9b08c" } } } @@ -37606,7 +34347,7 @@ "description": "This example demonstrates how to create a new discrete value with a specified guid value.", "value": { "name": "New Discrete Value 2", - "guid": "31457097-0b6f-41d4-874c-c1d0dc001487" + "guid": "e70987e9-6c8b-47c8-99a9-eeb3d1b9b08c" } } } @@ -37645,12 +34386,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37721,12 +34459,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37774,12 +34509,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37857,12 +34589,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37918,12 +34647,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -37956,418 +34682,6 @@ } } }, - "/v1alpha/databases/{database-key}/display-names/{language}": { - "get": { - "tags": [ - "Schema - Display Names" - ], - "summary": "Gets display names for all localized entities in the database, in the given language.", - "operationId": "GetAllDisplayNames", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "language", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDisplayNamesInfo" - }, - "example": { - "displayNames": { - "headers": [ - "Schema Object Name", - "Display Name", - "Display Name Language", - "Do Not Edit -->", - "Type", - "Extra 1", - "Extra 2", - "Extra 3" - ], - "rows": [ - [ - "CGS (Consistent)", - null, - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "FPS (Consistent)", - null, - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "Young's modulus", - "French display name for Young's modulus", - "fr", - "Attribute", - "MaterialUniverse", - null, - null - ], - [ - "Value", - "French display name for Value", - "fr", - "AttributeAxisName", - "Design Data", - "Incompressibility Parameter D1", - "Mooney-Rivlin" - ] - ] - } - } - } - } - }, - "403": { - "description": "Forbidden." - }, - "404": { - "description": "Database not found" - } - } - } - }, - "/v1alpha/databases/{database-key}/display-names": { - "patch": { - "tags": [ - "Schema - Display Names" - ], - "summary": "Updates display names for localized entities in the database.\r\nReturns the number of entities updated.", - "operationId": "ImportDisplayNames", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "requestBody": { - "content": { - "application/json-patch+json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDisplayNames" - }, - "examples": { - "Example 1": { - "summary": "Update display names", - "description": "This example demonstrates how to update the display names for Unit System 'CGS (Consistent)', Attribute 'Young's modulus' in table 'MaterialUniverse' and Attribute Axis Name 'Value' on Meta-Attribute 'Incompressibility Parameter D1' on Attribute 'Mooney-Rivlin' in Table 'Design Data' in the MI_Training database.", - "value": { - "displayNames": { - "headers": [ - "Schema Object Name", - "Display Name", - "Display Name Language", - "Do Not Edit -->", - "Type", - "Extra 1", - "Extra 2", - "Extra 3" - ], - "rows": [ - [ - "CGS (Consistent)", - "New French display name for CGS (Consistent)", - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "Young's modulus", - "French display name for Young's modulus", - "fr", - null, - "Attribute", - "MaterialUniverse", - null, - null - ], - [ - "Value", - "New French display name for Value", - "fr", - null, - "AttributeAxisName", - "Design Data", - "Incompressibility Parameter D1", - "Mooney-Rivlin" - ] - ] - } - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDisplayNames" - }, - "examples": { - "Example 1": { - "summary": "Update display names", - "description": "This example demonstrates how to update the display names for Unit System 'CGS (Consistent)', Attribute 'Young's modulus' in table 'MaterialUniverse' and Attribute Axis Name 'Value' on Meta-Attribute 'Incompressibility Parameter D1' on Attribute 'Mooney-Rivlin' in Table 'Design Data' in the MI_Training database.", - "value": { - "displayNames": { - "headers": [ - "Schema Object Name", - "Display Name", - "Display Name Language", - "Do Not Edit -->", - "Type", - "Extra 1", - "Extra 2", - "Extra 3" - ], - "rows": [ - [ - "CGS (Consistent)", - "New French display name for CGS (Consistent)", - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "Young's modulus", - "French display name for Young's modulus", - "fr", - null, - "Attribute", - "MaterialUniverse", - null, - null - ], - [ - "Value", - "New French display name for Value", - "fr", - null, - "AttributeAxisName", - "Design Data", - "Incompressibility Parameter D1", - "Mooney-Rivlin" - ] - ] - } - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDisplayNames" - }, - "examples": { - "Example 1": { - "summary": "Update display names", - "description": "This example demonstrates how to update the display names for Unit System 'CGS (Consistent)', Attribute 'Young's modulus' in table 'MaterialUniverse' and Attribute Axis Name 'Value' on Meta-Attribute 'Incompressibility Parameter D1' on Attribute 'Mooney-Rivlin' in Table 'Design Data' in the MI_Training database.", - "value": { - "displayNames": { - "headers": [ - "Schema Object Name", - "Display Name", - "Display Name Language", - "Do Not Edit -->", - "Type", - "Extra 1", - "Extra 2", - "Extra 3" - ], - "rows": [ - [ - "CGS (Consistent)", - "New French display name for CGS (Consistent)", - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "Young's modulus", - "French display name for Young's modulus", - "fr", - null, - "Attribute", - "MaterialUniverse", - null, - null - ], - [ - "Value", - "New French display name for Value", - "fr", - null, - "AttributeAxisName", - "Design Data", - "Incompressibility Parameter D1", - "Mooney-Rivlin" - ] - ] - } - } - } - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDisplayNames" - }, - "examples": { - "Example 1": { - "summary": "Update display names", - "description": "This example demonstrates how to update the display names for Unit System 'CGS (Consistent)', Attribute 'Young's modulus' in table 'MaterialUniverse' and Attribute Axis Name 'Value' on Meta-Attribute 'Incompressibility Parameter D1' on Attribute 'Mooney-Rivlin' in Table 'Design Data' in the MI_Training database.", - "value": { - "displayNames": { - "headers": [ - "Schema Object Name", - "Display Name", - "Display Name Language", - "Do Not Edit -->", - "Type", - "Extra 1", - "Extra 2", - "Extra 3" - ], - "rows": [ - [ - "CGS (Consistent)", - "New French display name for CGS (Consistent)", - "fr", - null, - "UnitSystem", - null, - null, - null - ], - [ - "Young's modulus", - "French display name for Young's modulus", - "fr", - null, - "Attribute", - "MaterialUniverse", - null, - null - ], - [ - "Value", - "New French display name for Value", - "fr", - null, - "AttributeAxisName", - "Design Data", - "Incompressibility Parameter D1", - "Mooney-Rivlin" - ] - ] - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaUpdateDisplayNamesResponse" - } - } - } - }, - "400": { - "description": "Bad Request.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaDisplayNamesImportException" - }, - "examples": { - "Example 1": { - "summary": "Schema item not found", - "description": "A unit system could not be found with the provided name.", - "value": { - "message": "Cannot import display names.", - "code": "displayNamesImport", - "errors": [ - { - "message": "'UnitSystemName' in column 'Schema Object Name' was not found in the database.", - "reason": "schemaItemNotFound", - "rowIndex": 2, - "fieldValue": "CGSx", - "columnHeader": "Schema Object Name", - "itemType": "UnitSystemName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'headers' was not provided.", - "value": { - "message": "Grid: Required property 'headers' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } - }, - "403": { - "description": "Forbidden." - }, - "404": { - "description": "Database not found" - } - } - } - }, "/v1alpha/databases/{database-key}/exporters": { "get": { "tags": [ @@ -38379,12 +34693,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -38399,29 +34710,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" }, { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "MI_Training", "guid": "19cc65a2-f8bf-4989-9859-e883756290de" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -38435,29 +34738,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" }, { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "MI_Training", "guid": "19cc65a2-f8bf-4989-9859-e883756290de" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -38471,29 +34766,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" }, { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "MI_Training", "guid": "19cc65a2-f8bf-4989-9859-e883756290de" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -38517,12 +34804,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -38599,8 +34883,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38610,8 +34892,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38621,8 +34901,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38630,129 +34908,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Folder with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter folder with name 'Abaqus' in the 'MI_Training' folder (GUID '19cc65a2-f8bf-4989-9859-e883756290de'), but there is already a folder with that name and parent.", - "value": { - "message": "Cannot create Exporter folder 'Abaqus'.", - "code": "folderCreation", - "name": "Abaqus", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "Folder with name 'Abaqus' already exists in this Folder.", - "name": "Abaqus", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "folder" - } - ], - "reason": "namedEntity" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Folder with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter folder with name 'Abaqus' in the 'MI_Training' folder (GUID '19cc65a2-f8bf-4989-9859-e883756290de'), but there is already a folder with that name and parent.", - "value": { - "message": "Cannot create Exporter folder 'Abaqus'.", - "code": "folderCreation", - "name": "Abaqus", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "Folder with name 'Abaqus' already exists in this Folder.", - "name": "Abaqus", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "folder" - } - ], - "reason": "namedEntity" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Folder with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter folder with name 'Abaqus' in the 'MI_Training' folder (GUID '19cc65a2-f8bf-4989-9859-e883756290de'), but there is already a folder with that name and parent.", - "value": { - "message": "Cannot create Exporter folder 'Abaqus'.", - "code": "folderCreation", - "name": "Abaqus", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "Folder with name 'Abaqus' already exists in this Folder.", - "name": "Abaqus", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "folder" - } - ], - "reason": "namedEntity" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -38774,12 +34930,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -38792,8 +34945,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38803,8 +34954,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38814,8 +34963,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -38839,12 +34986,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -38867,8 +35011,6 @@ }, "example": { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" } @@ -38879,8 +35021,6 @@ }, "example": { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" } @@ -38891,8 +35031,6 @@ }, "example": { "parentGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" } @@ -38914,12 +35052,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -38950,7 +35085,7 @@ "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", "value": { - "guid": "25f84ed3-2127-4e35-8583-456dee1fead2" + "guid": "dc2511e2-a246-4002-aa71-c5be4444d904" } } } @@ -38971,7 +35106,7 @@ "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", "value": { - "guid": "25f84ed3-2127-4e35-8583-456dee1fead2" + "guid": "dc2511e2-a246-4002-aa71-c5be4444d904" } } } @@ -38992,7 +35127,7 @@ "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", "value": { - "guid": "25f84ed3-2127-4e35-8583-456dee1fead2" + "guid": "dc2511e2-a246-4002-aa71-c5be4444d904" } } } @@ -39013,7 +35148,7 @@ "summary": "Change guid for Exporter Folder", "description": "This example demonstrates how to modify the guid of an existing Exporter folder.", "value": { - "guid": "25f84ed3-2127-4e35-8583-456dee1fead2" + "guid": "dc2511e2-a246-4002-aa71-c5be4444d904" } } } @@ -39029,8 +35164,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39040,8 +35173,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39051,8 +35182,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39060,78 +35189,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root Exporter folder.", - "value": { - "message": "Cannot update Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderUpdate", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root Exporter folder.", - "value": { - "message": "Cannot update Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderUpdate", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root Exporter folder.", - "value": { - "message": "Cannot update Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderUpdate", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -39151,12 +35209,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39170,80 +35225,6 @@ } ], "responses": { - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root Exporter folder.", - "value": { - "message": "Cannot delete Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderDeletion", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root Exporter folder.", - "value": { - "message": "Cannot delete Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderDeletion", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root Exporter folder.", - "value": { - "message": "Cannot delete Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderDeletion", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - } - } - }, "200": { "description": "Ok" }, @@ -39267,12 +35248,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39297,15 +35275,11 @@ "folders": [ { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -39320,15 +35294,11 @@ "folders": [ { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -39343,15 +35313,11 @@ "folders": [ { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Abaqus", "guid": "41aba877-8fe0-4295-bddb-6f8b270a40ff" }, { "parentGuid": "19cc65a2-f8bf-4989-9859-e883756290de", - "hasFiles": false, - "hasChildFolders": false, "name": "Ansys Workbench", "guid": "92be9c31-7aff-4d96-8069-983390284391" } @@ -39377,12 +35343,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -39430,12 +35393,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39517,8 +35477,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39528,8 +35486,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39539,8 +35495,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -39548,78 +35502,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root Exporter folder.", - "value": { - "message": "Cannot move Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderMove", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root Exporter folder.", - "value": { - "message": "Cannot move Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderMove", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root Exporter folder.", - "value": { - "message": "Cannot move Exporter folder with GUID 'c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44'.", - "code": "folderMove", - "folderGuid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44", - "folderType": "exporter", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -39641,12 +35524,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39671,11 +35551,11 @@ "files": [ { "name": "exporter-1.exp", - "guid": "ec95965f-afd4-4eaa-996b-63ef89d49017" + "guid": "a64308c3-6d4b-4af7-8fe9-a9762e0c9132" }, { "name": "no-transform.xslt", - "guid": "74531a23-920a-4681-8444-d8ee81229942" + "guid": "a6221c6b-fa15-4ee4-ab1d-264ff1a28ec4" } ] } @@ -39688,11 +35568,11 @@ "files": [ { "name": "exporter-1.exp", - "guid": "ec95965f-afd4-4eaa-996b-63ef89d49017" + "guid": "a64308c3-6d4b-4af7-8fe9-a9762e0c9132" }, { "name": "no-transform.xslt", - "guid": "74531a23-920a-4681-8444-d8ee81229942" + "guid": "a6221c6b-fa15-4ee4-ab1d-264ff1a28ec4" } ] } @@ -39705,11 +35585,11 @@ "files": [ { "name": "exporter-1.exp", - "guid": "ec95965f-afd4-4eaa-996b-63ef89d49017" + "guid": "a64308c3-6d4b-4af7-8fe9-a9762e0c9132" }, { "name": "no-transform.xslt", - "guid": "74531a23-920a-4681-8444-d8ee81229942" + "guid": "a6221c6b-fa15-4ee4-ab1d-264ff1a28ec4" } ] } @@ -39731,12 +35611,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39790,7 +35667,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "5c0219ee-4229-43f1-b972-7c65b3e502bb" + "guid": "06c23a19-af1d-4757-8475-b85678664581" } }, "application/json": { @@ -39804,7 +35681,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "5c0219ee-4229-43f1-b972-7c65b3e502bb" + "guid": "06c23a19-af1d-4757-8475-b85678664581" } }, "text/json": { @@ -39818,111 +35695,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "5c0219ee-4229-43f1-b972-7c65b3e502bb" + "guid": "06c23a19-af1d-4757-8475-b85678664581" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter file with name 'AbaqusFunctions.xsl' in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff'), but there is already a file with that name and parent.", - "value": { - "message": "Cannot create Exporter file 'AbaqusFunctions.xsl'.", - "code": "fileCreation", - "name": "AbaqusFunctions.xsl", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter file with name 'AbaqusFunctions.xsl' in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff'), but there is already a file with that name and parent.", - "value": { - "message": "Cannot create Exporter file 'AbaqusFunctions.xsl'.", - "code": "fileCreation", - "name": "AbaqusFunctions.xsl", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create an Exporter file with name 'AbaqusFunctions.xsl' in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff'), but there is already a file with that name and parent.", - "value": { - "message": "Cannot create Exporter file 'AbaqusFunctions.xsl'.", - "code": "fileCreation", - "name": "AbaqusFunctions.xsl", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -39944,12 +35723,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -39986,7 +35762,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "45b79604-408c-4335-9532-d13f5bbcaf41" + "guid": "987ccf33-9f8a-4cd1-832d-46f68505401b" } }, "application/json": { @@ -40000,7 +35776,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "45b79604-408c-4335-9532-d13f5bbcaf41" + "guid": "987ccf33-9f8a-4cd1-832d-46f68505401b" } }, "text/json": { @@ -40014,7 +35790,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "45b79604-408c-4335-9532-d13f5bbcaf41" + "guid": "987ccf33-9f8a-4cd1-832d-46f68505401b" } } } @@ -40034,12 +35810,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -40086,7 +35859,7 @@ "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", "value": { - "guid": "d1fe9939-b767-471a-beb1-9fa5cdbb99d2" + "guid": "838d2e70-e0d0-459d-a0ed-fc798906c153" } } } @@ -40114,7 +35887,7 @@ "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", "value": { - "guid": "d1fe9939-b767-471a-beb1-9fa5cdbb99d2" + "guid": "838d2e70-e0d0-459d-a0ed-fc798906c153" } } } @@ -40142,7 +35915,7 @@ "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", "value": { - "guid": "d1fe9939-b767-471a-beb1-9fa5cdbb99d2" + "guid": "838d2e70-e0d0-459d-a0ed-fc798906c153" } } } @@ -40170,7 +35943,7 @@ "summary": "Change guid for Exporter File", "description": "This example demonstrates how to modify the guid of an existing Exporter file.", "value": { - "guid": "d1fe9939-b767-471a-beb1-9fa5cdbb99d2" + "guid": "838d2e70-e0d0-459d-a0ed-fc798906c153" } } } @@ -40192,7 +35965,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "7721b2c1-3298-4bd8-9731-a59c29918a59" + "guid": "cdccc6be-ab78-4375-9237-45307f8702bf" } }, "application/json": { @@ -40206,7 +35979,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "7721b2c1-3298-4bd8-9731-a59c29918a59" + "guid": "cdccc6be-ab78-4375-9237-45307f8702bf" } }, "text/json": { @@ -40220,111 +35993,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "7721b2c1-3298-4bd8-9731-a59c29918a59" + "guid": "cdccc6be-ab78-4375-9237-45307f8702bf" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename an Exporter file in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff') to have name 'AbaqusFunctions.xsl', but there is already a file with that name and parent.", - "value": { - "message": "Cannot update Exporter file with GUID '6fdc42e6-cc7d-435b-9e5e-43cf30c29da7'.", - "code": "fileUpdate", - "fileGuid": "6fdc42e6-cc7d-435b-9e5e-43cf30c29da7", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename an Exporter file in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff') to have name 'AbaqusFunctions.xsl', but there is already a file with that name and parent.", - "value": { - "message": "Cannot update Exporter file with GUID '6fdc42e6-cc7d-435b-9e5e-43cf30c29da7'.", - "code": "fileUpdate", - "fileGuid": "6fdc42e6-cc7d-435b-9e5e-43cf30c29da7", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "File with same name already exists", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename an Exporter file in the 'Abaqus' folder (GUID '41aba877-8fe0-4295-bddb-6f8b270a40ff') to have name 'AbaqusFunctions.xsl', but there is already a file with that name and parent.", - "value": { - "message": "Cannot update Exporter file with GUID '6fdc42e6-cc7d-435b-9e5e-43cf30c29da7'.", - "code": "fileUpdate", - "fileGuid": "6fdc42e6-cc7d-435b-9e5e-43cf30c29da7", - "folderType": "exporter", - "errors": [ - { - "message": "The name or GUID is not valid.", - "errors": [ - { - "message": "File with name 'AbaqusFunctions.xsl' already exists in this Folder.", - "name": "AbaqusFunctions.xsl", - "parentEntityType": "folder", - "reason": "nameAlreadyExists", - "entityType": "file" - } - ], - "reason": "namedEntity" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -40344,12 +36019,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -40384,54 +36056,6 @@ } } }, - "/v1alpha/databases/{database-key}/exporters/{folder-guid}:export": { - "get": { - "tags": [ - "Schema - Exporters" - ], - "summary": "Get Exporter folder and contents as a zip file", - "operationId": "ExportExportersFolder", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "folder-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/zip": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true - }, - "404": { - "description": "Database or folder not found" - } - } - } - }, "/v1alpha/databases/{database-key}/exporters/{folder-guid}/files/{file-guid}:export": { "get": { "tags": [ @@ -40443,12 +36067,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -40472,16 +36093,7 @@ ], "responses": { "200": { - "description": "Ok", - "content": { - "application/octet-stream": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true + "description": "Ok" }, "404": { "description": "Database, folder or file not found" @@ -40500,12 +36112,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -40602,7 +36211,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "51ec6d14-cfe1-45ac-8a97-2a1a1f5e88db" + "guid": "2d31c681-7d15-4852-9451-4ef052a5c7a1" } }, "application/json": { @@ -40616,7 +36225,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "51ec6d14-cfe1-45ac-8a97-2a1a1f5e88db" + "guid": "2d31c681-7d15-4852-9451-4ef052a5c7a1" } }, "text/json": { @@ -40630,93 +36239,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "51ec6d14-cfe1-45ac-8a97-2a1a1f5e88db" + "guid": "2d31c681-7d15-4852-9451-4ef052a5c7a1" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506', but there is no Exporter folder with that GUID.", - "value": { - "message": "Cannot move Exporter file with GUID '0581287f-64cf-4e93-983b-fa556cfa41ce'.", - "code": "fileMove", - "fileGuid": "0581287f-64cf-4e93-983b-fa556cfa41ce", - "folderType": "exporter", - "errors": [ - { - "message": "A Exporter folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506' does not exist in database MI_Training.", - "folderGuid": "1ab907dc-dd24-4daa-a40d-4d9d88334506", - "folderType": "exporter", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506', but there is no Exporter folder with that GUID.", - "value": { - "message": "Cannot move Exporter file with GUID '0581287f-64cf-4e93-983b-fa556cfa41ce'.", - "code": "fileMove", - "fileGuid": "0581287f-64cf-4e93-983b-fa556cfa41ce", - "folderType": "exporter", - "errors": [ - { - "message": "A Exporter folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506' does not exist in database MI_Training.", - "folderGuid": "1ab907dc-dd24-4daa-a40d-4d9d88334506", - "folderType": "exporter", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506', but there is no Exporter folder with that GUID.", - "value": { - "message": "Cannot move Exporter file with GUID '0581287f-64cf-4e93-983b-fa556cfa41ce'.", - "code": "fileMove", - "fileGuid": "0581287f-64cf-4e93-983b-fa556cfa41ce", - "folderType": "exporter", - "errors": [ - { - "message": "A Exporter folder with GUID '1ab907dc-dd24-4daa-a40d-4d9d88334506' does not exist in database MI_Training.", - "folderGuid": "1ab907dc-dd24-4daa-a40d-4d9d88334506", - "folderType": "exporter", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -40738,22 +36267,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -40822,22 +36346,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -40863,7 +36382,7 @@ "value": { "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", "name": "Simple expression with specified guid", - "guid": "a5b967d2-6137-4821-9713-3a494124b43b" + "guid": "526147ab-f204-4d8d-a7bc-c835ddeafb02" } }, "Example 3": { @@ -40898,7 +36417,7 @@ "value": { "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", "name": "Simple expression with specified guid", - "guid": "a5b967d2-6137-4821-9713-3a494124b43b" + "guid": "526147ab-f204-4d8d-a7bc-c835ddeafb02" } }, "Example 3": { @@ -40933,7 +36452,7 @@ "value": { "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", "name": "Simple expression with specified guid", - "guid": "a5b967d2-6137-4821-9713-3a494124b43b" + "guid": "526147ab-f204-4d8d-a7bc-c835ddeafb02" } }, "Example 3": { @@ -40968,7 +36487,7 @@ "value": { "value": "[A:Tensile strength] + [P:Stress Ratio] * [A:Yield strength (elastic limit)] / log10(20000000) + 5", "name": "Simple expression with specified guid", - "guid": "a5b967d2-6137-4821-9713-3a494124b43b" + "guid": "526147ab-f204-4d8d-a7bc-c835ddeafb02" } }, "Example 3": { @@ -41008,7 +36527,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41018,7 +36536,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41028,7 +36545,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41038,7 +36554,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41048,7 +36563,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41098,22 +36612,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -41173,7 +36682,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41183,7 +36691,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41193,7 +36700,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41203,7 +36709,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41213,7 +36718,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41255,22 +36759,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -41300,7 +36799,7 @@ "guid": "0000007a-0013-4fff-8fff-0000ffff0000" }, "name": "Fatigue Model (Updated)", - "guid": "97499132-c49d-49c2-94dd-45d963db6174" + "guid": "6e90ec55-0c51-4ddf-887e-6f0ff913f7ec" } }, "Example 2": { @@ -41326,7 +36825,7 @@ "guid": "0000007a-0013-4fff-8fff-0000ffff0000" }, "name": "Fatigue Model (Updated)", - "guid": "97499132-c49d-49c2-94dd-45d963db6174" + "guid": "6e90ec55-0c51-4ddf-887e-6f0ff913f7ec" } }, "Example 2": { @@ -41352,7 +36851,7 @@ "guid": "0000007a-0013-4fff-8fff-0000ffff0000" }, "name": "Fatigue Model (Updated)", - "guid": "97499132-c49d-49c2-94dd-45d963db6174" + "guid": "6e90ec55-0c51-4ddf-887e-6f0ff913f7ec" } }, "Example 2": { @@ -41378,7 +36877,7 @@ "guid": "0000007a-0013-4fff-8fff-0000ffff0000" }, "name": "Fatigue Model (Updated)", - "guid": "97499132-c49d-49c2-94dd-45d963db6174" + "guid": "6e90ec55-0c51-4ddf-887e-6f0ff913f7ec" } }, "Example 2": { @@ -41414,7 +36913,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41424,7 +36922,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41434,7 +36931,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41444,7 +36940,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41454,7 +36949,6 @@ { "type": "range", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -41502,22 +36996,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -41634,12 +37123,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -41654,29 +37140,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" }, { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -41690,29 +37168,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" }, { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -41726,29 +37196,21 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" }, { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -41772,12 +37234,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -41854,8 +37313,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -41865,8 +37322,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -41876,8 +37331,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -41885,105 +37338,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage folder with name ''.", - "value": { - "message": "Cannot create HelpPage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage folder with name ''.", - "value": { - "message": "Cannot create HelpPage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage folder with name ''.", - "value": { - "message": "Cannot create HelpPage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -42005,12 +37360,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -42023,8 +37375,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" } @@ -42034,8 +37384,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" } @@ -42045,8 +37393,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Help Pages", "guid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22" } @@ -42070,12 +37416,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42098,8 +37441,6 @@ }, "example": { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" } @@ -42110,8 +37451,6 @@ }, "example": { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" } @@ -42122,8 +37461,6 @@ }, "example": { "parentGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "hasFiles": false, - "hasChildFolders": false, "name": "html", "guid": "99ff4816-15e9-42b9-9ac3-b60fce881e85" } @@ -42145,12 +37482,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42181,7 +37515,7 @@ "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", "value": { - "guid": "f6681231-7934-4223-b7bd-8eacea391b56" + "guid": "b03a86e2-e2ff-4447-a0ea-ba448be5db23" } } } @@ -42202,7 +37536,7 @@ "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", "value": { - "guid": "f6681231-7934-4223-b7bd-8eacea391b56" + "guid": "b03a86e2-e2ff-4447-a0ea-ba448be5db23" } } } @@ -42223,7 +37557,7 @@ "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", "value": { - "guid": "f6681231-7934-4223-b7bd-8eacea391b56" + "guid": "b03a86e2-e2ff-4447-a0ea-ba448be5db23" } } } @@ -42244,7 +37578,7 @@ "summary": "Change guid for Help File Folder", "description": "This example demonstrates how to modify the guid of an existing help file folder.", "value": { - "guid": "f6681231-7934-4223-b7bd-8eacea391b56" + "guid": "b03a86e2-e2ff-4447-a0ea-ba448be5db23" } } } @@ -42260,8 +37594,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42271,8 +37603,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42282,8 +37612,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42291,78 +37619,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HelpPage folder.", - "value": { - "message": "Cannot update HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderUpdate", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HelpPage folder.", - "value": { - "message": "Cannot update HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderUpdate", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HelpPage folder.", - "value": { - "message": "Cannot update HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderUpdate", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -42382,12 +37639,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42401,80 +37655,6 @@ } ], "responses": { - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HelpPage folder.", - "value": { - "message": "Cannot delete HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderDeletion", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HelpPage folder.", - "value": { - "message": "Cannot delete HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderDeletion", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HelpPage folder.", - "value": { - "message": "Cannot delete HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderDeletion", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - } - } - }, "200": { "description": "Ok" }, @@ -42498,12 +37678,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42528,15 +37705,11 @@ "folders": [ { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -42551,15 +37724,11 @@ "folders": [ { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -42574,15 +37743,11 @@ "folders": [ { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "attributenotes", "guid": "c7db2cff-69ef-479d-b7a6-d12cfe888a56" }, { "parentGuid": "99ff4816-15e9-42b9-9ac3-b60fce881e85", - "hasFiles": false, - "hasChildFolders": false, "name": "sciencenotes", "guid": "38a6a798-4488-4c38-824e-0e41ce34932f" } @@ -42608,12 +37773,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42695,8 +37857,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42706,8 +37866,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42717,8 +37875,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -42726,78 +37882,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HelpPage folder.", - "value": { - "message": "Cannot move HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderMove", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HelpPage folder.", - "value": { - "message": "Cannot move HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderMove", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HelpPage folder.", - "value": { - "message": "Cannot move HelpPage folder with GUID 'e7dbba58-b963-4d1f-bbf4-c8436d00bf22'.", - "code": "folderMove", - "folderGuid": "e7dbba58-b963-4d1f-bbf4-c8436d00bf22", - "folderType": "helpPage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -42819,12 +37904,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42909,12 +37991,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -42968,7 +38047,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "eaaaa3bb-3907-4478-b500-d2ee53e44eb6" + "guid": "be480f63-8c68-4c3a-a687-a5b39b962d06" } }, "application/json": { @@ -42982,7 +38061,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "eaaaa3bb-3907-4478-b500-d2ee53e44eb6" + "guid": "be480f63-8c68-4c3a-a687-a5b39b962d06" } }, "text/json": { @@ -42996,87 +38075,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "eaaaa3bb-3907-4478-b500-d2ee53e44eb6" + "guid": "be480f63-8c68-4c3a-a687-a5b39b962d06" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage file with name ''.", - "value": { - "message": "Cannot create HelpPage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage file with name ''.", - "value": { - "message": "Cannot create HelpPage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HelpPage file with name ''.", - "value": { - "message": "Cannot create HelpPage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -43098,12 +38103,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -43188,12 +38190,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -43240,7 +38239,7 @@ "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", "value": { - "guid": "56a9aa6f-2983-4c73-a655-e5e8dfac66ac" + "guid": "aabf2040-3f7f-483d-9bd2-6a018aea9cdc" } } } @@ -43268,7 +38267,7 @@ "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", "value": { - "guid": "56a9aa6f-2983-4c73-a655-e5e8dfac66ac" + "guid": "aabf2040-3f7f-483d-9bd2-6a018aea9cdc" } } } @@ -43296,7 +38295,7 @@ "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", "value": { - "guid": "56a9aa6f-2983-4c73-a655-e5e8dfac66ac" + "guid": "aabf2040-3f7f-483d-9bd2-6a018aea9cdc" } } } @@ -43324,7 +38323,7 @@ "summary": "Change guid for Help File", "description": "This example demonstrates how to modify the guid of an existing help file.", "value": { - "guid": "56a9aa6f-2983-4c73-a655-e5e8dfac66ac" + "guid": "aabf2040-3f7f-483d-9bd2-6a018aea9cdc" } } } @@ -43346,7 +38345,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "0d063d3a-089a-4390-a9b3-5d5538029f96" + "guid": "f64c5fd0-332d-479f-b045-194c1c46a93c" } }, "application/json": { @@ -43360,7 +38359,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "0d063d3a-089a-4390-a9b3-5d5538029f96" + "guid": "f64c5fd0-332d-479f-b045-194c1c46a93c" } }, "text/json": { @@ -43374,87 +38373,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "0d063d3a-089a-4390-a9b3-5d5538029f96" + "guid": "f64c5fd0-332d-479f-b045-194c1c46a93c" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid FIle name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HelpPage file to ''.", - "value": { - "message": "Cannot update HelpPage file with GUID '97dd4c28-4114-4346-b85c-df28a77e5a97'.", - "code": "fileUpdate", - "fileGuid": "97dd4c28-4114-4346-b85c-df28a77e5a97", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid FIle name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HelpPage file to ''.", - "value": { - "message": "Cannot update HelpPage file with GUID '97dd4c28-4114-4346-b85c-df28a77e5a97'.", - "code": "fileUpdate", - "fileGuid": "97dd4c28-4114-4346-b85c-df28a77e5a97", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid FIle name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HelpPage file to ''.", - "value": { - "message": "Cannot update HelpPage file with GUID '97dd4c28-4114-4346-b85c-df28a77e5a97'.", - "code": "fileUpdate", - "fileGuid": "97dd4c28-4114-4346-b85c-df28a77e5a97", - "folderType": "helpPage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -43474,12 +38399,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -43514,54 +38436,6 @@ } } }, - "/v1alpha/databases/{database-key}/help-folders/{folder-guid}:export": { - "get": { - "tags": [ - "Schema - Help Files" - ], - "summary": "Get help folder and contents as a zip file", - "operationId": "ExportHelpFolder", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "folder-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/zip": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true - }, - "404": { - "description": "Database or folder not found" - } - } - } - }, "/v1alpha/databases/{database-key}/help-folders/{folder-guid}/files/{file-guid}:export": { "get": { "tags": [ @@ -43573,12 +38447,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -43602,16 +38473,7 @@ ], "responses": { "200": { - "description": "Ok", - "content": { - "application/octet-stream": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true + "description": "Ok" }, "404": { "description": "Database, folder or file not found" @@ -43630,12 +38492,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -43732,7 +38591,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "8b4571be-66d4-4a49-904c-abe472cecb6a" + "guid": "4bf1d724-e47f-46dd-96f5-731142034412" } }, "application/json": { @@ -43746,7 +38605,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "8b4571be-66d4-4a49-904c-abe472cecb6a" + "guid": "4bf1d724-e47f-46dd-96f5-731142034412" } }, "text/json": { @@ -43760,93 +38619,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "8b4571be-66d4-4a49-904c-abe472cecb6a" + "guid": "4bf1d724-e47f-46dd-96f5-731142034412" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6', but there is no HelpPage folder with that GUID.", - "value": { - "message": "Cannot move HelpPage file with GUID 'b5f00d92-c4fa-4071-a0fc-2448b37ede02'.", - "code": "fileMove", - "fileGuid": "b5f00d92-c4fa-4071-a0fc-2448b37ede02", - "folderType": "helpPage", - "errors": [ - { - "message": "A HelpPage folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6' does not exist in database MI_Training.", - "folderGuid": "75f290f3-4077-4c80-b518-f145b56664f6", - "folderType": "helpPage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6', but there is no HelpPage folder with that GUID.", - "value": { - "message": "Cannot move HelpPage file with GUID 'b5f00d92-c4fa-4071-a0fc-2448b37ede02'.", - "code": "fileMove", - "fileGuid": "b5f00d92-c4fa-4071-a0fc-2448b37ede02", - "folderType": "helpPage", - "errors": [ - { - "message": "A HelpPage folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6' does not exist in database MI_Training.", - "folderGuid": "75f290f3-4077-4c80-b518-f145b56664f6", - "folderType": "helpPage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6', but there is no HelpPage folder with that GUID.", - "value": { - "message": "Cannot move HelpPage file with GUID 'b5f00d92-c4fa-4071-a0fc-2448b37ede02'.", - "code": "fileMove", - "fileGuid": "b5f00d92-c4fa-4071-a0fc-2448b37ede02", - "folderType": "helpPage", - "errors": [ - { - "message": "A HelpPage folder with GUID '75f290f3-4077-4c80-b518-f145b56664f6' does not exist in database MI_Training.", - "folderGuid": "75f290f3-4077-4c80-b518-f145b56664f6", - "folderType": "helpPage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -43857,56 +38636,6 @@ } } }, - "/v1alpha/databases/{database-key}/help-folders:validate": { - "post": { - "tags": [ - "Schema - Help Files" - ], - "summary": "Verify that help pages exist for all attributes and parameters that have help paths defined.\r\nReturns schema entity and help path if the help path does not match an existing help page.", - "operationId": "ValidateHelpPaths", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaHelpPathsValidationResponse" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaHelpPathsValidationResponse" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaHelpPathsValidationResponse" - } - } - } - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Database not found" - } - } - } - }, "/v1alpha/databases/{database-key}/home-page-folders": { "get": { "tags": [ @@ -43918,12 +38647,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -43938,17 +38664,13 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" }, { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "fd02f6fe-e29f-49aa-ba06-f1bc25d26da4" + "guid": "be9fe0d4-3829-4d5b-a9c7-f5ba8a16fcb2" } ] } @@ -43960,17 +38682,13 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" }, { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "fd02f6fe-e29f-49aa-ba06-f1bc25d26da4" + "guid": "be9fe0d4-3829-4d5b-a9c7-f5ba8a16fcb2" } ] } @@ -43982,17 +38700,13 @@ "example": { "folders": [ { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" }, { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "fd02f6fe-e29f-49aa-ba06-f1bc25d26da4" + "guid": "be9fe0d4-3829-4d5b-a9c7-f5ba8a16fcb2" } ] } @@ -44014,12 +38728,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -44096,8 +38807,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44107,8 +38816,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44118,8 +38825,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44127,105 +38832,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage folder with name ''.", - "value": { - "message": "Cannot create HomePage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage folder with name ''.", - "value": { - "message": "Cannot create HomePage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid Folder name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage folder with name ''.", - "value": { - "message": "Cannot create HomePage folder ''.", - "code": "folderCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - }, - "Example 2": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateFolder: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -44247,12 +38854,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -44265,8 +38869,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" } @@ -44276,8 +38878,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" } @@ -44287,8 +38887,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Home Pages", "guid": "c13eb185-2558-4b4a-8395-33c031663925" } @@ -44312,12 +38910,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -44340,10 +38935,8 @@ }, "example": { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "2871a716-d30e-4a01-83b0-098271a81076" + "guid": "60beae92-a04e-4341-b241-381a643ae368" } }, "application/json": { @@ -44352,10 +38945,8 @@ }, "example": { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "2871a716-d30e-4a01-83b0-098271a81076" + "guid": "60beae92-a04e-4341-b241-381a643ae368" } }, "text/json": { @@ -44364,10 +38955,8 @@ }, "example": { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "2871a716-d30e-4a01-83b0-098271a81076" + "guid": "60beae92-a04e-4341-b241-381a643ae368" } } } @@ -44387,12 +38976,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -44423,7 +39009,7 @@ "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", "value": { - "guid": "c089bab3-60ca-48f5-9162-c233dbad5cc6" + "guid": "c822f4c0-c2da-4770-a27d-d87881a7a377" } } } @@ -44444,7 +39030,7 @@ "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", "value": { - "guid": "c089bab3-60ca-48f5-9162-c233dbad5cc6" + "guid": "c822f4c0-c2da-4770-a27d-d87881a7a377" } } } @@ -44465,7 +39051,7 @@ "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", "value": { - "guid": "c089bab3-60ca-48f5-9162-c233dbad5cc6" + "guid": "c822f4c0-c2da-4770-a27d-d87881a7a377" } } } @@ -44486,7 +39072,7 @@ "summary": "Change guid for Home Page Folder", "description": "This example demonstrates how to modify the guid of an existing home page folder.", "value": { - "guid": "c089bab3-60ca-48f5-9162-c233dbad5cc6" + "guid": "c822f4c0-c2da-4770-a27d-d87881a7a377" } } } @@ -44502,8 +39088,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44513,8 +39097,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44524,8 +39106,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44533,78 +39113,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HomePage folder.", - "value": { - "message": "Cannot update HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderUpdate", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HomePage folder.", - "value": { - "message": "Cannot update HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderUpdate", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Cannot update the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the root HomePage folder.", - "value": { - "message": "Cannot update HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderUpdate", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot update the root folder.", - "reason": "updateRoot" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -44624,12 +39133,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -44643,80 +39149,6 @@ } ], "responses": { - "400": { - "description": "Bad Request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HomePage folder.", - "value": { - "message": "Cannot delete HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderDeletion", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HomePage folder.", - "value": { - "message": "Cannot delete HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderDeletion", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderDeletionException" - }, - "examples": { - "Example 1": { - "summary": "Cannot delete the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to delete the root HomePage folder.", - "value": { - "message": "Cannot delete HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderDeletion", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot delete the root folder.", - "reason": "root" - } - ] - } - } - } - } - } - }, "200": { "description": "Ok" }, @@ -44740,12 +39172,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -44770,10 +39199,8 @@ "folders": [ { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "72cc9744-4efc-4605-a1bd-eb07cc6f2bd0" + "guid": "90e10dec-e398-4d43-b9f0-4f2578e06601" } ] } @@ -44786,10 +39213,8 @@ "folders": [ { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "72cc9744-4efc-4605-a1bd-eb07cc6f2bd0" + "guid": "90e10dec-e398-4d43-b9f0-4f2578e06601" } ] } @@ -44802,10 +39227,8 @@ "folders": [ { "parentGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "hasFiles": false, - "hasChildFolders": false, "name": "images", - "guid": "72cc9744-4efc-4605-a1bd-eb07cc6f2bd0" + "guid": "90e10dec-e398-4d43-b9f0-4f2578e06601" } ] } @@ -44829,12 +39252,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -44916,8 +39336,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44927,8 +39345,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44938,8 +39354,6 @@ "$ref": "#/components/schemas/GsaFolder" }, "example": { - "hasFiles": false, - "hasChildFolders": false, "name": "Exporters", "guid": "c4e0bbbd-71b3-4bf7-ac6e-7ceeef058a44" } @@ -44947,78 +39361,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HomePage folder.", - "value": { - "message": "Cannot move HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderMove", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HomePage folder.", - "value": { - "message": "Cannot move HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderMove", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFolderMoveException" - }, - "examples": { - "Example 1": { - "summary": "Cannot move the root folder", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move the root HomePage folder.", - "value": { - "message": "Cannot move HomePage folder with GUID 'c13eb185-2558-4b4a-8395-33c031663925'.", - "code": "folderMove", - "folderGuid": "c13eb185-2558-4b4a-8395-33c031663925", - "folderType": "homePage", - "errors": [ - { - "message": "You cannot move the root folder.", - "reason": "root" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -45040,12 +39383,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45070,11 +39410,11 @@ "files": [ { "name": "home-page-1.html", - "guid": "f677eeea-4a3e-4605-b54a-154b4bab2fb2" + "guid": "c5b1e67c-87fa-477b-a3b5-049ab01fda78" }, { "name": "home-page-2.html", - "guid": "7053f330-eac1-444a-b5de-7ba19009eda5" + "guid": "8424bf79-1629-4ede-984d-a6ef7a043894" } ] } @@ -45087,11 +39427,11 @@ "files": [ { "name": "home-page-1.html", - "guid": "f677eeea-4a3e-4605-b54a-154b4bab2fb2" + "guid": "c5b1e67c-87fa-477b-a3b5-049ab01fda78" }, { "name": "home-page-2.html", - "guid": "7053f330-eac1-444a-b5de-7ba19009eda5" + "guid": "8424bf79-1629-4ede-984d-a6ef7a043894" } ] } @@ -45104,11 +39444,11 @@ "files": [ { "name": "home-page-1.html", - "guid": "f677eeea-4a3e-4605-b54a-154b4bab2fb2" + "guid": "c5b1e67c-87fa-477b-a3b5-049ab01fda78" }, { "name": "home-page-2.html", - "guid": "7053f330-eac1-444a-b5de-7ba19009eda5" + "guid": "8424bf79-1629-4ede-984d-a6ef7a043894" } ] } @@ -45130,12 +39470,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45189,7 +39526,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "aeb58bad-213a-436a-85e2-20d5f5a75b7e" + "guid": "56c8b2e3-6ce4-4571-aa11-d2d85d4f90fe" } }, "application/json": { @@ -45203,7 +39540,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "aeb58bad-213a-436a-85e2-20d5f5a75b7e" + "guid": "56c8b2e3-6ce4-4571-aa11-d2d85d4f90fe" } }, "text/json": { @@ -45217,87 +39554,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "aeb58bad-213a-436a-85e2-20d5f5a75b7e" + "guid": "56c8b2e3-6ce4-4571-aa11-d2d85d4f90fe" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage file with name ''.", - "value": { - "message": "Cannot create HomePage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage file with name ''.", - "value": { - "message": "Cannot create HomePage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileCreationException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a HomePage file with name ''.", - "value": { - "message": "Cannot create HomePage file ''.", - "code": "fileCreation", - "name": "", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -45319,12 +39582,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45361,7 +39621,7 @@ "dataLength": 12895, "path": "HomePages", "name": "home-page.html", - "guid": "3fc157df-54be-40a9-864d-37c52122def2" + "guid": "49ddf22d-23ae-4a8b-89f5-e201bb89ad2c" } }, "application/json": { @@ -45375,7 +39635,7 @@ "dataLength": 12895, "path": "HomePages", "name": "home-page.html", - "guid": "3fc157df-54be-40a9-864d-37c52122def2" + "guid": "49ddf22d-23ae-4a8b-89f5-e201bb89ad2c" } }, "text/json": { @@ -45389,7 +39649,7 @@ "dataLength": 12895, "path": "HomePages", "name": "home-page.html", - "guid": "3fc157df-54be-40a9-864d-37c52122def2" + "guid": "49ddf22d-23ae-4a8b-89f5-e201bb89ad2c" } } } @@ -45409,12 +39669,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45461,7 +39718,7 @@ "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", "value": { - "guid": "b75add84-49ab-4712-8438-3da9564d810c" + "guid": "17f8932d-e1e0-46f0-bdd2-df55e6467ce9" } } } @@ -45489,7 +39746,7 @@ "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", "value": { - "guid": "b75add84-49ab-4712-8438-3da9564d810c" + "guid": "17f8932d-e1e0-46f0-bdd2-df55e6467ce9" } } } @@ -45517,7 +39774,7 @@ "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", "value": { - "guid": "b75add84-49ab-4712-8438-3da9564d810c" + "guid": "17f8932d-e1e0-46f0-bdd2-df55e6467ce9" } } } @@ -45545,7 +39802,7 @@ "summary": "Change guid for Home Page File", "description": "This example demonstrates how to modify the guid of an existing home page file.", "value": { - "guid": "b75add84-49ab-4712-8438-3da9564d810c" + "guid": "17f8932d-e1e0-46f0-bdd2-df55e6467ce9" } } } @@ -45567,7 +39824,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "d2faac35-389f-4aac-a7c8-a49215130c35" + "guid": "e9bda73e-eb13-4a2d-991c-a44683fb932b" } }, "application/json": { @@ -45581,7 +39838,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "d2faac35-389f-4aac-a7c8-a49215130c35" + "guid": "e9bda73e-eb13-4a2d-991c-a44683fb932b" } }, "text/json": { @@ -45595,87 +39852,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "d2faac35-389f-4aac-a7c8-a49215130c35" + "guid": "e9bda73e-eb13-4a2d-991c-a44683fb932b" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HomePage file to ''.", - "value": { - "message": "Cannot update HomePage file with GUID 'bb5c18f2-0966-4eec-86da-f2bf24cee671'.", - "code": "fileUpdate", - "fileGuid": "bb5c18f2-0966-4eec-86da-f2bf24cee671", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HomePage file to ''.", - "value": { - "message": "Cannot update HomePage file with GUID 'bb5c18f2-0966-4eec-86da-f2bf24cee671'.", - "code": "fileUpdate", - "fileGuid": "bb5c18f2-0966-4eec-86da-f2bf24cee671", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Invalid File name", - "description": "This example demonstrates an error response returned for an invalid request that attempted to rename a HomePage file to ''.", - "value": { - "message": "Cannot update HomePage file with GUID 'bb5c18f2-0966-4eec-86da-f2bf24cee671'.", - "code": "fileUpdate", - "fileGuid": "bb5c18f2-0966-4eec-86da-f2bf24cee671", - "folderType": "homePage", - "errors": [ - { - "message": "'' is not a valid file name. You cannot use directory separators or special characters in file or folder names.", - "name": "", - "reason": "fileName" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -45695,12 +39878,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45735,54 +39915,6 @@ } } }, - "/v1alpha/databases/{database-key}/home-page-folders/{folder-guid}:export": { - "get": { - "tags": [ - "Schema - Home Pages" - ], - "summary": "Get Home Page folder and contents as a zip file", - "operationId": "ExportHomePageFolder", - "parameters": [ - { - "name": "database-key", - "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "required": true, - "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" - } - }, - { - "name": "folder-guid", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "Ok", - "content": { - "application/zip": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true - }, - "404": { - "description": "Database or folder not found" - } - } - } - }, "/v1alpha/databases/{database-key}/home-page-folders/{folder-guid}/files/{file-guid}:export": { "get": { "tags": [ @@ -45794,12 +39926,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45823,16 +39952,7 @@ ], "responses": { "200": { - "description": "Ok", - "content": { - "application/octet-stream": { - "schema": { - "type": "string", - "format": "binary" - } - } - }, - "x-is-file": true + "description": "Ok" }, "404": { "description": "Database, folder or file not found" @@ -45851,12 +39971,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -45953,7 +40070,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "1eaa46ec-e5fd-4446-a4e7-a744d5ae058b" + "guid": "23e2d3da-8927-4f5d-9b73-e6a0a41a4aeb" } }, "application/json": { @@ -45967,7 +40084,7 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "1eaa46ec-e5fd-4446-a4e7-a744d5ae058b" + "guid": "23e2d3da-8927-4f5d-9b73-e6a0a41a4aeb" } }, "text/json": { @@ -45981,93 +40098,13 @@ "dataLength": 12895, "path": "Exporters", "name": "exporter-1.exp", - "guid": "1eaa46ec-e5fd-4446-a4e7-a744d5ae058b" + "guid": "23e2d3da-8927-4f5d-9b73-e6a0a41a4aeb" } } } }, "400": { - "description": "Bad request", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199', but there is no HomePage folder with that GUID.", - "value": { - "message": "Cannot move HomePage file with GUID '4c1225cf-3156-465c-bedb-479d108c698e'.", - "code": "fileMove", - "fileGuid": "4c1225cf-3156-465c-bedb-479d108c698e", - "folderType": "homePage", - "errors": [ - { - "message": "A HomePage folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199' does not exist in database MI_Training.", - "folderGuid": "5020fd02-54d2-495f-9310-0cec75f16199", - "folderType": "homePage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199', but there is no HomePage folder with that GUID.", - "value": { - "message": "Cannot move HomePage file with GUID '4c1225cf-3156-465c-bedb-479d108c698e'.", - "code": "fileMove", - "fileGuid": "4c1225cf-3156-465c-bedb-479d108c698e", - "folderType": "homePage", - "errors": [ - { - "message": "A HomePage folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199' does not exist in database MI_Training.", - "folderGuid": "5020fd02-54d2-495f-9310-0cec75f16199", - "folderType": "homePage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaFileMoveException" - }, - "examples": { - "Example 1": { - "summary": "New parent folder not found.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to move an existing file to a folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199', but there is no HomePage folder with that GUID.", - "value": { - "message": "Cannot move HomePage file with GUID '4c1225cf-3156-465c-bedb-479d108c698e'.", - "code": "fileMove", - "fileGuid": "4c1225cf-3156-465c-bedb-479d108c698e", - "folderType": "homePage", - "errors": [ - { - "message": "A HomePage folder with GUID '5020fd02-54d2-495f-9310-0cec75f16199' does not exist in database MI_Training.", - "folderGuid": "5020fd02-54d2-495f-9310-0cec75f16199", - "folderType": "homePage", - "databaseKey": "MI_Training", - "reason": "noSuchNewParent" - } - ] - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -46089,22 +40126,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -46198,9 +40230,9 @@ "required": false, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "50810b19-5ccf-432c-abec-4438eee33613", + "underlyingEntityGuid": "ccf90aa5-0f05-4453-83bc-adfc2c7cedc3", "name": "Price", - "guid": "e1c04559-e2ec-44b6-b315-fe1d5b5cea9f" + "guid": "7d40ed41-ef7b-4e7a-bd44-1b2ad247d5fd" }, { "itemType": "attribute", @@ -46208,9 +40240,9 @@ "required": false, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "81ef5704-757a-462b-8377-50eefeae2df1", + "underlyingEntityGuid": "71139429-7974-4a17-aab1-5a452da02655", "name": "Density", - "guid": "6a32ca9a-eebd-47e6-ab8e-c1d9e1cb0c4b" + "guid": "a8140c05-987a-4f1e-8a7e-958ff0684c59" } ], "displayNames": { @@ -46229,9 +40261,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "e74f859c-7887-4262-a5fa-581236a32e8b", + "underlyingEntityGuid": "5d1be6b3-7fc6-4f25-900e-6526500966ba", "name": "Young's modulus", - "guid": "c375d6ed-57a5-4d29-970f-0a491bcaa45b" + "guid": "fcbe0b5d-b85d-4f8e-bc33-a0f20ddc43af" }, { "itemType": "attribute", @@ -46239,9 +40271,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "abd6f5da-6a8f-442e-8991-a165485c24d2", + "underlyingEntityGuid": "2f1607df-3c28-483d-bfc8-f2ea11f1f122", "name": "Tensile strength", - "guid": "ef7b1880-66e8-4792-9e84-7c964beab6da" + "guid": "5372e2d8-b772-4bb9-8f39-21f522816090" }, { "itemType": "attribute", @@ -46249,9 +40281,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "42f11740-6d21-42cb-88f7-99e10b318458", + "underlyingEntityGuid": "55b9f11a-2718-496f-99a3-5b89d7de1627", "name": "Shape factor", - "guid": "8c32ba12-b946-4e8c-a685-f5702f8ab44d" + "guid": "f64648e2-b81a-400e-b4cf-c37148c17788" } ], "displayNames": { @@ -46283,22 +40315,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -46331,7 +40358,7 @@ "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": "df0027b2-15a9-47c6-bb05-e1e8aeb942df" + "guid": "0c8f1a7e-21ef-4968-841c-430d091b183c" } } } @@ -46353,7 +40380,7 @@ "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": "df0027b2-15a9-47c6-bb05-e1e8aeb942df" + "guid": "0c8f1a7e-21ef-4968-841c-430d091b183c" } } } @@ -46375,7 +40402,7 @@ "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": "df0027b2-15a9-47c6-bb05-e1e8aeb942df" + "guid": "0c8f1a7e-21ef-4968-841c-430d091b183c" } } } @@ -46397,7 +40424,7 @@ "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": "df0027b2-15a9-47c6-bb05-e1e8aeb942df" + "guid": "0c8f1a7e-21ef-4968-841c-430d091b183c" } } } @@ -46416,7 +40443,7 @@ "sectionDetailType": "slim", "displayNames": {}, "name": "Additional Properties", - "guid": "0f0157ff-0094-4905-8cbc-86de07ca09df" + "guid": "0fc0de3d-4225-4cdd-80ee-74fae616357b" } } } @@ -46442,22 +40469,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -46981,22 +41003,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -47069,7 +41086,7 @@ "fr": "Testing Information French Display Name" }, "name": "Testing Information", - "guid": "7f64157a-33ee-453d-b7df-907d148880f3" + "guid": "af2e6f5a-acc9-45af-a363-8b979c232ef0" } }, "Example 2": { @@ -47084,9 +41101,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "d5c54bb2-00db-482b-9f52-7069fb82eacb", + "underlyingEntityGuid": "a894c427-cf88-42be-8e1c-57be84b8b0da", "name": "Form", - "guid": "65f5f8db-baa2-4629-adfa-a3855040bafb" + "guid": "9760c864-6886-4be8-9f99-e32d82e69cd6" }, { "itemType": "attribute", @@ -47099,34 +41116,34 @@ "attributeType": "longText", "required": true, "readOnly": false, - "underlyingEntityGuid": "9faa1cca-f168-449e-9cf2-cb738ca5478f", + "underlyingEntityGuid": "71b2300e-2945-405b-8f9b-9c43044b1693", "name": "Sources", - "guid": "819960b9-4099-43b7-9870-5bad1064eb4e" + "guid": "2dba33f5-ccba-4d2d-9130-72f29bd80230" }, { "itemType": "attribute", "attributeType": "shortText", "required": true, "readOnly": false, - "underlyingEntityGuid": "113acf39-a698-4f28-97cb-cfcd4f571881", + "underlyingEntityGuid": "eaca9a2a-34d9-4458-bc3c-ebd18f441cba", "name": "Notes", - "guid": "3fe410e1-2827-4660-8f2d-256d7f09a471" + "guid": "e92c1ce0-07c0-439f-a536-3c2cd3275706" } ], - "underlyingEntityGuid": "6f17bbcc-26ab-41dd-81d7-842df52ad478", + "underlyingEntityGuid": "fbc66584-7547-48f8-aeb2-b45d3593e957", "name": "Chemical resistance", - "guid": "4e0df05f-4e37-4cfb-909e-4ce61fc233ab" + "guid": "d1422bbb-f6ec-4ab5-8a6a-4fffb6c728e8" }, { "itemType": "link", "linkType": "recordLink", - "targetDatabase": "2f88a198-b3fe-43b2-9876-1070c0f6a786", - "targetDatabaseVersion": "0e208330-cb53-4a33-90dd-63ae492f27c4", - "targetTable": "07d5bbe7-ea22-425d-a53c-2613283459ff", + "targetDatabase": "10a00f3c-c4cd-4558-968f-302d27d5731e", + "targetDatabaseVersion": "70fd77bd-1dac-4dde-8332-f59eab71760f", + "targetTable": "5331c8e0-ef17-4d82-8674-b36ce8751f6b", "forwards": true, - "underlyingEntityGuid": "63d76046-7dcb-4320-b3cf-f799b15ac661", + "underlyingEntityGuid": "f8189272-005e-4cc5-a572-88c9be9a39af", "name": "Material Pedigree", - "guid": "446f6539-bca4-4a29-ac69-e71bff61177d" + "guid": "2d0f1467-3e1a-4839-ae57-0f755a7bf5ca" }, { "itemType": "attribute", @@ -47137,42 +41154,42 @@ "tabularColumns": [ { "columnType": "linkedAttribute", - "tabularColumnGuid": "abe92eaa-f2eb-40fa-a96f-f1b96dd6c6a8", + "tabularColumnGuid": "5af31827-578a-4a80-9390-3f987a539c4b", "name": "Offset Yield Stress", - "guid": "004988f3-cdc7-4ba6-ab32-2d15685c2e4e" + "guid": "de72e50e-85f9-4429-86d0-7d68af63c7b8" }, { "columnType": "localShortText", - "tabularColumnGuid": "135ae0b5-4f4f-4bde-8ff0-7305068cf097", + "tabularColumnGuid": "6151ca96-bc3d-458f-8187-a16ad4b0dcce", "name": "Young's Modulus Notes", - "guid": "81740e11-e97d-4546-93c5-d67ddfed1b76" + "guid": "b333d6ac-4684-49c5-bbf5-007269d9b439" } ], - "underlyingEntityGuid": "59084f97-8bd2-42ef-8c62-1fd9c158c602", + "underlyingEntityGuid": "f52593df-e314-44b3-b40a-929188db7f9d", "name": "Reference Characteristics", - "guid": "71eead63-9e0f-4f17-8bef-e3f48573179e" + "guid": "abbfea78-e174-4956-9c4f-b0242ff931a9" }, { "itemType": "link", "linkType": "associationChain", - "targetDatabase": "2f88a198-b3fe-43b2-9876-1070c0f6a786", - "targetDatabaseVersion": "0e208330-cb53-4a33-90dd-63ae492f27c4", - "targetTable": "1daa437a-40b9-4353-aac2-00863107c837", + "targetDatabase": "10a00f3c-c4cd-4558-968f-302d27d5731e", + "targetDatabaseVersion": "70fd77bd-1dac-4dde-8332-f59eab71760f", + "targetTable": "107cf4aa-52ae-47dd-968a-13c4af747cce", "forwards": true, "nextLink": { "itemType": "link", "linkType": "associationChain", - "targetDatabase": "2f88a198-b3fe-43b2-9876-1070c0f6a786", - "targetDatabaseVersion": "0e208330-cb53-4a33-90dd-63ae492f27c4", - "targetTable": "7476a2f1-d5ab-4692-90c5-8981fd0f5d65", + "targetDatabase": "10a00f3c-c4cd-4558-968f-302d27d5731e", + "targetDatabaseVersion": "70fd77bd-1dac-4dde-8332-f59eab71760f", + "targetTable": "ccc3ec14-7300-4012-9140-2356ccf3ae18", "forwards": false, - "underlyingEntityGuid": "82bbebed-0603-4f5e-ae80-812bf9f74dd6", + "underlyingEntityGuid": "e438d60c-e93b-40ca-838a-7be6c7755f79", "name": "Pedigree information", - "guid": "2b73da70-804d-4657-8f32-bab8f5bd9362" + "guid": "78b486e6-4cfe-4a07-9cdd-114b5b469e38" }, - "underlyingEntityGuid": "db9f1e88-a144-4f6d-80fe-35acc614e2cb", + "underlyingEntityGuid": "87e2ec54-fdff-4b50-be81-41a63a0ffcf1", "name": "To Pedigree from Producers", - "guid": "01291fd5-be73-4207-bd17-b1b7b767523f" + "guid": "f0c0736d-377d-4a3a-9d78-8e0d26b7d35c" } ], "displayNames": { @@ -47180,7 +41197,7 @@ "fr": "Testing Information French Display Name" }, "name": "Testing Information", - "guid": "a3192c0f-9ad1-467f-b10c-7c430d070892" + "guid": "db981140-9e2d-4dd2-9569-a2a1327785da" } } } @@ -47202,22 +41219,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -47267,22 +41279,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -47380,9 +41387,9 @@ "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": "84745958-bf07-43ab-8742-ca04661af0cb", - "sourceTableGuid": "8c082a97-d545-4d7e-a538-319d80761aa1", - "linkGroupGuid": "2577c111-b558-47eb-a40b-41d45766038d" + "sourceDatabaseGuid": "82e05829-cd19-4af6-9955-12c7e123ea13", + "sourceTableGuid": "dd5ae60c-8623-4316-a1d6-29eea1efae63", + "linkGroupGuid": "639a45be-e834-4071-8a3b-503fe1bfee18" } }, "Example 8": { @@ -47394,13 +41401,13 @@ "associationChainLinks": [ { "forwards": true, - "sourceDatabaseVersionGuid": "f8a441f3-5835-434a-b210-bd534bb177fc", - "tabularAttributeGuid": "7d804660-e027-4d1f-86bb-2b3e38b9cc93" + "sourceDatabaseVersionGuid": "afe6567c-774e-4786-ba3c-2f4d71e2ed0b", + "tabularAttributeGuid": "6ba1c50f-5451-424f-b9cc-995e976ea093" }, { "forwards": false, - "sourceDatabaseVersionGuid": "1393a2f8-b3bc-452d-8428-2cb6aad0b560", - "tabularAttributeGuid": "3a511340-f0cc-4b71-804c-1d6a1524ce71" + "sourceDatabaseVersionGuid": "e225dc84-5494-4d2e-aaaf-ee067ac9085e", + "tabularAttributeGuid": "a29b474c-fe61-4489-a53c-be7d5a8c8ebf" } ] } @@ -47480,9 +41487,9 @@ "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": "84745958-bf07-43ab-8742-ca04661af0cb", - "sourceTableGuid": "8c082a97-d545-4d7e-a538-319d80761aa1", - "linkGroupGuid": "2577c111-b558-47eb-a40b-41d45766038d" + "sourceDatabaseGuid": "82e05829-cd19-4af6-9955-12c7e123ea13", + "sourceTableGuid": "dd5ae60c-8623-4316-a1d6-29eea1efae63", + "linkGroupGuid": "639a45be-e834-4071-8a3b-503fe1bfee18" } }, "Example 8": { @@ -47494,13 +41501,13 @@ "associationChainLinks": [ { "forwards": true, - "sourceDatabaseVersionGuid": "f8a441f3-5835-434a-b210-bd534bb177fc", - "tabularAttributeGuid": "7d804660-e027-4d1f-86bb-2b3e38b9cc93" + "sourceDatabaseVersionGuid": "afe6567c-774e-4786-ba3c-2f4d71e2ed0b", + "tabularAttributeGuid": "6ba1c50f-5451-424f-b9cc-995e976ea093" }, { "forwards": false, - "sourceDatabaseVersionGuid": "1393a2f8-b3bc-452d-8428-2cb6aad0b560", - "tabularAttributeGuid": "3a511340-f0cc-4b71-804c-1d6a1524ce71" + "sourceDatabaseVersionGuid": "e225dc84-5494-4d2e-aaaf-ee067ac9085e", + "tabularAttributeGuid": "a29b474c-fe61-4489-a53c-be7d5a8c8ebf" } ] } @@ -47580,9 +41587,9 @@ "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": "84745958-bf07-43ab-8742-ca04661af0cb", - "sourceTableGuid": "8c082a97-d545-4d7e-a538-319d80761aa1", - "linkGroupGuid": "2577c111-b558-47eb-a40b-41d45766038d" + "sourceDatabaseGuid": "82e05829-cd19-4af6-9955-12c7e123ea13", + "sourceTableGuid": "dd5ae60c-8623-4316-a1d6-29eea1efae63", + "linkGroupGuid": "639a45be-e834-4071-8a3b-503fe1bfee18" } }, "Example 8": { @@ -47594,13 +41601,13 @@ "associationChainLinks": [ { "forwards": true, - "sourceDatabaseVersionGuid": "f8a441f3-5835-434a-b210-bd534bb177fc", - "tabularAttributeGuid": "7d804660-e027-4d1f-86bb-2b3e38b9cc93" + "sourceDatabaseVersionGuid": "afe6567c-774e-4786-ba3c-2f4d71e2ed0b", + "tabularAttributeGuid": "6ba1c50f-5451-424f-b9cc-995e976ea093" }, { "forwards": false, - "sourceDatabaseVersionGuid": "1393a2f8-b3bc-452d-8428-2cb6aad0b560", - "tabularAttributeGuid": "3a511340-f0cc-4b71-804c-1d6a1524ce71" + "sourceDatabaseVersionGuid": "e225dc84-5494-4d2e-aaaf-ee067ac9085e", + "tabularAttributeGuid": "a29b474c-fe61-4489-a53c-be7d5a8c8ebf" } ] } @@ -47680,9 +41687,9 @@ "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": "84745958-bf07-43ab-8742-ca04661af0cb", - "sourceTableGuid": "8c082a97-d545-4d7e-a538-319d80761aa1", - "linkGroupGuid": "2577c111-b558-47eb-a40b-41d45766038d" + "sourceDatabaseGuid": "82e05829-cd19-4af6-9955-12c7e123ea13", + "sourceTableGuid": "dd5ae60c-8623-4316-a1d6-29eea1efae63", + "linkGroupGuid": "639a45be-e834-4071-8a3b-503fe1bfee18" } }, "Example 8": { @@ -47694,13 +41701,13 @@ "associationChainLinks": [ { "forwards": true, - "sourceDatabaseVersionGuid": "f8a441f3-5835-434a-b210-bd534bb177fc", - "tabularAttributeGuid": "7d804660-e027-4d1f-86bb-2b3e38b9cc93" + "sourceDatabaseVersionGuid": "afe6567c-774e-4786-ba3c-2f4d71e2ed0b", + "tabularAttributeGuid": "6ba1c50f-5451-424f-b9cc-995e976ea093" }, { "forwards": false, - "sourceDatabaseVersionGuid": "1393a2f8-b3bc-452d-8428-2cb6aad0b560", - "tabularAttributeGuid": "3a511340-f0cc-4b71-804c-1d6a1524ce71" + "sourceDatabaseVersionGuid": "e225dc84-5494-4d2e-aaaf-ee067ac9085e", + "tabularAttributeGuid": "a29b474c-fe61-4489-a53c-be7d5a8c8ebf" } ] } @@ -47728,7 +41735,7 @@ "readOnly": false, "metaAttributes": null, "tabularColumnGuids": null, - "guid": "b30381c7-4eb8-4cf1-a263-d507623d5967" + "guid": "1d40ae25-b550-4368-9a00-49e313641ea1" } }, "Example 2": { @@ -47748,7 +41755,7 @@ } ], "tabularColumnGuids": null, - "guid": "885ebb0c-17e9-47f2-bb84-fdcb8a3c649f" + "guid": "a9a10cfc-ed28-4bfa-9725-53081e44627c" } }, "Example 3": { @@ -47792,9 +41799,9 @@ "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": "dc03113f-97c6-40ba-b392-def97996a589", - "sourceTableGuid": "46bb15e1-4574-4958-94ee-e3e263f208ca", - "linkGroupGuid": "6ad7323c-22e4-44c1-9218-4a7069055087", + "sourceDatabaseGuid": "627ff53c-be07-4913-b95f-1902d0a0ff3f", + "sourceTableGuid": "fb45f772-b96e-4eea-9595-f1e4d37c0208", + "linkGroupGuid": "a6d1b511-357b-48b4-9bce-dff6db251b5a", "guid": null } }, @@ -47808,12 +41815,12 @@ { "forwards": true, "sourceDatabaseVersionGuid": "00000000-0000-0000-0000-000000000000", - "tabularAttributeGuid": "292296de-2527-4f46-ae89-85b503f28bd8" + "tabularAttributeGuid": "3661f1b2-1444-4b8c-8928-f6b4f472ae4f" }, { "forwards": false, "sourceDatabaseVersionGuid": "00000000-0000-0000-0000-000000000000", - "tabularAttributeGuid": "ffbaaa0e-46db-4d65-81c7-396bf39eb747" + "tabularAttributeGuid": "525e45fb-8a1a-4865-b5a8-76c4f4478af6" } ], "guid": null @@ -47846,22 +41853,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -47923,9 +41925,7 @@ "description": "", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -47935,7 +41935,6 @@ "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -48020,22 +42019,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -48059,7 +42053,7 @@ "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": "824a1f73-6a70-4424-826a-84c5342df6b1" + "guid": "6f1cbbda-72ef-4c1f-9cca-3de3a915e656" } }, "Example 3": { @@ -48092,7 +42086,7 @@ "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": "824a1f73-6a70-4424-826a-84c5342df6b1" + "guid": "6f1cbbda-72ef-4c1f-9cca-3de3a915e656" } }, "Example 3": { @@ -48125,7 +42119,7 @@ "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": "824a1f73-6a70-4424-826a-84c5342df6b1" + "guid": "6f1cbbda-72ef-4c1f-9cca-3de3a915e656" } }, "Example 3": { @@ -48158,7 +42152,7 @@ "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": "824a1f73-6a70-4424-826a-84c5342df6b1" + "guid": "6f1cbbda-72ef-4c1f-9cca-3de3a915e656" } }, "Example 3": { @@ -48188,7 +42182,7 @@ "applicableApplications": [], "displayNames": {}, "name": "Ceramics", - "guid": "52a64611-be15-4dc3-a030-d1e22dfe17fb" + "guid": "3da46d66-f085-4b72-9287-b6ad037b393b" } } } @@ -48216,22 +42210,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -48332,9 +42321,9 @@ "required": false, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "cccd2204-a965-4a3b-8b1e-a33150622faa", + "underlyingEntityGuid": "6c9ccf69-4c78-4891-bb21-f674a8d2403e", "name": "Price", - "guid": "c5daa6fc-ebb1-4742-89fc-ebdcb8944198" + "guid": "856a0eb8-5fa0-4b8a-b3ee-92ef9b978097" }, { "itemType": "attribute", @@ -48342,9 +42331,9 @@ "required": false, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "c77eda36-0d63-4ed2-b5b9-b22c87da82a4", + "underlyingEntityGuid": "5dd31dec-e10c-445a-b840-862cb45e8d4c", "name": "Density", - "guid": "842a742b-8af5-4da7-a447-4ec7cb1ff9c2" + "guid": "29abb635-d43f-4fcd-89b5-4f8a68838778" } ], "displayNames": { @@ -48363,9 +42352,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "56c8d369-b97c-4f7f-bbbb-00378fbe4304", + "underlyingEntityGuid": "344e1959-9c5d-429f-bd9d-ebd8ce2de5a8", "name": "Young's modulus", - "guid": "5c074a74-ed18-4abf-adca-f8cd01b71695" + "guid": "d1dcaea7-7505-41fb-820d-df5b25842ec3" }, { "itemType": "attribute", @@ -48373,9 +42362,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "4d5711a9-b3f9-45ca-a22f-69de3feeefb1", + "underlyingEntityGuid": "a9eae047-400e-4a21-8aec-d307312e8a41", "name": "Tensile strength", - "guid": "817f3c4c-10c0-49b2-9b8e-fcae77fbc2cb" + "guid": "13a005ec-132e-4f8d-a9e9-50c57431e77a" }, { "itemType": "attribute", @@ -48383,9 +42372,9 @@ "required": true, "readOnly": false, "metaAttributes": [], - "underlyingEntityGuid": "30273ce3-c3b7-4ee0-b253-ae7a16c5a3ce", + "underlyingEntityGuid": "dbe62cf8-9dc6-45df-b5fc-53337f5dbeab", "name": "Shape factor", - "guid": "852a40fd-4466-4387-b2fe-601004906afa" + "guid": "fdcd97eb-972c-4ff7-890e-d8f612bba404" } ], "displayNames": { @@ -48424,22 +42413,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -48469,7 +42453,7 @@ "An Application" ], "name": "Ceramics (Updated)", - "guid": "4788ebdd-1845-47ef-b063-001ef8e1f687" + "guid": "d8578cf1-36b6-4fdd-bbc8-4e35414bb7ff" } }, "Example 2": { @@ -48502,7 +42486,7 @@ "An Application" ], "name": "Ceramics (Updated)", - "guid": "4788ebdd-1845-47ef-b063-001ef8e1f687" + "guid": "d8578cf1-36b6-4fdd-bbc8-4e35414bb7ff" } }, "Example 2": { @@ -48535,7 +42519,7 @@ "An Application" ], "name": "Ceramics (Updated)", - "guid": "4788ebdd-1845-47ef-b063-001ef8e1f687" + "guid": "d8578cf1-36b6-4fdd-bbc8-4e35414bb7ff" } }, "Example 2": { @@ -48568,7 +42552,7 @@ "An Application" ], "name": "Ceramics (Updated)", - "guid": "4788ebdd-1845-47ef-b063-001ef8e1f687" + "guid": "d8578cf1-36b6-4fdd-bbc8-4e35414bb7ff" } }, "Example 2": { @@ -48601,7 +42585,7 @@ "applicableApplications": [], "displayNames": {}, "name": "Ceramics", - "guid": "f277aefb-a9df-4e42-9474-7f0423bb13c2" + "guid": "72931fbb-ea3c-4e13-881f-82fca47e678c" } } } @@ -48627,22 +42611,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -48683,22 +42662,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -48742,12 +42716,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -48871,12 +42842,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -48914,7 +42882,7 @@ { "type": "discrete", "name": "Red", - "guid": "994fc038-70c2-44fd-9cfb-3d0298e5166c" + "guid": "0680d000-c4bf-4083-af6d-fd80636b04a4" }, { "type": "discrete", @@ -48924,7 +42892,7 @@ "type": "discrete", "defaultParameterValueIndex": 1, "name": "Color (guid)", - "guid": "a20f5392-6d26-4e36-8460-55cbc7d3ad74" + "guid": "ceeb0ccb-0511-4425-b738-73ba1cd7eccc" } }, "Example 3": { @@ -49052,7 +43020,7 @@ { "type": "discrete", "name": "Red", - "guid": "994fc038-70c2-44fd-9cfb-3d0298e5166c" + "guid": "0680d000-c4bf-4083-af6d-fd80636b04a4" }, { "type": "discrete", @@ -49062,7 +43030,7 @@ "type": "discrete", "defaultParameterValueIndex": 1, "name": "Color (guid)", - "guid": "a20f5392-6d26-4e36-8460-55cbc7d3ad74" + "guid": "ceeb0ccb-0511-4425-b738-73ba1cd7eccc" } }, "Example 3": { @@ -49190,7 +43158,7 @@ { "type": "discrete", "name": "Red", - "guid": "994fc038-70c2-44fd-9cfb-3d0298e5166c" + "guid": "0680d000-c4bf-4083-af6d-fd80636b04a4" }, { "type": "discrete", @@ -49200,7 +43168,7 @@ "type": "discrete", "defaultParameterValueIndex": 1, "name": "Color (guid)", - "guid": "a20f5392-6d26-4e36-8460-55cbc7d3ad74" + "guid": "ceeb0ccb-0511-4425-b738-73ba1cd7eccc" } }, "Example 3": { @@ -49328,7 +43296,7 @@ { "type": "discrete", "name": "Red", - "guid": "994fc038-70c2-44fd-9cfb-3d0298e5166c" + "guid": "0680d000-c4bf-4083-af6d-fd80636b04a4" }, { "type": "discrete", @@ -49338,7 +43306,7 @@ "type": "discrete", "defaultParameterValueIndex": 1, "name": "Color (guid)", - "guid": "a20f5392-6d26-4e36-8460-55cbc7d3ad74" + "guid": "ceeb0ccb-0511-4425-b738-73ba1cd7eccc" } }, "Example 3": { @@ -49478,65 +43446,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaParameterCreationException" - }, - "examples": { - "Example 1": { - "summary": "No parameter values", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a parameter with name 'Color', but did not provide any parameter values. At least one parameter value is required.", - "value": { - "message": "Cannot create parameter 'Color'.", - "code": "parameterCreation", - "name": "Color", - "errors": [ - { - "message": "No parameter values provided", - "reason": "noParameterValues" - } - ] - } - }, - "Example 2": { - "summary": "Multiple validation errors for creating a numeric parameter", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a parameter with name 'Outside Temperature'. The unit GUID provided did not match any known unit. The parameter scaleType was set to 'logarithmic' but one of the parameter values is less than or equal to zero.", - "value": { - "message": "Cannot create parameter 'Outside Temperature'.", - "code": "parameterCreation", - "name": "Outside Temperature", - "errors": [ - { - "message": "Could not find unit with GUID '49af0387-ed84-4057-bd2e-8c71001e6f31'.", - "guid": "49af0387-ed84-4057-bd2e-8c71001e6f31", - "reason": "noSuchUnit" - }, - { - "message": "Parameter value is not valid.", - "errors": [ - { - "message": "For a log-scale parameter, all values must be greater than zero.", - "reason": "logScaleNegative" - } - ], - "reason": "parameterValue" - } - ] - } - }, - "Example 3": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateNumericParameter: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -49558,12 +43468,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -49632,12 +43539,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -49658,8 +43562,8 @@ }, "examples": { "Example 1": { - "summary": "Numeric parameter", - "description": "This example shows how to update properties of the 'Strain' numeric parameter (GUID ='00000005-000a-4fff-8fff-0000ffff0000') from the MI_Training database. Its Unit will be changed to kg.", + "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": { @@ -49670,31 +43574,31 @@ "helpPath": "help/strain-updated.html", "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", "name": "Strain (Updated)", - "guid": "91d002be-239d-43f3-9bc5-e972cab361c6" + "guid": "dbcfeff0-43f7-4896-a2c4-2d2180ee83ed" } }, "Example 2": { - "summary": "Discrete parameter", - "description": "This example shows how to update properties of the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database.", + "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": "ab2d3f66-2f42-43ce-854b-48d5aa2ebe9e" + "guid": "5a77cf79-8682-4202-814b-a0d2e513e4a0" } }, "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.", + "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": "d05b6b75-4d79-4346-98db-7d3619435ce6" + "guid": "1057e04a-7164-4a2c-ae54-ed6dcb8c9604" } }, "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.", + "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)" @@ -49702,18 +43606,18 @@ }, "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.", + "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": "21d86f1a-a81f-4e21-89f3-7104d1814dee" + "guid": "918908a7-6430-4556-88d0-5d70ff390b77" } }, "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.", + "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 @@ -49721,38 +43625,12 @@ }, "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.", + "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" } - }, - "Example 8": { - "summary": "Update Values", - "description": "This example shows how to update parameter values on the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database. A new value 'New Value' will be added between the existing values 'A-basis' (GUID = '505b5d32-0a4a-48af-9a7a-90c4caacd35c') and 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b'). The value 'Mean' (GUID = '21a27377-12eb-413c-bac4-d4ffceda39d1') will be moved to the end. The existing value 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b') will be renamed.", - "value": { - "type": "discrete", - "values": [ - { - "type": "discrete", - "guid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c" - }, - { - "type": "discrete", - "name": "New Value" - }, - { - "type": "discrete", - "name": "B-basis - renamed", - "guid": "9ba94816-6784-4848-bfa6-d24b12597a5b" - }, - { - "type": "discrete", - "guid": "21a27377-12eb-413c-bac4-d4ffceda39d1" - } - ] - } } } }, @@ -49762,8 +43640,8 @@ }, "examples": { "Example 1": { - "summary": "Numeric parameter", - "description": "This example shows how to update properties of the 'Strain' numeric parameter (GUID ='00000005-000a-4fff-8fff-0000ffff0000') from the MI_Training database. Its Unit will be changed to kg.", + "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": { @@ -49774,31 +43652,31 @@ "helpPath": "help/strain-updated.html", "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", "name": "Strain (Updated)", - "guid": "91d002be-239d-43f3-9bc5-e972cab361c6" + "guid": "dbcfeff0-43f7-4896-a2c4-2d2180ee83ed" } }, "Example 2": { - "summary": "Discrete parameter", - "description": "This example shows how to update properties of the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database.", + "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": "ab2d3f66-2f42-43ce-854b-48d5aa2ebe9e" + "guid": "5a77cf79-8682-4202-814b-a0d2e513e4a0" } }, "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.", + "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": "d05b6b75-4d79-4346-98db-7d3619435ce6" + "guid": "1057e04a-7164-4a2c-ae54-ed6dcb8c9604" } }, "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.", + "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)" @@ -49806,18 +43684,18 @@ }, "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.", + "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": "21d86f1a-a81f-4e21-89f3-7104d1814dee" + "guid": "918908a7-6430-4556-88d0-5d70ff390b77" } }, "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.", + "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 @@ -49825,38 +43703,12 @@ }, "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.", + "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" } - }, - "Example 8": { - "summary": "Update Values", - "description": "This example shows how to update parameter values on the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database. A new value 'New Value' will be added between the existing values 'A-basis' (GUID = '505b5d32-0a4a-48af-9a7a-90c4caacd35c') and 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b'). The value 'Mean' (GUID = '21a27377-12eb-413c-bac4-d4ffceda39d1') will be moved to the end. The existing value 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b') will be renamed.", - "value": { - "type": "discrete", - "values": [ - { - "type": "discrete", - "guid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c" - }, - { - "type": "discrete", - "name": "New Value" - }, - { - "type": "discrete", - "name": "B-basis - renamed", - "guid": "9ba94816-6784-4848-bfa6-d24b12597a5b" - }, - { - "type": "discrete", - "guid": "21a27377-12eb-413c-bac4-d4ffceda39d1" - } - ] - } } } }, @@ -49866,8 +43718,8 @@ }, "examples": { "Example 1": { - "summary": "Numeric parameter", - "description": "This example shows how to update properties of the 'Strain' numeric parameter (GUID ='00000005-000a-4fff-8fff-0000ffff0000') from the MI_Training database. Its Unit will be changed to kg.", + "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": { @@ -49878,31 +43730,31 @@ "helpPath": "help/strain-updated.html", "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", "name": "Strain (Updated)", - "guid": "91d002be-239d-43f3-9bc5-e972cab361c6" + "guid": "dbcfeff0-43f7-4896-a2c4-2d2180ee83ed" } }, "Example 2": { - "summary": "Discrete parameter", - "description": "This example shows how to update properties of the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database.", + "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": "ab2d3f66-2f42-43ce-854b-48d5aa2ebe9e" + "guid": "5a77cf79-8682-4202-814b-a0d2e513e4a0" } }, "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.", + "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": "d05b6b75-4d79-4346-98db-7d3619435ce6" + "guid": "1057e04a-7164-4a2c-ae54-ed6dcb8c9604" } }, "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.", + "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)" @@ -49910,18 +43762,18 @@ }, "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.", + "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": "21d86f1a-a81f-4e21-89f3-7104d1814dee" + "guid": "918908a7-6430-4556-88d0-5d70ff390b77" } }, "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.", + "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 @@ -49929,38 +43781,12 @@ }, "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.", + "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" } - }, - "Example 8": { - "summary": "Update Values", - "description": "This example shows how to update parameter values on the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database. A new value 'New Value' will be added between the existing values 'A-basis' (GUID = '505b5d32-0a4a-48af-9a7a-90c4caacd35c') and 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b'). The value 'Mean' (GUID = '21a27377-12eb-413c-bac4-d4ffceda39d1') will be moved to the end. The existing value 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b') will be renamed.", - "value": { - "type": "discrete", - "values": [ - { - "type": "discrete", - "guid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c" - }, - { - "type": "discrete", - "name": "New Value" - }, - { - "type": "discrete", - "name": "B-basis - renamed", - "guid": "9ba94816-6784-4848-bfa6-d24b12597a5b" - }, - { - "type": "discrete", - "guid": "21a27377-12eb-413c-bac4-d4ffceda39d1" - } - ] - } } } }, @@ -49970,8 +43796,8 @@ }, "examples": { "Example 1": { - "summary": "Numeric parameter", - "description": "This example shows how to update properties of the 'Strain' numeric parameter (GUID ='00000005-000a-4fff-8fff-0000ffff0000') from the MI_Training database. Its Unit will be changed to kg.", + "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": { @@ -49982,31 +43808,31 @@ "helpPath": "help/strain-updated.html", "defaultParameterValueGuid": "173284fb-e557-406f-a7eb-f4e75f1d48a9", "name": "Strain (Updated)", - "guid": "91d002be-239d-43f3-9bc5-e972cab361c6" + "guid": "dbcfeff0-43f7-4896-a2c4-2d2180ee83ed" } }, "Example 2": { - "summary": "Discrete parameter", - "description": "This example shows how to update properties of the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database.", + "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": "ab2d3f66-2f42-43ce-854b-48d5aa2ebe9e" + "guid": "5a77cf79-8682-4202-814b-a0d2e513e4a0" } }, "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.", + "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": "d05b6b75-4d79-4346-98db-7d3619435ce6" + "guid": "1057e04a-7164-4a2c-ae54-ed6dcb8c9604" } }, "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.", + "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)" @@ -50014,18 +43840,18 @@ }, "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.", + "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": "21d86f1a-a81f-4e21-89f3-7104d1814dee" + "guid": "918908a7-6430-4556-88d0-5d70ff390b77" } }, "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.", + "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 @@ -50033,38 +43859,12 @@ }, "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.", + "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" } - }, - "Example 8": { - "summary": "Update Values", - "description": "This example shows how to update parameter values on the 'Basis' discrete parameter (GUID = '7a6ccb7b-8a47-4cab-8203-c741d476560f') from the MI_Training database. A new value 'New Value' will be added between the existing values 'A-basis' (GUID = '505b5d32-0a4a-48af-9a7a-90c4caacd35c') and 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b'). The value 'Mean' (GUID = '21a27377-12eb-413c-bac4-d4ffceda39d1') will be moved to the end. The existing value 'B-basis' (GUID = '9ba94816-6784-4848-bfa6-d24b12597a5b') will be renamed.", - "value": { - "type": "discrete", - "values": [ - { - "type": "discrete", - "guid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c" - }, - { - "type": "discrete", - "name": "New Value" - }, - { - "type": "discrete", - "name": "B-basis - renamed", - "guid": "9ba94816-6784-4848-bfa6-d24b12597a5b" - }, - { - "type": "discrete", - "guid": "21a27377-12eb-413c-bac4-d4ffceda39d1" - } - ] - } } } } @@ -50112,66 +43912,7 @@ } }, "400": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaParameterUpdateException" - }, - "examples": { - "Example 1": { - "summary": "No such unit", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the unit of the 'Temperature' parameter with GUID '00000001-000a-4fff-8fff-0000ffff0000', but the unit GUID provided did not match any known unit.", - "value": { - "message": "Cannot update parameter with GUID '00000001-000a-4fff-8fff-0000ffff0000'.", - "code": "parameterUpdate", - "parameterGuid": "00000001-000a-4fff-8fff-0000ffff0000", - "errors": [ - { - "message": "Could not find unit with GUID '78903689-2c8b-49c2-86c2-3b2f611b24a9'.", - "guid": "78903689-2c8b-49c2-86c2-3b2f611b24a9", - "reason": "noSuchUnit" - } - ] - } - }, - "Example 2": { - "summary": "Multiple validation errors for updating a numeric parameter", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the 'Stress Ratio' parameter with GUID '00000004-000a-4fff-8fff-0000ffff0000'. The unit GUID provided did not match any known unit. The parameter scaleType was set to 'logarithmic', which is invalid because one of the parameter values is less than or equal to zero.", - "value": { - "message": "Cannot update parameter with GUID '00000004-000a-4fff-8fff-0000ffff0000'.", - "code": "parameterUpdate", - "parameterGuid": "00000004-000a-4fff-8fff-0000ffff0000", - "errors": [ - { - "message": "Could not find unit with GUID '43c146ae-8ff6-4af3-9792-18afed99c17c'.", - "guid": "43c146ae-8ff6-4af3-9792-18afed99c17c", - "reason": "noSuchUnit" - }, - { - "message": "Parameter value is not valid.", - "errors": [ - { - "message": "For a log-scale parameter, all values must be greater than zero.", - "reason": "logScaleNegative" - } - ], - "reason": "parameterValue" - } - ] - } - }, - "Example 3": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "UpdateNumericParameter: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request" }, "403": { "description": "Forbidden" @@ -50191,12 +43932,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50218,8 +43956,8 @@ "$ref": "#/components/schemas/GsaParameterDeletionException" }, "example": { - "message": "Cannot delete parameter with GUID '00000005-000a-4fff-8fff-0000ffff0000'.", - "code": "deletion", + "message": "Cannot delete parameter 'Strain' (GUID = '00000005-000a-4fff-8fff-0000ffff0000').", + "code": 400, "errors": [ { "message": "It is being used in one or more attributes.", @@ -50229,7 +43967,6 @@ { "type": "floatFunctional", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -50266,12 +44003,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50312,12 +44046,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50370,12 +44101,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50411,7 +44139,7 @@ "value": 10.0, "type": "numeric", "name": "Strain 0.1 (Updated)", - "guid": "e1d391ec-1c89-4040-aa42-35ebcc106ec9" + "guid": "5277c494-46d7-416f-b358-b7be9f4cb5a8" } }, "Example 2": { @@ -50420,7 +44148,7 @@ "value": { "type": "discrete", "name": "Mean (Updated)", - "guid": "0b7fbe62-0b69-4272-815f-90c6baae4f8a" + "guid": "4bba709c-86fc-48a7-9de9-b7c56809e2e5" } }, "Example 3": { @@ -50428,7 +44156,7 @@ "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": "807162d7-7c1f-4f63-a1e4-74264e9bfc25" + "guid": "b3886282-49d5-49e5-8315-dc113eab1b68" } } } @@ -50445,7 +44173,7 @@ "value": 10.0, "type": "numeric", "name": "Strain 0.1 (Updated)", - "guid": "e1d391ec-1c89-4040-aa42-35ebcc106ec9" + "guid": "5277c494-46d7-416f-b358-b7be9f4cb5a8" } }, "Example 2": { @@ -50454,7 +44182,7 @@ "value": { "type": "discrete", "name": "Mean (Updated)", - "guid": "0b7fbe62-0b69-4272-815f-90c6baae4f8a" + "guid": "4bba709c-86fc-48a7-9de9-b7c56809e2e5" } }, "Example 3": { @@ -50462,7 +44190,7 @@ "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": "807162d7-7c1f-4f63-a1e4-74264e9bfc25" + "guid": "b3886282-49d5-49e5-8315-dc113eab1b68" } } } @@ -50479,7 +44207,7 @@ "value": 10.0, "type": "numeric", "name": "Strain 0.1 (Updated)", - "guid": "e1d391ec-1c89-4040-aa42-35ebcc106ec9" + "guid": "5277c494-46d7-416f-b358-b7be9f4cb5a8" } }, "Example 2": { @@ -50488,7 +44216,7 @@ "value": { "type": "discrete", "name": "Mean (Updated)", - "guid": "0b7fbe62-0b69-4272-815f-90c6baae4f8a" + "guid": "4bba709c-86fc-48a7-9de9-b7c56809e2e5" } }, "Example 3": { @@ -50496,7 +44224,7 @@ "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": "807162d7-7c1f-4f63-a1e4-74264e9bfc25" + "guid": "b3886282-49d5-49e5-8315-dc113eab1b68" } } } @@ -50513,7 +44241,7 @@ "value": 10.0, "type": "numeric", "name": "Strain 0.1 (Updated)", - "guid": "e1d391ec-1c89-4040-aa42-35ebcc106ec9" + "guid": "5277c494-46d7-416f-b358-b7be9f4cb5a8" } }, "Example 2": { @@ -50522,7 +44250,7 @@ "value": { "type": "discrete", "name": "Mean (Updated)", - "guid": "0b7fbe62-0b69-4272-815f-90c6baae4f8a" + "guid": "4bba709c-86fc-48a7-9de9-b7c56809e2e5" } }, "Example 3": { @@ -50530,7 +44258,7 @@ "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": "807162d7-7c1f-4f63-a1e4-74264e9bfc25" + "guid": "b3886282-49d5-49e5-8315-dc113eab1b68" } } } @@ -50554,70 +44282,7 @@ } }, "400": { - "description": "Bad request. Parameter in use.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaParameterValueUpdateException" - }, - "examples": { - "Example 1": { - "summary": "Name already exists.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update the 'A-basis' parameter value with GUID '505b5d32-0a4a-48af-9a7a-90c4caacd35c' on 'Basis' parameter with GUID '7a6ccb7b-8a47-4cab-8203-c741d476560f'. The name was set to 'Mean', which is invalid because there is already a parameter value with that name on this parameter.", - "value": { - "message": "Cannot update parameter value with GUID '505b5d32-0a4a-48af-9a7a-90c4caacd35c' on parameter with GUID '7a6ccb7b-8a47-4cab-8203-c741d476560f'.", - "code": "parameterValueUpdate", - "parameterValueGuid": "505b5d32-0a4a-48af-9a7a-90c4caacd35c", - "parameterGuid": "7a6ccb7b-8a47-4cab-8203-c741d476560f", - "errors": [ - { - "message": "The parameter value name or GUID is not valid.", - "errors": [ - { - "message": "ParameterValue with name 'Mean' already exists in this Parameter.", - "name": "Mean", - "parentEntityType": "parameter", - "reason": "nameAlreadyExists", - "entityType": "parameterValue" - } - ], - "reason": "namedEntity" - } - ] - } - }, - "Example 2": { - "summary": "Multiple validation errors for updating a numeric parameter value", - "description": "This example demonstrates an error response returned for an invalid request that attempted to update Batch Size 1000 parameter value with GUID '00000010-000b-4fff-8fff-0010ffff0000' on 'Batch Size' parameter with GUID '00000010-000a-4fff-8fff-0000ffff0000'. The name was set to 'Batch size A ', which is invalid because it has trailing white space. The parameter value was set to be negative, which is invalid because the parameter scaleType is 'logarithmic'. For a log-scale parameter, all values must be greater than zero.", - "value": { - "message": "Cannot update parameter value with GUID '00000010-000b-4fff-8fff-0010ffff0000' on parameter with GUID '00000010-000a-4fff-8fff-0000ffff0000'.", - "code": "parameterValueUpdate", - "parameterValueGuid": "00000010-000b-4fff-8fff-0010ffff0000", - "parameterGuid": "00000010-000a-4fff-8fff-0000ffff0000", - "errors": [ - { - "message": "For a log-scale parameter, all values must be greater than zero.", - "reason": "logScaleNegative" - }, - { - "message": "Parameter value name cannot contain leading or trailing whitespace.", - "name": "Batch size A ", - "reason": "nameWhitespace" - } - ] - } - }, - "Example 3": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "UpdateNumericParameterValue: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request. Parameter in use." }, "403": { "description": "Forbidden." @@ -50637,12 +44302,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50673,11 +44335,11 @@ "$ref": "#/components/schemas/GsaParameterValueDeletionException" }, "example": { - "message": "Cannot delete parameter value with GUID '21a27377-12eb-413c-bac4-d4ffceda39d1'.", - "code": "deletion", + "message": "Cannot delete parameter value 'Mean' (GUID = '21a27377-12eb-413c-bac4-d4ffceda39d1').", + "code": 400, "errors": [ { - "message": "It is being used as the parameter default value.", + "message": "It is being used in one or more parameters as a default value.", "reason": "usage", "referencedByType": "defaultParameterValue", "referencedBy": [ @@ -50686,11 +44348,6 @@ "guid": "7a6ccb7b-8a47-4cab-8203-c741d476560f" } ] - }, - { - "message": "It is being used by multi-valued point data.", - "reason": "usage", - "referencedByType": "multiValuedPointData" } ] } @@ -50720,12 +44377,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -50855,70 +44509,7 @@ } }, "400": { - "description": "Bad request. Parameter in use.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaParameterValueCreationException" - }, - "examples": { - "Example 1": { - "summary": "Parameter value type does not match the type of the parameter.", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a numeric parameter value with name 'A New Basis' on discrete parameter 'Basis' with GUID '7a6ccb7b-8a47-4cab-8203-c741d476560f'. Discrete parameters cannot have numeric parameter values.", - "value": { - "message": "Cannot create parameter value 'A New Basis' on parameter with GUID '7a6ccb7b-8a47-4cab-8203-c741d476560f'.", - "code": "parameterValueCreation", - "name": "A New Basis", - "parameterGuid": "7a6ccb7b-8a47-4cab-8203-c741d476560f", - "errors": [ - { - "message": "Discrete parameters cannot have numeric parameter values.", - "parameterType": "discrete", - "reason": "parameterValueType" - } - ] - } - }, - "Example 2": { - "summary": "Multiple validation errors for creating a numeric parameter value", - "description": "This example demonstrates an error response returned for an invalid request that attempted to create a numeric parameter value with name 'Batch size A ' on parameter 'Batch Size' with GUID '00000010-000a-4fff-8fff-0000ffff0000'. The name was set to 'Batch size A ', which is invalid because it has trailing white space. The parameter value was set to be negative, which is invalid because the parameter scaleType is 'logarithmic'. For a log-scale parameter, all values must be greater than zero.", - "value": { - "message": "Cannot create parameter value 'Minimum' on parameter with GUID '00000010-000a-4fff-8fff-0000ffff0000'.", - "code": "parameterValueCreation", - "name": "Minimum", - "parameterGuid": "00000010-000a-4fff-8fff-0000ffff0000", - "errors": [ - { - "message": "The parameter value name or GUID is not valid.", - "errors": [ - { - "message": "ParameterValue with name 'Minimum' already exists in this Parameter.", - "name": "Minimum", - "parentEntityType": "parameter", - "reason": "nameAlreadyExists", - "entityType": "parameterValue" - } - ], - "reason": "namedEntity" - }, - { - "message": "For a log-scale parameter, all values must be greater than zero.", - "reason": "logScaleNegative" - } - ] - } - }, - "Example 3": { - "summary": "Invalid JSON", - "description": "The required property 'name' was not provided.", - "value": { - "message": "CreateNumericParameterValue: Required property 'name' not found in JSON", - "code": "jsonSerialization" - } - } - } - } - } + "description": "Bad request. Parameter in use." }, "403": { "description": "Forbidden." @@ -51323,7 +44914,7 @@ "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": "0afa4af1-2c51-4cd0-8f3f-b01c40da5111" + "guid": "495da24b-10f7-4c83-884a-b9d48dc4888f" } }, "Example 3": { @@ -51334,7 +44925,7 @@ "homepageUrl": "TrainingProfiles/TrainingProcesses", "groupName": "MI:Training Profiles", "name": "MI:Training Processes", - "guid": "a2ea229e-7337-40c6-accb-e7b68d0330ad" + "guid": "a7af7711-6ca8-4518-a53d-5443409bcc81" } } } @@ -51356,7 +44947,7 @@ "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": "0afa4af1-2c51-4cd0-8f3f-b01c40da5111" + "guid": "495da24b-10f7-4c83-884a-b9d48dc4888f" } }, "Example 3": { @@ -51367,7 +44958,7 @@ "homepageUrl": "TrainingProfiles/TrainingProcesses", "groupName": "MI:Training Profiles", "name": "MI:Training Processes", - "guid": "a2ea229e-7337-40c6-accb-e7b68d0330ad" + "guid": "a7af7711-6ca8-4518-a53d-5443409bcc81" } } } @@ -51389,7 +44980,7 @@ "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": "0afa4af1-2c51-4cd0-8f3f-b01c40da5111" + "guid": "495da24b-10f7-4c83-884a-b9d48dc4888f" } }, "Example 3": { @@ -51400,7 +44991,7 @@ "homepageUrl": "TrainingProfiles/TrainingProcesses", "groupName": "MI:Training Profiles", "name": "MI:Training Processes", - "guid": "a2ea229e-7337-40c6-accb-e7b68d0330ad" + "guid": "a7af7711-6ca8-4518-a53d-5443409bcc81" } } } @@ -51422,7 +45013,7 @@ "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": "0afa4af1-2c51-4cd0-8f3f-b01c40da5111" + "guid": "495da24b-10f7-4c83-884a-b9d48dc4888f" } }, "Example 3": { @@ -51433,7 +45024,7 @@ "homepageUrl": "TrainingProfiles/TrainingProcesses", "groupName": "MI:Training Profiles", "name": "MI:Training Processes", - "guid": "a2ea229e-7337-40c6-accb-e7b68d0330ad" + "guid": "a7af7711-6ca8-4518-a53d-5443409bcc81" } } } @@ -51575,7 +45166,7 @@ "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": "aa448b9a-b6e8-4691-b2f5-7bba814bd36a" + "guid": "809d9b65-2f38-449c-b2bb-bc51412c5a05" } }, "Example 2": { @@ -51595,7 +45186,7 @@ "81bb4607-e2a3-4c78-81fc-a18a09979c72", "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" ], - "guid": "778bf903-821f-4ce2-b0eb-5e9a6af1fdbf", + "guid": "261da0f2-8ac4-424e-8f37-5457be90a0a1", "groupName": "MI:Training Profiles (Updated)", "name": "MI:Training Metals" } @@ -51611,7 +45202,7 @@ "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": "aa448b9a-b6e8-4691-b2f5-7bba814bd36a" + "guid": "809d9b65-2f38-449c-b2bb-bc51412c5a05" } }, "Example 2": { @@ -51631,7 +45222,7 @@ "81bb4607-e2a3-4c78-81fc-a18a09979c72", "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" ], - "guid": "778bf903-821f-4ce2-b0eb-5e9a6af1fdbf", + "guid": "261da0f2-8ac4-424e-8f37-5457be90a0a1", "groupName": "MI:Training Profiles (Updated)", "name": "MI:Training Metals" } @@ -51647,7 +45238,7 @@ "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": "aa448b9a-b6e8-4691-b2f5-7bba814bd36a" + "guid": "809d9b65-2f38-449c-b2bb-bc51412c5a05" } }, "Example 2": { @@ -51667,7 +45258,7 @@ "81bb4607-e2a3-4c78-81fc-a18a09979c72", "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" ], - "guid": "778bf903-821f-4ce2-b0eb-5e9a6af1fdbf", + "guid": "261da0f2-8ac4-424e-8f37-5457be90a0a1", "groupName": "MI:Training Profiles (Updated)", "name": "MI:Training Metals" } @@ -51683,7 +45274,7 @@ "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": "aa448b9a-b6e8-4691-b2f5-7bba814bd36a" + "guid": "809d9b65-2f38-449c-b2bb-bc51412c5a05" } }, "Example 2": { @@ -51703,7 +45294,7 @@ "81bb4607-e2a3-4c78-81fc-a18a09979c72", "a7cb2018-8410-42fd-ac6a-8bc1b441ba6e" ], - "guid": "778bf903-821f-4ce2-b0eb-5e9a6af1fdbf", + "guid": "261da0f2-8ac4-424e-8f37-5457be90a0a1", "groupName": "MI:Training Profiles (Updated)", "name": "MI:Training Metals" } @@ -51885,7 +45476,7 @@ "value": { "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", - "guid": "6e80aa52-b1ad-4240-93f4-41215832f256" + "guid": "3ac5f791-d924-4f33-a464-11003af41308" } }, "Example 3": { @@ -51896,7 +45487,7 @@ "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", - "guid": "dd289903-5798-4145-a485-52515382ad7e" + "guid": "c97a31a7-6abd-4710-b63d-b974268760ad" } } } @@ -51920,7 +45511,7 @@ "value": { "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", - "guid": "6e80aa52-b1ad-4240-93f4-41215832f256" + "guid": "3ac5f791-d924-4f33-a464-11003af41308" } }, "Example 3": { @@ -51931,7 +45522,7 @@ "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", - "guid": "dd289903-5798-4145-a485-52515382ad7e" + "guid": "c97a31a7-6abd-4710-b63d-b974268760ad" } } } @@ -51955,7 +45546,7 @@ "value": { "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", - "guid": "6e80aa52-b1ad-4240-93f4-41215832f256" + "guid": "3ac5f791-d924-4f33-a464-11003af41308" } }, "Example 3": { @@ -51966,7 +45557,7 @@ "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", - "guid": "dd289903-5798-4145-a485-52515382ad7e" + "guid": "c97a31a7-6abd-4710-b63d-b974268760ad" } } } @@ -51990,7 +45581,7 @@ "value": { "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", - "guid": "6e80aa52-b1ad-4240-93f4-41215832f256" + "guid": "3ac5f791-d924-4f33-a464-11003af41308" } }, "Example 3": { @@ -52001,7 +45592,7 @@ "tableGuid": "bc666ac6-8ac6-482b-9a16-502e6ab3730e", "subsetGuid": "c2a6b6d0-540c-4927-b861-840644fc3968", "layoutGuid": "f8379ae4-a8a8-4329-b9b5-cd0b2d285fd0", - "guid": "dd289903-5798-4145-a485-52515382ad7e" + "guid": "c97a31a7-6abd-4710-b63d-b974268760ad" } } } @@ -52138,7 +45729,7 @@ "value": { "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", - "guid": "92745ea5-08e0-44dc-a4bd-0c40aaec41e0" + "guid": "a795786f-1eb3-425c-89b2-33c9a220e021" } }, "Example 2": { @@ -52153,7 +45744,7 @@ "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": "b417ab62-d541-402e-92f7-061d6b7fc552" + "guid": "779008ab-86bc-41c5-8e36-661f20b898a6" } } } @@ -52169,7 +45760,7 @@ "value": { "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", - "guid": "92745ea5-08e0-44dc-a4bd-0c40aaec41e0" + "guid": "a795786f-1eb3-425c-89b2-33c9a220e021" } }, "Example 2": { @@ -52184,7 +45775,7 @@ "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": "b417ab62-d541-402e-92f7-061d6b7fc552" + "guid": "779008ab-86bc-41c5-8e36-661f20b898a6" } } } @@ -52200,7 +45791,7 @@ "value": { "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", - "guid": "92745ea5-08e0-44dc-a4bd-0c40aaec41e0" + "guid": "a795786f-1eb3-425c-89b2-33c9a220e021" } }, "Example 2": { @@ -52215,7 +45806,7 @@ "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": "b417ab62-d541-402e-92f7-061d6b7fc552" + "guid": "779008ab-86bc-41c5-8e36-661f20b898a6" } } } @@ -52231,7 +45822,7 @@ "value": { "subsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "layoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", - "guid": "92745ea5-08e0-44dc-a4bd-0c40aaec41e0" + "guid": "a795786f-1eb3-425c-89b2-33c9a220e021" } }, "Example 2": { @@ -52246,7 +45837,7 @@ "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": "b417ab62-d541-402e-92f7-061d6b7fc552" + "guid": "779008ab-86bc-41c5-8e36-661f20b898a6" } } } @@ -52336,22 +45927,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -52401,7 +45987,7 @@ }, { "identity": 3, - "type": "smart", + "type": "dynamic", "reverseName": "Smart Link to Training Record", "reverseDisplayNames": { "en": "en-Smart Link to Training Record", @@ -52421,7 +46007,7 @@ "reverseDisplayNames": {}, "displayNames": {}, "name": "MI Training Exercise for Import - Second Training Database And Table", - "guid": "09dbe60b-6925-4f0e-b512-6788542865a2" + "guid": "348e1b77-5a0e-4af4-98f8-1ac1b2bf71a0" } ] } @@ -52443,22 +46029,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -52475,10 +46056,10 @@ "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" }, - "includeIndirectLinks": false, "reverseName": "Material Universe static self link reversed", "name": "Material Universe static self link" } @@ -52488,13 +46069,15 @@ "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" }, - "includeIndirectLinks": true, "reverseName": "Material Universe static link", "name": "Process Universe static link", - "guid": "ee6a9385-82cb-4d56-b999-3005d502de9b" + "guid": "d7e9a538-717b-4e52-be09-8c876d2cec9f" } }, "Example 3": { @@ -52502,10 +46085,10 @@ "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": "71f42988-eb75-4d7e-8c0a-1ad6d4628e65" + "tableGuid": "5978bb8f-8c76-4afe-815b-43daaa5f3597" }, - "includeIndirectLinks": false, "reverseName": "Cross database link to Material Universe", "name": "Cross database link from Material Universe" } @@ -52515,24 +46098,21 @@ "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": "69d88e16-e285-4fae-82bf-72a9871faaa7", - "tableGuid": "8ae09b2a-8288-45c3-a1df-afc0d0f39d2f" + "databaseGuid": "95896dda-35a3-4939-b274-e4f8c4467b6f", + "tableGuid": "a314a81d-c373-4593-8ed7-9b234dd5c97d" }, - "includeIndirectLinks": true, "reverseName": "Cross database link to MI Training - Material Universe", "name": "Cross database link from MI Training - Material Universe", - "guid": "fe8d4f43-47fa-4fa2-a5f2-8a47c36d0f78" + "guid": "63df1e30-1b55-4f91-aa36-7b2b1d682497" } }, "Example 5": { - "summary": "Smart record link group", - "description": "This example demonstrates how to create a new smart 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.", + "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": "smart", - "linkTarget": { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToOne", "attributePairs": [ @@ -52541,18 +46121,18 @@ "attributeTargetGuid": "000002cf-0001-4fff-8fff-dd92ffff0000" } ], - "reverseName": "Material Universe smart self link reversed", - "name": "Material Universe smart self link" + "linkTarget": { + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic self link reversed", + "name": "Material Universe dynamic self link" } }, "Example 6": { - "summary": "Smart record link group with all fields specified", - "description": "This example demonstrates how to create a new smart 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", + "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": "smart", - "linkTarget": { - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": true, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -52565,9 +46145,14 @@ "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" } ], - "reverseName": "Material Universe smart link", - "name": "Process Universe smart link", - "guid": "5ef9c2f3-bfa6-480c-b3a4-82e49102f3e1" + "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": "815dde83-1250-4256-a128-40c83878e392" } } } @@ -52582,10 +46167,10 @@ "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" }, - "includeIndirectLinks": false, "reverseName": "Material Universe static self link reversed", "name": "Material Universe static self link" } @@ -52595,13 +46180,15 @@ "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" }, - "includeIndirectLinks": true, "reverseName": "Material Universe static link", "name": "Process Universe static link", - "guid": "ee6a9385-82cb-4d56-b999-3005d502de9b" + "guid": "d7e9a538-717b-4e52-be09-8c876d2cec9f" } }, "Example 3": { @@ -52609,10 +46196,10 @@ "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": "71f42988-eb75-4d7e-8c0a-1ad6d4628e65" + "tableGuid": "5978bb8f-8c76-4afe-815b-43daaa5f3597" }, - "includeIndirectLinks": false, "reverseName": "Cross database link to Material Universe", "name": "Cross database link from Material Universe" } @@ -52622,24 +46209,21 @@ "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": "69d88e16-e285-4fae-82bf-72a9871faaa7", - "tableGuid": "8ae09b2a-8288-45c3-a1df-afc0d0f39d2f" + "databaseGuid": "95896dda-35a3-4939-b274-e4f8c4467b6f", + "tableGuid": "a314a81d-c373-4593-8ed7-9b234dd5c97d" }, - "includeIndirectLinks": true, "reverseName": "Cross database link to MI Training - Material Universe", "name": "Cross database link from MI Training - Material Universe", - "guid": "fe8d4f43-47fa-4fa2-a5f2-8a47c36d0f78" + "guid": "63df1e30-1b55-4f91-aa36-7b2b1d682497" } }, "Example 5": { - "summary": "Smart record link group", - "description": "This example demonstrates how to create a new smart 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.", + "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": "smart", - "linkTarget": { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToOne", "attributePairs": [ @@ -52648,18 +46232,18 @@ "attributeTargetGuid": "000002cf-0001-4fff-8fff-dd92ffff0000" } ], - "reverseName": "Material Universe smart self link reversed", - "name": "Material Universe smart self link" + "linkTarget": { + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic self link reversed", + "name": "Material Universe dynamic self link" } }, "Example 6": { - "summary": "Smart record link group with all fields specified", - "description": "This example demonstrates how to create a new smart 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", + "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": "smart", - "linkTarget": { - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": true, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -52672,9 +46256,14 @@ "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" } ], - "reverseName": "Material Universe smart link", - "name": "Process Universe smart link", - "guid": "5ef9c2f3-bfa6-480c-b3a4-82e49102f3e1" + "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": "815dde83-1250-4256-a128-40c83878e392" } } } @@ -52689,10 +46278,10 @@ "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" }, - "includeIndirectLinks": false, "reverseName": "Material Universe static self link reversed", "name": "Material Universe static self link" } @@ -52702,13 +46291,15 @@ "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" }, - "includeIndirectLinks": true, "reverseName": "Material Universe static link", "name": "Process Universe static link", - "guid": "ee6a9385-82cb-4d56-b999-3005d502de9b" + "guid": "d7e9a538-717b-4e52-be09-8c876d2cec9f" } }, "Example 3": { @@ -52716,10 +46307,10 @@ "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": "71f42988-eb75-4d7e-8c0a-1ad6d4628e65" + "tableGuid": "5978bb8f-8c76-4afe-815b-43daaa5f3597" }, - "includeIndirectLinks": false, "reverseName": "Cross database link to Material Universe", "name": "Cross database link from Material Universe" } @@ -52729,24 +46320,21 @@ "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": "69d88e16-e285-4fae-82bf-72a9871faaa7", - "tableGuid": "8ae09b2a-8288-45c3-a1df-afc0d0f39d2f" + "databaseGuid": "95896dda-35a3-4939-b274-e4f8c4467b6f", + "tableGuid": "a314a81d-c373-4593-8ed7-9b234dd5c97d" }, - "includeIndirectLinks": true, "reverseName": "Cross database link to MI Training - Material Universe", "name": "Cross database link from MI Training - Material Universe", - "guid": "fe8d4f43-47fa-4fa2-a5f2-8a47c36d0f78" + "guid": "63df1e30-1b55-4f91-aa36-7b2b1d682497" } }, "Example 5": { - "summary": "Smart record link group", - "description": "This example demonstrates how to create a new smart 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.", + "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": "smart", - "linkTarget": { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToOne", "attributePairs": [ @@ -52755,18 +46343,18 @@ "attributeTargetGuid": "000002cf-0001-4fff-8fff-dd92ffff0000" } ], - "reverseName": "Material Universe smart self link reversed", - "name": "Material Universe smart self link" + "linkTarget": { + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic self link reversed", + "name": "Material Universe dynamic self link" } }, "Example 6": { - "summary": "Smart record link group with all fields specified", - "description": "This example demonstrates how to create a new smart 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", + "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": "smart", - "linkTarget": { - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": true, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -52779,9 +46367,14 @@ "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" } ], - "reverseName": "Material Universe smart link", - "name": "Process Universe smart link", - "guid": "5ef9c2f3-bfa6-480c-b3a4-82e49102f3e1" + "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": "815dde83-1250-4256-a128-40c83878e392" } } } @@ -52796,10 +46389,10 @@ "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" }, - "includeIndirectLinks": false, "reverseName": "Material Universe static self link reversed", "name": "Material Universe static self link" } @@ -52809,13 +46402,15 @@ "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" }, - "includeIndirectLinks": true, "reverseName": "Material Universe static link", "name": "Process Universe static link", - "guid": "ee6a9385-82cb-4d56-b999-3005d502de9b" + "guid": "d7e9a538-717b-4e52-be09-8c876d2cec9f" } }, "Example 3": { @@ -52823,10 +46418,10 @@ "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": "71f42988-eb75-4d7e-8c0a-1ad6d4628e65" + "tableGuid": "5978bb8f-8c76-4afe-815b-43daaa5f3597" }, - "includeIndirectLinks": false, "reverseName": "Cross database link to Material Universe", "name": "Cross database link from Material Universe" } @@ -52836,24 +46431,21 @@ "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": "69d88e16-e285-4fae-82bf-72a9871faaa7", - "tableGuid": "8ae09b2a-8288-45c3-a1df-afc0d0f39d2f" + "databaseGuid": "95896dda-35a3-4939-b274-e4f8c4467b6f", + "tableGuid": "a314a81d-c373-4593-8ed7-9b234dd5c97d" }, - "includeIndirectLinks": true, "reverseName": "Cross database link to MI Training - Material Universe", "name": "Cross database link from MI Training - Material Universe", - "guid": "fe8d4f43-47fa-4fa2-a5f2-8a47c36d0f78" + "guid": "63df1e30-1b55-4f91-aa36-7b2b1d682497" } }, "Example 5": { - "summary": "Smart record link group", - "description": "This example demonstrates how to create a new smart 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.", + "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": "smart", - "linkTarget": { - "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToOne", "attributePairs": [ @@ -52862,18 +46454,18 @@ "attributeTargetGuid": "000002cf-0001-4fff-8fff-dd92ffff0000" } ], - "reverseName": "Material Universe smart self link reversed", - "name": "Material Universe smart self link" + "linkTarget": { + "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" + }, + "reverseName": "Material Universe dynamic self link reversed", + "name": "Material Universe dynamic self link" } }, "Example 6": { - "summary": "Smart record link group with all fields specified", - "description": "This example demonstrates how to create a new smart 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", + "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": "smart", - "linkTarget": { - "tableGuid": "00003248-0011-4fff-8fff-0000ffff0000" - }, + "type": "dynamic", "forbidOrphans": true, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -52886,9 +46478,14 @@ "attributeTargetGuid": "000000cf-0001-4fff-8fff-3248ffff0000" } ], - "reverseName": "Material Universe smart link", - "name": "Process Universe smart link", - "guid": "5ef9c2f3-bfa6-480c-b3a4-82e49102f3e1" + "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": "815dde83-1250-4256-a128-40c83878e392" } } } @@ -52943,8 +46540,8 @@ "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, "linkTarget": { - "databaseGuid": "431a33fc-310b-4357-ac42-a8b220d0b14a", - "tableGuid": "8dbaac14-2a35-43d6-be19-549892fb0d4a" + "databaseGuid": "e45b3541-5a7d-4478-81bd-77eb4b2b5308", + "tableGuid": "da4fed24-833c-4e53-9a43-cdbf5cf257ef" } }, "identity": 1, @@ -52952,14 +46549,14 @@ "reverseDisplayNames": {}, "displayNames": {}, "name": "Different database - different table", - "guid": "fae5c59b-a81f-4af3-a8e4-1e676b92d0ac" + "guid": "d281e035-9515-4bae-8ead-8e32ad8da1df" } }, "Example 6": { - "summary": "Smart record link group", - "description": "This example demonstrates the returned value from getting a 'Tensile test data' smart record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", + "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": "smart", + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -52967,7 +46564,6 @@ "attributeSource": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "7db2ff8e-54ed-45d6-b522-e03c8be405b3" }, @@ -52978,7 +46574,6 @@ "attributeTarget": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0dd5348e-72f3-4bcb-bb38-621e5953a333" }, @@ -53035,22 +46630,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -53066,12 +46656,12 @@ { "name": "record-link-group-type", "in": "path", - "description": "The record link group type as entered.", + "description": "The record link group type.", "required": true, "schema": { "enum": [ "static", - "smart", + "dynamic", "crossDatabase" ], "type": "string" @@ -53150,8 +46740,8 @@ "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, "linkTarget": { - "databaseGuid": "ea86bf1e-535c-434c-b8fa-b0465339406b", - "tableGuid": "2d658efe-889a-4e3e-b6c4-275e61c05f01" + "databaseGuid": "003306fa-ddea-4fd3-9507-c76c0352ffc9", + "tableGuid": "57bee7c4-bb3d-4781-807c-50984d042f61" } }, "identity": 1, @@ -53159,14 +46749,14 @@ "reverseDisplayNames": {}, "displayNames": {}, "name": "Different database - different table", - "guid": "9fef85d7-4496-4912-a4b9-c4145e2f96c8" + "guid": "e727f261-04c8-432a-bef6-24b55d413860" } }, "Example 3": { - "summary": "Smart record link group", - "description": "This example demonstrates the returned value from getting a 'Tensile test data' smart record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", + "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": "smart", + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -53174,7 +46764,6 @@ "attributeSource": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "7db2ff8e-54ed-45d6-b522-e03c8be405b3" }, @@ -53185,7 +46774,6 @@ "attributeTarget": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0dd5348e-72f3-4bcb-bb38-621e5953a333" }, @@ -53234,22 +46822,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -53265,12 +46848,12 @@ { "name": "record-link-group-type", "in": "path", - "description": "The record link group type as entered.", + "description": "The record link group type.", "required": true, "schema": { "enum": [ "static", - "smart", + "dynamic", "crossDatabase" ], "type": "string" @@ -53301,22 +46884,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -53342,7 +46920,7 @@ "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": "8f980c9d-8c9c-4d9a-a9a7-87a7e126718e" + "guid": "e99042e3-83ec-456c-a0e1-390bb12cd716" } }, "Example 2": { @@ -53362,7 +46940,7 @@ "type": "static", "reverseName": "Fatigue Statistical Data (updated)", "name": "Fatigue Test Data (updated)", - "guid": "70ba829a-0faf-4165-a0ad-3c588701ff1b" + "guid": "01e453ed-3cfa-4980-b4ba-1ac71283d61c" } }, "Example 4": { @@ -53373,12 +46951,12 @@ "type": "crossDatabase", "reverseName": "Link To MI Training - Material Universe (Updated)", "name": "Link From MI Training - Material Universe (Updated)", - "guid": "0a4ee071-6836-4207-9eb6-ff232091cf8c" + "guid": "3508fb92-941c-430e-b4e7-1ceff3fe1eb4" } }, "Example 5": { - "summary": "Update everything for smart record link group", - "description": "This example demonstrates how to update all properties of 'Tensile test data' smart 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.", + "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", @@ -53392,10 +46970,10 @@ "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" } ], - "type": "smart", + "type": "dynamic", "reverseName": "Further panel information (Updated)", "name": "Tensile test data (Updated)", - "guid": "edd3a6c1-3f07-4f78-8a3a-eb0188380def" + "guid": "ae181555-ed0f-46d2-a1f2-761461d7b240" } } } @@ -53410,7 +46988,7 @@ "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": "8f980c9d-8c9c-4d9a-a9a7-87a7e126718e" + "guid": "e99042e3-83ec-456c-a0e1-390bb12cd716" } }, "Example 2": { @@ -53430,7 +47008,7 @@ "type": "static", "reverseName": "Fatigue Statistical Data (updated)", "name": "Fatigue Test Data (updated)", - "guid": "70ba829a-0faf-4165-a0ad-3c588701ff1b" + "guid": "01e453ed-3cfa-4980-b4ba-1ac71283d61c" } }, "Example 4": { @@ -53441,12 +47019,12 @@ "type": "crossDatabase", "reverseName": "Link To MI Training - Material Universe (Updated)", "name": "Link From MI Training - Material Universe (Updated)", - "guid": "0a4ee071-6836-4207-9eb6-ff232091cf8c" + "guid": "3508fb92-941c-430e-b4e7-1ceff3fe1eb4" } }, "Example 5": { - "summary": "Update everything for smart record link group", - "description": "This example demonstrates how to update all properties of 'Tensile test data' smart 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.", + "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", @@ -53460,10 +47038,10 @@ "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" } ], - "type": "smart", + "type": "dynamic", "reverseName": "Further panel information (Updated)", "name": "Tensile test data (Updated)", - "guid": "edd3a6c1-3f07-4f78-8a3a-eb0188380def" + "guid": "ae181555-ed0f-46d2-a1f2-761461d7b240" } } } @@ -53478,7 +47056,7 @@ "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": "8f980c9d-8c9c-4d9a-a9a7-87a7e126718e" + "guid": "e99042e3-83ec-456c-a0e1-390bb12cd716" } }, "Example 2": { @@ -53498,7 +47076,7 @@ "type": "static", "reverseName": "Fatigue Statistical Data (updated)", "name": "Fatigue Test Data (updated)", - "guid": "70ba829a-0faf-4165-a0ad-3c588701ff1b" + "guid": "01e453ed-3cfa-4980-b4ba-1ac71283d61c" } }, "Example 4": { @@ -53509,12 +47087,12 @@ "type": "crossDatabase", "reverseName": "Link To MI Training - Material Universe (Updated)", "name": "Link From MI Training - Material Universe (Updated)", - "guid": "0a4ee071-6836-4207-9eb6-ff232091cf8c" + "guid": "3508fb92-941c-430e-b4e7-1ceff3fe1eb4" } }, "Example 5": { - "summary": "Update everything for smart record link group", - "description": "This example demonstrates how to update all properties of 'Tensile test data' smart 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.", + "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", @@ -53528,10 +47106,10 @@ "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" } ], - "type": "smart", + "type": "dynamic", "reverseName": "Further panel information (Updated)", "name": "Tensile test data (Updated)", - "guid": "edd3a6c1-3f07-4f78-8a3a-eb0188380def" + "guid": "ae181555-ed0f-46d2-a1f2-761461d7b240" } } } @@ -53546,7 +47124,7 @@ "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": "8f980c9d-8c9c-4d9a-a9a7-87a7e126718e" + "guid": "e99042e3-83ec-456c-a0e1-390bb12cd716" } }, "Example 2": { @@ -53566,7 +47144,7 @@ "type": "static", "reverseName": "Fatigue Statistical Data (updated)", "name": "Fatigue Test Data (updated)", - "guid": "70ba829a-0faf-4165-a0ad-3c588701ff1b" + "guid": "01e453ed-3cfa-4980-b4ba-1ac71283d61c" } }, "Example 4": { @@ -53577,12 +47155,12 @@ "type": "crossDatabase", "reverseName": "Link To MI Training - Material Universe (Updated)", "name": "Link From MI Training - Material Universe (Updated)", - "guid": "0a4ee071-6836-4207-9eb6-ff232091cf8c" + "guid": "3508fb92-941c-430e-b4e7-1ceff3fe1eb4" } }, "Example 5": { - "summary": "Update everything for smart record link group", - "description": "This example demonstrates how to update all properties of 'Tensile test data' smart 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.", + "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", @@ -53596,10 +47174,10 @@ "attributeTargetGuid": "61796104-14e0-4d59-bdba-22a9277f4775" } ], - "type": "smart", + "type": "dynamic", "reverseName": "Further panel information (Updated)", "name": "Tensile test data (Updated)", - "guid": "edd3a6c1-3f07-4f78-8a3a-eb0188380def" + "guid": "ae181555-ed0f-46d2-a1f2-761461d7b240" } } } @@ -53654,8 +47232,8 @@ "tableGuid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, "linkTarget": { - "databaseGuid": "8e3e2d7a-3b4a-4931-a0c0-e8de7ce843f6", - "tableGuid": "a5bdba7f-b910-4e51-b3cc-b7ace943507b" + "databaseGuid": "9cc7f465-1a82-496e-91aa-ca6ec9d17ee7", + "tableGuid": "e34f2b99-6b99-40eb-8662-e7bee82e1a9b" } }, "identity": 1, @@ -53663,14 +47241,14 @@ "reverseDisplayNames": {}, "displayNames": {}, "name": "Different database - different table", - "guid": "dbd3299b-65d8-49e7-87b6-6795a5e9c06b" + "guid": "33e333cd-9468-40ab-8744-d420c96f24e3" } }, "Example 9": { - "summary": "Smart record link group", - "description": "This example demonstrates the returned value from getting a 'Tensile test data' smart record link group (GUID = '5b8fca7e-b8e7-4fc6-8e02-642b3fb3218f') from 'Composite Pedigree' table (GUID = '7db2ff8e-54ed-45d6-b522-e03c8be405b3') from MI_Training database.", + "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": "smart", + "type": "dynamic", "forbidOrphans": false, "referentialIntegrityModel": "oneToMany", "attributePairs": [ @@ -53678,7 +47256,6 @@ "attributeSource": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "7db2ff8e-54ed-45d6-b522-e03c8be405b3" }, @@ -53689,7 +47266,6 @@ "attributeTarget": { "type": "shortText", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0dd5348e-72f3-4bcb-bb38-621e5953a333" }, @@ -53749,9 +47325,7 @@ "description": "Database in which replacement strings will be searched for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -53792,9 +47366,7 @@ "description": "Database in which replacement string will be created", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -53820,7 +47392,7 @@ "value": { "value": "https://grantadesign.com/industry/support/granta-mi/{a:My Granta web folder}", "name": "Links to GRANTA MI support on the ANSYS Granta website", - "guid": "3f5fbdc9-33f9-41f0-b3b2-fb6a72f56ea7" + "guid": "9b0f025c-7504-419c-9e53-67b22262b1b1" } } } @@ -53844,7 +47416,7 @@ "value": { "value": "https://grantadesign.com/industry/support/granta-mi/{a:My Granta web folder}", "name": "Links to GRANTA MI support on the ANSYS Granta website", - "guid": "3f5fbdc9-33f9-41f0-b3b2-fb6a72f56ea7" + "guid": "9b0f025c-7504-419c-9e53-67b22262b1b1" } } } @@ -53868,7 +47440,7 @@ "value": { "value": "https://grantadesign.com/industry/support/granta-mi/{a:My Granta web folder}", "name": "Links to GRANTA MI support on the ANSYS Granta website", - "guid": "3f5fbdc9-33f9-41f0-b3b2-fb6a72f56ea7" + "guid": "9b0f025c-7504-419c-9e53-67b22262b1b1" } } } @@ -53892,7 +47464,7 @@ "value": { "value": "https://grantadesign.com/industry/support/granta-mi/{a:My Granta web folder}", "name": "Links to GRANTA MI support on the ANSYS Granta website", - "guid": "3f5fbdc9-33f9-41f0-b3b2-fb6a72f56ea7" + "guid": "9b0f025c-7504-419c-9e53-67b22262b1b1" } } } @@ -53941,9 +47513,7 @@ "description": "Database in which replacement string will be searched for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -53991,9 +47561,7 @@ "description": "Database in which replacement string will be search for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -54021,7 +47589,7 @@ "value": { "value": "New value for replacement string", "name": "New name for replacement string", - "guid": "c8c456a0-dac7-4d5d-96c3-47df59771687" + "guid": "3d4bb21e-19a6-4bc4-a2a3-de630eaa63ea" } }, "Example 2": { @@ -54051,7 +47619,7 @@ "value": { "value": "New value for replacement string", "name": "New name for replacement string", - "guid": "c8c456a0-dac7-4d5d-96c3-47df59771687" + "guid": "3d4bb21e-19a6-4bc4-a2a3-de630eaa63ea" } }, "Example 2": { @@ -54081,7 +47649,7 @@ "value": { "value": "New value for replacement string", "name": "New name for replacement string", - "guid": "c8c456a0-dac7-4d5d-96c3-47df59771687" + "guid": "3d4bb21e-19a6-4bc4-a2a3-de630eaa63ea" } }, "Example 2": { @@ -54111,7 +47679,7 @@ "value": { "value": "New value for replacement string", "name": "New name for replacement string", - "guid": "c8c456a0-dac7-4d5d-96c3-47df59771687" + "guid": "3d4bb21e-19a6-4bc4-a2a3-de630eaa63ea" } }, "Example 2": { @@ -54172,9 +47740,7 @@ "description": "Database in which replacement string will be search for", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -54212,12 +47778,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -54247,12 +47810,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -54311,7 +47871,7 @@ "value": { "mappedCrossDatabaseRecordLinkGroups": [ { - "guid": "43f63bf9-e560-488e-8138-3590d4db1233" + "guid": "f98b620f-18b1-4fef-95b7-f39ab949bc7c" } ], "name": "Unification" @@ -54392,7 +47952,7 @@ "value": { "mappedCrossDatabaseRecordLinkGroups": [ { - "guid": "43f63bf9-e560-488e-8138-3590d4db1233" + "guid": "f98b620f-18b1-4fef-95b7-f39ab949bc7c" } ], "name": "Unification" @@ -54473,7 +48033,7 @@ "value": { "mappedCrossDatabaseRecordLinkGroups": [ { - "guid": "43f63bf9-e560-488e-8138-3590d4db1233" + "guid": "f98b620f-18b1-4fef-95b7-f39ab949bc7c" } ], "name": "Unification" @@ -54554,7 +48114,7 @@ "value": { "mappedCrossDatabaseRecordLinkGroups": [ { - "guid": "43f63bf9-e560-488e-8138-3590d4db1233" + "guid": "f98b620f-18b1-4fef-95b7-f39ab949bc7c" } ], "name": "Unification" @@ -54618,12 +48178,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -54662,12 +48219,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -54698,7 +48252,7 @@ "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": "dc638c53-90ae-4d12-9187-10f133c96b55" + "guid": "349a8da1-9492-43cf-b781-9ef13a64afbe" } }, "Example 3": { @@ -54748,7 +48302,7 @@ "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": "dc638c53-90ae-4d12-9187-10f133c96b55" + "guid": "349a8da1-9492-43cf-b781-9ef13a64afbe" } }, "Example 3": { @@ -54798,7 +48352,7 @@ "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": "dc638c53-90ae-4d12-9187-10f133c96b55" + "guid": "349a8da1-9492-43cf-b781-9ef13a64afbe" } }, "Example 3": { @@ -54848,7 +48402,7 @@ "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": "dc638c53-90ae-4d12-9187-10f133c96b55" + "guid": "349a8da1-9492-43cf-b781-9ef13a64afbe" } }, "Example 3": { @@ -54916,12 +48470,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -54961,22 +48512,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55053,22 +48599,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -55092,7 +48633,7 @@ "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": "0df837ee-0fd5-4227-a841-adcd408f70e2" + "guid": "3922c4cc-c79d-48a5-bb13-616fab14c348" } }, "Example 3": { @@ -55124,7 +48665,7 @@ "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": "0df837ee-0fd5-4227-a841-adcd408f70e2" + "guid": "3922c4cc-c79d-48a5-bb13-616fab14c348" } }, "Example 3": { @@ -55156,7 +48697,7 @@ "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": "0df837ee-0fd5-4227-a841-adcd408f70e2" + "guid": "3922c4cc-c79d-48a5-bb13-616fab14c348" } }, "Example 3": { @@ -55188,7 +48729,7 @@ "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": "0df837ee-0fd5-4227-a841-adcd408f70e2" + "guid": "3922c4cc-c79d-48a5-bb13-616fab14c348" } }, "Example 3": { @@ -55248,22 +48789,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55343,22 +48879,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55387,7 +48918,7 @@ "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" }, "name": "Ceramics (Updated)", - "guid": "162ae494-84a5-449e-8c51-00435d2949d2" + "guid": "35ab8b67-7353-47ff-8c5d-b35384068f4c" } }, "Example 2": { @@ -55428,7 +48959,7 @@ "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" }, "name": "Ceramics (Updated)", - "guid": "162ae494-84a5-449e-8c51-00435d2949d2" + "guid": "35ab8b67-7353-47ff-8c5d-b35384068f4c" } }, "Example 2": { @@ -55469,7 +49000,7 @@ "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" }, "name": "Ceramics (Updated)", - "guid": "162ae494-84a5-449e-8c51-00435d2949d2" + "guid": "35ab8b67-7353-47ff-8c5d-b35384068f4c" } }, "Example 2": { @@ -55510,7 +49041,7 @@ "guid": "0000b135-0009-4fff-8fff-dd92ffff0000" }, "name": "Ceramics (Updated)", - "guid": "162ae494-84a5-449e-8c51-00435d2949d2" + "guid": "35ab8b67-7353-47ff-8c5d-b35384068f4c" } }, "Example 2": { @@ -55588,22 +49119,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55644,22 +49170,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55796,22 +49317,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -55912,12 +49428,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -55956,7 +49469,6 @@ "example": { "tables": [ { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -55972,7 +49484,6 @@ "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, { - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -56003,12 +49514,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -56035,7 +49543,7 @@ "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "name": "Coatings (Guid)", - "guid": "fe5b9b3d-7cf1-4094-9566-6e9ba5f13c67" + "guid": "1734c3bd-a7e2-4eda-8269-67329ec46068" } }, "Example 3": { @@ -56070,7 +49578,7 @@ "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "name": "Coatings (Guid)", - "guid": "fe5b9b3d-7cf1-4094-9566-6e9ba5f13c67" + "guid": "1734c3bd-a7e2-4eda-8269-67329ec46068" } }, "Example 3": { @@ -56105,7 +49613,7 @@ "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "name": "Coatings (Guid)", - "guid": "fe5b9b3d-7cf1-4094-9566-6e9ba5f13c67" + "guid": "1734c3bd-a7e2-4eda-8269-67329ec46068" } }, "Example 3": { @@ -56140,7 +49648,7 @@ "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "name": "Coatings (Guid)", - "guid": "fe5b9b3d-7cf1-4094-9566-6e9ba5f13c67" + "guid": "1734c3bd-a7e2-4eda-8269-67329ec46068" } }, "Example 3": { @@ -56166,7 +49674,6 @@ }, "example": { "versionState": "unversioned", - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -56201,22 +49708,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -56319,7 +49821,6 @@ } ], "versionState": "unversioned", - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": false, @@ -56348,22 +49849,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -56384,7 +49880,7 @@ "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", "name": "MaterialUniverse (Updated)", - "guid": "5478fd15-5411-44fb-acad-31c12b4ce30f" + "guid": "d8738f99-a08a-4f7a-8cdf-f53020cd4493" } }, "Example 2": { @@ -56445,7 +49941,7 @@ "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", "name": "MaterialUniverse (Updated)", - "guid": "5478fd15-5411-44fb-acad-31c12b4ce30f" + "guid": "d8738f99-a08a-4f7a-8cdf-f53020cd4493" } }, "Example 2": { @@ -56506,7 +50002,7 @@ "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", "name": "MaterialUniverse (Updated)", - "guid": "5478fd15-5411-44fb-acad-31c12b4ce30f" + "guid": "d8738f99-a08a-4f7a-8cdf-f53020cd4493" } }, "Example 2": { @@ -56567,7 +50063,7 @@ "defaultSubsetGuid": "00000b36-0010-4fff-8fff-dd92ffff0000", "defaultLayoutGuid": "00000b36-0009-4fff-8fff-dd92ffff0000", "name": "MaterialUniverse (Updated)", - "guid": "5478fd15-5411-44fb-acad-31c12b4ce30f" + "guid": "d8738f99-a08a-4f7a-8cdf-f53020cd4493" } }, "Example 2": { @@ -56646,7 +50142,6 @@ } ], "versionState": "unreleased", - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -56677,22 +50172,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -56706,8 +50196,8 @@ "$ref": "#/components/schemas/GsaTableDeletionException" }, "example": { - "message": "Cannot delete table with GUID 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'.", - "code": "deletion", + "message": "Cannot delete table 'Restricted Substances' (GUID = 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f').", + "code": 400, "errors": [ { "message": "It is being used in one or more tabular attributes.", @@ -56717,7 +50207,6 @@ { "type": "tabular", "isHiddenFromSearchCriteria": false, - "isProtected": false, "table": { "guid": "0000dd92-0011-4fff-8fff-0000ffff0000" }, @@ -56754,22 +50243,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -56804,7 +50288,6 @@ } ], "versionState": "released", - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -56827,7 +50310,7 @@ "description": "A table can only be released if it is currently unreleased.", "value": { "message": "Cannot release table with GUID 'fa7aff0f-cac8-4c1d-be1f-d3b83f0ed74f'.", - "code": "releaseTableVersionControl", + "code": 400, "errors": [ { "message": "Invalid version state 'Released'.", @@ -56841,7 +50324,7 @@ "summary": "Table is not version controlled.", "value": { "message": "Cannot release table with GUID '0000dd92-0011-4fff-8fff-0000ffff0000'.", - "code": "releaseTableVersionControl", + "code": 400, "errors": [ { "message": "Table is not version controlled.", @@ -56874,22 +50357,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } } @@ -56924,7 +50402,6 @@ } ], "versionState": "unreleased", - "databaseKey": "MI_TRAINING", "isHiddenFromBrowse": false, "isHiddenFromSearch": false, "isVersioned": true, @@ -56957,22 +50434,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -57023,6 +50495,7 @@ "example": { "links": [ { + "identity": 115, "type": "recordLink", "reverseName": "Training Exercise", "reverseDisplayNames": {}, @@ -57043,7 +50516,8 @@ "guid": "00e07ec0-695e-4ca3-bf1d-3bbeef126949" }, { - "type": "smartLink", + "identity": 3, + "type": "dynamicLink", "reverseName": "Smart Link to Training Record", "reverseDisplayNames": { "en": "en-Smart Link to Training Record", @@ -57069,14 +50543,15 @@ "guid": "7bf0d4d5-6896-4a10-b7a1-d1fe4e533e66" }, { + "identity": 1, "type": "crossDatabaseLink", "reverseName": "Cross database link group : MI Training MaterialUniverse - Second Training Database And Table", "reverseDisplayNames": {}, "linkInfo": { "linkSource": { - "databaseGuid": "a99b0e1e-46f3-4942-b1c3-12ab65c5f099", - "databaseVersionGuid": "1bf26d00-d61d-4b8f-bd5a-2f338fdcb211", - "tableGuid": "e62113ac-a4e3-4437-9357-5bb7116c2f17" + "databaseGuid": "750e915c-2386-46ec-97aa-efc3ebd4baff", + "databaseVersionGuid": "2fcfc32c-460e-44a0-85e9-e1083a55e5e1", + "tableGuid": "0b1b3509-a897-41c8-aa1f-12efeec26754" }, "linkTarget": { "databaseGuid": "43a43640-4919-428a-bac9-16efbc4ce6ed", @@ -57086,9 +50561,10 @@ }, "displayNames": {}, "name": "Cross database link group : Second Training Database And Table - MI Training MaterialUniverse", - "guid": "a2c9e8ec-7b61-4f3f-ab92-69f9ff37e80a" + "guid": "335098e6-7c81-4623-b4e5-f35fdb4a07f1" }, { + "identity": 8944, "type": "tabularAttribute", "reverseName": "Environmental performances overview", "reverseDisplayNames": {}, @@ -57130,12 +50606,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57406,12 +50879,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -57520,12 +50990,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57566,12 +51033,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57623,12 +51087,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -57658,12 +51119,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -57725,12 +51183,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57769,12 +51224,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57843,12 +51295,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57888,12 +51337,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57934,12 +51380,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -57980,12 +51423,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -58015,12 +51455,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -58036,7 +51473,7 @@ "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": "f85e3db7-8fd2-4f67-ab02-00646d88ae67" + "guid": "80d89d82-ff52-4fa0-ac55-ea0debe616ca" } } } @@ -58051,7 +51488,7 @@ "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": "f85e3db7-8fd2-4f67-ab02-00646d88ae67" + "guid": "80d89d82-ff52-4fa0-ac55-ea0debe616ca" } } } @@ -58066,7 +51503,7 @@ "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": "f85e3db7-8fd2-4f67-ab02-00646d88ae67" + "guid": "80d89d82-ff52-4fa0-ac55-ea0debe616ca" } } } @@ -58081,7 +51518,7 @@ "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": "f85e3db7-8fd2-4f67-ab02-00646d88ae67" + "guid": "80d89d82-ff52-4fa0-ac55-ea0debe616ca" } } } @@ -58122,12 +51559,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -58166,12 +51600,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -58196,7 +51627,7 @@ "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": "de1e058f-990b-411e-93ff-e4d48f7787d2" + "guid": "a8126dc5-2913-45fb-a20a-2c282b9017e3" } }, "Example 2": { @@ -58210,7 +51641,7 @@ "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": "436b0c19-1664-4c45-a5c9-a07353b4b022" + "guid": "ae2da945-92dd-40e3-8850-34cdb321b9cf" } } } @@ -58225,7 +51656,7 @@ "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": "de1e058f-990b-411e-93ff-e4d48f7787d2" + "guid": "a8126dc5-2913-45fb-a20a-2c282b9017e3" } }, "Example 2": { @@ -58239,7 +51670,7 @@ "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": "436b0c19-1664-4c45-a5c9-a07353b4b022" + "guid": "ae2da945-92dd-40e3-8850-34cdb321b9cf" } } } @@ -58254,7 +51685,7 @@ "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": "de1e058f-990b-411e-93ff-e4d48f7787d2" + "guid": "a8126dc5-2913-45fb-a20a-2c282b9017e3" } }, "Example 2": { @@ -58268,7 +51699,7 @@ "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": "436b0c19-1664-4c45-a5c9-a07353b4b022" + "guid": "ae2da945-92dd-40e3-8850-34cdb321b9cf" } } } @@ -58283,7 +51714,7 @@ "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": "de1e058f-990b-411e-93ff-e4d48f7787d2" + "guid": "a8126dc5-2913-45fb-a20a-2c282b9017e3" } }, "Example 2": { @@ -58297,7 +51728,7 @@ "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": "436b0c19-1664-4c45-a5c9-a07353b4b022" + "guid": "ae2da945-92dd-40e3-8850-34cdb321b9cf" } } } @@ -58336,12 +51767,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -58381,12 +51809,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -58762,8 +52187,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d0718ee5-add6-421b-b23e-ce0a55599d95", - "3091a0ae-6ff9-44c3-a3f5-7d30bcbc04b2" + "54f1d64b-4af8-4eb7-ae41-5e7c1542445f", + "2d4ea212-aab5-488b-a2d6-121e94080028" ], "type": "recordListMember" }, @@ -59563,8 +52988,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d0718ee5-add6-421b-b23e-ce0a55599d95", - "3091a0ae-6ff9-44c3-a3f5-7d30bcbc04b2" + "54f1d64b-4af8-4eb7-ae41-5e7c1542445f", + "2d4ea212-aab5-488b-a2d6-121e94080028" ], "type": "recordListMember" }, @@ -60364,8 +53789,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d0718ee5-add6-421b-b23e-ce0a55599d95", - "3091a0ae-6ff9-44c3-a3f5-7d30bcbc04b2" + "54f1d64b-4af8-4eb7-ae41-5e7c1542445f", + "2d4ea212-aab5-488b-a2d6-121e94080028" ], "type": "recordListMember" }, @@ -61165,8 +54590,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d0718ee5-add6-421b-b23e-ce0a55599d95", - "3091a0ae-6ff9-44c3-a3f5-7d30bcbc04b2" + "54f1d64b-4af8-4eb7-ae41-5e7c1542445f", + "2d4ea212-aab5-488b-a2d6-121e94080028" ], "type": "recordListMember" }, @@ -61666,22 +55091,17 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { "name": "table-guid", "in": "path", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "required": true, "schema": { "type": "string", - "description": "See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables)", "format": "uuid" } }, @@ -62049,8 +55469,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "2cacc7d7-7920-4d2b-a0cc-d9d6aa8a7e4b", - "ce5c7911-2856-4f49-b3a5-04084b1ffcca" + "57786ad9-2fa4-49cf-b110-cea0d8f218e9", + "bb3ea83b-3f1c-48ef-b5c7-7e471ba3d081" ], "type": "recordListMember" }, @@ -62850,8 +56270,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "2cacc7d7-7920-4d2b-a0cc-d9d6aa8a7e4b", - "ce5c7911-2856-4f49-b3a5-04084b1ffcca" + "57786ad9-2fa4-49cf-b110-cea0d8f218e9", + "bb3ea83b-3f1c-48ef-b5c7-7e471ba3d081" ], "type": "recordListMember" }, @@ -63651,8 +57071,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "2cacc7d7-7920-4d2b-a0cc-d9d6aa8a7e4b", - "ce5c7911-2856-4f49-b3a5-04084b1ffcca" + "57786ad9-2fa4-49cf-b110-cea0d8f218e9", + "bb3ea83b-3f1c-48ef-b5c7-7e471ba3d081" ], "type": "recordListMember" }, @@ -64452,8 +57872,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "2cacc7d7-7920-4d2b-a0cc-d9d6aa8a7e4b", - "ce5c7911-2856-4f49-b3a5-04084b1ffcca" + "57786ad9-2fa4-49cf-b110-cea0d8f218e9", + "bb3ea83b-3f1c-48ef-b5c7-7e471ba3d081" ], "type": "recordListMember" }, @@ -64953,12 +58373,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } }, { @@ -65325,8 +58742,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "f721f731-bc82-48ba-ac87-a689ec744551", - "0af45049-2681-43a5-912c-e4ec642b6f45" + "be2d6e3e-92bd-4cd2-a6b6-672c3f04df0a", + "32ac9b91-48f0-4338-ad92-c7febd7200c5" ], "type": "recordListMember" }, @@ -66212,8 +59629,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "f721f731-bc82-48ba-ac87-a689ec744551", - "0af45049-2681-43a5-912c-e4ec642b6f45" + "be2d6e3e-92bd-4cd2-a6b6-672c3f04df0a", + "32ac9b91-48f0-4338-ad92-c7febd7200c5" ], "type": "recordListMember" }, @@ -67099,8 +60516,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "f721f731-bc82-48ba-ac87-a689ec744551", - "0af45049-2681-43a5-912c-e4ec642b6f45" + "be2d6e3e-92bd-4cd2-a6b6-672c3f04df0a", + "32ac9b91-48f0-4338-ad92-c7febd7200c5" ], "type": "recordListMember" }, @@ -67986,8 +61403,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "f721f731-bc82-48ba-ac87-a689ec744551", - "0af45049-2681-43a5-912c-e4ec642b6f45" + "be2d6e3e-92bd-4cd2-a6b6-672c3f04df0a", + "32ac9b91-48f0-4338-ad92-c7febd7200c5" ], "type": "recordListMember" }, @@ -68918,8 +62335,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d8d2ee55-90ae-4724-8f2c-8b5b5005e3d4", - "2d3b69fc-4396-41fd-bb27-4821f3674bed" + "6c1b76ef-585b-4820-811c-2f756e48de71", + "2e821815-e414-4bca-a541-8d5b68cb9f37" ], "type": "recordListMember" }, @@ -69719,8 +63136,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d8d2ee55-90ae-4724-8f2c-8b5b5005e3d4", - "2d3b69fc-4396-41fd-bb27-4821f3674bed" + "6c1b76ef-585b-4820-811c-2f756e48de71", + "2e821815-e414-4bca-a541-8d5b68cb9f37" ], "type": "recordListMember" }, @@ -70520,8 +63937,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d8d2ee55-90ae-4724-8f2c-8b5b5005e3d4", - "2d3b69fc-4396-41fd-bb27-4821f3674bed" + "6c1b76ef-585b-4820-811c-2f756e48de71", + "2e821815-e414-4bca-a541-8d5b68cb9f37" ], "type": "recordListMember" }, @@ -71321,8 +64738,8 @@ "value": { "criterion": { "recordListIdentifiers": [ - "d8d2ee55-90ae-4724-8f2c-8b5b5005e3d4", - "2d3b69fc-4396-41fd-bb27-4821f3674bed" + "6c1b76ef-585b-4820-811c-2f756e48de71", + "2e821815-e414-4bca-a541-8d5b68cb9f37" ], "type": "recordListMember" }, @@ -71920,454 +65337,366 @@ } } }, - "/v1alpha/serverManager/email": { + "/v1alpha/selection-searches": { "get": { "tags": [ - "Server Manager" + "SelectionSearches" ], - "operationId": "GetSmtpProperties", + "summary": "Returns all searches visible to the calling user.", + "operationId": "GetAll", "responses": { "200": { - "description": "OK", + "description": "Ok", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaSelectionSearch" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaSelectionSearch" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaSelectionSearch" + } } } } + }, + "403": { + "description": "Forbidden" } } }, - "put": { + "post": { "tags": [ - "Server Manager" + "SelectionSearches" ], - "operationId": "Put", + "summary": "Creates a new search with the specified properties.", + "operationId": "CreateSearch", "requestBody": { "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "$ref": "#/components/schemas/GsaCreateSearchRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "$ref": "#/components/schemas/GsaCreateSearchRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "$ref": "#/components/schemas/GsaCreateSearchRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/GsaSmtpProperties" + "$ref": "#/components/schemas/GsaCreateSearchRequest" } } } }, "responses": { - "200": { - "description": "OK" - } - } - } - }, - "/v1alpha/serverManager/emailNotifications/generationSettings": { - "get": { - "tags": [ - "Server Manager" - ], - "summary": "Returns all the email generation settings for the server if the user is a system administrator.", - "operationId": "GetAllEmailGenerationSettings", - "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } } } }, + "400": { + "description": "Bad request" + }, "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "Forbidden" } } - }, - "patch": { + } + }, + "/v1alpha/selection-searches/search": { + "post": { "tags": [ - "Server Manager" + "SelectionSearches" ], - "summary": "Sets all the email generation settings for the server and returns the updated object.", - "operationId": "SetEmailGenerationSettings", + "summary": "Retrieves a collection of searches that match the specified criteria.", + "operationId": "Search", "requestBody": { "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaFindSearchRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaFindSearchRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaFindSearchRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaFindSearchRequest" } } } }, "responses": { "200": { - "description": "OK", + "description": "Ok", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaEmailGenerationSettings" + "$ref": "#/components/schemas/GsaSelectionSearch" } } } }, + "400": { + "description": "Bad request" + }, "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "Forbidden" } } } }, - "/v1alpha/serverManager/emailNotifications/users": { + "/v1alpha/selection-searches/search/{searchIdentifier}": { "get": { "tags": [ - "Server Manager" + "SelectionSearches" + ], + "summary": "Returns the given search if it exists and the calling user has access to it", + "operationId": "GetSearch", + "parameters": [ + { + "name": "searchIdentifier", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } ], - "summary": "Returns all the notifications users, if the user is a system administrator.", - "operationId": "GetUsers", "responses": { "200": { - "description": "OK", + "description": "Ok", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/GsaNotificationUsers" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaNotificationUsers" + "$ref": "#/components/schemas/GsaSelectionSearch" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaNotificationUsers" + "$ref": "#/components/schemas/GsaSelectionSearch" } } } }, "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "Forbidden" + }, + "404": { + "description": "Search result not found" + }, + "410": { + "description": "Search result no longer available" } } - } - }, - "/v1alpha/serverManager/emailNotifications/users/{userIdentity}": { - "patch": { + }, + "put": { "tags": [ - "Server Manager" + "SelectionSearches" ], - "summary": "Given an existing user's identity, updates their email address.", - "operationId": "SetUser", + "summary": "If the search exists, updates the properties of the search. This will overwrite all current properties.\r\nIf the search does not exist or the calling user does not have access to it, returns '404 not found' response.", + "operationId": "SaveSearch", "parameters": [ { - "name": "userIdentity", + "name": "searchIdentifier", "in": "path", - "description": "", "required": true, "schema": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "uuid" } } ], "requestBody": { - "description": "", "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateNotificationUser" + "$ref": "#/components/schemas/GsaSaveSearchRequest" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateNotificationUser" + "$ref": "#/components/schemas/GsaSaveSearchRequest" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateNotificationUser" + "$ref": "#/components/schemas/GsaSaveSearchRequest" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateNotificationUser" + "$ref": "#/components/schemas/GsaSaveSearchRequest" } } } }, "responses": { "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - } - } - }, - "403": { - "description": "Forbidden if the user is not a system administrator." - }, - "404": { - "description": "Not found if the user identity does not belong to a user." - } - } - }, - "delete": { - "tags": [ - "Server Manager" - ], - "summary": "Given a user's identity, deletes the user.", - "operationId": "DeleteUser", - "parameters": [ - { - "name": "userIdentity", - "in": "path", - "description": "", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - } - } + "description": "Ok" }, - "204": { - "description": "No content" + "400": { + "description": "Bad request" }, "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "Forbidden" }, "404": { - "description": "Not found if the user identity does not belong to a user." + "description": "Search not found" } } - } - }, - "/v1alpha/serverManager/emailNotifications/users/{userIdentity}/watches/{watchIdentity}": { + }, "delete": { "tags": [ - "Server Manager" + "SelectionSearches" ], - "summary": "Given a user identity and a watch identity, deletes the watch.", - "operationId": "DeleteWatch", + "summary": "Delete an existing selection search.", + "operationId": "DeleteSearch", "parameters": [ { - "name": "userIdentity", - "in": "path", - "description": "", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - }, - { - "name": "watchIdentity", + "name": "searchIdentifier", "in": "path", - "description": "", "required": true, "schema": { - "type": "integer", - "format": "int32" + "type": "string", + "format": "uuid" } } ], "responses": { "200": { - "description": "OK" - }, - "204": { - "description": "No content" + "description": "Ok" }, "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "Forbidden" }, "404": { - "description": "Not found if the user identity or the watch identity do not exist." + "description": "Selection search not found" } } } }, - "/v1alpha/serverManager/supportDetails": { + "/v1alpha/serverManager/email": { "get": { "tags": [ "Server Manager" ], - "summary": "Returns the support details for the server, including support name, email, website, telephone, and licensing contact details.", - "operationId": "GetSupportDetails", + "operationId": "GetSmtpProperties", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } } } - }, - "403": { - "description": "Forbidden if the user is not a system administrator." } } }, - "patch": { + "put": { "tags": [ "Server Manager" ], - "summary": "Updates the support details. Explicitly setting a property to null will remove that property.\r\nProperties not specified will not be changed.", - "operationId": "UpdateSupportDetails", + "operationId": "Put", "requestBody": { - "description": "", "content": { "application/json-patch+json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/GsaUpdateSupportProperties" + "$ref": "#/components/schemas/GsaSmtpProperties" } } } }, "responses": { "200": { - "description": "OK", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaSupportProperties" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "403": { - "description": "Forbidden if the user is not a system administrator." + "description": "OK" } } } @@ -72437,12 +65766,9 @@ { "name": "database-key", "in": "path", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", "required": true, "schema": { - "type": "string", - "description": "See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases)", - "example": "MI_TRAINING" + "type": "string" } } ], @@ -72500,40 +65826,6 @@ } } } - }, - "/v1alpha/status/orphanedSearchIndexes": { - "get": { - "tags": [ - "Status" - ], - "summary": "Returns information about orphaned search indexes", - "operationId": "GetOrphanedSearchIndexes", - "responses": { - "200": { - "description": "Ok", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GsaOrphanedSearchIndexesInfo" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/GsaOrphanedSearchIndexesInfo" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GsaOrphanedSearchIndexesInfo" - } - } - } - }, - "403": { - "description": "Forbidden" - } - } - } } }, "components": { @@ -72605,207 +65897,6 @@ "x-discriminator-value": "aboutAttributeCannotBeMeta", "x-discriminator-name": "reason" }, - "GsaActivityLogApplicationNameFilter": { - "required": [ - "applicationNameToMatch" - ], - "type": "object", - "properties": { - "applicationNameToMatch": { - "type": "string" - }, - "matchType": { - "$ref": "#/components/schemas/GsaActivityLogMatchType" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nmatchType: Defines how the application name should be matched. If not specified, defaults to exactMatchCaseInsensitive." - }, - "GsaActivityLogApplicationNamesCollectionFilter": { - "required": [ - "applicationNamesToMatch" - ], - "type": "object", - "properties": { - "applicationNamesToMatch": { - "type": "array", - "items": { - "type": "string" - } - }, - "collectionMatchType": { - "$ref": "#/components/schemas/GsaActivityLogCollectionMatchType" - } - }, - "additionalProperties": false, - "description": "\r\n\r\ncollectionMatchType: Defines how the application names collection should be matched. If not specified, defaults to collectionExactMatch." - }, - "GsaActivityLogCollectionMatchType": { - "enum": [ - "collectionExactMatch", - "collectionContains" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • collectionExactMatch: Collection matches exactly.
  • \r\n
  • collectionContains: The collection contains this subset.
  • \r\n
\r\n" - }, - "GsaActivityLogDatabaseKeyFilter": { - "required": [ - "databaseKeyToMatch" - ], - "type": "object", - "properties": { - "databaseKeyToMatch": { - "type": "string", - "nullable": true - }, - "matchType": { - "$ref": "#/components/schemas/GsaActivityLogMatchType" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nmatchType: Defines how the database key should be matched. If not specified, defaults to exactMatchCaseInsensitive." - }, - "GsaActivityLogDateFilter": { - "type": "object", - "properties": { - "dateFrom": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "dateFromInclusive": { - "type": "boolean" - }, - "dateTo": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "dateToInclusive": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "GsaActivityLogEntriesFilter": { - "type": "object", - "properties": { - "dateFilter": { - "$ref": "#/components/schemas/GsaActivityLogDateFilter" - }, - "usernameFilter": { - "$ref": "#/components/schemas/GsaActivityLogUsernameFilter" - }, - "applicationNamesCollectionFilter": { - "$ref": "#/components/schemas/GsaActivityLogApplicationNamesCollectionFilter" - }, - "applicationNameFilter": { - "$ref": "#/components/schemas/GsaActivityLogApplicationNameFilter" - }, - "databaseKeyFilter": { - "$ref": "#/components/schemas/GsaActivityLogDatabaseKeyFilter" - }, - "usageModeFilter": { - "$ref": "#/components/schemas/GsaActivityLogUsageModeFilter" - } - }, - "additionalProperties": false - }, - "GsaActivityLogEntriesInfo": { - "required": [ - "entries", - "links" - ], - "type": "object", - "properties": { - "entries": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaActivityLogEntry" - } - }, - "links": { - "$ref": "#/components/schemas/GsaPaginationLinks" - } - }, - "additionalProperties": false - }, - "GsaActivityLogEntry": { - "required": [ - "applicationNames", - "date", - "usageMode", - "username" - ], - "type": "object", - "properties": { - "date": { - "type": "string", - "format": "date-time" - }, - "username": { - "type": "string" - }, - "applicationNames": { - "type": "array", - "items": { - "type": "string" - } - }, - "databaseKey": { - "type": "string", - "nullable": true - }, - "usageMode": { - "$ref": "#/components/schemas/GsaActivityLogUsageMode" - } - }, - "additionalProperties": false - }, - "GsaActivityLogMatchType": { - "enum": [ - "exactMatchCaseInsensitive", - "containsCaseInsensitive" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • exactMatchCaseInsensitive: Exact match case-insensitive.
  • \r\n
  • containsCaseInsensitive: Contains case-insensitive.
  • \r\n
\r\n" - }, - "GsaActivityLogUsageMode": { - "enum": [ - "view", - "edit" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • view: View.
  • \r\n
  • edit: Edit.
  • \r\n
\r\n" - }, - "GsaActivityLogUsageModeFilter": { - "required": [ - "usageModeToMatch" - ], - "type": "object", - "properties": { - "usageModeToMatch": { - "$ref": "#/components/schemas/GsaActivityLogUsageMode" - } - }, - "additionalProperties": false - }, - "GsaActivityLogUsernameFilter": { - "required": [ - "usernameToMatch" - ], - "type": "object", - "properties": { - "usernameToMatch": { - "type": "string" - }, - "matchType": { - "$ref": "#/components/schemas/GsaActivityLogMatchType" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nmatchType: Defines how the username should be matched. If not specified, defaults to exactMatchCaseInsensitive." - }, "GsaAddDatabase": { "required": [ "connectionDetails", @@ -73290,21 +66381,6 @@ }, "additionalProperties": false }, - "GsaApplyOptions": { - "type": "object", - "properties": { - "matchMode": { - "$ref": "#/components/schemas/GsaMatchMode" - }, - "applyAddsAsState": { - "type": "boolean" - }, - "retargetTabularAttributes": { - "type": "boolean" - } - }, - "additionalProperties": false - }, "GsaAttribute": { "required": [ "defaultThresholdType", @@ -73312,7 +66388,6 @@ "guid", "info", "isHiddenFromSearchCriteria", - "isProtected", "name", "table", "type" @@ -73342,10 +66417,6 @@ "type": "boolean", "description": "If true, the attribute should not be shown in search UIs.\r\nIt will still be included in text searches." }, - "isProtected": { - "type": "boolean", - "description": "If true, the attribute is protected from all changes." - }, "table": { "$ref": "#/components/schemas/GsaSlimEntity" }, @@ -73536,7 +66607,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -73608,7 +66679,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -73805,14 +66876,14 @@ "$ref": "#/components/schemas/GsaSlimNamedEntity" } }, - "primarySmartLinkGroups": { + "primaryDynamicLinkGroups": { "type": "array", "items": { "$ref": "#/components/schemas/GsaSlimNamedEntity" }, "nullable": true }, - "foreignSmartLinkGroups": { + "foreignDynamicLinkGroups": { "type": "array", "items": { "$ref": "#/components/schemas/GsaSlimNamedEntity" @@ -74122,36 +67193,6 @@ }, "additionalProperties": false }, - "GsaBlobInfoDto": { - "required": [ - "fullPath", - "lastWriteTimeUtc", - "length", - "name" - ], - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the blob." - }, - "fullPath": { - "type": "string", - "description": "Full path of the blob.\r\nPath segments are separated by '/'\r\nThe last segment is always blob name." - }, - "length": { - "type": "integer", - "description": "Blob size in bytes.", - "format": "int64" - }, - "lastWriteTimeUtc": { - "type": "string", - "description": "Last modification date.", - "format": "date-time" - } - }, - "additionalProperties": false - }, "GsaBooleanCriterion": { "type": "object", "allOf": [ @@ -74339,36 +67380,6 @@ "type": "string", "description": "

Possible values:

\r\n
    \r\n
  • minute: Minute
  • \r\n
  • hour: Hour
  • \r\n
  • day: Day
  • \r\n
  • week: Week
  • \r\n
  • month: Month
  • \r\n
  • quarter: Quarter
  • \r\n
  • year: Year
  • \r\n
\r\n" }, - "GsaCircularReferenceFolderMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "Circular reference found - you cannot move a folder to be a child of one of its descendants.\r\n\r\nThis extends: GsaFolderMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'circularReference'", - "x-discriminator-value": "circularReference", - "x-discriminator-name": "reason" - }, - "GsaConfigInvalidJsonFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "Configuration's value must be valid JSON.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'configInvalidJson'", - "x-discriminator-value": "configInvalidJson", - "x-discriminator-name": "reason" - }, "GsaConfiguration": { "required": [ "guid", @@ -74394,22 +67405,6 @@ }, "additionalProperties": false }, - "GsaConfigurationDetails": { - "required": [ - "connectionDetails", - "language" - ], - "type": "object", - "properties": { - "language": { - "type": "string" - }, - "connectionDetails": { - "$ref": "#/components/schemas/GsaConnectionDetails" - } - }, - "additionalProperties": false - }, "GsaConfigurationsInfo": { "required": [ "configurations" @@ -74438,16 +67433,17 @@ }, "useIntegratedSecurity": { "type": "boolean", - "description": "Set to true if the SQL connection to the database should use Windows authentication" + "description": "Set to true if the SQL connection to the new database should use Windows authentication", + "nullable": true }, "sqlUsername": { "type": "string", - "description": "The username to use if the database should use SQL authentication. The password must also be provided.", + "description": "The username to use if the new database should use SQL authentication. The password must also be provided.", "nullable": true }, "sqlPassword": { "type": "string", - "description": "The password to use if the database should use SQL authentication. The username must also be provided.", + "description": "The password to use if the new database should use SQL authentication. The username must also be provided.", "nullable": true }, "initialCatalog": { @@ -74496,7 +67492,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -74578,15 +67574,6 @@ "description": "If true, the attribute should not be shown in search UIs.\r\nIt will still be included in text searches.\r\nIf not specified, it will be set to the default value for the attribute type.", "nullable": true }, - "displayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "description": "Set a display name for different languages.\r\nSupported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\".", - "nullable": true - }, "name": { "type": "string" }, @@ -74716,25 +67703,6 @@ }, "additionalProperties": false }, - "GsaCreateCrossDatabaseLinkTarget": { - "required": [ - "tableGuid" - ], - "type": "object", - "properties": { - "databaseGuid": { - "type": "string", - "description": "If databaseGuid is set, the target will match any database with that Guid.\r\nIf databaseGuid is not set, the target wil match the tableGuid in any database.", - "format": "uuid", - "nullable": true - }, - "tableGuid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "GsaCreateCrossDatabaseRecordLinkGroup": { "type": "object", "allOf": [ @@ -74742,14 +67710,8 @@ "$ref": "#/components/schemas/GsaCreateRecordLinkGroup" }, { - "required": [ - "linkTarget" - ], "type": "object", "properties": { - "linkTarget": { - "$ref": "#/components/schemas/GsaCreateCrossDatabaseLinkTarget" - }, "includeIndirectLinks": { "type": "boolean" } @@ -75029,6 +67991,38 @@ }, "additionalProperties": false }, + "GsaCreateDynamicRecordLinkGroup": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GsaCreateRecordLinkGroup" + }, + { + "required": [ + "attributePairs" + ], + "type": "object", + "properties": { + "forbidOrphans": { + "type": "boolean" + }, + "referentialIntegrityModel": { + "$ref": "#/components/schemas/GsaReferentialIntegrityModel" + }, + "attributePairs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaCreateAttributeLinkPair" + } + } + } + } + ], + "additionalProperties": false, + "description": "\r\n\r\nThis extends: GsaCreateRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'dynamic'", + "x-discriminator-value": "dynamic", + "x-discriminator-name": "type" + }, "GsaCreateExpression": { "required": [ "name", @@ -76096,6 +69090,7 @@ }, "GsaCreateRecordLinkGroup": { "required": [ + "linkTarget", "name", "reverseName", "type" @@ -76105,6 +69100,9 @@ "type": { "$ref": "#/components/schemas/GsaRecordLinkGroupType" }, + "linkTarget": { + "$ref": "#/components/schemas/GsaLinkTarget" + }, "reverseName": { "type": "string" }, @@ -76117,12 +69115,12 @@ } }, "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaCreateStaticRecordLinkGroup\r\n * GsaCreateSmartRecordLinkGroup\r\n * GsaCreateCrossDatabaseRecordLinkGroup", + "description": "\r\n\r\nThis is one of: \r\n * GsaCreateStaticRecordLinkGroup\r\n * GsaCreateDynamicRecordLinkGroup\r\n * GsaCreateCrossDatabaseRecordLinkGroup", "discriminator": { "propertyName": "type", "mapping": { "static": "#/components/schemas/GsaCreateStaticRecordLinkGroup", - "smart": "#/components/schemas/GsaCreateSmartRecordLinkGroup", + "dynamic": "#/components/schemas/GsaCreateDynamicRecordLinkGroup", "crossDatabase": "#/components/schemas/GsaCreateCrossDatabaseRecordLinkGroup" } } @@ -76199,6 +69197,19 @@ }, "additionalProperties": false }, + "GsaCreateSearchRequest": { + "type": "object", + "properties": { + "searchConfig": { + "type": "string", + "nullable": true + }, + "detail": { + "$ref": "#/components/schemas/GsaSearchDetail" + } + }, + "additionalProperties": false + }, "GsaCreateShortTextAttribute": { "type": "object", "allOf": [ @@ -76223,55 +69234,6 @@ "x-discriminator-value": "shortText", "x-discriminator-name": "type" }, - "GsaCreateSmartLinkTarget": { - "required": [ - "tableGuid" - ], - "type": "object", - "properties": { - "tableGuid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "GsaCreateSmartRecordLinkGroup": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaCreateRecordLinkGroup" - }, - { - "required": [ - "attributePairs", - "linkTarget" - ], - "type": "object", - "properties": { - "linkTarget": { - "$ref": "#/components/schemas/GsaCreateSmartLinkTarget" - }, - "forbidOrphans": { - "type": "boolean" - }, - "referentialIntegrityModel": { - "$ref": "#/components/schemas/GsaReferentialIntegrityModel" - }, - "attributePairs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaCreateAttributeLinkPair" - } - } - } - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaCreateRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'smart'", - "x-discriminator-value": "smart", - "x-discriminator-name": "type" - }, "GsaCreateStandardName": { "required": [ "name" @@ -76316,19 +69278,6 @@ }, "additionalProperties": false }, - "GsaCreateStaticLinkTarget": { - "required": [ - "tableGuid" - ], - "type": "object", - "properties": { - "tableGuid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "GsaCreateStaticRecordLinkGroup": { "type": "object", "allOf": [ @@ -76336,14 +69285,8 @@ "$ref": "#/components/schemas/GsaCreateRecordLinkGroup" }, { - "required": [ - "linkTarget" - ], "type": "object", "properties": { - "linkTarget": { - "$ref": "#/components/schemas/GsaCreateStaticLinkTarget" - }, "includeIndirectLinks": { "type": "boolean" } @@ -77944,291 +70887,6 @@ }, "additionalProperties": false }, - "GsaDataUpdate": { - "type": "object", - "properties": { - "token": { - "$ref": "#/components/schemas/GsaDataUpdateToken" - }, - "header": { - "$ref": "#/components/schemas/GsaDataUpdateHeader" - }, - "runInfo": { - "$ref": "#/components/schemas/GsaDataUpdateRunInfo" - } - }, - "additionalProperties": false - }, - "GsaDataUpdateHeader": { - "type": "object", - "properties": { - "createDate": { - "type": "string", - "description": "The date and time that the update was created.", - "format": "date-time" - }, - "updateGuid": { - "type": "string", - "description": "A unique identity to disambiguate this update from all other updates.", - "format": "uuid" - }, - "prerequisiteUpdateGuid": { - "type": "string", - "description": "GUID for the previous update that need to have been applied before this update can be applied.", - "format": "uuid", - "nullable": true - }, - "prerequisiteUpdateName": { - "type": "string", - "description": "Name of the previous update that need to have been applied before this update can be applied. This is used only for display purposes.", - "nullable": true - }, - "miVersion": { - "type": "string", - "description": "Gets the version of MI that was used to create this update.", - "nullable": true - }, - "supportedObjectsVersion": { - "type": "integer", - "description": "Gets or sets the version number indicating the kinds of object that this update supports. A client will be\r\nable to process updates with an unrecognised SupportedObjectsVersion (although in doing so it will have to\r\nignore fields describing objects it does not recognise).", - "format": "int32" - }, - "updateFormatVersion": { - "type": "integer", - "description": "Gets or sets the version number of the format of the update. This will change if the meaning of any of the\r\nfields in the update changes. A client must not process an update with an UpdateFormatVersion field that it\r\ndoes not recognise, as it cannot be sure of the meaning of the fields it reads.", - "format": "int32" - }, - "sourceDatabaseKey": { - "type": "string", - "description": "Gets or sets the database key of the database from which this update was generated.", - "nullable": true - }, - "sourceVolumeGuid": { - "type": "string", - "description": "Gets or sets the guid of the volume from which the update was generated.", - "format": "uuid" - }, - "name": { - "type": "string", - "description": "Gets or sets the name of the update.", - "nullable": true - }, - "description": { - "type": "string", - "description": "Gets or sets the description of the update.", - "nullable": true - }, - "projectName": { - "type": "string", - "description": "Gets or sets the name of the project this update was created for.", - "nullable": true - }, - "projectGuid": { - "type": "string", - "description": "Gets or sets the guid of the project this update was created for.", - "format": "uuid" - }, - "containsFallbackIdentifiers": { - "type": "boolean", - "description": "Gets or sets the flag informing whether or not this update contains fallback identifiers (mostly names)." - }, - "newVersionGuid": { - "type": "string", - "description": "Gets or sets the value Database Version GUID should be updated to.\r\nIf this field is set then we propose to retarget tabular attributes to link to new version of the database.", - "format": "uuid", - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaDataUpdateRunInfo": { - "type": "object", - "properties": { - "databaseKey": { - "type": "string", - "nullable": true - }, - "matchMode": { - "$ref": "#/components/schemas/GsaMatchMode" - }, - "applyAddsAsState": { - "type": "boolean" - }, - "retargetTabularAttributes": { - "type": "boolean" - }, - "status": { - "$ref": "#/components/schemas/GsaUpdateRunStatus" - }, - "progressPercentage": { - "type": "number", - "format": "double", - "nullable": true - }, - "appliedDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "errorMessage": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaDataUpdateToken": { - "type": "object", - "properties": { - "guid": { - "type": "string", - "format": "uuid" - }, - "databaseKey": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaDataUpdaterJob": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Gets or sets the token which identifies this job.", - "format": "uuid" - }, - "updateToken": { - "$ref": "#/components/schemas/GsaDataUpdateToken" - }, - "jobType": { - "$ref": "#/components/schemas/GsaDataUpdaterJobType" - }, - "databaseKey": { - "type": "string", - "description": "Gets or sets the key of the database against which this job has been / will be run.", - "nullable": true - }, - "name": { - "type": "string", - "description": "Gets or sets the name of the update.", - "nullable": true - }, - "description": { - "type": "string", - "description": "Gets or sets the description of the job.", - "nullable": true - }, - "status": { - "$ref": "#/components/schemas/GsaDataUpdaterJobStatus" - }, - "projectName": { - "type": "string", - "description": "Gets or sets the project.", - "nullable": true - }, - "timeStarted": { - "type": "string", - "description": "Gets or sets the time that the job started.", - "format": "date-time" - }, - "timeCompleted": { - "type": "string", - "description": "Gets or sets the time that the job completed.", - "format": "date-time", - "nullable": true - }, - "error": { - "type": "string", - "description": "The error that occurred (if any) when the job was run. If the\r\njob has not yet been run, or if the job completed successfully,\r\nthis will be null.", - "nullable": true - } - }, - "additionalProperties": false, - "description": "\r\n\r\nupdateToken: Gets or sets the token which links this job to the update on which it is working.\r\n\r\njobType: Gets or sets the type of job.\r\n\r\nstatus: Gets or sets the job status." - }, - "GsaDataUpdaterJobStatus": { - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7 - ], - "type": "integer", - "description": "The status of a data updater job.

Possible values:

\r\n
    \r\n
  • Unknown: This job is in an unknown state.
  • \r\n
  • Queued: This job is in the queue and has not been started.
  • \r\n
  • InProgress: This job is in progress.
  • \r\n
  • Completed: This job completed successfully.
  • \r\n
  • Cancelled: This job was cancelled.
  • \r\n
  • Cancelling: This job is in the process of being cancelled.
  • \r\n
  • Failed: This job failed.
  • \r\n
  • NotFound: This job cannot be found.
  • \r\n
\r\n", - "format": "int32" - }, - "GsaDataUpdaterJobType": { - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "type": "integer", - "description": "

Possible values:

\r\n
    \r\n
  • NoAction: A job that takes no action.
  • \r\n
  • CreateUpdate: A job that creates an update.
  • \r\n
  • Ship: A job that ships an update.
  • \r\n
  • DryRunUpdate: A job that performs a dry run of an update on a database.
  • \r\n
  • ApplyUpdate: A job that applies an update to a database.
  • \r\n
\r\n", - "format": "int32" - }, - "GsaDataUpdaterProject": { - "type": "object", - "properties": { - "guid": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "nullable": true - }, - "recordAndAttributeSelectionType": { - "$ref": "#/components/schemas/GsaRecordAndAttributeSelectionType" - }, - "includeDbDependencies": { - "type": "boolean" - }, - "includeDeselectedDbDependencies": { - "type": "boolean" - }, - "includeForeignCategoryItems": { - "type": "boolean" - }, - "lastUpdateFileName": { - "type": "string", - "nullable": true - }, - "lastMarkedReadyForSendingByUserName": { - "type": "string", - "nullable": true - }, - "timeLastUpdateMarkedReadyForSending": { - "type": "string", - "format": "date-time" - }, - "lastMarkedReadyForSendingAtRevision": { - "type": "integer", - "format": "int32" - }, - "lastUpdateGeneratedByUserName": { - "type": "string", - "nullable": true - }, - "timeLastUpdateGenerated": { - "type": "string", - "format": "date-time" - }, - "profileId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "GsaDataUsageDataModificationErrorDetail": { "type": "object", "allOf": [ @@ -78257,8 +70915,7 @@ "isLocked", "isReadOnly", "key", - "status", - "userCapabilities" + "status" ], "type": "object", "properties": { @@ -78324,30 +70981,6 @@ "schemaVersion": { "type": "string", "nullable": true - }, - "userCapabilities": { - "$ref": "#/components/schemas/GsaDatabaseUserCapabilities" - }, - "configurationDetails": { - "$ref": "#/components/schemas/GsaConfigurationDetails" - }, - "issues": { - "$ref": "#/components/schemas/GsaDatabaseIssues" - } - }, - "additionalProperties": false - }, - "GsaDatabaseIssues": { - "required": [ - "databaseRevisionIdentityHasDecreased" - ], - "type": "object", - "properties": { - "databaseRevisionIdentityHasDecreased": { - "type": "boolean" - }, - "loadingExceptionInfo": { - "$ref": "#/components/schemas/GsaExceptionInformation" } }, "additionalProperties": false @@ -78384,11 +71017,10 @@ "FailedToUnload", "Disabled", "SchemaUpgradeRequired", - "SchemaDowngradeRequired", - "Missing" + "SchemaDowngradeRequired" ], "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • Unknown: The current state is unknown.
  • \r\n
  • Ok: The database is working correctly.
  • \r\n
  • Unloaded: The database is not loaded.
  • \r\n
  • Loading: The database is currently being loaded.
  • \r\n
  • Unloading: The database is currently being unloaded.
  • \r\n
  • FailedToLoad: The database failed to be loaded.
  • \r\n
  • FailedToUnload: The database failed to be unloaded.
  • \r\n
  • Disabled: The database is currently disabled.
  • \r\n
  • SchemaUpgradeRequired: The database is at a lower version of the database schema than the current software
  • \r\n
  • SchemaDowngradeRequired: The database is at a higher version of the database schema than the current software
  • \r\n
  • Missing: The database is currently missing.
  • \r\n
\r\n" + "description": "

Possible values:

\r\n
    \r\n
  • Unknown: The current state is unknown.
  • \r\n
  • Ok: The database is working correctly.
  • \r\n
  • Unloaded: The database is not loaded.
  • \r\n
  • Loading: The database is currently being loaded.
  • \r\n
  • Unloading: The database is currently being unloaded.
  • \r\n
  • FailedToLoad: The database failed to be loaded.
  • \r\n
  • FailedToUnload: The database failed to be unloaded.
  • \r\n
  • Disabled: The database is currently disabled.
  • \r\n
  • SchemaUpgradeRequired: The database is at a lower version of the database schema than the current software
  • \r\n
  • SchemaDowngradeRequired: The database is at a higher version of the database schema than the current software
  • \r\n
\r\n" }, "GsaDatabaseStatusInformation": { "type": "object", @@ -78422,24 +71054,6 @@ "additionalProperties": false, "description": "\r\n\r\nstate: Gets the state of this database." }, - "GsaDatabaseUserCapabilities": { - "required": [ - "canRead", - "canWrite" - ], - "type": "object", - "properties": { - "canRead": { - "type": "boolean", - "description": "Specifies whether the current user can read from the database." - }, - "canWrite": { - "type": "boolean", - "description": "Specifies whether the current user can write to the database." - } - }, - "additionalProperties": false - }, "GsaDatabasesInfo": { "type": "object", "properties": { @@ -78768,7 +71382,7 @@ "range": "#/components/schemas/GsaRangeDatumCriterion", "shortText": "#/components/schemas/GsaShortTextDatumCriterion", "shortTextPrefix": "#/components/schemas/GsaShortTextPrefixDatumCriterion", - "smartLinkingValue": "#/components/schemas/GsaLinkingValueExistsDatumCriterion" + "dynamicLinkingValue": "#/components/schemas/GsaLinkingValueExistsDatumCriterion" } } }, @@ -78802,7 +71416,7 @@ "range", "shortText", "shortTextPrefix", - "smartLinkingValue" + "dynamicLinkingValue" ], "type": "string" }, @@ -79072,82 +71686,6 @@ "x-discriminator-value": "defaultFreeParameterNotFound", "x-discriminator-name": "reason" }, - "GsaDefaultParameterValueGuidParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "defaultParameterValueGuid": { - "type": "string", - "format": "uuid" - } - } - } - ], - "additionalProperties": false, - "description": "Default parameter value GUID does not match any parameter value.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'defaultParameterValueGuid'", - "x-discriminator-value": "defaultParameterValueGuid", - "x-discriminator-name": "reason" - }, - "GsaDefaultParameterValueIndexAndGuidParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "Default parameter value can be specified by either index or GUID, not both.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'defaultParameterValueIndexAndGuid'", - "x-discriminator-value": "defaultParameterValueIndexAndGuid", - "x-discriminator-name": "reason" - }, - "GsaDefaultParameterValueIndexParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "defaultParameterValueIndex": { - "type": "integer", - "format": "int32" - }, - "numberOfParameterValues": { - "type": "integer", - "format": "int32" - } - } - } - ], - "additionalProperties": false, - "description": "Default parameter value index out of range.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'defaultParameterValueIndex'", - "x-discriminator-value": "defaultParameterValueIndex", - "x-discriminator-name": "reason" - }, - "GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "Default parameter value index can only be used when values are being updated.\r\nUse DefaultParameterValueGuid when values are not being updated.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'defaultParameterValueIndexWithoutValues'", - "x-discriminator-value": "defaultParameterValueIndexWithoutValues", - "x-discriminator-name": "reason" - }, "GsaDefaultParameterValueUsageDataModificationErrorDetail": { "type": "object", "allOf": [ @@ -79162,8 +71700,7 @@ "items": { "$ref": "#/components/schemas/GsaSlimNamedEntity" }, - "nullable": true, - "readOnly": true + "nullable": true } } } @@ -79212,27 +71749,6 @@ }, "additionalProperties": false }, - "GsaDescriptionLengthFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object", - "properties": { - "maxLengthOfFileDescription": { - "type": "integer", - "format": "int32" - } - } - } - ], - "additionalProperties": false, - "description": "The description exceeds the maximum number of allowed characters.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'descriptionLength'", - "x-discriminator-value": "descriptionLength", - "x-discriminator-name": "reason" - }, "GsaDiscreteAttribute": { "type": "object", "allOf": [ @@ -80226,7 +72742,6 @@ "discreteValues", "guid", "isOrdered", - "isProtected", "name" ], "type": "object", @@ -80240,10 +72755,6 @@ "isOrdered": { "type": "boolean" }, - "isProtected": { - "type": "boolean", - "description": "If true, the discrete type is protected from all changes." - }, "name": { "type": "string" }, @@ -80262,7 +72773,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -80347,7 +72858,7 @@ "$ref": "#/components/schemas/GsaDiscreteValueAggregateErrorReason" }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -80379,15 +72890,10 @@ "GsaDiscreteValuesDiscreteValue": { "required": [ "guid", - "isProtected", "name" ], "type": "object", "properties": { - "isProtected": { - "type": "boolean", - "description": "If true, the discrete value is protected from all changes." - }, "name": { "type": "string" }, @@ -80447,144 +72953,6 @@ "type": "string", "description": "The status of the amount of space remaining on the disk.

Possible values:

\r\n
    \r\n
  • Ok: There is enough space.
  • \r\n
  • LowWatermarkReached: Once the disk reaches this point, Elasticsearch will not allocate any more shards to this node.
  • \r\n
  • HighWatermarkReached: At this point, Elasticsearch will attempt to relocate shards away from this node.
  • \r\n
  • FloodStageReached: At this point, Elastic search will enforce a read only block on the index.
  • \r\n
\r\n" }, - "GsaDisplayNameEmptyErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - { - "type": "object", - "properties": { - "language": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Display name cannot be empty. Display names are optional and can be set to null to remove, but cannot be an empty string or white space only.\r\n\r\nThis extends: GsaNamedEntityErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'displayNameEmpty'", - "x-discriminator-value": "displayNameEmpty", - "x-discriminator-name": "reason" - }, - "GsaDisplayNameLanguageNotProvidedErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Display name must have a language.\r\n\r\nThis extends: GsaNamedEntityErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'displayNameLanguageNotProvided'", - "x-discriminator-value": "displayNameLanguageNotProvided", - "x-discriminator-name": "reason" - }, - "GsaDisplayNameLanguageNotSupportedErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - { - "type": "object", - "properties": { - "language": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Display name language is not supported. Language must be a .NET culture, e.g. \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\"\r\n\r\nThis extends: GsaNamedEntityErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'displayNameLanguageNotSupported'", - "x-discriminator-value": "displayNameLanguageNotSupported", - "x-discriminator-name": "reason" - }, - "GsaDisplayNamesImportErrorDetail": { - "required": [ - "message" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaDisplayNamesImportErrorReason" - }, - "rowIndex": { - "type": "integer", - "format": "int64", - "nullable": true - }, - "fieldValue": { - "type": "string", - "nullable": true - }, - "columnHeader": { - "type": "string", - "nullable": true - }, - "itemType": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaDisplayNamesImportErrorReason": { - "enum": [ - "unknown", - "malformedLine", - "incorrectNumberOfColumns", - "invalidSchemaType", - "invalidLanguage", - "schemaItemNotFound", - "emptyColumn", - "extraInfoMissing", - "translationTooLong" - ], - "type": "string" - }, - "GsaDisplayNamesImportException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaDisplayNamesImportErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaDisplayNamesInfo": { - "type": "object", - "properties": { - "displayNames": { - "$ref": "#/components/schemas/GsaGrid" - } - }, - "additionalProperties": false - }, "GsaDoubleSortingValue": { "type": "object", "allOf": [ @@ -80802,46 +73170,63 @@ "x-discriminator-value": "duplicateVersionGuid", "x-discriminator-name": "IssueType" }, - "GsaEmailGenerationSettings": { + "GsaDynamicLinkGroupUsageDataModificationErrorDetail": { "type": "object", - "properties": { - "viewerUrl": { - "type": "string", - "nullable": true - }, - "senderAddress": { - "type": "string", - "nullable": true - }, - "restrictToAllowedDomains": { - "type": "boolean" - }, - "allowedDomains": { - "type": "string", - "nullable": true - }, - "perMailTimeout": { - "type": "integer", - "format": "int32" - }, - "perMailThrottle": { - "type": "integer", - "format": "int32" - }, - "lastRunDateTime": { - "type": "string", - "format": "date-time" + "allOf": [ + { + "$ref": "#/components/schemas/GsaUsageDataModificationErrorDetail" }, - "subjectLineTemplate": { - "type": "string", - "nullable": true + { + "type": "object", + "properties": { + "referencedBy": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaSlimNamedEntity" + }, + "nullable": true + } + } + } + ], + "additionalProperties": false, + "description": "\r\n\r\nThis extends: GsaUsageDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('referencedByType') must be equal to 'dynamicLinkGroup'", + "x-discriminator-value": "dynamicLinkGroup", + "x-discriminator-name": "referencedByType" + }, + "GsaDynamicRecordLinkGroup": { + "type": "object", + "allOf": [ + { + "$ref": "#/components/schemas/GsaRecordLinkGroup" }, - "maximumNotifications": { - "type": "integer", - "format": "int32" + { + "required": [ + "attributePairs", + "forbidOrphans", + "referentialIntegrityModel" + ], + "type": "object", + "properties": { + "forbidOrphans": { + "type": "boolean" + }, + "referentialIntegrityModel": { + "$ref": "#/components/schemas/GsaReferentialIntegrityModel" + }, + "attributePairs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaAttributeLinkPair" + } + } + } } - }, - "additionalProperties": false + ], + "additionalProperties": false, + "description": "\r\n\r\nThis extends: GsaRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'dynamic'", + "x-discriminator-value": "dynamic", + "x-discriminator-name": "type" }, "GsaEmptyAxisNameAttributeErrorDetail": { "type": "object", @@ -80950,71 +73335,6 @@ "x-discriminator-value": "entityIdentifierAlreadySpecified", "x-discriminator-name": "reason" }, - "GsaEntityType": { - "enum": [ - "attribute", - "database", - "discreteValue", - "discreteType", - "metaAttribute", - "parameter", - "parameterValue", - "table", - "file", - "folder", - "recordHistory" - ], - "type": "string" - }, - "GsaErrorCode": { - "enum": [ - "unknown", - "accessDenied", - "addDatabase", - "attributeCreation", - "dataValidation", - "deleteRecordVersionControl", - "deletion", - "discreteValueAggregate", - "displayNamesImport", - "fileCreation", - "fileMove", - "fileUpdate", - "folderCreation", - "folderDeletion", - "folderMove", - "folderUpdate", - "getModifiableRecordVersionControl", - "imageTypeValidation", - "inputValidation", - "internalServerError", - "jsonSerialization", - "noSuchEntity", - "noSuchItem", - "notImplemented", - "notSpecified", - "notSupported", - "parameterCreation", - "parameterUpdate", - "parameterValueCreation", - "parameterValueUpdate", - "recordHistoryCopy", - "recordHistoryCreate", - "recordHistoryMove", - "recordListPublish", - "recordListResetAwaitingApproval", - "recordListSetAwaitingApproval", - "recordListSetPermissions", - "recordListUnpublish", - "releaseRecordVersionControl", - "releaseTableVersionControl", - "subtypeDeserialization", - "serverNotAvailable", - "upgradeDatabase", - "withdrawRecordVersionControl" - ], - "type": "string" - }, "GsaErrorDetail": { "required": [ "message", @@ -81031,38 +73351,6 @@ }, "additionalProperties": false }, - "GsaExceptionInformation": { - "required": [ - "exceptionTypeFullName", - "localisedMessage", - "message", - "stringifiedException" - ], - "type": "object", - "properties": { - "exceptionTypeFullName": { - "type": "string", - "description": "Full type name of the original exception." - }, - "message": { - "type": "string", - "description": "Message of the original exception." - }, - "localisedMessage": { - "type": "string", - "description": "Localised message of the original exception if available. Regular message of the original exception otherwise." - }, - "stringifiedException": { - "type": "string", - "description": "The result of calling .ToString() on the original exception." - }, - "innerExceptionInfo": { - "$ref": "#/components/schemas/GsaExceptionInformation" - } - }, - "additionalProperties": false, - "description": "\r\n\r\ninnerExceptionInfo: Exception information for the inner exception if available, null otherwise." - }, "GsaExcludeValuesSpecifier": { "type": "object", "allOf": [ @@ -81310,31 +73598,6 @@ }, "additionalProperties": false }, - "GsaFileAlreadyExistsFileMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileMoveErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "parentFolderGuid": { - "type": "string", - "format": "uuid" - } - } - } - ], - "additionalProperties": false, - "description": "A file with same name already exists as a child folder of the new parent.\r\n\r\nThis extends: GsaFileMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'fileAlreadyExists'", - "x-discriminator-value": "fileAlreadyExists", - "x-discriminator-name": "reason" - }, "GsaFileAttribute": { "type": "object", "allOf": [ @@ -81350,33 +73613,6 @@ "x-discriminator-value": "file", "x-discriminator-name": "type" }, - "GsaFileCreationException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "name": { - "type": "string", - "nullable": true - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, "GsaFileDatum": { "type": "object", "allOf": [ @@ -81458,46 +73694,6 @@ "x-discriminator-value": "file", "x-discriminator-name": "type" }, - "GsaFileErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaFileErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaConfigInvalidJsonFileErrorDetail\r\n * GsaDescriptionLengthFileErrorDetail\r\n * GsaFileNameFileErrorDetail\r\n * GsaNamedEntityFileErrorDetail\r\n * GsaNoDataFileErrorDetail\r\n * GsaNoFileFileErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "configInvalidJson": "#/components/schemas/GsaConfigInvalidJsonFileErrorDetail", - "descriptionLength": "#/components/schemas/GsaDescriptionLengthFileErrorDetail", - "fileName": "#/components/schemas/GsaFileNameFileErrorDetail", - "namedEntity": "#/components/schemas/GsaNamedEntityFileErrorDetail", - "noData": "#/components/schemas/GsaNoDataFileErrorDetail", - "noFile": "#/components/schemas/GsaNoFileFileErrorDetail" - } - } - }, - "GsaFileErrorReason": { - "enum": [ - "configInvalidJson", - "descriptionLength", - "fileName", - "namedEntity", - "noData", - "noFile" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • configInvalidJson: Configuration's value must be valid JSON.
  • \r\n
  • descriptionLength: The description exceeds the maximum number of allowed characters.
  • \r\n
  • fileName: The name is not a valid file name.
  • \r\n
  • namedEntity: The name or GUID is not valid.
  • \r\n
  • noData: The File is invalid as it has no data.
  • \r\n
  • noFile: No File found in the Form data.
  • \r\n
\r\n" - }, "GsaFileHeader": { "required": [ "dataLength", @@ -81537,109 +73733,6 @@ }, "additionalProperties": false }, - "GsaFileMoveErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaFileMoveErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaFileAlreadyExistsFileMoveErrorDetail\r\n * GsaNoSuchNewParentFileMoveErrorDetail\r\n * GsaSameParentFileMoveErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "fileAlreadyExists": "#/components/schemas/GsaFileAlreadyExistsFileMoveErrorDetail", - "noSuchNewParent": "#/components/schemas/GsaNoSuchNewParentFileMoveErrorDetail", - "sameParent": "#/components/schemas/GsaSameParentFileMoveErrorDetail" - } - } - }, - "GsaFileMoveErrorReason": { - "enum": [ - "fileAlreadyExists", - "noSuchNewParent", - "sameParent" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • fileAlreadyExists: A file with same name already exists as a child folder of the new parent.
  • \r\n
  • noSuchNewParent: A folder with the given GUID does not exist in database.
  • \r\n
  • sameParent: Unable to move file as it is already under this folder.
  • \r\n
\r\n" - }, - "GsaFileMoveException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "fileGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFileMoveErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaFileNameFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The name is not a valid file name.\r\nYou cannot use directory separators or special characters in file or folder names.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'fileName'", - "x-discriminator-value": "fileName", - "x-discriminator-name": "reason" - }, - "GsaFileNameFolderErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The name is not a valid file name.\r\nYou cannot use directory separators or special characters in file or folder names.\r\n\r\nThis extends: GsaFolderErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'fileName'", - "x-discriminator-value": "fileName", - "x-discriminator-name": "reason" - }, "GsaFilePrefixDatumCriterion": { "type": "object", "allOf": [ @@ -81663,41 +73756,24 @@ "x-discriminator-value": "filePrefix", "x-discriminator-name": "type" }, - "GsaFileUpdateException": { + "GsaFilesInfo": { "type": "object", "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "fileGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { + "files": { "type": "array", "items": { - "$ref": "#/components/schemas/GsaFileErrorDetail" + "$ref": "#/components/schemas/GsaSlimFile" }, "nullable": true } }, "additionalProperties": false }, - "GsaFilesInfo": { + "GsaFindSearchRequest": { "type": "object", "properties": { - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaSlimFile" - }, + "nameContains": { + "type": "string", "nullable": true } }, @@ -82326,12 +74402,6 @@ "format": "uuid", "nullable": true }, - "hasFiles": { - "type": "boolean" - }, - "hasChildFolders": { - "type": "boolean" - }, "name": { "type": "string" }, @@ -82342,242 +74412,6 @@ }, "additionalProperties": false }, - "GsaFolderAlreadyExistsFolderMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "newParentFolderGuid": { - "type": "string", - "format": "uuid" - } - } - } - ], - "additionalProperties": false, - "description": "A folder with same name already exists as a child folder of the new parent.\r\n\r\nThis extends: GsaFolderMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'folderAlreadyExists'", - "x-discriminator-value": "folderAlreadyExists", - "x-discriminator-name": "reason" - }, - "GsaFolderCreationException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "name": { - "type": "string", - "nullable": true - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFolderErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaFolderDeletionErrorDetail": { - "required": [ - "message" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaFolderDeletionErrorReason" - } - }, - "additionalProperties": false - }, - "GsaFolderDeletionErrorReason": { - "enum": [ - "root" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • root: You cannot delete the root folder.
  • \r\n
\r\n" - }, - "GsaFolderDeletionException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "folderGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFolderDeletionErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaFolderErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaFolderErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaFileNameFolderErrorDetail\r\n * GsaNamedEntityFolderErrorDetail\r\n * GsaUpdateRootFolderErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "fileName": "#/components/schemas/GsaFileNameFolderErrorDetail", - "namedEntity": "#/components/schemas/GsaNamedEntityFolderErrorDetail", - "updateRoot": "#/components/schemas/GsaUpdateRootFolderErrorDetail" - } - } - }, - "GsaFolderErrorReason": { - "enum": [ - "fileName", - "namedEntity", - "updateRoot" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • fileName: The name is not a valid file name.
  • \r\n
  • namedEntity: The name or GUID is not valid.
  • \r\n
  • updateRoot: You cannot edit the root folder.
  • \r\n
\r\n" - }, - "GsaFolderMoveErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaFolderMoveErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaCircularReferenceFolderMoveErrorDetail\r\n * GsaFolderAlreadyExistsFolderMoveErrorDetail\r\n * GsaNoSuchNewParentFolderMoveErrorDetail\r\n * GsaRootFolderMoveErrorDetail\r\n * GsaSameParentFolderMoveErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "circularReference": "#/components/schemas/GsaCircularReferenceFolderMoveErrorDetail", - "folderAlreadyExists": "#/components/schemas/GsaFolderAlreadyExistsFolderMoveErrorDetail", - "noSuchNewParent": "#/components/schemas/GsaNoSuchNewParentFolderMoveErrorDetail", - "root": "#/components/schemas/GsaRootFolderMoveErrorDetail", - "sameParent": "#/components/schemas/GsaSameParentFolderMoveErrorDetail" - } - } - }, - "GsaFolderMoveErrorReason": { - "enum": [ - "circularReference", - "folderAlreadyExists", - "noSuchNewParent", - "root", - "sameParent" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • circularReference: Circular reference found - you cannot move a folder to be a child of one of its descendants.
  • \r\n
  • folderAlreadyExists: A folder with same name already exists as a child folder of the new parent.
  • \r\n
  • noSuchNewParent: A folder with the given GUID does not exist in the database.
  • \r\n
  • root: You cannot move the root folder.
  • \r\n
  • sameParent: Unable to move folder as it is already under this folder.
  • \r\n
\r\n" - }, - "GsaFolderMoveException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "folderGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaFolderType": { - "enum": [ - "homePage", - "helpPage", - "exporter", - "configuration" - ], - "type": "string" - }, - "GsaFolderUpdateException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "folderGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaFolderErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, "GsaFoldersInfo": { "type": "object", "properties": { @@ -82832,21 +74666,6 @@ "x-discriminator-value": "funcNoParams", "x-discriminator-name": "reason" }, - "GsaFunctionalDataDefaultUsageDataModificationErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaUsageDataModificationErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaUsageDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('referencedByType') must be equal to 'functionalDataDefault'", - "x-discriminator-value": "functionalDataDefault", - "x-discriminator-name": "referencedByType" - }, "GsaFunctionalDatumParameterInfo": { "type": "object", "properties": { @@ -82980,7 +74799,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -83125,31 +74944,6 @@ ], "type": "string" }, - "GsaGrid": { - "required": [ - "headers", - "rows" - ], - "type": "object", - "properties": { - "headers": { - "type": "array", - "items": { - "type": "string" - } - }, - "rows": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "additionalProperties": false - }, "GsaGridGraph": { "type": "object", "allOf": [ @@ -83445,28 +75239,6 @@ "additionalProperties": false, "description": "A source table from which integrated data will be taken." }, - "GsaHelpPathsValidationResponse": { - "required": [ - "attributes", - "parameters" - ], - "type": "object", - "properties": { - "attributes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaSlimAttributeWithHelpPath" - } - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaSlimParameterWithHelpPath" - } - } - }, - "additionalProperties": false - }, "GsaHistogram": { "type": "object", "properties": { @@ -83618,30 +75390,6 @@ "type": "string", "description": "A target for a `HyperlinkDatum`

Possible values:

\r\n
    \r\n
  • newWindow: Target a new window (equivalent to \"_blank\").
  • \r\n
  • top: Target the topmost frame of the current frameset (equivalent to \"_top\").
  • \r\n
  • parent: Target the parent frame of the current frame (equivalent to \"_parent\").
  • \r\n
  • tree: Target the left-hand side frame.
  • \r\n
  • content: Target the right-hand side frame.
  • \r\n
  • currentFrame: Target the current frame (equivalent to \"_self\").
  • \r\n
\r\n" }, - "GsaInUseParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object", - "properties": { - "parameterValueGuid": { - "type": "string", - "format": "uuid" - }, - "usedByType": { - "$ref": "#/components/schemas/GsaParameterValueUsedByType" - } - } - } - ], - "additionalProperties": false, - "description": "The parameter value is being used by an attribute.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'inUse'", - "x-discriminator-value": "inUse", - "x-discriminator-name": "reason" - }, "GsaIndexRecordFailure": { "type": "object", "properties": { @@ -84725,51 +76473,6 @@ }, "additionalProperties": false }, - "GsaLink": { - "required": [ - "displayNames", - "guid", - "linkInfo", - "name", - "reverseName", - "type" - ], - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/GsaLinkAttributeType" - }, - "reverseName": { - "type": "string" - }, - "reverseDisplayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "nullable": true - }, - "linkInfo": { - "$ref": "#/components/schemas/GsaLinkInfo" - }, - "displayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - } - }, - "name": { - "type": "string" - }, - "guid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "GsaLinkAggregation": { "type": "object", "allOf": [ @@ -84893,7 +76596,7 @@ "enum": [ "recordLink", "crossDatabaseLink", - "smartLink", + "dynamicLink", "tabularAttribute" ], "type": "string" @@ -85101,9 +76804,6 @@ "description": "Source links for an integration schema can either be static (within an single database), or cross database. Cross database links\r\nmust indicate which database they are defined in - a reverse cross database link is defined in the \"target\" database of the mapped\r\nintegration schema attribute.

Possible values:

\r\n
    \r\n
  • recordLink: A static record link that links records within a single database.
  • \r\n
  • crossDatabaseLink: Links records across multiple databases.
  • \r\n
  • reverseCrossDatabaseLink: Links records across multiple databases, and is defined in the \"target\" database of the mapped integration schema attribute. Links records in that database to the source database defined in the mapping.
  • \r\n
\r\n" }, "GsaLinkTarget": { - "required": [ - "tableGuid" - ], "type": "object", "properties": { "databaseGuid": { @@ -85118,7 +76818,8 @@ }, "tableGuid": { "type": "string", - "format": "uuid" + "format": "uuid", + "nullable": true } }, "additionalProperties": false @@ -85235,8 +76936,8 @@ } ], "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaDatumCriterion\r\n\r\nThe value of discriminator property ('type') must be equal to 'smartLinkingValue'", - "x-discriminator-value": "smartLinkingValue", + "description": "\r\n\r\nThis extends: GsaDatumCriterion\r\n\r\nThe value of discriminator property ('type') must be equal to 'dynamicLinkingValue'", + "x-discriminator-value": "dynamicLinkingValue", "x-discriminator-name": "type" }, "GsaLinkingValueMatchBehavior": { @@ -85258,7 +76959,7 @@ "links": { "type": "array", "items": { - "$ref": "#/components/schemas/GsaLink" + "$ref": "#/components/schemas/GsaResolvedLink" } } }, @@ -86050,21 +77751,6 @@ "x-discriminator-value": "localShortText", "x-discriminator-name": "columnType" }, - "GsaLogScaleNegativeParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "For a log-scale parameter, all values must be greater than zero.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'logScaleNegative'", - "x-discriminator-value": "logScaleNegative", - "x-discriminator-name": "reason" - }, "GsaLogicalAggregation": { "type": "object", "allOf": [ @@ -86333,16 +78019,6 @@ "additionalProperties": false, "description": "A mapping between a source database item and an integration schema attribute." }, - "GsaMatchMode": { - "enum": [ - 0, - 1, - 2 - ], - "type": "integer", - "description": "How to match update items.

Possible values:

\r\n
    \r\n
  • BasicGuidMatch: Items are matched based on their guids alone.
  • \r\n
  • MatchOnGuidThenName: Items are matched based on their guids. Missing items are matched on name.
  • \r\n
  • FullGuidSync: Items are matched on their guids. Missing items are matched on name and have their guids rewritten to match those from the update file.
  • \r\n
\r\n", - "format": "int32" - }, "GsaMathsContent": { "required": [ "parameterContents", @@ -86667,21 +78343,6 @@ }, "additionalProperties": false }, - "GsaMultiValuedPointDataUsageDataModificationErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaUsageDataModificationErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaUsageDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('referencedByType') must be equal to 'multiValuedPointData'", - "x-discriminator-value": "multiValuedPointData", - "x-discriminator-name": "referencedByType" - }, "GsaNameAlreadyExistsErrorDetail": { "type": "object", "allOf": [ @@ -86694,9 +78355,6 @@ "name": { "type": "string", "nullable": true - }, - "parentEntityType": { - "$ref": "#/components/schemas/GsaEntityType" } } } @@ -86706,27 +78364,6 @@ "x-discriminator-value": "nameAlreadyExists", "x-discriminator-name": "reason" }, - "GsaNameAlreadySpecifiedErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Name has been specified more than once in the request.\r\n\r\nThis extends: GsaNamedEntityErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'nameAlreadySpecified'", - "x-discriminator-value": "nameAlreadySpecified", - "x-discriminator-name": "reason" - }, "GsaNameNotProvidedErrorDetail": { "type": "object", "allOf": [ @@ -86742,27 +78379,6 @@ "x-discriminator-value": "nameNotProvided", "x-discriminator-name": "reason" }, - "GsaNameWhitespaceParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Parameter value names must not contain leading or trailing whitespace.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'nameWhitespace'", - "x-discriminator-value": "nameWhitespace", - "x-discriminator-name": "reason" - }, "GsaNamedCriterion": { "type": "object", "allOf": [ @@ -86813,7 +78429,6 @@ }, "GsaNamedEntityErrorDetail": { "required": [ - "entityType", "message", "reason" ], @@ -86825,23 +78440,21 @@ "reason": { "$ref": "#/components/schemas/GsaNamedEntityErrorReason" }, - "entityType": { - "$ref": "#/components/schemas/GsaEntityType" + "entityTypeName": { + "type": "string", + "description": "e.g. 'Attribute', 'Meta-attribute'", + "nullable": true } }, "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaEntityAlreadyExistsErrorDetail\r\n * GsaNameNotProvidedErrorDetail\r\n * GsaNameAlreadyExistsErrorDetail\r\n * GsaNameAlreadySpecifiedErrorDetail\r\n * GsaEntityIdentifierAlreadySpecifiedErrorDetail\r\n * GsaDisplayNameEmptyErrorDetail\r\n * GsaDisplayNameLanguageNotProvidedErrorDetail\r\n * GsaDisplayNameLanguageNotSupportedErrorDetail", + "description": "\r\n\r\nThis is one of: \r\n * GsaEntityAlreadyExistsErrorDetail\r\n * GsaNameNotProvidedErrorDetail\r\n * GsaNameAlreadyExistsErrorDetail\r\n * GsaEntityIdentifierAlreadySpecifiedErrorDetail", "discriminator": { "propertyName": "reason", "mapping": { "entityAlreadyExists": "#/components/schemas/GsaEntityAlreadyExistsErrorDetail", "nameNotProvided": "#/components/schemas/GsaNameNotProvidedErrorDetail", "nameAlreadyExists": "#/components/schemas/GsaNameAlreadyExistsErrorDetail", - "nameAlreadySpecified": "#/components/schemas/GsaNameAlreadySpecifiedErrorDetail", - "entityIdentifierAlreadySpecified": "#/components/schemas/GsaEntityIdentifierAlreadySpecifiedErrorDetail", - "displayNameEmpty": "#/components/schemas/GsaDisplayNameEmptyErrorDetail", - "displayNameLanguageNotProvided": "#/components/schemas/GsaDisplayNameLanguageNotProvidedErrorDetail", - "displayNameLanguageNotSupported": "#/components/schemas/GsaDisplayNameLanguageNotSupportedErrorDetail" + "entityIdentifierAlreadySpecified": "#/components/schemas/GsaEntityIdentifierAlreadySpecifiedErrorDetail" } } }, @@ -86850,110 +78463,10 @@ "entityAlreadyExists", "entityIdentifierAlreadySpecified", "nameNotProvided", - "nameAlreadyExists", - "nameAlreadySpecified", - "displayNameEmpty", - "displayNameLanguageNotProvided", - "displayNameLanguageNotSupported" + "nameAlreadyExists" ], "type": "string" }, - "GsaNamedEntityFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The name or GUID is not valid.\r\nSee \"errors\" for details.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'namedEntity'", - "x-discriminator-value": "namedEntity", - "x-discriminator-name": "reason" - }, - "GsaNamedEntityFolderErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderErrorDetail" - }, - { - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The name or GUID is not valid.\r\nSee \"errors\" for details.\r\n\r\nThis extends: GsaFolderErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'namedEntity'", - "x-discriminator-value": "namedEntity", - "x-discriminator-name": "reason" - }, - "GsaNamedEntityParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The name or GUID is not valid.\r\nSee \"errors\" for details.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'namedEntity'", - "x-discriminator-value": "namedEntity", - "x-discriminator-name": "reason" - }, - "GsaNamedEntityParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNamedEntityErrorDetail" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "The parameter value name or GUID is not valid.\r\nSee \"errors\" for details.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'namedEntity'", - "x-discriminator-value": "namedEntity", - "x-discriminator-name": "reason" - }, "GsaNewLayoutAssociationChainItem": { "type": "object", "allOf": [ @@ -87179,26 +78692,6 @@ "x-discriminator-value": "smartLink", "x-discriminator-name": "itemType" }, - "GsaNoDataFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object", - "properties": { - "isConfiguration": { - "type": "boolean" - } - } - } - ], - "additionalProperties": false, - "description": "The File is invalid as it has no data/Configuration must have a value.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noData'", - "x-discriminator-value": "noData", - "x-discriminator-name": "reason" - }, "GsaNoExpressionsMathsFunctionalErrorDetail": { "type": "object", "allOf": [ @@ -87214,36 +78707,6 @@ "x-discriminator-value": "noExpressions", "x-discriminator-name": "reason" }, - "GsaNoFileFileErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "No File found in the Form data.\r\n\r\nThis extends: GsaFileErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noFile'", - "x-discriminator-value": "noFile", - "x-discriminator-name": "reason" - }, - "GsaNoParameterValuesParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "No parameter values provided. At least one parameter value is required.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noParameterValues'", - "x-discriminator-value": "noParameterValues", - "x-discriminator-name": "reason" - }, "GsaNoSuchEntityAttributeErrorDetail": { "type": "object", "allOf": [ @@ -87337,62 +78800,6 @@ "x-discriminator-value": "noSuchExpressions", "x-discriminator-name": "reason" }, - "GsaNoSuchNewParentFileMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileMoveErrorDetail" - }, - { - "type": "object", - "properties": { - "folderGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "databaseKey": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "A folder with the given GUID does not exist in database.\r\n\r\nThis extends: GsaFileMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noSuchNewParent'", - "x-discriminator-value": "noSuchNewParent", - "x-discriminator-name": "reason" - }, - "GsaNoSuchNewParentFolderMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" - }, - { - "type": "object", - "properties": { - "newParentFolderGuid": { - "type": "string", - "format": "uuid" - }, - "folderType": { - "$ref": "#/components/schemas/GsaFolderType" - }, - "databaseKey": { - "type": "string", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "A folder with the given GUID does not exist in the database.\r\n\r\nThis extends: GsaFolderMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noSuchNewParent'", - "x-discriminator-value": "noSuchNewParent", - "x-discriminator-name": "reason" - }, "GsaNoSuchParameterValueParameterContentErrorDetail": { "type": "object", "allOf": [ @@ -87422,27 +78829,6 @@ "x-discriminator-value": "noSuchParameterValue", "x-discriminator-name": "reason" }, - "GsaNoSuchUnitParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "guid": { - "type": "string", - "format": "uuid" - } - } - } - ], - "additionalProperties": false, - "description": "Could not find the unit with the given GUID.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'noSuchUnit'", - "x-discriminator-value": "noSuchUnit", - "x-discriminator-name": "reason" - }, "GsaNoValueExistsGraphValue": { "type": "object", "allOf": [ @@ -87523,89 +78909,6 @@ "x-discriminator-value": "notVersioned", "x-discriminator-name": "reason" }, - "GsaNotificationUser": { - "required": [ - "emailAddress", - "emailNotifications", - "identity", - "name", - "watches" - ], - "type": "object", - "properties": { - "identity": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string" - }, - "emailAddress": { - "type": "string" - }, - "emailNotifications": { - "type": "boolean" - }, - "watches": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNotificationWatch" - } - } - }, - "additionalProperties": false - }, - "GsaNotificationUsers": { - "required": [ - "users" - ], - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaNotificationUser" - } - } - }, - "additionalProperties": false - }, - "GsaNotificationWatch": { - "required": [ - "databaseKey", - "dateAddedUtc", - "identifier", - "identity", - "secondaryIdentifier", - "watchType" - ], - "type": "object", - "properties": { - "identity": { - "type": "integer", - "format": "int32" - }, - "watchType": { - "$ref": "#/components/schemas/GsaWatchType" - }, - "identifier": { - "type": "string", - "format": "uuid" - }, - "secondaryIdentifier": { - "type": "string", - "format": "uuid" - }, - "dateAddedUtc": { - "type": "string", - "format": "date-time" - }, - "databaseKey": { - "type": "string" - } - }, - "additionalProperties": false - }, "GsaNumericGraphParameterValue": { "type": "object", "allOf": [ @@ -87787,21 +79090,6 @@ "x-discriminator-value": "numeric", "x-discriminator-name": "type" }, - "GsaNumericRestrictedInterpolationParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "Numeric restricted parameters cannot have interpolation type other than 'None'.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'numericRestrictedInterpolation'", - "x-discriminator-value": "numericRestrictedInterpolation", - "x-discriminator-name": "reason" - }, "GsaObjectIdentifier": { "type": "object", "properties": { @@ -87826,48 +79114,6 @@ "additionalProperties": false, "description": "Properties that identify an object within the MI system.\r\n \r\nAn Granta.Server.Api.ObjectIdentifier created by MI will always contain values for all three\r\nproperties. An Granta.Server.Api.ObjectIdentifier created by a client need not contain values for\r\nall three properties, and is allowed to contain values or combinations of values that do\r\nnot correspond to an existing object in MI (in which case the Granta.Server.Api.ObjectIdentifier\r\nwill be resolved against MI objects first by GUID, and then by name, and finally by identity,\r\ntaking the first match and ignoring subsequent fields." }, - "GsaOrphanedSearchIndex": { - "required": [ - "indexName" - ], - "type": "object", - "properties": { - "indexName": { - "type": "string" - } - }, - "additionalProperties": false - }, - "GsaOrphanedSearchIndexesInfo": { - "required": [ - "diskSpaceUsedInBytes", - "orphanedSearchIndexes" - ], - "type": "object", - "properties": { - "orphanedSearchIndexes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaOrphanedSearchIndex" - } - }, - "diskSpaceUsedInBytes": { - "type": "integer", - "format": "int64" - } - }, - "additionalProperties": false - }, - "GsaPaginationLinks": { - "type": "object", - "properties": { - "next": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "GsaPagingOptions": { "type": "object", "properties": { @@ -88121,30 +79367,6 @@ "x-discriminator-value": "parameterContentUnknownParameters", "x-discriminator-name": "reason" }, - "GsaParameterCreationException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "name": { - "type": "string", - "nullable": true - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, "GsaParameterDataValue": { "required": [ "parameterType" @@ -88173,7 +79395,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -88185,54 +79407,6 @@ }, "additionalProperties": false }, - "GsaParameterErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaParameterErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaDefaultParameterValueGuidParameterErrorDetail\r\n * GsaDefaultParameterValueIndexParameterErrorDetail\r\n * GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail\r\n * GsaDefaultParameterValueIndexAndGuidParameterErrorDetail\r\n * GsaNamedEntityParameterErrorDetail\r\n * GsaNoParameterValuesParameterErrorDetail\r\n * GsaNoSuchUnitParameterErrorDetail\r\n * GsaNumericRestrictedInterpolationParameterErrorDetail\r\n * GsaParameterTypeParameterErrorDetail\r\n * GsaParameterValueParameterErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "defaultParameterValueGuid": "#/components/schemas/GsaDefaultParameterValueGuidParameterErrorDetail", - "defaultParameterValueIndex": "#/components/schemas/GsaDefaultParameterValueIndexParameterErrorDetail", - "defaultParameterValueIndexWithoutValues": "#/components/schemas/GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail", - "defaultParameterValueIndexAndGuid": "#/components/schemas/GsaDefaultParameterValueIndexAndGuidParameterErrorDetail", - "namedEntity": "#/components/schemas/GsaNamedEntityParameterErrorDetail", - "noParameterValues": "#/components/schemas/GsaNoParameterValuesParameterErrorDetail", - "noSuchUnit": "#/components/schemas/GsaNoSuchUnitParameterErrorDetail", - "numericRestrictedInterpolation": "#/components/schemas/GsaNumericRestrictedInterpolationParameterErrorDetail", - "parameterType": "#/components/schemas/GsaParameterTypeParameterErrorDetail", - "parameterValue": "#/components/schemas/GsaParameterValueParameterErrorDetail" - } - } - }, - "GsaParameterErrorReason": { - "enum": [ - "defaultParameterValueGuid", - "defaultParameterValueIndex", - "defaultParameterValueIndexAndGuid", - "defaultParameterValueIndexWithoutValues", - "namedEntity", - "noParameterValues", - "noSuchUnit", - "numericRestrictedInterpolation", - "parameterType", - "parameterValue" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • defaultParameterValueGuid: Default parameter value GUID does not match any parameter value.
  • \r\n
  • defaultParameterValueIndex: Default parameter value index out of range.
  • \r\n
  • defaultParameterValueIndexAndGuid: Default parameter value can be specified by either index or GUID, not both.
  • \r\n
  • defaultParameterValueIndexWithoutValues: Default parameter value index can only be used when values are being updated. Use DefaultParameterValueGuid when values are not being updated.
  • \r\n
  • namedEntity: The name or GUID is not valid.
  • \r\n
  • noParameterValues: No parameter values provided. At least one parameter value is required.
  • \r\n
  • noSuchUnit: Could not find the unit with the given GUID.
  • \r\n
  • numericRestrictedInterpolation: Numeric restricted parameters cannot have interpolation type other than 'None'.
  • \r\n
  • parameterType: When updating an existing parameter, parameter type must match.
  • \r\n
  • parameterValue: Parameter value is not valid.
  • \r\n
\r\n" - }, "GsaParameterInfo": { "type": "object", "properties": { @@ -88348,50 +79522,6 @@ "x-discriminator-value": "parameterType", "x-discriminator-name": "reason" }, - "GsaParameterTypeParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "newParameterType": { - "$ref": "#/components/schemas/GsaParameterType" - } - } - } - ], - "additionalProperties": false, - "description": "When updating an existing parameter, parameter type must match.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'parameterType'", - "x-discriminator-value": "parameterType", - "x-discriminator-name": "reason" - }, - "GsaParameterUpdateException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "parameterGuid": { - "type": "string", - "format": "uuid" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, "GsaParameterValue": { "required": [ "guid", @@ -88417,34 +79547,6 @@ } } }, - "GsaParameterValueCreationException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "name": { - "type": "string", - "nullable": true - }, - "parameterGuid": { - "type": "string", - "format": "uuid" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, "GsaParameterValueDeletionException": { "type": "object", "properties": { @@ -88453,7 +79555,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -88465,70 +79567,6 @@ }, "additionalProperties": false }, - "GsaParameterValueErrorDetail": { - "required": [ - "message", - "reason" - ], - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "reason": { - "$ref": "#/components/schemas/GsaParameterValueErrorReason" - } - }, - "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaInUseParameterValueErrorDetail\r\n * GsaLogScaleNegativeParameterValueErrorDetail\r\n * GsaNamedEntityParameterValueErrorDetail\r\n * GsaNameWhitespaceParameterValueErrorDetail\r\n * GsaParameterValueTypeParameterValueErrorDetail\r\n * GsaValueNotProvidedParameterValueErrorDetail", - "discriminator": { - "propertyName": "reason", - "mapping": { - "inUse": "#/components/schemas/GsaInUseParameterValueErrorDetail", - "logScaleNegative": "#/components/schemas/GsaLogScaleNegativeParameterValueErrorDetail", - "namedEntity": "#/components/schemas/GsaNamedEntityParameterValueErrorDetail", - "nameWhitespace": "#/components/schemas/GsaNameWhitespaceParameterValueErrorDetail", - "parameterValueType": "#/components/schemas/GsaParameterValueTypeParameterValueErrorDetail", - "valueNotProvided": "#/components/schemas/GsaValueNotProvidedParameterValueErrorDetail" - } - } - }, - "GsaParameterValueErrorReason": { - "enum": [ - "inUse", - "logScaleNegative", - "namedEntity", - "nameWhitespace", - "parameterValueType", - "valueNotProvided" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • inUse: The parameter value is being used.
  • \r\n
  • logScaleNegative: For a log-scale parameter, all values must be greater than zero.
  • \r\n
  • namedEntity: The parameter value name or GUID is not valid.
  • \r\n
  • nameWhitespace: Parameter value names must not contain leading or trailing whitespace.
  • \r\n
  • parameterValueType: All parameter values should match the type (discrete or numeric) of the parameter.
  • \r\n
  • valueNotProvided: Numeric parameter values must have a value.
  • \r\n
\r\n" - }, - "GsaParameterValueParameterErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterErrorDetail" - }, - { - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Parameter value is not valid.\r\nSee \"errors\" for details.\r\n\r\nThis extends: GsaParameterErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'parameterValue'", - "x-discriminator-value": "parameterValue", - "x-discriminator-name": "reason" - }, "GsaParameterValueType": { "enum": [ "discrete", @@ -88536,62 +79574,6 @@ ], "type": "string" }, - "GsaParameterValueTypeParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object", - "properties": { - "parameterType": { - "$ref": "#/components/schemas/GsaParameterType" - } - } - } - ], - "additionalProperties": false, - "description": "All parameter values should match the type (discrete or numeric) of the parameter.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'parameterValueType'", - "x-discriminator-value": "parameterValueType", - "x-discriminator-name": "reason" - }, - "GsaParameterValueUpdateException": { - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "code": { - "$ref": "#/components/schemas/GsaErrorCode" - }, - "parameterValueGuid": { - "type": "string", - "format": "uuid" - }, - "parameterGuid": { - "type": "string", - "format": "uuid" - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "GsaParameterValueUsedByType": { - "enum": [ - "functionalDataDefault", - "multiValuedPointData" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • functionalDataDefault: The parameter value is used as the default parameter value on one or more functional datums.
  • \r\n
  • multiValuedPointData: The discrete parameter value is used by multi-valued point data.
  • \r\n
\r\n" - }, "GsaParameterWithDataValue": { "required": [ "parameter", @@ -89206,10 +80188,6 @@ "GsaQueryAttribute": { "type": "object", "properties": { - "isProtected": { - "type": "boolean", - "nullable": true - }, "type": { "$ref": "#/components/schemas/GsaAttributeType" }, @@ -89228,10 +80206,6 @@ "type": "boolean", "nullable": true }, - "helpPath": { - "type": "string", - "nullable": true - }, "axisName": { "$ref": "#/components/schemas/GsaQueryAxisName" }, @@ -89361,10 +80335,6 @@ "GsaQueryAttributeProperties": { "type": "object", "properties": { - "isProtected": { - "type": "boolean", - "nullable": true - }, "type": { "type": "boolean", "nullable": true @@ -89386,10 +80356,6 @@ "description": "For a Granta.Server.Api.AttributeType.FloatFunctional attribute, whether the value for this attribute is ranged.\r\nFor other attribute types, returns null", "nullable": true }, - "helpPath": { - "type": "boolean", - "nullable": true - }, "axisName": { "$ref": "#/components/schemas/GsaQueryAxisNameProperties" }, @@ -89548,10 +80514,6 @@ "GsaQueryDiscreteType": { "type": "object", "properties": { - "isProtected": { - "type": "boolean", - "nullable": true - }, "discreteValues": { "type": "array", "items": { @@ -89602,10 +80564,6 @@ "GsaQueryDiscreteTypeProperties": { "type": "object", "properties": { - "isProtected": { - "type": "boolean", - "nullable": true - }, "discreteValues": { "$ref": "#/components/schemas/GsaQuerySlimNamedEntityProperties" }, @@ -90357,15 +81315,43 @@ "x-discriminator-value": "recordAncestorHistory", "x-discriminator-name": "type" }, - "GsaRecordAndAttributeSelectionType": { - "enum": [ - 0, - 1, - 2 + "GsaRecordCapabilities": { + "required": [ + "canDelete", + "canGetModifiableVersion", + "canModify", + "canRelease", + "canWithdraw", + "canWrite" ], - "type": "integer", - "description": "

Possible values:

\r\n
    \r\n
  • profile: The original type of selection - attributes and records are retrieved from the selected profile. If no profile is selected, then no attributes or records are selected.
  • \r\n
  • allAttributes: All attributes in the database are selected.
  • \r\n
  • allAttributesAndRecords: All attributes and records in the database are selected.
  • \r\n
\r\n", - "format": "int32" + "type": "object", + "properties": { + "canWrite": { + "type": "boolean", + "description": "True if the current user has write permission for this record version, and is in write mode.\r\nWrite permission is required to edit record properties, and to perform version control actions." + }, + "canModify": { + "type": "boolean", + "description": "True if the current user can modify this record version, e.g. edit record properties.\r\nThe user needs write permission, and if the table is version controlled, the record must be unreleased." + }, + "canRelease": { + "type": "boolean", + "description": "True if the current user can release this record version." + }, + "canGetModifiableVersion": { + "type": "boolean", + "description": "True if the current user can get a modifiable version of this record version (gets the latest modifiable record version, or creates a new one if none exists)." + }, + "canWithdraw": { + "type": "boolean", + "description": "True if the current user can withdraw this record version." + }, + "canDelete": { + "type": "boolean", + "description": "True if the current user can delete this record version." + } + }, + "additionalProperties": false }, "GsaRecordColor": { "enum": [ @@ -90502,7 +81488,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -90543,7 +81529,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -90625,12 +81611,12 @@ } }, "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaStaticRecordLinkGroup\r\n * GsaSmartRecordLinkGroup\r\n * GsaCrossDatabaseRecordLinkGroup", + "description": "\r\n\r\nThis is one of: \r\n * GsaStaticRecordLinkGroup\r\n * GsaDynamicRecordLinkGroup\r\n * GsaCrossDatabaseRecordLinkGroup", "discriminator": { "propertyName": "type", "mapping": { "static": "#/components/schemas/GsaStaticRecordLinkGroup", - "smart": "#/components/schemas/GsaSmartRecordLinkGroup", + "dynamic": "#/components/schemas/GsaDynamicRecordLinkGroup", "crossDatabase": "#/components/schemas/GsaCrossDatabaseRecordLinkGroup" } } @@ -90638,7 +81624,7 @@ "GsaRecordLinkGroupType": { "enum": [ "static", - "smart", + "dynamic", "crossDatabase" ], "type": "string" @@ -91173,46 +82159,9 @@ "x-discriminator-value": "recordType", "x-discriminator-name": "propertyName" }, - "GsaRecordUserCapabilities": { - "required": [ - "canDelete", - "canGetModifiableVersion", - "canModify", - "canRelease", - "canWithdraw", - "canWrite" - ], - "type": "object", - "properties": { - "canWrite": { - "type": "boolean", - "description": "True if the current user has write permission for this record version, and is in write mode.\r\nWrite permission is required to edit record properties, and to perform version control actions." - }, - "canModify": { - "type": "boolean", - "description": "True if the current user can modify this record version, e.g. edit record properties.\r\nThe user needs write permission, and if the table is version controlled, the record must be unreleased." - }, - "canRelease": { - "type": "boolean", - "description": "True if the current user can release this record version." - }, - "canGetModifiableVersion": { - "type": "boolean", - "description": "True if the current user can get a modifiable version of this record version (gets the latest modifiable record version, or creates a new one if none exists)." - }, - "canWithdraw": { - "type": "boolean", - "description": "True if the current user can withdraw this record version." - }, - "canDelete": { - "type": "boolean", - "description": "True if the current user can delete this record version." - } - }, - "additionalProperties": false - }, "GsaRecordVersion": { "required": [ + "capabilities", "createdByUser", "createdDate", "databaseKey", @@ -91225,7 +82174,6 @@ "recordType", "shortName", "table", - "userCapabilities", "versionNumber", "versionState" ], @@ -91268,8 +82216,8 @@ "recordColor": { "$ref": "#/components/schemas/GsaRecordColor" }, - "userCapabilities": { - "$ref": "#/components/schemas/GsaRecordUserCapabilities" + "capabilities": { + "$ref": "#/components/schemas/GsaRecordCapabilities" }, "versionNumber": { "type": "integer", @@ -91351,16 +82299,14 @@ "enum": [ "expression", "versionControlledData", - "smartLinkGroup", + "dynamicLinkGroup", "tabularAttribute", "xyChartTemplate", "searchMask", "securityAttribute", "attribute", "data", - "defaultParameterValue", - "functionalDataDefault", - "multiValuedPointData" + "defaultParameterValue" ], "type": "string" }, @@ -91372,18 +82318,6 @@ ], "type": "string" }, - "GsaRegisterUpdateRequest": { - "type": "object", - "properties": { - "header": { - "$ref": "#/components/schemas/GsaDataUpdateHeader" - }, - "applyOptions": { - "$ref": "#/components/schemas/GsaApplyOptions" - } - }, - "additionalProperties": false - }, "GsaReleaseRecordVersionControlException": { "type": "object", "properties": { @@ -91392,7 +82326,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -91412,7 +82346,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -91526,51 +82460,91 @@ }, "additionalProperties": false }, - "GsaResolveLinkTargetsInfo": { + "GsaResolvedLink": { "required": [ - "resolvedLinkTargets" + "displayNames", + "guid", + "linkInfo", + "name", + "reverseName", + "type" ], "type": "object", "properties": { - "resolvedLinkTargets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaResolvedLinkTarget" + "identity": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/GsaLinkAttributeType" + }, + "reverseName": { + "type": "string" + }, + "reverseDisplayNames": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "linkInfo": { + "$ref": "#/components/schemas/GsaResolvedLinkInfo" + }, + "displayNames": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true } + }, + "name": { + "type": "string" + }, + "guid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false }, - "GsaResolveLinkTargetsRequest": { + "GsaResolvedLinkInfo": { "required": [ - "linkTargets" + "linkSource", + "linkTarget" ], "type": "object", "properties": { - "linkTargets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaLinkTarget" - } + "linkSource": { + "$ref": "#/components/schemas/GsaResolvedLinkTarget" + }, + "linkTarget": { + "$ref": "#/components/schemas/GsaResolvedLinkTarget" } }, "additionalProperties": false }, "GsaResolvedLinkTarget": { "required": [ - "linkTarget", - "tables" + "databaseGuid", + "databaseVersionGuid", + "tableGuid" ], "type": "object", "properties": { - "linkTarget": { - "$ref": "#/components/schemas/GsaLinkTarget" + "databaseGuid": { + "type": "string", + "format": "uuid" }, - "tables": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaSlimTable" - } + "databaseVersionGuid": { + "type": "string", + "format": "uuid" + }, + "tableGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false @@ -91609,96 +82583,6 @@ }, "additionalProperties": false }, - "GsaRetargetPotentialRequest": { - "required": [ - "targetDatabaseKeys" - ], - "type": "object", - "properties": { - "targetDatabaseKeys": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of database keys to check for retargeting potential." - } - }, - "additionalProperties": false, - "description": "Request to get databases with retarget potential - whether there are any cross-database tabular attributes that target them." - }, - "GsaRetargetRequest": { - "required": [ - "newTargetDatabaseKey", - "previousTargetDatabaseKey" - ], - "type": "object", - "properties": { - "previousTargetDatabaseKey": { - "type": "string", - "description": "Database key that the tabular attributes were targeting before the operation." - }, - "newTargetDatabaseKey": { - "type": "string", - "description": "Database key that the tabular attributes will target after the operation." - } - }, - "additionalProperties": false, - "description": "Request to retarget tabular attributes from one database to another." - }, - "GsaRetargetResult": { - "required": [ - "attributeName", - "result", - "sourceDatabaseKey", - "tableName" - ], - "type": "object", - "properties": { - "sourceDatabaseKey": { - "type": "string", - "description": "Database key of the source database - the one holding the tabular attribute that was retargeted." - }, - "tableName": { - "type": "string", - "description": "Table name of the source table - the one holding the tabular attribute that was retargeted." - }, - "attributeName": { - "type": "string", - "description": "Name of the tabular attribute that was retargeted." - }, - "result": { - "$ref": "#/components/schemas/GsaRetargetResultType" - } - }, - "additionalProperties": false, - "description": "Result of a retargeting operation.\r\n\r\nresult: Result type of the retargeting operation." - }, - "GsaRetargetResultType": { - "enum": [ - "success", - "tableNotFound", - "linkingAttributeNotFound", - "columnMissing", - "missingAdminPermissions" - ], - "type": "string", - "description": "

Possible values:

\r\n
    \r\n
  • success: Success.
  • \r\n
  • tableNotFound: Target table could not be found.
  • \r\n
  • linkingAttributeNotFound: Linking attribute could not be found.
  • \r\n
  • columnMissing: Column missing.
  • \r\n
  • missingAdminPermissions: User does not have admin permissions to the database.
  • \r\n
\r\n" - }, - "GsaRetargetResultsInfo": { - "required": [ - "results" - ], - "type": "object", - "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaRetargetResult" - } - } - }, - "additionalProperties": false - }, "GsaRichTextType": { "enum": [ "plain", @@ -91790,62 +82674,18 @@ }, "additionalProperties": false }, - "GsaRootFolderMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "You cannot move the root folder.\r\n\r\nThis extends: GsaFolderMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'root'", - "x-discriminator-value": "root", - "x-discriminator-name": "reason" - }, - "GsaSameParentFileMoveErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFileMoveErrorDetail" - }, - { - "type": "object", - "properties": { - "newParentFolderGuid": { - "type": "string", - "format": "uuid" - } - } - } - ], - "additionalProperties": false, - "description": "Unable to move file as it is already under this folder.\r\n\r\nThis extends: GsaFileMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'sameParent'", - "x-discriminator-value": "sameParent", - "x-discriminator-name": "reason" - }, - "GsaSameParentFolderMoveErrorDetail": { + "GsaSaveSearchRequest": { "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderMoveErrorDetail" + "properties": { + "searchConfig": { + "type": "string", + "nullable": true }, - { - "type": "object", - "properties": { - "newParentFolderGuid": { - "type": "string", - "format": "uuid" - } - } + "detail": { + "$ref": "#/components/schemas/GsaSearchDetail" } - ], - "additionalProperties": false, - "description": "Unable to move folder as it is already under this folder.\r\n\r\nThis extends: GsaFolderMoveErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'sameParent'", - "x-discriminator-value": "sameParent", - "x-discriminator-name": "reason" + }, + "additionalProperties": false }, "GsaSchemaTooNewAddDatabaseValidationIssue": { "type": "object", @@ -91922,6 +82762,28 @@ }, "additionalProperties": false }, + "GsaSearchDetail": { + "type": "object", + "properties": { + "name": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "notes": { + "type": "string", + "nullable": true + }, + "criteria": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, "GsaSearchIndexStatus": { "type": "object", "properties": { @@ -92196,6 +83058,61 @@ "additionalProperties": false, "description": "The security groups that apply to an integration schema. If null or empty, the default MI security groups will be used." }, + "GsaSelectionSearch": { + "type": "object", + "properties": { + "searchIdentifier": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "notes": { + "type": "string", + "nullable": true + }, + "currentUserAccessInfo": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": { + "type": "boolean" + }, + "nullable": true + }, + "nullable": true + }, + "criteria": { + "type": "string", + "nullable": true + }, + "exploreConfig": { + "type": "string", + "nullable": true + }, + "createdTimestamp": { + "type": "string", + "format": "date-time" + }, + "createdUserOrGroup": { + "$ref": "#/components/schemas/GsaUserOrGroup" + }, + "lastModifiedTimestamp": { + "type": "string", + "format": "date-time" + }, + "lastModifiedUserOrGroup": { + "$ref": "#/components/schemas/GsaUserOrGroup" + } + }, + "additionalProperties": false + }, "GsaSeriesGraph": { "type": "object", "allOf": [ @@ -92910,7 +83827,6 @@ "displayNames", "guid", "isHiddenFromSearchCriteria", - "isProtected", "name", "table", "type" @@ -92927,60 +83843,6 @@ "type": "boolean", "description": "If true, the attribute should not be shown in search UIs.\r\nIt will still be included in text searches." }, - "isProtected": { - "type": "boolean", - "description": "If true, the attribute is protected from all changes." - }, - "table": { - "$ref": "#/components/schemas/GsaSlimEntity" - }, - "displayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - } - }, - "name": { - "type": "string" - }, - "guid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "GsaSlimAttributeWithHelpPath": { - "required": [ - "displayNames", - "guid", - "isHiddenFromSearchCriteria", - "isProtected", - "name", - "table", - "type" - ], - "type": "object", - "properties": { - "helpPath": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/GsaAttributeType" - }, - "aboutAttribute": { - "$ref": "#/components/schemas/GsaSlimTypedAttribute" - }, - "isHiddenFromSearchCriteria": { - "type": "boolean", - "description": "If true, the attribute should not be shown in search UIs.\r\nIt will still be included in text searches." - }, - "isProtected": { - "type": "boolean", - "description": "If true, the attribute is protected from all changes." - }, "table": { "$ref": "#/components/schemas/GsaSlimEntity" }, @@ -93041,8 +83903,7 @@ "isLocked", "isReadOnly", "key", - "status", - "userCapabilities" + "status" ], "type": "object", "properties": { @@ -93088,15 +83949,6 @@ "schemaVersion": { "type": "string", "nullable": true - }, - "userCapabilities": { - "$ref": "#/components/schemas/GsaDatabaseUserCapabilities" - }, - "configurationDetails": { - "$ref": "#/components/schemas/GsaConfigurationDetails" - }, - "issues": { - "$ref": "#/components/schemas/GsaDatabaseIssues" } }, "additionalProperties": false @@ -93105,7 +83957,6 @@ "required": [ "guid", "isOrdered", - "isProtected", "name" ], "type": "object", @@ -93113,10 +83964,6 @@ "isOrdered": { "type": "boolean" }, - "isProtected": { - "type": "boolean", - "description": "If true, the discrete type is protected from all changes." - }, "name": { "type": "string" }, @@ -93316,39 +84163,6 @@ }, "additionalProperties": false }, - "GsaSlimParameterWithHelpPath": { - "required": [ - "displayNames", - "guid", - "name", - "type" - ], - "type": "object", - "properties": { - "helpPath": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/GsaParameterType" - }, - "displayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - } - }, - "name": { - "type": "string" - }, - "guid": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, "GsaSlimPermission": { "required": [ "guid", @@ -93577,7 +84391,6 @@ }, "GsaSlimTable": { "required": [ - "databaseKey", "displayNames", "guid", "isHiddenFromBrowse", @@ -93588,9 +84401,6 @@ ], "type": "object", "properties": { - "databaseKey": { - "type": "string" - }, "isHiddenFromBrowse": { "type": "boolean" }, @@ -93691,64 +84501,6 @@ "additionalProperties": false, "description": "Unit system stripped down to its basic fields (mappings excluded)." }, - "GsaSmartLinkGroupUsageDataModificationErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaUsageDataModificationErrorDetail" - }, - { - "type": "object", - "properties": { - "referencedBy": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaSlimNamedEntity" - }, - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaUsageDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('referencedByType') must be equal to 'smartLinkGroup'", - "x-discriminator-value": "smartLinkGroup", - "x-discriminator-name": "referencedByType" - }, - "GsaSmartRecordLinkGroup": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaRecordLinkGroup" - }, - { - "required": [ - "attributePairs", - "forbidOrphans", - "referentialIntegrityModel" - ], - "type": "object", - "properties": { - "forbidOrphans": { - "type": "boolean" - }, - "referentialIntegrityModel": { - "$ref": "#/components/schemas/GsaReferentialIntegrityModel" - }, - "attributePairs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaAttributeLinkPair" - } - } - } - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'smart'", - "x-discriminator-value": "smart", - "x-discriminator-name": "type" - }, "GsaSmtpProperties": { "type": "object", "properties": { @@ -94078,35 +84830,8 @@ }, "additionalProperties": false }, - "GsaSupportProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "telephone": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "licensingContactDetail": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "GsaTable": { "required": [ - "databaseKey", "displayNames", "guid", "isHiddenFromBrowse", @@ -94141,9 +84866,6 @@ "versionState": { "$ref": "#/components/schemas/GsaVersionState" }, - "databaseKey": { - "type": "string" - }, "isHiddenFromBrowse": { "type": "boolean" }, @@ -94184,7 +84906,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", @@ -95344,15 +86066,6 @@ "description": "If true, the attribute should not be shown in search UIs.\r\nIt will still be included in text searches.\r\nIf not specified, it will be set to the default value for the attribute type.", "nullable": true }, - "displayNames": { - "type": "object", - "additionalProperties": { - "type": "string", - "nullable": true - }, - "description": "Set a display name for different languages.\r\nSupported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\".", - "nullable": true - }, "name": { "type": "string" }, @@ -95597,18 +86310,6 @@ "x-discriminator-value": "dateTime", "x-discriminator-name": "type" }, - "GsaUpdateDefaultDatabase": { - "required": [ - "defaultDatabaseKey" - ], - "type": "object", - "properties": { - "defaultDatabaseKey": { - "type": "string" - } - }, - "additionalProperties": false - }, "GsaUpdateDefaultProfile": { "required": [ "key" @@ -95740,16 +86441,7 @@ "$ref": "#/components/schemas/GsaUpdateParameter" }, { - "type": "object", - "properties": { - "values": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaUpdateDiscreteParameterValue" - }, - "description": "Update the set of parameter values.\r\nExisting parameter values will be matched by GUID.\r\nIf an existing parameter value is not included, it will be deleted.\r\nIf a GUID is not provided, or the GUID does not match an existing value, a new value will be created.\r\nNew values must have a name." - } - } + "type": "object" } ], "additionalProperties": false, @@ -95831,32 +86523,34 @@ }, "additionalProperties": false }, - "GsaUpdateDisplayNames": { + "GsaUpdateDynamicRecordLinkGroup": { "type": "object", - "properties": { - "displayNames": { - "$ref": "#/components/schemas/GsaGrid" - } - }, - "additionalProperties": false - }, - "GsaUpdateDisplayNamesResponse": { - "required": [ - "numberDeleted", - "numberUpdated" - ], - "type": "object", - "properties": { - "numberUpdated": { - "type": "integer", - "format": "int32" + "allOf": [ + { + "$ref": "#/components/schemas/GsaUpdateRecordLinkGroup" }, - "numberDeleted": { - "type": "integer", - "format": "int32" + { + "type": "object", + "properties": { + "forbidOrphans": { + "type": "boolean" + }, + "referentialIntegrityModel": { + "$ref": "#/components/schemas/GsaReferentialIntegrityModel" + }, + "attributePairs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GsaCreateAttributeLinkPair" + } + } + } } - }, - "additionalProperties": false + ], + "additionalProperties": false, + "description": "\r\n\r\nThis extends: GsaUpdateRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'dynamic'", + "x-discriminator-value": "dynamic", + "x-discriminator-name": "type" }, "GsaUpdateExpression": { "type": "object", @@ -96495,16 +87189,6 @@ "x-discriminator-value": "mathsFunctional", "x-discriminator-name": "type" }, - "GsaUpdateNotificationUser": { - "type": "object", - "properties": { - "emailAddress": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "GsaUpdateNumericParameter": { "type": "object", "allOf": [ @@ -96517,13 +87201,6 @@ "unit": { "$ref": "#/components/schemas/GsaSlimEntity" }, - "values": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaUpdateNumericParameterValue" - }, - "description": "Update the set of parameter values.\r\nExisting parameter values will be matched by GUID.\r\nIf an existing parameter value is not included, it will be deleted.\r\nIf a GUID is not provided, or the GUID does not match an existing value, a new value will be created.\r\nNew values must have a value." - }, "interpolationType": { "$ref": "#/components/schemas/GsaParameterInterpolationType" }, @@ -96603,14 +87280,8 @@ }, "defaultParameterValueGuid": { "type": "string", - "description": "Use to set the default value when the parameter value GUID is known.", "format": "uuid" }, - "defaultParameterValueIndex": { - "type": "integer", - "description": "Use to set the default value when also updating parameter values, if the parameter value GUID is not known.\r\nFor example when creating a new parameter value.", - "format": "int32" - }, "name": { "type": "string" }, @@ -96820,12 +87491,12 @@ } }, "additionalProperties": false, - "description": "\r\n\r\nThis is one of: \r\n * GsaUpdateStaticRecordLinkGroup\r\n * GsaUpdateSmartRecordLinkGroup\r\n * GsaUpdateCrossDatabaseRecordLinkGroup", + "description": "\r\n\r\nThis is one of: \r\n * GsaUpdateStaticRecordLinkGroup\r\n * GsaUpdateDynamicRecordLinkGroup\r\n * GsaUpdateCrossDatabaseRecordLinkGroup", "discriminator": { "propertyName": "type", "mapping": { "static": "#/components/schemas/GsaUpdateStaticRecordLinkGroup", - "smart": "#/components/schemas/GsaUpdateSmartRecordLinkGroup", + "dynamic": "#/components/schemas/GsaUpdateDynamicRecordLinkGroup", "crossDatabase": "#/components/schemas/GsaUpdateCrossDatabaseRecordLinkGroup" } } @@ -96901,44 +87572,6 @@ }, "additionalProperties": false }, - "GsaUpdateRootFolderErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaFolderErrorDetail" - }, - { - "type": "object" - } - ], - "additionalProperties": false, - "description": "You cannot update the root folder.\r\n\r\nThis extends: GsaFolderErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'updateRoot'", - "x-discriminator-value": "updateRoot", - "x-discriminator-name": "reason" - }, - "GsaUpdateRunStatus": { - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15 - ], - "type": "integer", - "description": "Represents the possible states of an update.

Possible values:

\r\n
    \r\n
  • Registered: The update token has been registered with the service.
  • \r\n
  • UploadInProgress: The update file has been partially uploaded.
  • \r\n
  • Uploaded: The update file has been completely uploaded.
  • \r\n
  • UploadFailed: The upload failed.
  • \r\n
  • DryRunPending: A dry run for this update has been queued, but it not yet in progress.
  • \r\n
  • DryRunCancelling: A request to cancel the dry run for this update has been issued but the dry run has not yet been cancelled.
  • \r\n
  • DryRunCancelled: The dry run for this update was cancelled.
  • \r\n
  • DryRunInProgress: The dry run for this update is in progress.
  • \r\n
  • DryRunComplete: The dry run for this update is complete.
  • \r\n
  • DryRunFailed: The dry run for this update failed.
  • \r\n
  • ApplyPending: An apply operation for this update has been queued, but is not yet in progress.
  • \r\n
  • ApplyInProgress: The update is being applied to the target database.
  • \r\n
  • ApplyCancelling: A request to cancel the apply process has been issued but the apply process has not yet been cancelled.
  • \r\n
  • ApplyCancelled: The update was cancelled during the apply process.
  • \r\n
  • ApplyComplete: The update was successfully applied to the target database.
  • \r\n
  • ApplyFailed: The update was not successfully applied to the target database.
  • \r\n
\r\n", - "format": "int32" - }, "GsaUpdateShortTextAttribute": { "type": "object", "allOf": [ @@ -96963,35 +87596,6 @@ "x-discriminator-value": "shortText", "x-discriminator-name": "type" }, - "GsaUpdateSmartRecordLinkGroup": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaUpdateRecordLinkGroup" - }, - { - "type": "object", - "properties": { - "forbidOrphans": { - "type": "boolean" - }, - "referentialIntegrityModel": { - "$ref": "#/components/schemas/GsaReferentialIntegrityModel" - }, - "attributePairs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GsaCreateAttributeLinkPair" - } - } - } - } - ], - "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaUpdateRecordLinkGroup\r\n\r\nThe value of discriminator property ('type') must be equal to 'smart'", - "x-discriminator-value": "smart", - "x-discriminator-name": "type" - }, "GsaUpdateStandardName": { "type": "object", "properties": { @@ -97069,32 +87673,6 @@ }, "additionalProperties": false }, - "GsaUpdateSupportProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "email": { - "type": "string", - "nullable": true - }, - "telephone": { - "type": "string", - "nullable": true - }, - "website": { - "type": "string", - "nullable": true - }, - "licensingContactDetail": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, "GsaUpdateTable": { "type": "object", "properties": { @@ -97341,25 +87919,41 @@ "mapping": { "expression": "#/components/schemas/GsaExpressionUsageDataModificationErrorDetail", "versionControlledData": "#/components/schemas/GsaVersionControlledDataUsageDataModificationErrorDetail", - "smartLinkGroup": "#/components/schemas/GsaSmartLinkGroupUsageDataModificationErrorDetail", + "dynamicLinkGroup": "#/components/schemas/GsaDynamicLinkGroupUsageDataModificationErrorDetail", "tabularAttribute": "#/components/schemas/GsaTabularAttributeUsageDataModificationErrorDetail", "xyChartTemplate": "#/components/schemas/GsaXYChartTemplateUsageDataModificationErrorDetail", "searchMask": "#/components/schemas/GsaSearchMaskUsageDataModificationErrorDetail", "securityAttribute": "#/components/schemas/GsaSecurityAttributeUsageDataModificationErrorDetail", "attribute": "#/components/schemas/GsaAttributeUsageDataModificationErrorDetail", "data": "#/components/schemas/GsaDataUsageDataModificationErrorDetail", - "defaultParameterValue": "#/components/schemas/GsaDefaultParameterValueUsageDataModificationErrorDetail", - "functionalDataDefault": "#/components/schemas/GsaFunctionalDataDefaultUsageDataModificationErrorDetail", - "multiValuedPointData": "#/components/schemas/GsaMultiValuedPointDataUsageDataModificationErrorDetail" + "defaultParameterValue": "#/components/schemas/GsaDefaultParameterValueUsageDataModificationErrorDetail" } } } ], "additionalProperties": false, - "description": "\r\n\r\nThis extends: GsaDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'usage'\r\n\r\nThis is one of: \r\n * GsaExpressionUsageDataModificationErrorDetail\r\n * GsaVersionControlledDataUsageDataModificationErrorDetail\r\n * GsaSmartLinkGroupUsageDataModificationErrorDetail\r\n * GsaTabularAttributeUsageDataModificationErrorDetail\r\n * GsaXYChartTemplateUsageDataModificationErrorDetail\r\n * GsaSearchMaskUsageDataModificationErrorDetail\r\n * GsaSecurityAttributeUsageDataModificationErrorDetail\r\n * GsaAttributeUsageDataModificationErrorDetail\r\n * GsaDataUsageDataModificationErrorDetail\r\n * GsaDefaultParameterValueUsageDataModificationErrorDetail\r\n * GsaFunctionalDataDefaultUsageDataModificationErrorDetail\r\n * GsaMultiValuedPointDataUsageDataModificationErrorDetail", + "description": "\r\n\r\nThis extends: GsaDataModificationErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'usage'\r\n\r\nThis is one of: \r\n * GsaExpressionUsageDataModificationErrorDetail\r\n * GsaVersionControlledDataUsageDataModificationErrorDetail\r\n * GsaDynamicLinkGroupUsageDataModificationErrorDetail\r\n * GsaTabularAttributeUsageDataModificationErrorDetail\r\n * GsaXYChartTemplateUsageDataModificationErrorDetail\r\n * GsaSearchMaskUsageDataModificationErrorDetail\r\n * GsaSecurityAttributeUsageDataModificationErrorDetail\r\n * GsaAttributeUsageDataModificationErrorDetail\r\n * GsaDataUsageDataModificationErrorDetail\r\n * GsaDefaultParameterValueUsageDataModificationErrorDetail", "x-discriminator-value": "usage", "x-discriminator-name": "reason" }, + "GsaUserOrGroup": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "format": "uuid" + }, + "displayName": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, "GsaUserPermission": { "required": [ "flags", @@ -97428,32 +88022,6 @@ }, "additionalProperties": false }, - "GsaValueNotProvidedParameterValueErrorDetail": { - "type": "object", - "allOf": [ - { - "$ref": "#/components/schemas/GsaParameterValueErrorDetail" - }, - { - "type": "object", - "properties": { - "name": { - "type": "string", - "nullable": true - }, - "guid": { - "type": "string", - "format": "uuid", - "nullable": true - } - } - } - ], - "additionalProperties": false, - "description": "Numeric parameter values must have a value.\r\n\r\nThis extends: GsaParameterValueErrorDetail\r\n\r\nThe value of discriminator property ('reason') must be equal to 'valueNotProvided'", - "x-discriminator-value": "valueNotProvided", - "x-discriminator-name": "reason" - }, "GsaValueSpecifier": { "required": [ "filterOn" @@ -97623,14 +88191,6 @@ "x-discriminator-value": "versionState", "x-discriminator-name": "propertyName" }, - "GsaWatchType": { - "enum": [ - "table", - "recordHistory", - "datum" - ], - "type": "string" - }, "GsaWithdrawRecordVersionControlException": { "type": "object", "properties": { @@ -97639,7 +88199,7 @@ "nullable": true }, "code": { - "$ref": "#/components/schemas/GsaErrorCode" + "$ref": "#/components/schemas/SystemNetHttpStatusCode" }, "errors": { "type": "array", From 2c9b1e18b3ca704ae07ac36d67a670eee5849e4e Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot Date: Sat, 23 Aug 2025 11:10:09 +0000 Subject: [PATCH 2/2] Generate Client Library code - Automated --- .../pyproject.toml | 2 +- .../grantami/serverapi_openapi/__init__.py | 2 +- .../serverapi_openapi/v2026r1/__init__.py | 356 +----- .../serverapi_openapi/v2026r1/api/__init__.py | 12 +- .../v2026r1/api/activity_log_api.py | 149 --- .../v2026r1/api/aggregation_api.py | 4 - .../v2026r1/api/blob_infos_api.py | 213 ---- .../v2026r1/api/blobs_api.py | 320 ----- .../serverapi_openapi/v2026r1/api/data_api.py | 57 - .../v2026r1/api/data_export_api.py | 1 - .../v2026r1/api/data_updater_api.py | 1093 ----------------- .../v2026r1/api/graph_api.py | 12 - .../v2026r1/api/integration_api.py | 1 - .../permission_based_access_control_api.py | 4 - .../api/records___record_histories_api.py | 14 - .../api/records___record_versions_api.py | 10 - .../v2026r1/api/schema___attributes_api.py | 32 - .../api/schema___configurations_api.py | 38 +- .../v2026r1/api/schema___constants_api.py | 1 - .../v2026r1/api/schema___data_rules_api.py | 5 - .../v2026r1/api/schema___databases_api.py | 405 ------ ...___discrete_types___discrete_values_api.py | 7 - .../api/schema___discrete_types_api.py | 7 - .../v2026r1/api/schema___display_names_api.py | 236 ---- .../v2026r1/api/schema___exporters_api.py | 161 +-- .../v2026r1/api/schema___expressions_api.py | 10 - .../v2026r1/api/schema___help_files_api.py | 242 +--- .../v2026r1/api/schema___home_pages_api.py | 160 +-- .../api/schema___layout_sections_api.py | 14 - .../v2026r1/api/schema___layouts_api.py | 10 - .../v2026r1/api/schema___parameters_api.py | 34 +- .../api/schema___record_link_groups_api.py | 14 +- .../api/schema___standard_names_api.py | 5 - .../v2026r1/api/schema___subsets_api.py | 14 - .../v2026r1/api/schema___tables_api.py | 15 - .../v2026r1/api/schema___units_api.py | 15 - .../v2026r1/api/schema_api.py | 100 -- .../v2026r1/api/search_api.py | 4 - .../v2026r1/api/selection_searches_api.py | 504 ++++++++ .../v2026r1/api/server_manager_api.py | 599 --------- .../v2026r1/api/status_api.py | 63 - .../v2026r1/models/__init__.py | 334 +---- ...sa_activity_log_application_name_filter.py | 181 --- ...log_application_names_collection_filter.py | 183 --- .../gsa_activity_log_collection_match_type.py | 46 - .../gsa_activity_log_database_key_filter.py | 178 --- .../models/gsa_activity_log_date_filter.py | 235 ---- .../models/gsa_activity_log_entries_filter.py | 327 ----- .../v2026r1/models/gsa_activity_log_entry.py | 280 ----- .../models/gsa_activity_log_match_type.py | 46 - .../models/gsa_activity_log_usage_mode.py | 46 - .../gsa_activity_log_usage_mode_filter.py | 149 --- .../gsa_activity_log_username_filter.py | 181 --- .../v2026r1/models/gsa_apply_options.py | 211 ---- .../v2026r1/models/gsa_attribute.py | 36 - .../gsa_attribute_creation_exception.py | 18 +- .../gsa_attribute_deletion_exception.py | 18 +- .../v2026r1/models/gsa_attribute_info.py | 76 +- .../v2026r1/models/gsa_blob_info_dto.py | 257 ---- ...ular_reference_folder_move_error_detail.py | 128 -- ...a_config_invalid_json_file_error_detail.py | 126 -- .../models/gsa_configuration_details.py | 183 --- .../v2026r1/models/gsa_connection_details.py | 29 +- .../models/gsa_constant_deletion_exception.py | 18 +- .../v2026r1/models/gsa_create_attribute.py | 31 - .../gsa_create_cross_database_link_target.py | 178 --- ...create_cross_database_record_link_group.py | 44 +- .../models/gsa_create_date_time_attribute.py | 5 - .../models/gsa_create_discrete_attribute.py | 5 - ...sa_create_discrete_functional_attribute.py | 5 - ...> gsa_create_dynamic_record_link_group.py} | 73 +- .../models/gsa_create_file_attribute.py | 5 - .../gsa_create_float_functional_attribute.py | 5 - .../models/gsa_create_hyperlink_attribute.py | 5 - .../models/gsa_create_integer_attribute.py | 5 - .../models/gsa_create_logical_attribute.py | 5 - .../models/gsa_create_long_text_attribute.py | 5 - .../gsa_create_maths_functional_attribute.py | 5 - .../models/gsa_create_picture_attribute.py | 5 - .../models/gsa_create_point_attribute.py | 5 - .../models/gsa_create_range_attribute.py | 5 - .../models/gsa_create_record_link_group.py | 37 +- ...a_grid.py => gsa_create_search_request.py} | 93 +- .../models/gsa_create_short_text_attribute.py | 5 - .../models/gsa_create_smart_link_target.py | 147 --- .../models/gsa_create_static_link_target.py | 147 --- .../gsa_create_static_record_link_group.py | 44 +- .../models/gsa_create_tabular_attribute.py | 5 - .../v2026r1/models/gsa_data_update.py | 213 ---- .../v2026r1/models/gsa_data_update_header.py | 603 --------- .../models/gsa_data_update_run_info.py | 360 ------ .../v2026r1/models/gsa_data_updater_job.py | 467 ------- .../models/gsa_data_updater_job_status.py | 52 - .../models/gsa_data_updater_job_type.py | 49 - .../models/gsa_data_updater_project.py | 554 --------- .../v2026r1/models/gsa_database.py | 103 -- .../v2026r1/models/gsa_database_issues.py | 189 --- .../v2026r1/models/gsa_database_status.py | 1 - .../models/gsa_database_user_capabilities.py | 185 --- .../v2026r1/models/gsa_date_time_attribute.py | 5 - .../v2026r1/models/gsa_datum_criterion.py | 2 +- .../models/gsa_datum_criterion_type.py | 2 +- ...meter_value_guid_parameter_error_detail.py | 163 --- ...e_index_and_guid_parameter_error_detail.py | 128 -- ...eter_value_index_parameter_error_detail.py | 197 --- ...x_without_values_parameter_error_detail.py | 128 -- ...sa_description_length_file_error_detail.py | 163 --- .../v2026r1/models/gsa_discrete_attribute.py | 5 - .../gsa_discrete_functional_attribute.py | 5 - .../v2026r1/models/gsa_discrete_type.py | 36 - .../gsa_discrete_type_deletion_exception.py | 18 +- .../gsa_discrete_value_aggregate_exception.py | 18 +- .../gsa_discrete_values_discrete_value.py | 36 - .../gsa_display_name_empty_error_detail.py | 162 --- ...name_language_not_provided_error_detail.py | 162 --- ...ame_language_not_supported_error_detail.py | 162 --- .../gsa_display_names_import_error_detail.py | 297 ----- .../gsa_display_names_import_error_reason.py | 53 - .../gsa_display_names_import_exception.py | 206 ---- .../v2026r1/models/gsa_display_names_info.py | 147 --- ...p_usage_data_modification_error_detail.py} | 16 +- ...up.py => gsa_dynamic_record_link_group.py} | 32 +- .../models/gsa_email_generation_settings.py | 389 ------ .../gsa_entity_already_exists_error_detail.py | 10 +- ...entifier_already_specified_error_detail.py | 10 +- .../v2026r1/models/gsa_entity_type.py | 55 - .../v2026r1/models/gsa_error_code.py | 88 -- .../models/gsa_exception_information.py | 293 ----- ...e_already_exists_file_move_error_detail.py | 190 --- .../v2026r1/models/gsa_file_attribute.py | 5 - .../models/gsa_file_creation_exception.py | 268 ---- .../v2026r1/models/gsa_file_error_detail.py | 199 --- .../v2026r1/models/gsa_file_error_reason.py | 50 - .../models/gsa_file_move_error_detail.py | 196 --- .../models/gsa_file_move_error_reason.py | 47 - .../v2026r1/models/gsa_file_move_exception.py | 271 ---- .../models/gsa_file_name_file_error_detail.py | 156 --- .../gsa_file_name_folder_error_detail.py | 158 --- .../models/gsa_file_update_exception.py | 271 ---- ...on_links.py => gsa_find_search_request.py} | 40 +- .../models/gsa_float_functional_attribute.py | 5 - .../v2026r1/models/gsa_folder.py | 64 - .../models/gsa_folder_creation_exception.py | 268 ---- .../gsa_folder_deletion_error_detail.py | 181 --- .../gsa_folder_deletion_error_reason.py | 45 - .../models/gsa_folder_deletion_exception.py | 271 ---- .../v2026r1/models/gsa_folder_error_detail.py | 196 --- .../v2026r1/models/gsa_folder_error_reason.py | 47 - .../models/gsa_folder_move_error_detail.py | 198 --- .../models/gsa_folder_move_error_reason.py | 49 - .../models/gsa_folder_move_exception.py | 271 ---- .../v2026r1/models/gsa_folder_type.py | 48 - .../models/gsa_folder_update_exception.py | 271 ---- ...lt_usage_data_modification_error_detail.py | 135 -- ...fiable_record_version_control_exception.py | 18 +- .../gsa_help_paths_validation_response.py | 184 --- .../v2026r1/models/gsa_hyperlink_attribute.py | 5 - ...gsa_in_use_parameter_value_error_detail.py | 195 --- .../v2026r1/models/gsa_integer_attribute.py | 5 - .../v2026r1/models/gsa_link_attribute_type.py | 2 +- .../v2026r1/models/gsa_link_target.py | 27 +- ...sa_linking_value_exists_datum_criterion.py | 2 +- .../v2026r1/models/gsa_links_info.py | 18 +- ...e_negative_parameter_value_error_detail.py | 128 -- .../v2026r1/models/gsa_logical_attribute.py | 5 - .../v2026r1/models/gsa_long_text_attribute.py | 5 - .../v2026r1/models/gsa_match_mode.py | 47 - .../models/gsa_maths_functional_attribute.py | 5 - ...ta_usage_data_modification_error_detail.py | 135 -- .../gsa_name_already_exists_error_detail.py | 46 +- ...gsa_name_already_specified_error_detail.py | 162 --- .../gsa_name_not_provided_error_detail.py | 10 +- ...whitespace_parameter_value_error_detail.py | 158 --- .../models/gsa_named_entity_error_detail.py | 48 +- .../models/gsa_named_entity_error_reason.py | 4 - .../gsa_named_entity_file_error_detail.py | 158 --- .../gsa_named_entity_folder_error_detail.py | 160 --- ...gsa_named_entity_parameter_error_detail.py | 160 --- ...med_entity_parameter_value_error_detail.py | 160 --- .../models/gsa_no_data_file_error_detail.py | 159 --- .../models/gsa_no_file_file_error_detail.py | 126 -- ...parameter_values_parameter_error_detail.py | 128 -- ..._such_new_parent_file_move_error_detail.py | 224 ---- ...uch_new_parent_folder_move_error_detail.py | 224 ---- ...gsa_no_such_unit_parameter_error_detail.py | 161 --- .../v2026r1/models/gsa_notification_user.py | 285 ----- .../v2026r1/models/gsa_notification_users.py | 149 --- .../v2026r1/models/gsa_notification_watch.py | 319 ----- ...ed_interpolation_parameter_error_detail.py | 128 -- .../models/gsa_orphaned_search_index.py | 147 --- .../gsa_orphaned_search_indexes_info.py | 185 --- .../gsa_parameter_creation_exception.py | 235 ---- .../gsa_parameter_deletion_exception.py | 18 +- .../models/gsa_parameter_error_detail.py | 203 --- .../models/gsa_parameter_error_reason.py | 54 - ...a_parameter_type_parameter_error_detail.py | 163 --- .../models/gsa_parameter_update_exception.py | 238 ---- .../gsa_parameter_value_creation_exception.py | 267 ---- .../gsa_parameter_value_deletion_exception.py | 18 +- .../gsa_parameter_value_error_detail.py | 199 --- .../gsa_parameter_value_error_reason.py | 50 - ..._parameter_value_parameter_error_detail.py | 160 --- ...value_type_parameter_value_error_detail.py | 163 --- .../gsa_parameter_value_update_exception.py | 270 ---- .../gsa_parameter_value_used_by_type.py | 46 - .../v2026r1/models/gsa_picture_attribute.py | 5 - .../v2026r1/models/gsa_point_attribute.py | 5 - .../v2026r1/models/gsa_query_attribute.py | 58 - .../models/gsa_query_attribute_properties.py | 58 - .../v2026r1/models/gsa_query_discrete_type.py | 29 - .../gsa_query_discrete_type_properties.py | 29 - .../v2026r1/models/gsa_range_attribute.py | 5 - ...gsa_record_and_attribute_selection_type.py | 47 - ...bilities.py => gsa_record_capabilities.py} | 54 +- .../gsa_record_history_copy_exception.py | 18 +- .../gsa_record_history_move_exception.py | 18 +- .../v2026r1/models/gsa_record_link_group.py | 2 +- .../models/gsa_record_link_group_type.py | 2 +- .../v2026r1/models/gsa_record_version.py | 44 +- .../v2026r1/models/gsa_referenced_by_type.py | 4 +- .../models/gsa_register_update_request.py | 180 --- ...elease_record_version_control_exception.py | 18 +- ...release_table_version_control_exception.py | 18 +- .../models/gsa_resolve_link_targets_info.py | 149 --- .../gsa_resolve_link_targets_request.py | 149 --- .../{gsa_link.py => gsa_resolved_link.py} | 109 +- ...ries_info.py => gsa_resolved_link_info.py} | 94 +- .../models/gsa_resolved_link_target.py | 123 +- .../models/gsa_retarget_potential_request.py | 149 --- .../v2026r1/models/gsa_retarget_request.py | 187 --- .../v2026r1/models/gsa_retarget_result.py | 257 ---- .../models/gsa_retarget_result_type.py | 49 - .../models/gsa_retarget_results_info.py | 149 --- .../gsa_root_folder_move_error_detail.py | 128 -- .../gsa_same_parent_file_move_error_detail.py | 161 --- ...sa_same_parent_folder_move_error_detail.py | 161 --- ...te_token.py => gsa_save_search_request.py} | 88 +- ...e_error_detail.py => gsa_search_detail.py} | 127 +- .../v2026r1/models/gsa_selection_search.py | 454 +++++++ .../models/gsa_short_text_attribute.py | 5 - .../v2026r1/models/gsa_slim_attribute.py | 36 - .../gsa_slim_attribute_with_help_path.py | 424 ------- .../v2026r1/models/gsa_slim_database.py | 103 -- .../v2026r1/models/gsa_slim_discrete_type.py | 36 - .../gsa_slim_parameter_with_help_path.py | 280 ----- .../v2026r1/models/gsa_slim_table.py | 34 - .../v2026r1/models/gsa_support_properties.py | 258 ---- .../v2026r1/models/gsa_table.py | 34 - .../models/gsa_table_deletion_exception.py | 18 +- .../v2026r1/models/gsa_tabular_attribute.py | 5 - .../v2026r1/models/gsa_update_attribute.py | 31 - .../models/gsa_update_date_time_attribute.py | 5 - .../models/gsa_update_default_database.py | 147 --- .../models/gsa_update_discrete_attribute.py | 5 - ...sa_update_discrete_functional_attribute.py | 5 - .../models/gsa_update_discrete_parameter.py | 44 +- .../models/gsa_update_display_names.py | 147 --- .../gsa_update_display_names_response.py | 181 --- ...> gsa_update_dynamic_record_link_group.py} | 32 +- .../models/gsa_update_file_attribute.py | 5 - .../gsa_update_float_functional_attribute.py | 5 - .../models/gsa_update_hyperlink_attribute.py | 5 - .../models/gsa_update_integer_attribute.py | 5 - .../models/gsa_update_logical_attribute.py | 5 - .../models/gsa_update_long_text_attribute.py | 5 - .../gsa_update_maths_functional_attribute.py | 5 - .../models/gsa_update_notification_user.py | 142 --- .../models/gsa_update_numeric_parameter.py | 40 - .../v2026r1/models/gsa_update_parameter.py | 40 - .../models/gsa_update_picture_attribute.py | 5 - .../models/gsa_update_point_attribute.py | 5 - .../models/gsa_update_range_attribute.py | 5 - .../models/gsa_update_record_link_group.py | 2 +- .../gsa_update_root_folder_error_detail.py | 128 -- .../v2026r1/models/gsa_update_run_status.py | 60 - .../models/gsa_update_short_text_attribute.py | 5 - .../models/gsa_update_support_properties.py | 258 ---- .../models/gsa_update_tabular_attribute.py | 5 - ...sa_usage_data_modification_error_detail.py | 4 +- ...e_error_detail.py => gsa_user_or_group.py} | 108 +- .../v2026r1/models/gsa_watch_type.py | 47 - ...thdraw_record_version_control_exception.py | 18 +- 282 files changed, 1974 insertions(+), 28821 deletions(-) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/activity_log_api.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blob_infos_api.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blobs_api.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_updater_api.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___display_names_api.py create mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/selection_searches_api.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_name_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_names_collection_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_collection_match_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_database_key_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_date_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_match_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_username_filter.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_apply_options.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_blob_info_dto.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_circular_reference_folder_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_config_invalid_json_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_configuration_details.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_link_target.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_create_smart_record_link_group.py => gsa_create_dynamic_record_link_group.py} (76%) rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_grid.py => gsa_create_search_request.py} (63%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_link_target.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_link_target.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_header.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_run_info.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_status.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_project.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_issues.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_user_capabilities.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_guid_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_and_guid_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_without_values_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_description_length_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_empty_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_provided_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_supported_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_info.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_smart_link_group_usage_data_modification_error_detail.py => gsa_dynamic_link_group_usage_data_modification_error_detail.py} (88%) rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_smart_record_link_group.py => gsa_dynamic_record_link_group.py} (89%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_email_generation_settings.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_error_code.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_exception_information.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_already_exists_file_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_creation_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_folder_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_update_exception.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_pagination_links.py => gsa_find_search_request.py} (77%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_creation_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_update_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_functional_data_default_usage_data_modification_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_help_paths_validation_response.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_in_use_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_log_scale_negative_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_match_mode.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_multi_valued_point_data_usage_data_modification_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_specified_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_whitespace_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_folder_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_data_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_file_file_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_parameter_values_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_file_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_folder_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_unit_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_user.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_users.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_watch.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_restricted_interpolation_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_index.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_indexes_info.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_creation_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_type_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_update_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_creation_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_reason.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_parameter_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_type_parameter_value_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_update_exception.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_used_by_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_and_attribute_selection_type.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_record_user_capabilities.py => gsa_record_capabilities.py} (86%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_register_update_request.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_info.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_request.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_link.py => gsa_resolved_link.py} (75%) rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_activity_log_entries_info.py => gsa_resolved_link_info.py} (60%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_potential_request.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_request.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result_type.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_results_info.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_root_folder_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_file_move_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_folder_move_error_detail.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_data_update_token.py => gsa_save_search_request.py} (64%) rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_folder_already_exists_folder_move_error_detail.py => gsa_search_detail.py} (58%) create mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_selection_search.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_support_properties.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_default_database.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names_response.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_update_smart_record_link_group.py => gsa_update_dynamic_record_link_group.py} (88%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_notification_user.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_root_folder_error_detail.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_run_status.py delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_support_properties.py rename ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/{gsa_value_not_provided_parameter_value_error_detail.py => gsa_user_or_group.py} (65%) delete mode 100644 ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_watch_type.py diff --git a/ansys-grantami-serverapi-openapi/pyproject.toml b/ansys-grantami-serverapi-openapi/pyproject.toml index 5bb16185..726fcb0e 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 = "5.1.0.dev734" +version = "5.1.0.dev738" license = "MIT" authors = ["ANSYS, Inc. "] maintainers = ["ANSYS, Inc. "] 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 f367b29a..70068e48 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 @@ -20,4 +20,4 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -__version__ = "5.1.0.dev734" +__version__ = "5.1.0.dev738" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/__init__.py index fa8bf3aa..467fd4c6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/__init__.py @@ -33,14 +33,10 @@ """ # import apis into sdk package -from .api.activity_log_api import ActivityLogApi from .api.aggregation_api import AggregationApi -from .api.blob_infos_api import BlobInfosApi -from .api.blobs_api import BlobsApi from .api.bulk_api import BulkApi from .api.data_api import DataApi from .api.data_export_api import DataExportApi -from .api.data_updater_api import DataUpdaterApi from .api.database_api import DatabaseApi from .api.graph_api import GraphApi from .api.help_location_api import HelpLocationApi @@ -63,7 +59,6 @@ from .api.schema___databases_api import SchemaDatabasesApi from .api.schema___discrete_types___discrete_values_api import SchemaDiscreteTypesDiscreteValuesApi from .api.schema___discrete_types_api import SchemaDiscreteTypesApi -from .api.schema___display_names_api import SchemaDisplayNamesApi from .api.schema___exporters_api import SchemaExportersApi from .api.schema___expressions_api import SchemaExpressionsApi from .api.schema___global_standard_names_api import SchemaGlobalStandardNamesApi @@ -82,6 +77,7 @@ 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.server_manager_api import ServerManagerApi from .api.status_api import StatusApi from .models.attributes_attributeguidimportfile_body1 import AttributesAttributeguidimportfileBody1 @@ -107,20 +103,6 @@ from .models.gsa_about_attribute_cannot_be_meta_attribute_error_detail import ( GsaAboutAttributeCannotBeMetaAttributeErrorDetail, ) -from .models.gsa_activity_log_application_name_filter import GsaActivityLogApplicationNameFilter -from .models.gsa_activity_log_application_names_collection_filter import ( - GsaActivityLogApplicationNamesCollectionFilter, -) -from .models.gsa_activity_log_collection_match_type import GsaActivityLogCollectionMatchType -from .models.gsa_activity_log_database_key_filter import GsaActivityLogDatabaseKeyFilter -from .models.gsa_activity_log_date_filter import GsaActivityLogDateFilter -from .models.gsa_activity_log_entries_filter import GsaActivityLogEntriesFilter -from .models.gsa_activity_log_entries_info import GsaActivityLogEntriesInfo -from .models.gsa_activity_log_entry import GsaActivityLogEntry -from .models.gsa_activity_log_match_type import GsaActivityLogMatchType -from .models.gsa_activity_log_usage_mode import GsaActivityLogUsageMode -from .models.gsa_activity_log_usage_mode_filter import GsaActivityLogUsageModeFilter -from .models.gsa_activity_log_username_filter import GsaActivityLogUsernameFilter from .models.gsa_add_database import GsaAddDatabase from .models.gsa_add_database_issue_type import GsaAddDatabaseIssueType from .models.gsa_add_database_validation_issue import GsaAddDatabaseValidationIssue @@ -148,7 +130,6 @@ from .models.gsa_append_point_values import GsaAppendPointValues from .models.gsa_applicable_datum import GsaApplicableDatum from .models.gsa_applications_info import GsaApplicationsInfo -from .models.gsa_apply_options import GsaApplyOptions from .models.gsa_attribute import GsaAttribute from .models.gsa_attribute_aggregation import GsaAttributeAggregation from .models.gsa_attribute_aggregation_criterion import GsaAttributeAggregationCriterion @@ -185,7 +166,6 @@ from .models.gsa_attribute_value_aggregation import GsaAttributeValueAggregation from .models.gsa_attributes_info import GsaAttributesInfo from .models.gsa_axis_name import GsaAxisName -from .models.gsa_blob_info_dto import GsaBlobInfoDto from .models.gsa_boolean_criterion import GsaBooleanCriterion from .models.gsa_boost_by_guid import GsaBoostByGuid from .models.gsa_boost_by_identity import GsaBoostByIdentity @@ -195,12 +175,7 @@ from .models.gsa_bulk_request_item import GsaBulkRequestItem from .models.gsa_bulk_response_item import GsaBulkResponseItem from .models.gsa_calendar_interval import GsaCalendarInterval -from .models.gsa_circular_reference_folder_move_error_detail import ( - GsaCircularReferenceFolderMoveErrorDetail, -) -from .models.gsa_config_invalid_json_file_error_detail import GsaConfigInvalidJsonFileErrorDetail from .models.gsa_configuration import GsaConfiguration -from .models.gsa_configuration_details import GsaConfigurationDetails from .models.gsa_configurations_info import GsaConfigurationsInfo from .models.gsa_connection_details import GsaConnectionDetails from .models.gsa_constant import GsaConstant @@ -214,7 +189,6 @@ from .models.gsa_create_configuration import GsaCreateConfiguration from .models.gsa_create_constant import GsaCreateConstant from .models.gsa_create_continuous_range import GsaCreateContinuousRange -from .models.gsa_create_cross_database_link_target import GsaCreateCrossDatabaseLinkTarget from .models.gsa_create_cross_database_record_link_group import ( GsaCreateCrossDatabaseRecordLinkGroup, ) @@ -236,6 +210,7 @@ from .models.gsa_create_discrete_parameter_value import GsaCreateDiscreteParameterValue from .models.gsa_create_discrete_range import GsaCreateDiscreteRange from .models.gsa_create_discrete_type import GsaCreateDiscreteType +from .models.gsa_create_dynamic_record_link_group import GsaCreateDynamicRecordLinkGroup from .models.gsa_create_expression import GsaCreateExpression from .models.gsa_create_file_attribute import GsaCreateFileAttribute from .models.gsa_create_float_functional_attribute import GsaCreateFloatFunctionalAttribute @@ -289,11 +264,9 @@ from .models.gsa_create_record_list import GsaCreateRecordList from .models.gsa_create_record_list_items_info import GsaCreateRecordListItemsInfo from .models.gsa_create_replacement_string import GsaCreateReplacementString +from .models.gsa_create_search_request import GsaCreateSearchRequest from .models.gsa_create_short_text_attribute import GsaCreateShortTextAttribute -from .models.gsa_create_smart_link_target import GsaCreateSmartLinkTarget -from .models.gsa_create_smart_record_link_group import GsaCreateSmartRecordLinkGroup from .models.gsa_create_standard_name import GsaCreateStandardName -from .models.gsa_create_static_link_target import GsaCreateStaticLinkTarget from .models.gsa_create_static_record_link_group import GsaCreateStaticRecordLinkGroup from .models.gsa_create_subset import GsaCreateSubset from .models.gsa_create_table import GsaCreateTable @@ -359,23 +332,13 @@ from .models.gsa_data_modification_error_reason import GsaDataModificationErrorReason from .models.gsa_data_rule import GsaDataRule from .models.gsa_data_rules_info import GsaDataRulesInfo -from .models.gsa_data_update import GsaDataUpdate -from .models.gsa_data_update_header import GsaDataUpdateHeader -from .models.gsa_data_update_run_info import GsaDataUpdateRunInfo -from .models.gsa_data_update_token import GsaDataUpdateToken -from .models.gsa_data_updater_job import GsaDataUpdaterJob -from .models.gsa_data_updater_job_status import GsaDataUpdaterJobStatus -from .models.gsa_data_updater_job_type import GsaDataUpdaterJobType -from .models.gsa_data_updater_project import GsaDataUpdaterProject from .models.gsa_data_usage_data_modification_error_detail import ( GsaDataUsageDataModificationErrorDetail, ) from .models.gsa_database import GsaDatabase -from .models.gsa_database_issues import GsaDatabaseIssues from .models.gsa_database_key_property import GsaDatabaseKeyProperty from .models.gsa_database_status import GsaDatabaseStatus from .models.gsa_database_status_information import GsaDatabaseStatusInformation -from .models.gsa_database_user_capabilities import GsaDatabaseUserCapabilities from .models.gsa_databases_info import GsaDatabasesInfo from .models.gsa_date_time_aggregation import GsaDateTimeAggregation from .models.gsa_date_time_aggregation_datum_criterion import GsaDateTimeAggregationDatumCriterion @@ -414,24 +377,11 @@ from .models.gsa_default_free_parameter_not_found_maths_functional_error_detail import ( GsaDefaultFreeParameterNotFoundMathsFunctionalErrorDetail, ) -from .models.gsa_default_parameter_value_guid_parameter_error_detail import ( - GsaDefaultParameterValueGuidParameterErrorDetail, -) -from .models.gsa_default_parameter_value_index_and_guid_parameter_error_detail import ( - GsaDefaultParameterValueIndexAndGuidParameterErrorDetail, -) -from .models.gsa_default_parameter_value_index_parameter_error_detail import ( - GsaDefaultParameterValueIndexParameterErrorDetail, -) -from .models.gsa_default_parameter_value_index_without_values_parameter_error_detail import ( - GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail, -) from .models.gsa_default_parameter_value_usage_data_modification_error_detail import ( GsaDefaultParameterValueUsageDataModificationErrorDetail, ) from .models.gsa_delete_record_list_item import GsaDeleteRecordListItem from .models.gsa_delete_record_list_items import GsaDeleteRecordListItems -from .models.gsa_description_length_file_error_detail import GsaDescriptionLengthFileErrorDetail from .models.gsa_discrete_attribute import GsaDiscreteAttribute from .models.gsa_discrete_datum import GsaDiscreteDatum from .models.gsa_discrete_datum_exists_criterion import GsaDiscreteDatumExistsCriterion @@ -500,17 +450,6 @@ ) from .models.gsa_discrete_values_update_discrete_value import GsaDiscreteValuesUpdateDiscreteValue from .models.gsa_disk_status import GsaDiskStatus -from .models.gsa_display_name_empty_error_detail import GsaDisplayNameEmptyErrorDetail -from .models.gsa_display_name_language_not_provided_error_detail import ( - GsaDisplayNameLanguageNotProvidedErrorDetail, -) -from .models.gsa_display_name_language_not_supported_error_detail import ( - GsaDisplayNameLanguageNotSupportedErrorDetail, -) -from .models.gsa_display_names_import_error_detail import GsaDisplayNamesImportErrorDetail -from .models.gsa_display_names_import_error_reason import GsaDisplayNamesImportErrorReason -from .models.gsa_display_names_import_exception import GsaDisplayNamesImportException -from .models.gsa_display_names_info import GsaDisplayNamesInfo from .models.gsa_double_sorting_value import GsaDoubleSortingValue from .models.gsa_duplicate_database_add_database_validation_issue import ( GsaDuplicateDatabaseAddDatabaseValidationIssue, @@ -536,17 +475,17 @@ from .models.gsa_duplicate_version_guid_add_database_validation_issue import ( GsaDuplicateVersionGuidAddDatabaseValidationIssue, ) -from .models.gsa_email_generation_settings import GsaEmailGenerationSettings +from .models.gsa_dynamic_link_group_usage_data_modification_error_detail import ( + GsaDynamicLinkGroupUsageDataModificationErrorDetail, +) +from .models.gsa_dynamic_record_link_group import GsaDynamicRecordLinkGroup from .models.gsa_empty_axis_name_attribute_error_detail import GsaEmptyAxisNameAttributeErrorDetail from .models.gsa_enabled_licenses_info import GsaEnabledLicensesInfo from .models.gsa_entity_already_exists_error_detail import GsaEntityAlreadyExistsErrorDetail from .models.gsa_entity_identifier_already_specified_error_detail import ( GsaEntityIdentifierAlreadySpecifiedErrorDetail, ) -from .models.gsa_entity_type import GsaEntityType -from .models.gsa_error_code import GsaErrorCode from .models.gsa_error_detail import GsaErrorDetail -from .models.gsa_exception_information import GsaExceptionInformation from .models.gsa_exclude_values_specifier import GsaExcludeValuesSpecifier from .models.gsa_existing_tabular_column_guid_error_detail import ( GsaExistingTabularColumnGuidErrorDetail, @@ -565,25 +504,14 @@ GsaExpressionsHaveUnknownParametersMathsFunctionalErrorDetail, ) from .models.gsa_expressions_info import GsaExpressionsInfo -from .models.gsa_file_already_exists_file_move_error_detail import ( - GsaFileAlreadyExistsFileMoveErrorDetail, -) from .models.gsa_file_attribute import GsaFileAttribute -from .models.gsa_file_creation_exception import GsaFileCreationException from .models.gsa_file_datum import GsaFileDatum from .models.gsa_file_datum_criterion import GsaFileDatumCriterion from .models.gsa_file_datum_exists_criterion import GsaFileDatumExistsCriterion -from .models.gsa_file_error_detail import GsaFileErrorDetail -from .models.gsa_file_error_reason import GsaFileErrorReason from .models.gsa_file_header import GsaFileHeader -from .models.gsa_file_move_error_detail import GsaFileMoveErrorDetail -from .models.gsa_file_move_error_reason import GsaFileMoveErrorReason -from .models.gsa_file_move_exception import GsaFileMoveException -from .models.gsa_file_name_file_error_detail import GsaFileNameFileErrorDetail -from .models.gsa_file_name_folder_error_detail import GsaFileNameFolderErrorDetail from .models.gsa_file_prefix_datum_criterion import GsaFilePrefixDatumCriterion -from .models.gsa_file_update_exception import GsaFileUpdateException from .models.gsa_files_info import GsaFilesInfo +from .models.gsa_find_search_request import GsaFindSearchRequest from .models.gsa_find_standard_names import GsaFindStandardNames from .models.gsa_float_functional_aggregation import GsaFloatFunctionalAggregation from .models.gsa_float_functional_aggregation_datum_criterion import ( @@ -617,20 +545,6 @@ from .models.gsa_float_series_graph import GsaFloatSeriesGraph from .models.gsa_float_series_point import GsaFloatSeriesPoint from .models.gsa_folder import GsaFolder -from .models.gsa_folder_already_exists_folder_move_error_detail import ( - GsaFolderAlreadyExistsFolderMoveErrorDetail, -) -from .models.gsa_folder_creation_exception import GsaFolderCreationException -from .models.gsa_folder_deletion_error_detail import GsaFolderDeletionErrorDetail -from .models.gsa_folder_deletion_error_reason import GsaFolderDeletionErrorReason -from .models.gsa_folder_deletion_exception import GsaFolderDeletionException -from .models.gsa_folder_error_detail import GsaFolderErrorDetail -from .models.gsa_folder_error_reason import GsaFolderErrorReason -from .models.gsa_folder_move_error_detail import GsaFolderMoveErrorDetail -from .models.gsa_folder_move_error_reason import GsaFolderMoveErrorReason -from .models.gsa_folder_move_exception import GsaFolderMoveException -from .models.gsa_folder_type import GsaFolderType -from .models.gsa_folder_update_exception import GsaFolderUpdateException from .models.gsa_folders_info import GsaFoldersInfo from .models.gsa_free_text_aggregation import GsaFreeTextAggregation from .models.gsa_free_text_aggregation_criterion import GsaFreeTextAggregationCriterion @@ -639,9 +553,6 @@ from .models.gsa_full_layout_section import GsaFullLayoutSection from .models.gsa_full_name_property import GsaFullNameProperty from .models.gsa_func_no_params_attribute_error_detail import GsaFuncNoParamsAttributeErrorDetail -from .models.gsa_functional_data_default_usage_data_modification_error_detail import ( - GsaFunctionalDataDefaultUsageDataModificationErrorDetail, -) from .models.gsa_functional_datum_parameter_info import GsaFunctionalDatumParameterInfo from .models.gsa_functional_parameter_setting import GsaFunctionalParameterSetting from .models.gsa_functional_type import GsaFunctionalType @@ -662,7 +573,6 @@ from .models.gsa_graph_type import GsaGraphType from .models.gsa_graph_value import GsaGraphValue from .models.gsa_graph_value_type import GsaGraphValueType -from .models.gsa_grid import GsaGrid from .models.gsa_grid_graph import GsaGridGraph from .models.gsa_guid_only_attribute import GsaGuidOnlyAttribute from .models.gsa_guid_only_discrete_type import GsaGuidOnlyDiscreteType @@ -673,7 +583,6 @@ from .models.gsa_guid_only_layout import GsaGuidOnlyLayout from .models.gsa_guid_only_mapping_of_object_identifier import GsaGuidOnlyMappingOfObjectIdentifier from .models.gsa_guid_only_source_of_object_identifier import GsaGuidOnlySourceOfObjectIdentifier -from .models.gsa_help_paths_validation_response import GsaHelpPathsValidationResponse from .models.gsa_histogram import GsaHistogram from .models.gsa_histogram_bucket import GsaHistogramBucket from .models.gsa_hyperlink_attribute import GsaHyperlinkAttribute @@ -682,7 +591,6 @@ from .models.gsa_hyperlink_datum_exists_criterion import GsaHyperlinkDatumExistsCriterion from .models.gsa_hyperlink_prefix_datum_criterion import GsaHyperlinkPrefixDatumCriterion from .models.gsa_hyperlink_target import GsaHyperlinkTarget -from .models.gsa_in_use_parameter_value_error_detail import GsaInUseParameterValueErrorDetail from .models.gsa_index_record_failure import GsaIndexRecordFailure from .models.gsa_indirect_links import GsaIndirectLinks from .models.gsa_input_validation_error_detail import GsaInputValidationErrorDetail @@ -732,7 +640,6 @@ from .models.gsa_layout_sections_info import GsaLayoutSectionsInfo from .models.gsa_layout_tabular_column import GsaLayoutTabularColumn from .models.gsa_layouts_info import GsaLayoutsInfo -from .models.gsa_link import GsaLink from .models.gsa_link_aggregation import GsaLinkAggregation from .models.gsa_link_aggregation_datum_criterion import GsaLinkAggregationDatumCriterion from .models.gsa_link_attribute_to_export import GsaLinkAttributeToExport @@ -789,9 +696,6 @@ from .models.gsa_local_range_tabular_column import GsaLocalRangeTabularColumn from .models.gsa_local_rows_behavior import GsaLocalRowsBehavior from .models.gsa_local_short_text_tabular_column import GsaLocalShortTextTabularColumn -from .models.gsa_log_scale_negative_parameter_value_error_detail import ( - GsaLogScaleNegativeParameterValueErrorDetail, -) from .models.gsa_logical_aggregation import GsaLogicalAggregation from .models.gsa_logical_aggregation_datum_criterion import GsaLogicalAggregationDatumCriterion from .models.gsa_logical_attribute import GsaLogicalAttribute @@ -805,7 +709,6 @@ from .models.gsa_long_text_datum_exists_criterion import GsaLongTextDatumExistsCriterion from .models.gsa_long_text_prefix_datum_criterion import GsaLongTextPrefixDatumCriterion from .models.gsa_mapping_of_object_identifier import GsaMappingOfObjectIdentifier -from .models.gsa_match_mode import GsaMatchMode from .models.gsa_maths_content import GsaMathsContent from .models.gsa_maths_functional_attribute import GsaMathsFunctionalAttribute from .models.gsa_maths_functional_attribute_error_detail import ( @@ -829,25 +732,12 @@ from .models.gsa_move_file import GsaMoveFile from .models.gsa_move_folder import GsaMoveFolder from .models.gsa_move_record_history import GsaMoveRecordHistory -from .models.gsa_multi_valued_point_data_usage_data_modification_error_detail import ( - GsaMultiValuedPointDataUsageDataModificationErrorDetail, -) from .models.gsa_name_already_exists_error_detail import GsaNameAlreadyExistsErrorDetail -from .models.gsa_name_already_specified_error_detail import GsaNameAlreadySpecifiedErrorDetail from .models.gsa_name_not_provided_error_detail import GsaNameNotProvidedErrorDetail -from .models.gsa_name_whitespace_parameter_value_error_detail import ( - GsaNameWhitespaceParameterValueErrorDetail, -) from .models.gsa_named_criterion import GsaNamedCriterion from .models.gsa_named_entity_attribute_error_detail import GsaNamedEntityAttributeErrorDetail from .models.gsa_named_entity_error_detail import GsaNamedEntityErrorDetail from .models.gsa_named_entity_error_reason import GsaNamedEntityErrorReason -from .models.gsa_named_entity_file_error_detail import GsaNamedEntityFileErrorDetail -from .models.gsa_named_entity_folder_error_detail import GsaNamedEntityFolderErrorDetail -from .models.gsa_named_entity_parameter_error_detail import GsaNamedEntityParameterErrorDetail -from .models.gsa_named_entity_parameter_value_error_detail import ( - GsaNamedEntityParameterValueErrorDetail, -) from .models.gsa_new_layout_association_chain_item import GsaNewLayoutAssociationChainItem from .models.gsa_new_layout_association_chain_link import GsaNewLayoutAssociationChainLink from .models.gsa_new_layout_attribute_item import GsaNewLayoutAttributeItem @@ -856,14 +746,9 @@ from .models.gsa_new_layout_item_type import GsaNewLayoutItemType from .models.gsa_new_layout_record_link_item import GsaNewLayoutRecordLinkItem from .models.gsa_new_layout_smart_link_item import GsaNewLayoutSmartLinkItem -from .models.gsa_no_data_file_error_detail import GsaNoDataFileErrorDetail from .models.gsa_no_expressions_maths_functional_error_detail import ( GsaNoExpressionsMathsFunctionalErrorDetail, ) -from .models.gsa_no_file_file_error_detail import GsaNoFileFileErrorDetail -from .models.gsa_no_parameter_values_parameter_error_detail import ( - GsaNoParameterValuesParameterErrorDetail, -) from .models.gsa_no_such_entity_attribute_error_detail import GsaNoSuchEntityAttributeErrorDetail from .models.gsa_no_such_entity_tabular_column_error_detail import ( GsaNoSuchEntityTabularColumnErrorDetail, @@ -871,37 +756,21 @@ from .models.gsa_no_such_expressions_maths_functional_error_detail import ( GsaNoSuchExpressionsMathsFunctionalErrorDetail, ) -from .models.gsa_no_such_new_parent_file_move_error_detail import ( - GsaNoSuchNewParentFileMoveErrorDetail, -) -from .models.gsa_no_such_new_parent_folder_move_error_detail import ( - GsaNoSuchNewParentFolderMoveErrorDetail, -) from .models.gsa_no_such_parameter_value_parameter_content_error_detail import ( GsaNoSuchParameterValueParameterContentErrorDetail, ) -from .models.gsa_no_such_unit_parameter_error_detail import GsaNoSuchUnitParameterErrorDetail from .models.gsa_no_value_exists_graph_value import GsaNoValueExistsGraphValue from .models.gsa_no_values_specifier import GsaNoValuesSpecifier from .models.gsa_not_applicable_datum import GsaNotApplicableDatum from .models.gsa_not_the_latest_version_error_detail import GsaNotTheLatestVersionErrorDetail from .models.gsa_not_versioned_error_detail import GsaNotVersionedErrorDetail -from .models.gsa_notification_user import GsaNotificationUser -from .models.gsa_notification_users import GsaNotificationUsers -from .models.gsa_notification_watch import GsaNotificationWatch from .models.gsa_numeric_graph_parameter_value import GsaNumericGraphParameterValue from .models.gsa_numeric_parameter import GsaNumericParameter from .models.gsa_numeric_parameter_constraint import GsaNumericParameterConstraint from .models.gsa_numeric_parameter_content import GsaNumericParameterContent from .models.gsa_numeric_parameter_data_value import GsaNumericParameterDataValue from .models.gsa_numeric_parameter_value import GsaNumericParameterValue -from .models.gsa_numeric_restricted_interpolation_parameter_error_detail import ( - GsaNumericRestrictedInterpolationParameterErrorDetail, -) from .models.gsa_object_identifier import GsaObjectIdentifier -from .models.gsa_orphaned_search_index import GsaOrphanedSearchIndex -from .models.gsa_orphaned_search_indexes_info import GsaOrphanedSearchIndexesInfo -from .models.gsa_pagination_links import GsaPaginationLinks from .models.gsa_paging_options import GsaPagingOptions from .models.gsa_parameter import GsaParameter from .models.gsa_parameter_constraint import GsaParameterConstraint @@ -919,11 +788,8 @@ from .models.gsa_parameter_content_unknown_parameters_maths_functional_error_detail import ( GsaParameterContentUnknownParametersMathsFunctionalErrorDetail, ) -from .models.gsa_parameter_creation_exception import GsaParameterCreationException from .models.gsa_parameter_data_value import GsaParameterDataValue from .models.gsa_parameter_deletion_exception import GsaParameterDeletionException -from .models.gsa_parameter_error_detail import GsaParameterErrorDetail -from .models.gsa_parameter_error_reason import GsaParameterErrorReason from .models.gsa_parameter_info import GsaParameterInfo from .models.gsa_parameter_info_interpolation_type import GsaParameterInfoInterpolationType from .models.gsa_parameter_info_parameter_type import GsaParameterInfoParameterType @@ -935,20 +801,9 @@ from .models.gsa_parameter_type_parameter_content_error_detail import ( GsaParameterTypeParameterContentErrorDetail, ) -from .models.gsa_parameter_type_parameter_error_detail import GsaParameterTypeParameterErrorDetail -from .models.gsa_parameter_update_exception import GsaParameterUpdateException from .models.gsa_parameter_value import GsaParameterValue -from .models.gsa_parameter_value_creation_exception import GsaParameterValueCreationException from .models.gsa_parameter_value_deletion_exception import GsaParameterValueDeletionException -from .models.gsa_parameter_value_error_detail import GsaParameterValueErrorDetail -from .models.gsa_parameter_value_error_reason import GsaParameterValueErrorReason -from .models.gsa_parameter_value_parameter_error_detail import GsaParameterValueParameterErrorDetail from .models.gsa_parameter_value_type import GsaParameterValueType -from .models.gsa_parameter_value_type_parameter_value_error_detail import ( - GsaParameterValueTypeParameterValueErrorDetail, -) -from .models.gsa_parameter_value_update_exception import GsaParameterValueUpdateException -from .models.gsa_parameter_value_used_by_type import GsaParameterValueUsedByType from .models.gsa_parameter_with_data_value import GsaParameterWithDataValue from .models.gsa_parameters_info import GsaParametersInfo from .models.gsa_permission import GsaPermission @@ -1030,7 +885,7 @@ ) from .models.gsa_record_ancestor_criterion import GsaRecordAncestorCriterion from .models.gsa_record_ancestor_history_criterion import GsaRecordAncestorHistoryCriterion -from .models.gsa_record_and_attribute_selection_type import GsaRecordAndAttributeSelectionType +from .models.gsa_record_capabilities import GsaRecordCapabilities from .models.gsa_record_color import GsaRecordColor from .models.gsa_record_color_property import GsaRecordColorProperty from .models.gsa_record_export_failure import GsaRecordExportFailure @@ -1063,13 +918,11 @@ from .models.gsa_record_subset_criterion import GsaRecordSubsetCriterion from .models.gsa_record_type import GsaRecordType from .models.gsa_record_type_property import GsaRecordTypeProperty -from .models.gsa_record_user_capabilities import GsaRecordUserCapabilities from .models.gsa_record_version import GsaRecordVersion from .models.gsa_record_version_reference import GsaRecordVersionReference from .models.gsa_record_with_data import GsaRecordWithData from .models.gsa_referenced_by_type import GsaReferencedByType from .models.gsa_referential_integrity_model import GsaReferentialIntegrityModel -from .models.gsa_register_update_request import GsaRegisterUpdateRequest from .models.gsa_release_record_version_control_exception import ( GsaReleaseRecordVersionControlException, ) @@ -1082,23 +935,16 @@ from .models.gsa_reorder_sections_info import GsaReorderSectionsInfo from .models.gsa_replacement_string import GsaReplacementString from .models.gsa_replacement_strings_info import GsaReplacementStringsInfo -from .models.gsa_resolve_link_targets_info import GsaResolveLinkTargetsInfo -from .models.gsa_resolve_link_targets_request import GsaResolveLinkTargetsRequest +from .models.gsa_resolved_link import GsaResolvedLink +from .models.gsa_resolved_link_info import GsaResolvedLinkInfo from .models.gsa_resolved_link_target import GsaResolvedLinkTarget from .models.gsa_response_options import GsaResponseOptions from .models.gsa_resubmit_job_request import GsaResubmitJobRequest -from .models.gsa_retarget_potential_request import GsaRetargetPotentialRequest -from .models.gsa_retarget_request import GsaRetargetRequest -from .models.gsa_retarget_result import GsaRetargetResult -from .models.gsa_retarget_result_type import GsaRetargetResultType -from .models.gsa_retarget_results_info import GsaRetargetResultsInfo from .models.gsa_rich_text_type import GsaRichTextType from .models.gsa_rich_text_value import GsaRichTextValue from .models.gsa_rollup_export_failure import GsaRollupExportFailure from .models.gsa_rollup_reference import GsaRollupReference -from .models.gsa_root_folder_move_error_detail import GsaRootFolderMoveErrorDetail -from .models.gsa_same_parent_file_move_error_detail import GsaSameParentFileMoveErrorDetail -from .models.gsa_same_parent_folder_move_error_detail import GsaSameParentFolderMoveErrorDetail +from .models.gsa_save_search_request import GsaSaveSearchRequest from .models.gsa_schema_too_new_add_database_validation_issue import ( GsaSchemaTooNewAddDatabaseValidationIssue, ) @@ -1106,6 +952,7 @@ GsaSchemaTooOldAddDatabaseValidationIssue, ) from .models.gsa_search_cluster_status import GsaSearchClusterStatus +from .models.gsa_search_detail import GsaSearchDetail from .models.gsa_search_index_status import GsaSearchIndexStatus from .models.gsa_search_mask_usage_data_modification_error_detail import ( GsaSearchMaskUsageDataModificationErrorDetail, @@ -1120,6 +967,7 @@ GsaSecurityAttributeUsageDataModificationErrorDetail, ) from .models.gsa_security_groups import GsaSecurityGroups +from .models.gsa_selection_search import GsaSelectionSearch from .models.gsa_series_graph import GsaSeriesGraph from .models.gsa_set_date_time_datum import GsaSetDateTimeDatum from .models.gsa_set_datum import GsaSetDatum @@ -1150,7 +998,6 @@ from .models.gsa_significant_figures_info import GsaSignificantFiguresInfo from .models.gsa_simple_attribute_to_export import GsaSimpleAttributeToExport from .models.gsa_slim_attribute import GsaSlimAttribute -from .models.gsa_slim_attribute_with_help_path import GsaSlimAttributeWithHelpPath from .models.gsa_slim_configuration import GsaSlimConfiguration from .models.gsa_slim_constant import GsaSlimConstant from .models.gsa_slim_database import GsaSlimDatabase @@ -1165,7 +1012,6 @@ from .models.gsa_slim_named_unit import GsaSlimNamedUnit from .models.gsa_slim_objects import GsaSlimObjects from .models.gsa_slim_parameter import GsaSlimParameter -from .models.gsa_slim_parameter_with_help_path import GsaSlimParameterWithHelpPath from .models.gsa_slim_permission import GsaSlimPermission from .models.gsa_slim_permission_category import GsaSlimPermissionCategory from .models.gsa_slim_profile import GsaSlimProfile @@ -1179,10 +1025,6 @@ from .models.gsa_slim_typed_attribute import GsaSlimTypedAttribute from .models.gsa_slim_unit import GsaSlimUnit from .models.gsa_slim_unit_system import GsaSlimUnitSystem -from .models.gsa_smart_link_group_usage_data_modification_error_detail import ( - GsaSmartLinkGroupUsageDataModificationErrorDetail, -) -from .models.gsa_smart_record_link_group import GsaSmartRecordLinkGroup from .models.gsa_smtp_properties import GsaSmtpProperties from .models.gsa_sort_criterion import GsaSortCriterion from .models.gsa_sort_criterion_type import GsaSortCriterionType @@ -1198,7 +1040,6 @@ from .models.gsa_string_sorting_value import GsaStringSortingValue from .models.gsa_subset import GsaSubset from .models.gsa_subsets_info import GsaSubsetsInfo -from .models.gsa_support_properties import GsaSupportProperties from .models.gsa_table import GsaTable from .models.gsa_table_deletion_exception import GsaTableDeletionException from .models.gsa_table_guid_property import GsaTableGuidProperty @@ -1264,7 +1105,6 @@ from .models.gsa_update_data_rule import GsaUpdateDataRule from .models.gsa_update_database import GsaUpdateDatabase from .models.gsa_update_date_time_attribute import GsaUpdateDateTimeAttribute -from .models.gsa_update_default_database import GsaUpdateDefaultDatabase from .models.gsa_update_default_profile import GsaUpdateDefaultProfile from .models.gsa_update_discrete_attribute import GsaUpdateDiscreteAttribute from .models.gsa_update_discrete_functional_attribute import GsaUpdateDiscreteFunctionalAttribute @@ -1282,8 +1122,7 @@ from .models.gsa_update_discrete_parameter_value import GsaUpdateDiscreteParameterValue from .models.gsa_update_discrete_range import GsaUpdateDiscreteRange from .models.gsa_update_discrete_type import GsaUpdateDiscreteType -from .models.gsa_update_display_names import GsaUpdateDisplayNames -from .models.gsa_update_display_names_response import GsaUpdateDisplayNamesResponse +from .models.gsa_update_dynamic_record_link_group import GsaUpdateDynamicRecordLinkGroup from .models.gsa_update_expression import GsaUpdateExpression from .models.gsa_update_file import GsaUpdateFile from .models.gsa_update_file_attribute import GsaUpdateFileAttribute @@ -1320,7 +1159,6 @@ from .models.gsa_update_long_text_attribute import GsaUpdateLongTextAttribute from .models.gsa_update_maths_content import GsaUpdateMathsContent from .models.gsa_update_maths_functional_attribute import GsaUpdateMathsFunctionalAttribute -from .models.gsa_update_notification_user import GsaUpdateNotificationUser from .models.gsa_update_numeric_parameter import GsaUpdateNumericParameter from .models.gsa_update_numeric_parameter_content import GsaUpdateNumericParameterContent from .models.gsa_update_numeric_parameter_value import GsaUpdateNumericParameterValue @@ -1336,14 +1174,10 @@ from .models.gsa_update_record_list_permission_flags import GsaUpdateRecordListPermissionFlags from .models.gsa_update_record_list_properties import GsaUpdateRecordListProperties from .models.gsa_update_replacement_string import GsaUpdateReplacementString -from .models.gsa_update_root_folder_error_detail import GsaUpdateRootFolderErrorDetail -from .models.gsa_update_run_status import GsaUpdateRunStatus from .models.gsa_update_short_text_attribute import GsaUpdateShortTextAttribute -from .models.gsa_update_smart_record_link_group import GsaUpdateSmartRecordLinkGroup from .models.gsa_update_standard_name import GsaUpdateStandardName from .models.gsa_update_static_record_link_group import GsaUpdateStaticRecordLinkGroup from .models.gsa_update_subset import GsaUpdateSubset -from .models.gsa_update_support_properties import GsaUpdateSupportProperties from .models.gsa_update_table import GsaUpdateTable from .models.gsa_update_tabular_attribute import GsaUpdateTabularAttribute from .models.gsa_update_tabular_attribute_target import GsaUpdateTabularAttributeTarget @@ -1354,13 +1188,11 @@ from .models.gsa_update_user_permission import GsaUpdateUserPermission from .models.gsa_update_user_permissions_info import GsaUpdateUserPermissionsInfo from .models.gsa_usage_data_modification_error_detail import GsaUsageDataModificationErrorDetail +from .models.gsa_user_or_group import GsaUserOrGroup from .models.gsa_user_permission import GsaUserPermission from .models.gsa_user_permissions_info import GsaUserPermissionsInfo from .models.gsa_user_role import GsaUserRole from .models.gsa_validate_attribute_request import GsaValidateAttributeRequest -from .models.gsa_value_not_provided_parameter_value_error_detail import ( - GsaValueNotProvidedParameterValueErrorDetail, -) from .models.gsa_value_specifier import GsaValueSpecifier from .models.gsa_value_specifier_type import GsaValueSpecifierType from .models.gsa_value_with_count_of_boolean import GsaValueWithCountOfBoolean @@ -1373,7 +1205,6 @@ from .models.gsa_version_number_property import GsaVersionNumberProperty from .models.gsa_version_state import GsaVersionState from .models.gsa_version_state_property import GsaVersionStateProperty -from .models.gsa_watch_type import GsaWatchType from .models.gsa_withdraw_record_version_control_exception import ( GsaWithdrawRecordVersionControlException, ) @@ -1389,14 +1220,10 @@ from .models.system_net_http_status_code import SystemNetHttpStatusCode __all__ = [ - "ActivityLogApi", "AggregationApi", - "BlobInfosApi", - "BlobsApi", "BulkApi", "DataApi", "DataExportApi", - "DataUpdaterApi", "DatabaseApi", "GraphApi", "HelpLocationApi", @@ -1420,7 +1247,6 @@ "SchemaDatabasesApi", "SchemaDiscreteTypesDiscreteValuesApi", "SchemaDiscreteTypesApi", - "SchemaDisplayNamesApi", "SchemaExportersApi", "SchemaExpressionsApi", "SchemaGlobalStandardNamesApi", @@ -1438,6 +1264,7 @@ "SchemaTablesApi", "SchemaUnitsApi", "SearchApi", + "SelectionSearchesApi", "ServerManagerApi", "StatusApi", "AttributesAttributeguidimportfileBody", @@ -1453,18 +1280,6 @@ "FolderguidFilesBody2", "GrantaMIRecordPropertyFakeAttributeIdentities", "GsaAboutAttributeCannotBeMetaAttributeErrorDetail", - "GsaActivityLogApplicationNameFilter", - "GsaActivityLogApplicationNamesCollectionFilter", - "GsaActivityLogCollectionMatchType", - "GsaActivityLogDatabaseKeyFilter", - "GsaActivityLogDateFilter", - "GsaActivityLogEntriesFilter", - "GsaActivityLogEntriesInfo", - "GsaActivityLogEntry", - "GsaActivityLogMatchType", - "GsaActivityLogUsageMode", - "GsaActivityLogUsageModeFilter", - "GsaActivityLogUsernameFilter", "GsaAddDatabase", "GsaAddDatabaseIssueType", "GsaAddDatabaseValidationIssue", @@ -1490,7 +1305,6 @@ "GsaAppendPointValues", "GsaApplicableDatum", "GsaApplicationsInfo", - "GsaApplyOptions", "GsaAttribute", "GsaAttributeAggregation", "GsaAttributeAggregationCriterion", @@ -1523,7 +1337,6 @@ "GsaAttributeValueAggregation", "GsaAttributesInfo", "GsaAxisName", - "GsaBlobInfoDto", "GsaBooleanCriterion", "GsaBoostByGuid", "GsaBoostByIdentity", @@ -1533,10 +1346,7 @@ "GsaBulkRequestItem", "GsaBulkResponseItem", "GsaCalendarInterval", - "GsaCircularReferenceFolderMoveErrorDetail", - "GsaConfigInvalidJsonFileErrorDetail", "GsaConfiguration", - "GsaConfigurationDetails", "GsaConfigurationsInfo", "GsaConnectionDetails", "GsaConstant", @@ -1550,7 +1360,6 @@ "GsaCreateConfiguration", "GsaCreateConstant", "GsaCreateContinuousRange", - "GsaCreateCrossDatabaseLinkTarget", "GsaCreateCrossDatabaseRecordLinkGroup", "GsaCreateDataRule", "GsaCreateDateTimeAttribute", @@ -1564,6 +1373,7 @@ "GsaCreateDiscreteParameterValue", "GsaCreateDiscreteRange", "GsaCreateDiscreteType", + "GsaCreateDynamicRecordLinkGroup", "GsaCreateExpression", "GsaCreateFileAttribute", "GsaCreateFloatFunctionalAttribute", @@ -1611,11 +1421,9 @@ "GsaCreateRecordList", "GsaCreateRecordListItemsInfo", "GsaCreateReplacementString", + "GsaCreateSearchRequest", "GsaCreateShortTextAttribute", - "GsaCreateSmartLinkTarget", - "GsaCreateSmartRecordLinkGroup", "GsaCreateStandardName", - "GsaCreateStaticLinkTarget", "GsaCreateStaticRecordLinkGroup", "GsaCreateSubset", "GsaCreateTable", @@ -1677,21 +1485,11 @@ "GsaDataModificationErrorReason", "GsaDataRule", "GsaDataRulesInfo", - "GsaDataUpdate", - "GsaDataUpdateHeader", - "GsaDataUpdateRunInfo", - "GsaDataUpdateToken", - "GsaDataUpdaterJob", - "GsaDataUpdaterJobStatus", - "GsaDataUpdaterJobType", - "GsaDataUpdaterProject", "GsaDataUsageDataModificationErrorDetail", "GsaDatabase", - "GsaDatabaseIssues", "GsaDatabaseKeyProperty", "GsaDatabaseStatus", "GsaDatabaseStatusInformation", - "GsaDatabaseUserCapabilities", "GsaDatabasesInfo", "GsaDateTimeAggregation", "GsaDateTimeAggregationDatumCriterion", @@ -1720,14 +1518,9 @@ "GsaDatumType", "GsaDefaultExpressionNotFoundMathsFunctionalErrorDetail", "GsaDefaultFreeParameterNotFoundMathsFunctionalErrorDetail", - "GsaDefaultParameterValueGuidParameterErrorDetail", - "GsaDefaultParameterValueIndexAndGuidParameterErrorDetail", - "GsaDefaultParameterValueIndexParameterErrorDetail", - "GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail", "GsaDefaultParameterValueUsageDataModificationErrorDetail", "GsaDeleteRecordListItem", "GsaDeleteRecordListItems", - "GsaDescriptionLengthFileErrorDetail", "GsaDiscreteAttribute", "GsaDiscreteDatum", "GsaDiscreteDatumExistsCriterion", @@ -1778,13 +1571,6 @@ "GsaDiscreteValuesReplaceDiscreteValuesInfo", "GsaDiscreteValuesUpdateDiscreteValue", "GsaDiskStatus", - "GsaDisplayNameEmptyErrorDetail", - "GsaDisplayNameLanguageNotProvidedErrorDetail", - "GsaDisplayNameLanguageNotSupportedErrorDetail", - "GsaDisplayNamesImportErrorDetail", - "GsaDisplayNamesImportErrorReason", - "GsaDisplayNamesImportException", - "GsaDisplayNamesInfo", "GsaDoubleSortingValue", "GsaDuplicateDatabaseAddDatabaseValidationIssue", "GsaDuplicateExpressionGuidsMathsFunctionalErrorDetail", @@ -1794,15 +1580,13 @@ "GsaDuplicateTabularColumnGuidsErrorDetail", "GsaDuplicateTabularColumnNamesErrorDetail", "GsaDuplicateVersionGuidAddDatabaseValidationIssue", - "GsaEmailGenerationSettings", + "GsaDynamicLinkGroupUsageDataModificationErrorDetail", + "GsaDynamicRecordLinkGroup", "GsaEmptyAxisNameAttributeErrorDetail", "GsaEnabledLicensesInfo", "GsaEntityAlreadyExistsErrorDetail", "GsaEntityIdentifierAlreadySpecifiedErrorDetail", - "GsaEntityType", - "GsaErrorCode", "GsaErrorDetail", - "GsaExceptionInformation", "GsaExcludeValuesSpecifier", "GsaExistingTabularColumnGuidErrorDetail", "GsaExportFailure", @@ -1813,23 +1597,14 @@ "GsaExpressionUsageDataModificationErrorDetail", "GsaExpressionsHaveUnknownParametersMathsFunctionalErrorDetail", "GsaExpressionsInfo", - "GsaFileAlreadyExistsFileMoveErrorDetail", "GsaFileAttribute", - "GsaFileCreationException", "GsaFileDatum", "GsaFileDatumCriterion", "GsaFileDatumExistsCriterion", - "GsaFileErrorDetail", - "GsaFileErrorReason", "GsaFileHeader", - "GsaFileMoveErrorDetail", - "GsaFileMoveErrorReason", - "GsaFileMoveException", - "GsaFileNameFileErrorDetail", - "GsaFileNameFolderErrorDetail", "GsaFilePrefixDatumCriterion", - "GsaFileUpdateException", "GsaFilesInfo", + "GsaFindSearchRequest", "GsaFindStandardNames", "GsaFloatFunctionalAggregation", "GsaFloatFunctionalAggregationDatumCriterion", @@ -1851,18 +1626,6 @@ "GsaFloatSeriesGraph", "GsaFloatSeriesPoint", "GsaFolder", - "GsaFolderAlreadyExistsFolderMoveErrorDetail", - "GsaFolderCreationException", - "GsaFolderDeletionErrorDetail", - "GsaFolderDeletionErrorReason", - "GsaFolderDeletionException", - "GsaFolderErrorDetail", - "GsaFolderErrorReason", - "GsaFolderMoveErrorDetail", - "GsaFolderMoveErrorReason", - "GsaFolderMoveException", - "GsaFolderType", - "GsaFolderUpdateException", "GsaFoldersInfo", "GsaFreeTextAggregation", "GsaFreeTextAggregationCriterion", @@ -1871,7 +1634,6 @@ "GsaFullLayoutSection", "GsaFullNameProperty", "GsaFuncNoParamsAttributeErrorDetail", - "GsaFunctionalDataDefaultUsageDataModificationErrorDetail", "GsaFunctionalDatumParameterInfo", "GsaFunctionalParameterSetting", "GsaFunctionalType", @@ -1888,7 +1650,6 @@ "GsaGraphType", "GsaGraphValue", "GsaGraphValueType", - "GsaGrid", "GsaGridGraph", "GsaGuidOnlyAttribute", "GsaGuidOnlyDiscreteType", @@ -1897,7 +1658,6 @@ "GsaGuidOnlyLayout", "GsaGuidOnlyMappingOfObjectIdentifier", "GsaGuidOnlySourceOfObjectIdentifier", - "GsaHelpPathsValidationResponse", "GsaHistogram", "GsaHistogramBucket", "GsaHyperlinkAttribute", @@ -1906,7 +1666,6 @@ "GsaHyperlinkDatumExistsCriterion", "GsaHyperlinkPrefixDatumCriterion", "GsaHyperlinkTarget", - "GsaInUseParameterValueErrorDetail", "GsaIndexRecordFailure", "GsaIndirectLinks", "GsaInputValidationErrorDetail", @@ -1946,7 +1705,6 @@ "GsaLayoutSectionsInfo", "GsaLayoutTabularColumn", "GsaLayoutsInfo", - "GsaLink", "GsaLinkAggregation", "GsaLinkAggregationDatumCriterion", "GsaLinkAttributeToExport", @@ -1999,7 +1757,6 @@ "GsaLocalRangeTabularColumn", "GsaLocalRowsBehavior", "GsaLocalShortTextTabularColumn", - "GsaLogScaleNegativeParameterValueErrorDetail", "GsaLogicalAggregation", "GsaLogicalAggregationDatumCriterion", "GsaLogicalAttribute", @@ -2013,7 +1770,6 @@ "GsaLongTextDatumExistsCriterion", "GsaLongTextPrefixDatumCriterion", "GsaMappingOfObjectIdentifier", - "GsaMatchMode", "GsaMathsContent", "GsaMathsFunctionalAttribute", "GsaMathsFunctionalAttributeErrorDetail", @@ -2029,19 +1785,12 @@ "GsaMoveFile", "GsaMoveFolder", "GsaMoveRecordHistory", - "GsaMultiValuedPointDataUsageDataModificationErrorDetail", "GsaNameAlreadyExistsErrorDetail", - "GsaNameAlreadySpecifiedErrorDetail", "GsaNameNotProvidedErrorDetail", - "GsaNameWhitespaceParameterValueErrorDetail", "GsaNamedCriterion", "GsaNamedEntityAttributeErrorDetail", "GsaNamedEntityErrorDetail", "GsaNamedEntityErrorReason", - "GsaNamedEntityFileErrorDetail", - "GsaNamedEntityFolderErrorDetail", - "GsaNamedEntityParameterErrorDetail", - "GsaNamedEntityParameterValueErrorDetail", "GsaNewLayoutAssociationChainItem", "GsaNewLayoutAssociationChainLink", "GsaNewLayoutAttributeItem", @@ -2050,36 +1799,23 @@ "GsaNewLayoutItemType", "GsaNewLayoutRecordLinkItem", "GsaNewLayoutSmartLinkItem", - "GsaNoDataFileErrorDetail", "GsaNoExpressionsMathsFunctionalErrorDetail", - "GsaNoFileFileErrorDetail", - "GsaNoParameterValuesParameterErrorDetail", "GsaNoSuchEntityAttributeErrorDetail", "GsaNoSuchEntityTabularColumnErrorDetail", "GsaNoSuchExpressionsMathsFunctionalErrorDetail", - "GsaNoSuchNewParentFileMoveErrorDetail", - "GsaNoSuchNewParentFolderMoveErrorDetail", "GsaNoSuchParameterValueParameterContentErrorDetail", - "GsaNoSuchUnitParameterErrorDetail", "GsaNoValueExistsGraphValue", "GsaNoValuesSpecifier", "GsaNotApplicableDatum", "GsaNotTheLatestVersionErrorDetail", "GsaNotVersionedErrorDetail", - "GsaNotificationUser", - "GsaNotificationUsers", - "GsaNotificationWatch", "GsaNumericGraphParameterValue", "GsaNumericParameter", "GsaNumericParameterConstraint", "GsaNumericParameterContent", "GsaNumericParameterDataValue", "GsaNumericParameterValue", - "GsaNumericRestrictedInterpolationParameterErrorDetail", "GsaObjectIdentifier", - "GsaOrphanedSearchIndex", - "GsaOrphanedSearchIndexesInfo", - "GsaPaginationLinks", "GsaPagingOptions", "GsaParameter", "GsaParameterConstraint", @@ -2091,11 +1827,8 @@ "GsaParameterContentMathsFunctionalErrorDetail", "GsaParameterContentMissingArgument", "GsaParameterContentUnknownParametersMathsFunctionalErrorDetail", - "GsaParameterCreationException", "GsaParameterDataValue", "GsaParameterDeletionException", - "GsaParameterErrorDetail", - "GsaParameterErrorReason", "GsaParameterInfo", "GsaParameterInfoInterpolationType", "GsaParameterInfoParameterType", @@ -2105,18 +1838,9 @@ "GsaParameterSettingDefinedAt", "GsaParameterType", "GsaParameterTypeParameterContentErrorDetail", - "GsaParameterTypeParameterErrorDetail", - "GsaParameterUpdateException", "GsaParameterValue", - "GsaParameterValueCreationException", "GsaParameterValueDeletionException", - "GsaParameterValueErrorDetail", - "GsaParameterValueErrorReason", - "GsaParameterValueParameterErrorDetail", "GsaParameterValueType", - "GsaParameterValueTypeParameterValueErrorDetail", - "GsaParameterValueUpdateException", - "GsaParameterValueUsedByType", "GsaParameterWithDataValue", "GsaParametersInfo", "GsaPermission", @@ -2186,7 +1910,7 @@ "GsaRangeHistogramAggregationDatumCriterion", "GsaRecordAncestorCriterion", "GsaRecordAncestorHistoryCriterion", - "GsaRecordAndAttributeSelectionType", + "GsaRecordCapabilities", "GsaRecordColor", "GsaRecordColorProperty", "GsaRecordExportFailure", @@ -2219,13 +1943,11 @@ "GsaRecordSubsetCriterion", "GsaRecordType", "GsaRecordTypeProperty", - "GsaRecordUserCapabilities", "GsaRecordVersion", "GsaRecordVersionReference", "GsaRecordWithData", "GsaReferencedByType", "GsaReferentialIntegrityModel", - "GsaRegisterUpdateRequest", "GsaReleaseRecordVersionControlException", "GsaReleaseTableVersionControlException", "GsaReleasedDateProperty", @@ -2234,26 +1956,20 @@ "GsaReorderSectionsInfo", "GsaReplacementString", "GsaReplacementStringsInfo", - "GsaResolveLinkTargetsInfo", - "GsaResolveLinkTargetsRequest", + "GsaResolvedLink", + "GsaResolvedLinkInfo", "GsaResolvedLinkTarget", "GsaResponseOptions", "GsaResubmitJobRequest", - "GsaRetargetPotentialRequest", - "GsaRetargetRequest", - "GsaRetargetResult", - "GsaRetargetResultType", - "GsaRetargetResultsInfo", "GsaRichTextType", "GsaRichTextValue", "GsaRollupExportFailure", "GsaRollupReference", - "GsaRootFolderMoveErrorDetail", - "GsaSameParentFileMoveErrorDetail", - "GsaSameParentFolderMoveErrorDetail", + "GsaSaveSearchRequest", "GsaSchemaTooNewAddDatabaseValidationIssue", "GsaSchemaTooOldAddDatabaseValidationIssue", "GsaSearchClusterStatus", + "GsaSearchDetail", "GsaSearchIndexStatus", "GsaSearchMaskUsageDataModificationErrorDetail", "GsaSearchRequest", @@ -2264,6 +1980,7 @@ "GsaSecurityAttributeGrouping", "GsaSecurityAttributeUsageDataModificationErrorDetail", "GsaSecurityGroups", + "GsaSelectionSearch", "GsaSeriesGraph", "GsaSetDateTimeDatum", "GsaSetDatum", @@ -2294,7 +2011,6 @@ "GsaSignificantFiguresInfo", "GsaSimpleAttributeToExport", "GsaSlimAttribute", - "GsaSlimAttributeWithHelpPath", "GsaSlimConfiguration", "GsaSlimConstant", "GsaSlimDatabase", @@ -2309,7 +2025,6 @@ "GsaSlimNamedUnit", "GsaSlimObjects", "GsaSlimParameter", - "GsaSlimParameterWithHelpPath", "GsaSlimPermission", "GsaSlimPermissionCategory", "GsaSlimProfile", @@ -2323,8 +2038,6 @@ "GsaSlimTypedAttribute", "GsaSlimUnit", "GsaSlimUnitSystem", - "GsaSmartLinkGroupUsageDataModificationErrorDetail", - "GsaSmartRecordLinkGroup", "GsaSmtpProperties", "GsaSortCriterion", "GsaSortCriterionType", @@ -2340,7 +2053,6 @@ "GsaStringSortingValue", "GsaSubset", "GsaSubsetsInfo", - "GsaSupportProperties", "GsaTable", "GsaTableDeletionException", "GsaTableGuidProperty", @@ -2394,7 +2106,6 @@ "GsaUpdateDataRule", "GsaUpdateDatabase", "GsaUpdateDateTimeAttribute", - "GsaUpdateDefaultDatabase", "GsaUpdateDefaultProfile", "GsaUpdateDiscreteAttribute", "GsaUpdateDiscreteFunctionalAttribute", @@ -2406,8 +2117,7 @@ "GsaUpdateDiscreteParameterValue", "GsaUpdateDiscreteRange", "GsaUpdateDiscreteType", - "GsaUpdateDisplayNames", - "GsaUpdateDisplayNamesResponse", + "GsaUpdateDynamicRecordLinkGroup", "GsaUpdateExpression", "GsaUpdateFile", "GsaUpdateFileAttribute", @@ -2438,7 +2148,6 @@ "GsaUpdateLongTextAttribute", "GsaUpdateMathsContent", "GsaUpdateMathsFunctionalAttribute", - "GsaUpdateNotificationUser", "GsaUpdateNumericParameter", "GsaUpdateNumericParameterContent", "GsaUpdateNumericParameterValue", @@ -2454,14 +2163,10 @@ "GsaUpdateRecordListPermissionFlags", "GsaUpdateRecordListProperties", "GsaUpdateReplacementString", - "GsaUpdateRootFolderErrorDetail", - "GsaUpdateRunStatus", "GsaUpdateShortTextAttribute", - "GsaUpdateSmartRecordLinkGroup", "GsaUpdateStandardName", "GsaUpdateStaticRecordLinkGroup", "GsaUpdateSubset", - "GsaUpdateSupportProperties", "GsaUpdateTable", "GsaUpdateTabularAttribute", "GsaUpdateTabularAttributeTarget", @@ -2472,11 +2177,11 @@ "GsaUpdateUserPermission", "GsaUpdateUserPermissionsInfo", "GsaUsageDataModificationErrorDetail", + "GsaUserOrGroup", "GsaUserPermission", "GsaUserPermissionsInfo", "GsaUserRole", "GsaValidateAttributeRequest", - "GsaValueNotProvidedParameterValueErrorDetail", "GsaValueSpecifier", "GsaValueSpecifierType", "GsaValueWithCountOfBoolean", @@ -2487,7 +2192,6 @@ "GsaVersionNumberProperty", "GsaVersionState", "GsaVersionStateProperty", - "GsaWatchType", "GsaWithdrawRecordVersionControlException", "GsaXYChartTemplateUsageDataModificationErrorDetail", "JobqueueFilesBody", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/__init__.py index 8cadfa99..454668fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/__init__.py @@ -26,14 +26,10 @@ from ansys.openapi.common import ApiBase # import apis into api package -from .activity_log_api import ActivityLogApi from .aggregation_api import AggregationApi -from .blob_infos_api import BlobInfosApi -from .blobs_api import BlobsApi from .bulk_api import BulkApi from .data_api import DataApi from .data_export_api import DataExportApi -from .data_updater_api import DataUpdaterApi from .database_api import DatabaseApi from .graph_api import GraphApi from .help_location_api import HelpLocationApi @@ -56,7 +52,6 @@ from .schema___databases_api import SchemaDatabasesApi from .schema___discrete_types___discrete_values_api import SchemaDiscreteTypesDiscreteValuesApi from .schema___discrete_types_api import SchemaDiscreteTypesApi -from .schema___display_names_api import SchemaDisplayNamesApi from .schema___exporters_api import SchemaExportersApi from .schema___expressions_api import SchemaExpressionsApi from .schema___global_standard_names_api import SchemaGlobalStandardNamesApi @@ -75,19 +70,16 @@ from .schema___units_api import SchemaUnitsApi from .schema_api import SchemaApi from .search_api import SearchApi +from .selection_searches_api import SelectionSearchesApi from .server_manager_api import ServerManagerApi from .status_api import StatusApi __all__ = [ "ApiBase", - "ActivityLogApi", "AggregationApi", - "BlobInfosApi", - "BlobsApi", "BulkApi", "DataApi", "DataExportApi", - "DataUpdaterApi", "DatabaseApi", "GraphApi", "HelpLocationApi", @@ -111,7 +103,6 @@ "SchemaDatabasesApi", "SchemaDiscreteTypesDiscreteValuesApi", "SchemaDiscreteTypesApi", - "SchemaDisplayNamesApi", "SchemaExportersApi", "SchemaExpressionsApi", "SchemaGlobalStandardNamesApi", @@ -129,6 +120,7 @@ "SchemaTablesApi", "SchemaUnitsApi", "SearchApi", + "SelectionSearchesApi", "ServerManagerApi", "StatusApi", ] diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/activity_log_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/activity_log_api.py deleted file mode 100644 index b582c1ec..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/activity_log_api.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ApiBase - -if TYPE_CHECKING: - import pathlib - - from ..models import * - - -class ActivityLogApi(ApiBase): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def get_entries( - self, - *, - body: "Optional[GsaActivityLogEntriesFilter]" = None, - page_size: "Optional[int]" = 1000, - page: "Optional[int]" = 1, - ) -> "GsaActivityLogEntriesInfo | None": - """Get filtered activity log entries, ordered from newest to oldest. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaActivityLogEntriesFilter - Filter object used to narrow down the entries to return. - page_size: int - Page size. Defaults to 1 000. The limit is 10 000. - page: int - Page number. Defaults to 1. - - Returns - ------- - GsaActivityLogEntriesInfo | None - """ - data = self._get_entries_with_http_info(body, page_size, page, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_entries_with_http_info( - self, - body: "Optional[GsaActivityLogEntriesFilter]" = None, - page_size: "Optional[int]" = 1000, - page: "Optional[int]" = 1, - **kwargs: Any, - ) -> Any: - all_params = [ - "body", - "page_size", - "page", - "_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_entries") - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - if "page_size" in params and page_size is not None: - query_params.append(("pageSize", params["page_size"])) - if "page" in params and page is not None: - query_params.append(("page", params["page"])) - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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( - ["text/plain", "application/json", "text/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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaActivityLogEntriesInfo", - 400: None, - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/activity-log/entries", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/aggregation_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/aggregation_api.py index 55095561..6688066f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/aggregation_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/aggregation_api.py @@ -63,7 +63,6 @@ def database_aggregation( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaAggregationsRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -178,9 +177,7 @@ def database_aggregation_for_table_with_guid( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaAggregationsRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -304,7 +301,6 @@ def database_aggregation_for_table_with_identity( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_identity: int body: GsaAggregationsRequest x_ansys_vc_mode: str diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blob_infos_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blob_infos_api.py deleted file mode 100644 index 00dbbfa6..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blob_infos_api.py +++ /dev/null @@ -1,213 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ApiBase - -if TYPE_CHECKING: - import pathlib - - from ..models import * - - -class BlobInfosApi(ApiBase): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def get_all_data_updater_blob_infos(self) -> "list[GsaBlobInfoDto]": - """Get a list of all blob descriptors for databases that the user is admin of. - - This method makes a synchronous HTTP request. - - Returns - ------- - list[GsaBlobInfoDto] - """ - data = self._get_all_data_updater_blob_infos_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_all_data_updater_blob_infos_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_all_data_updater_blob_infos" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaBlobInfoDto]", - } - - return self.api_client.call_api( - "/v1alpha/blob-infos/dataupdater", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_data_updater_blob_infos( - self, *, database_key: "str", blob_path: "str", recursive: "Optional[bool]" = None - ) -> "list[GsaBlobInfoDto]": - """Get a list of blob descriptors for a specific database, optionally limited by their relative path. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - Database key. - blob_path: str - Path to look under (without the blob name). Can be empty - recursive: bool - Whether to look under sub-paths as well. - - Returns - ------- - list[GsaBlobInfoDto] - """ - data = self._get_data_updater_blob_infos_with_http_info( - database_key, blob_path, recursive, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_data_updater_blob_infos_with_http_info( - self, - database_key: "str", - blob_path: "str", - recursive: "Optional[bool]" = None, - **kwargs: Any, - ) -> Any: - all_params = [ - "database_key", - "blob_path", - "recursive", - "_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_data_updater_blob_infos" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_data_updater_blob_infos'" - ) - # verify the required parameter "blob_path" is set - if "blob_path" not in params or params["blob_path"] is None: - raise ValueError( - "Missing the required parameter 'blob_path' when calling 'get_data_updater_blob_infos'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "blob_path" in params and blob_path is not None: - path_params["blob-path"] = params["blob_path"] - - query_params: list[Any] = [] - if "recursive" in params and recursive is not None: - query_params.append(("recursive", params["recursive"])) - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaBlobInfoDto]", - } - - return self.api_client.call_api( - "/v1alpha/blob-infos/dataupdater/{database-key}/{blob-path}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blobs_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blobs_api.py deleted file mode 100644 index 2916f5c8..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/blobs_api.py +++ /dev/null @@ -1,320 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ApiBase - -if TYPE_CHECKING: - import pathlib - - from ..models import * - - -class BlobsApi(ApiBase): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def delete_data_updater_blob(self, *, database_key: "str", blob_path: "str") -> "None": - """Delete DataUpdater blob. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - Database key - blob_path: str - Blob path to a single blob (including its name). - - Returns - ------- - None - """ - data = self._delete_data_updater_blob_with_http_info( - database_key, blob_path, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _delete_data_updater_blob_with_http_info( - self, database_key: "str", blob_path: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "blob_path", - "_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_data_updater_blob" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'delete_data_updater_blob'" - ) - # verify the required parameter "blob_path" is set - if "blob_path" not in params or params["blob_path"] is None: - raise ValueError( - "Missing the required parameter 'blob_path' when calling 'delete_data_updater_blob'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "blob_path" in params and blob_path is not None: - path_params["blobPath"] = params["blob_path"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - } - - return self.api_client.call_api( - "/v1alpha/blobs/dataUpdater/{database-key}/{blobPath}", - "DELETE", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def download_data_updater_blob(self, *, database_key: "str", blob_path: "str") -> "None": - """Retrieve DataUpdater blob contents by its path. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - Database key - blob_path: str - Blob path to a single blob (including its name). - - Returns - ------- - None - """ - data = self._download_data_updater_blob_with_http_info( - database_key, blob_path, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _download_data_updater_blob_with_http_info( - self, database_key: "str", blob_path: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "blob_path", - "_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 download_data_updater_blob" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'download_data_updater_blob'" - ) - # verify the required parameter "blob_path" is set - if "blob_path" not in params or params["blob_path"] is None: - raise ValueError( - "Missing the required parameter 'blob_path' when calling 'download_data_updater_blob'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "blob_path" in params and blob_path is not None: - path_params["blobPath"] = params["blob_path"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/blobs/dataUpdater/{database-key}/{blobPath}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def upload_data_updater_blob( - self, *, database_key: "str", blob_path: "str" - ) -> "GsaBlobInfoDto": - """Store DataUpdater blob contents. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - Database key - blob_path: str - Blob path to a single blob (including its name). - - Returns - ------- - GsaBlobInfoDto - """ - data = self._upload_data_updater_blob_with_http_info( - database_key, blob_path, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _upload_data_updater_blob_with_http_info( - self, database_key: "str", blob_path: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "blob_path", - "_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_data_updater_blob" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'upload_data_updater_blob'" - ) - # verify the required parameter "blob_path" is set - if "blob_path" not in params or params["blob_path"] is None: - raise ValueError( - "Missing the required parameter 'blob_path' when calling 'upload_data_updater_blob'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "blob_path" in params and blob_path is not None: - path_params["blobPath"] = params["blob_path"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaBlobInfoDto", - } - - return self.api_client.call_api( - "/v1alpha/blobs/dataUpdater/{database-key}/{blobPath}", - "PUT", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_api.py index 92e3efff..fbf10ad9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_api.py @@ -63,7 +63,6 @@ def append_values_for_discrete_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str body: GsaAppendDiscreteValues @@ -186,9 +185,7 @@ def append_values_for_discrete_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str body: GsaAppendDiscreteValues @@ -324,7 +321,6 @@ def append_values_for_point_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str body: GsaAppendPointValues @@ -447,9 +443,7 @@ def append_values_for_point_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str body: GsaAppendPointValues @@ -586,7 +580,6 @@ def delete_cell_datum_for_tabular_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -722,9 +715,7 @@ def delete_cell_datum_for_tabular_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -863,7 +854,6 @@ def delete_datum_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str @@ -968,9 +958,7 @@ def delete_datum_for_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str @@ -1095,7 +1083,6 @@ def export_binary_data_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str mode: str @@ -1241,9 +1228,7 @@ def export_binary_data_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str mode: str @@ -1399,7 +1384,6 @@ def export_binary_data_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -1557,9 +1541,7 @@ def export_binary_data_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str @@ -1727,7 +1709,6 @@ def export_cell_binary_data_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -1897,9 +1878,7 @@ def export_cell_binary_data_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -2079,7 +2058,6 @@ def export_cell_binary_data_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -2261,9 +2239,7 @@ def export_cell_binary_data_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str @@ -2451,7 +2427,6 @@ def get_cell_datum_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -2604,9 +2579,7 @@ def get_cell_datum_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -2769,7 +2742,6 @@ def get_cell_datum_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -2934,9 +2906,7 @@ def get_cell_datum_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str @@ -3109,7 +3079,6 @@ def get_datum_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str mode: str @@ -3252,9 +3221,7 @@ def get_datum_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str mode: str @@ -3407,7 +3374,6 @@ def get_datum_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -3562,9 +3528,7 @@ def get_datum_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str @@ -3726,7 +3690,6 @@ def set_cell_datum_for_tabular_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -3877,9 +3840,7 @@ def set_cell_datum_for_tabular_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -4042,7 +4003,6 @@ def set_cell_file_datum_for_tabular_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -4212,9 +4172,7 @@ def set_cell_file_datum_for_tabular_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -4390,7 +4348,6 @@ def set_cell_picture_datum_for_tabular_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str row_guid: str @@ -4540,9 +4497,7 @@ def set_cell_picture_datum_for_tabular_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str row_guid: str @@ -4699,7 +4654,6 @@ def set_datum_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str body: GsaSetDatum @@ -4823,9 +4777,7 @@ def set_datum_for_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str body: GsaSetDatum @@ -4957,7 +4909,6 @@ def set_datum_not_applicable( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str @@ -5062,9 +5013,7 @@ def set_datum_not_applicable_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str @@ -5189,7 +5138,6 @@ def set_file_datum_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str file: BinaryIO | pathlib.Path @@ -5335,9 +5283,7 @@ def set_file_datum_for_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str file: BinaryIO | pathlib.Path @@ -5489,7 +5435,6 @@ def set_picture_datum_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str picture: BinaryIO | pathlib.Path @@ -5611,9 +5556,7 @@ def set_picture_datum_for_attribute_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str picture: BinaryIO | pathlib.Path diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_export_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_export_api.py index 43d995b6..10582c58 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_export_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_export_api.py @@ -63,7 +63,6 @@ def export_data( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaDataExportRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_updater_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_updater_api.py deleted file mode 100644 index 10904b54..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/data_updater_api.py +++ /dev/null @@ -1,1093 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ApiBase - -if TYPE_CHECKING: - import pathlib - - from ..models import * - - -class DataUpdaterApi(ApiBase): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def apply_update(self, *, database_key: "str", update_token_guid: "str") -> "str": - """Start an apply job for a given update - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - update_token_guid: str - - Returns - ------- - str - """ - data = self._apply_update_with_http_info( - database_key, update_token_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _apply_update_with_http_info( - self, database_key: "str", update_token_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "update_token_guid", - "_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 apply_update" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'apply_update'" - ) - # verify the required parameter "update_token_guid" is set - if "update_token_guid" not in params or params["update_token_guid"] is None: - raise ValueError( - "Missing the required parameter 'update_token_guid' when calling 'apply_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "update_token_guid" in params and update_token_guid is not None: - path_params["update-token-guid"] = params["update_token_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "str", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:apply", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def delete_completed_data_updater_job(self, *, job_id: "str") -> "None": - """Delete a specific job. Only valid if job is in one of the completed states. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - job_id: str - - Returns - ------- - None - """ - data = self._delete_completed_data_updater_job_with_http_info( - job_id, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _delete_completed_data_updater_job_with_http_info( - self, job_id: "str", **kwargs: Any - ) -> Any: - all_params = ["job_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_completed_data_updater_job" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "job_id" is set - if "job_id" not in params or params["job_id"] is None: - raise ValueError( - "Missing the required parameter 'job_id' when calling 'delete_completed_data_updater_job'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "job_id" in params and job_id is not None: - path_params["job-id"] = params["job_id"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/jobs/{job-id}", - "DELETE", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def delete_update(self, *, database_key: "str", update_token_guid: "str") -> "None": - """Deletes an update if it is in a deletable state. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - update_token_guid: str - - Returns - ------- - None - """ - data = self._delete_update_with_http_info( - database_key, update_token_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _delete_update_with_http_info( - self, database_key: "str", update_token_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "update_token_guid", - "_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_update" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'delete_update'" - ) - # verify the required parameter "update_token_guid" is set - if "update_token_guid" not in params or params["update_token_guid"] is None: - raise ValueError( - "Missing the required parameter 'update_token_guid' when calling 'delete_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "update_token_guid" in params and update_token_guid is not None: - path_params["update-token-guid"] = params["update_token_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}", - "DELETE", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def dry_run_update(self, *, database_key: "str", update_token_guid: "str") -> "str": - """Start a dry run job for a given update - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - update_token_guid: str - - Returns - ------- - str - """ - data = self._dry_run_update_with_http_info( - database_key, update_token_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _dry_run_update_with_http_info( - self, database_key: "str", update_token_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "update_token_guid", - "_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 dry_run_update" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'dry_run_update'" - ) - # verify the required parameter "update_token_guid" is set - if "update_token_guid" not in params or params["update_token_guid"] is None: - raise ValueError( - "Missing the required parameter 'update_token_guid' when calling 'dry_run_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "update_token_guid" in params and update_token_guid is not None: - path_params["update-token-guid"] = params["update_token_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "str", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:dry-run", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def fill_in_fallback_identifiers(self, *, database_key: "str") -> "None": - """Starts a long-running operation of generating fallback identifiers for a given database. Returns immediately. User is expected to watch MI Server logs for progress and errors. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - - Returns - ------- - None - """ - data = self._fill_in_fallback_identifiers_with_http_info( - database_key, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _fill_in_fallback_identifiers_with_http_info( - self, database_key: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "_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 fill_in_fallback_identifiers" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'fill_in_fallback_identifiers'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/projects/{database-key}:fill-in-fallback-ids", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def finalize_update(self, *, database_key: "str", update_token_guid: "str") -> "str": - """Start a finalize job for a given update - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - update_token_guid: str - - Returns - ------- - str - """ - data = self._finalize_update_with_http_info( - database_key, update_token_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _finalize_update_with_http_info( - self, database_key: "str", update_token_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "update_token_guid", - "_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 finalize_update" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'finalize_update'" - ) - # verify the required parameter "update_token_guid" is set - if "update_token_guid" not in params or params["update_token_guid"] is None: - raise ValueError( - "Missing the required parameter 'update_token_guid' when calling 'finalize_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "update_token_guid" in params and update_token_guid is not None: - path_params["update-token-guid"] = params["update_token_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "str", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}:finalize", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_all_updates(self) -> "list[GsaDataUpdate]": - """get_all_updates - - This method makes a synchronous HTTP request. - - Returns - ------- - list[GsaDataUpdate] - """ - data = self._get_all_updates_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_all_updates_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_all_updates" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaDataUpdate]", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_data_updater_job(self, *, job_id: "str") -> "GsaDataUpdaterJob": - """Get a specific job. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - job_id: str - - Returns - ------- - GsaDataUpdaterJob - """ - data = self._get_data_updater_job_with_http_info(job_id, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_data_updater_job_with_http_info(self, job_id: "str", **kwargs: Any) -> Any: - all_params = ["job_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_data_updater_job" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "job_id" is set - if "job_id" not in params or params["job_id"] is None: - raise ValueError( - "Missing the required parameter 'job_id' when calling 'get_data_updater_job'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "job_id" in params and job_id is not None: - path_params["job-id"] = params["job_id"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDataUpdaterJob", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/jobs/{job-id}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_data_updater_jobs(self) -> "list[GsaDataUpdaterJob]": - """Get all jobs. (pertaining to databases that the user is administrator of) - - This method makes a synchronous HTTP request. - - Returns - ------- - list[GsaDataUpdaterJob] - """ - data = self._get_data_updater_jobs_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_data_updater_jobs_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_data_updater_jobs" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaDataUpdaterJob]", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/jobs", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_projects_for_database(self, *, database_key: "str") -> "list[GsaDataUpdaterProject]": - """get_projects_for_database - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - - Returns - ------- - list[GsaDataUpdaterProject] - """ - data = self._get_projects_for_database_with_http_info( - database_key, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_projects_for_database_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: - all_params = [ - "database_key", - "_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_projects_for_database" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_projects_for_database'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaDataUpdaterProject]", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/projects/{database-key}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_update(self, *, database_key: "str", update_token_guid: "str") -> "GsaDataUpdate": - """get_update - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - update_token_guid: str - - Returns - ------- - GsaDataUpdate - """ - data = self._get_update_with_http_info( - database_key, update_token_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_update_with_http_info( - self, database_key: "str", update_token_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "update_token_guid", - "_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_update") - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_update'" - ) - # verify the required parameter "update_token_guid" is set - if "update_token_guid" not in params or params["update_token_guid"] is None: - raise ValueError( - "Missing the required parameter 'update_token_guid' when calling 'get_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "update_token_guid" in params and update_token_guid is not None: - path_params["update-token-guid"] = params["update_token_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDataUpdate", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}/{update-token-guid}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_updates_for_database(self, *, database_key: "str") -> "list[GsaDataUpdate]": - """get_updates_for_database - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - - Returns - ------- - list[GsaDataUpdate] - """ - data = self._get_updates_for_database_with_http_info( - database_key, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_updates_for_database_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: - all_params = [ - "database_key", - "_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_updates_for_database" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_updates_for_database'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "list[GsaDataUpdate]", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def register_update( - self, *, database_key: "str", body: "Optional[GsaRegisterUpdateRequest]" = None - ) -> "GsaDataUpdateToken": - """Register an update - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - body: GsaRegisterUpdateRequest - - Returns - ------- - GsaDataUpdateToken - """ - data = self._register_update_with_http_info(database_key, body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _register_update_with_http_info( - self, database_key: "str", body: "Optional[GsaRegisterUpdateRequest]" = None, **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "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 register_update" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'register_update'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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( - ["text/plain", "application/json", "text/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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDataUpdateToken", - } - - return self.api_client.call_api( - "/v1alpha/dataupdater/updates/{database-key}", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/graph_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/graph_api.py index 66116b7e..429b6826 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/graph_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/graph_api.py @@ -66,7 +66,6 @@ def evaluate_graph_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -220,9 +219,7 @@ def evaluate_graph_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str @@ -384,7 +381,6 @@ def evaluate_graph_value_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str body: GsaGraphEvaluationSettings @@ -526,9 +522,7 @@ def evaluate_graph_value_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str body: GsaGraphEvaluationSettings @@ -678,7 +672,6 @@ def get_graph_for_latest( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str attribute_guid: str mode: str @@ -808,9 +801,7 @@ def get_graph_for_latest_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str attribute_guid: str mode: str @@ -950,7 +941,6 @@ def get_graph_for_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str record_version_guid: str attribute_guid: str @@ -1092,9 +1082,7 @@ def get_graph_for_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str attribute_guid: str diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/integration_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/integration_api.py index 6befd44e..f26b3ff8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/integration_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/integration_api.py @@ -460,7 +460,6 @@ def schema_table_mappings( ---------- schema: str database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_identity: int Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/permission_based_access_control_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/permission_based_access_control_api.py index fefa1955..35e4f61b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/permission_based_access_control_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/permission_based_access_control_api.py @@ -58,7 +58,6 @@ def get_permission_categories( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -141,7 +140,6 @@ def get_permission_category( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) category_guid: str Returns @@ -235,7 +233,6 @@ def get_permission_in_category( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) category_guid: str permission_guid: str @@ -338,7 +335,6 @@ def get_permissions_in_category( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) category_guid: str Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_histories_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_histories_api.py index fe6c6a51..fa538273 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_histories_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_histories_api.py @@ -62,7 +62,6 @@ def copy_record_history( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str body: GsaCopyRecordHistory @@ -174,9 +173,7 @@ def copy_record_history_in_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str body: GsaCopyRecordHistory @@ -296,9 +293,7 @@ def create_record_history( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateRecordHistory Returns @@ -409,7 +404,6 @@ def get_latest_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -522,9 +516,7 @@ def get_latest_record_version_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -650,7 +642,6 @@ def get_record_history( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -763,9 +754,7 @@ def get_record_history_from_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -890,7 +879,6 @@ def move_record_history( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) record_history_guid: str body: GsaMoveRecordHistory @@ -1002,9 +990,7 @@ def move_record_history_in_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str body: GsaMoveRecordHistory diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_versions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_versions_api.py index 6255f3e2..27765e28 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_versions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/records___record_versions_api.py @@ -63,9 +63,7 @@ def delete_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str @@ -187,9 +185,7 @@ def get_modifiable_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str @@ -316,9 +312,7 @@ def get_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str mode: str @@ -455,9 +449,7 @@ def release_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str @@ -582,9 +574,7 @@ def withdraw_record_version( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_history_guid: str record_version_guid: str diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___attributes_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___attributes_api.py index 32ee4fe3..b5289149 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___attributes_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___attributes_api.py @@ -58,9 +58,7 @@ def create_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateAttribute Returns @@ -171,9 +169,7 @@ def create_meta_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str body: GsaCreateAttribute @@ -289,9 +285,7 @@ def delete_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str Returns @@ -393,9 +387,7 @@ def delete_meta_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) meta_attribute_guid: str Returns @@ -503,9 +495,7 @@ def get_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -631,9 +621,7 @@ def get_attributes( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -745,9 +733,7 @@ def get_meta_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) meta_attribute_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -873,9 +859,7 @@ def get_meta_attributes( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -987,9 +971,7 @@ def get_meta_attributes_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -1116,9 +1098,7 @@ def query_attributes( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaQueryAttributesRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -1242,9 +1222,7 @@ def query_meta_attributes( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaQueryAttributesRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -1369,9 +1347,7 @@ def query_meta_attributes_for_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str body: GsaQueryAttributesRequest x_ansys_vc_mode: str @@ -1510,9 +1486,7 @@ def update_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str body: GsaUpdateAttribute @@ -1633,9 +1607,7 @@ def update_meta_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) meta_attribute_guid: str body: GsaUpdateAttribute @@ -1756,9 +1728,7 @@ def validate_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) attribute_guid: str body: GsaValidateAttributeRequest @@ -1879,9 +1849,7 @@ def validate_meta_attribute( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) meta_attribute_guid: str body: GsaValidateAttributeRequest diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___configurations_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___configurations_api.py index fa552cf0..09b7b5a3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___configurations_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___configurations_api.py @@ -54,7 +54,7 @@ def create_configuration( database_key: "str", configuration_type: "str", body: "Optional[GsaCreateConfiguration]" = None, - ) -> "GsaConfiguration | GsaFileCreationException | None": + ) -> "GsaConfiguration | None": """Create a new configuration. This method makes a synchronous HTTP request. @@ -62,14 +62,13 @@ def create_configuration( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. body: GsaCreateConfiguration Returns ------- - GsaConfiguration | GsaFileCreationException | None + GsaConfiguration | None """ data = self._create_configuration_with_http_info( database_key, configuration_type, body, _return_http_data_only=True @@ -139,7 +138,7 @@ def _create_configuration_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaConfiguration", - 400: "GsaFileCreationException", + 400: None, 403: None, 404: None, } @@ -170,9 +169,8 @@ def delete_configuration( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. configuration_guid: str Returns @@ -267,7 +265,7 @@ def _delete_configuration_with_http_info( def export_configuration( self, *, database_key: "str", configuration_type: "str", configuration_guid: "str" - ) -> "None | str": + ) -> "None": """Get individual configuration as a file This method makes a synchronous HTTP request. @@ -275,14 +273,13 @@ def export_configuration( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. configuration_guid: str Returns ------- - None | str + None """ data = self._export_configuration_with_http_info( database_key, configuration_type, configuration_guid, _return_http_data_only=True @@ -347,11 +344,9 @@ def _export_configuration_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) response_type_map: dict[int, Optional[str]] = { - 200: "file", + 200: None, 404: None, } @@ -381,9 +376,8 @@ def get_configuration( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. configuration_guid: str Returns @@ -487,9 +481,8 @@ def get_configurations( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. Returns ------- @@ -577,7 +570,7 @@ def update_configuration( configuration_type: "str", configuration_guid: "str", body: "Optional[GsaUpdateConfiguration]" = None, - ) -> "GsaConfiguration | GsaFileUpdateException | None": + ) -> "GsaConfiguration | None": """Update a configuration. This method makes a synchronous HTTP request. @@ -585,15 +578,14 @@ def update_configuration( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) configuration_type: str - The configuration type as entered. + The configuration type. configuration_guid: str body: GsaUpdateConfiguration Returns ------- - GsaConfiguration | GsaFileUpdateException | None + GsaConfiguration | None """ data = self._update_configuration_with_http_info( database_key, configuration_type, configuration_guid, body, _return_http_data_only=True @@ -672,7 +664,7 @@ def _update_configuration_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaConfiguration", - 400: "GsaFileUpdateException", + 400: None, 403: None, 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___constants_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___constants_api.py index 4dead1a6..346f64f4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___constants_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___constants_api.py @@ -335,7 +335,6 @@ def get_constants(self, *, database_key: "str") -> "GsaConstantsInfo | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___data_rules_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___data_rules_api.py index d94feb39..d7ef3a66 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___data_rules_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___data_rules_api.py @@ -58,7 +58,6 @@ def create_data_rule( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateDataRule Returns @@ -150,7 +149,6 @@ def delete_data_rule(self, *, database_key: "str", data_rule_guid: "str") -> "No Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) data_rule_guid: str Returns @@ -240,7 +238,6 @@ def get_data_rule(self, *, database_key: "str", data_rule_guid: "str") -> "GsaDa Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) data_rule_guid: str Returns @@ -330,7 +327,6 @@ def get_data_rules(self, *, database_key: "str") -> "GsaDataRulesInfo | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -413,7 +409,6 @@ def update_data_rule( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) data_rule_guid: str body: GsaUpdateDataRule diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py index f040f030..fe9aff20 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___databases_api.py @@ -122,83 +122,6 @@ def _add_database_with_http_info( response_type_map=response_type_map, ) - def check_databases_for_retarget_potential( - self, *, body: "Optional[GsaRetargetPotentialRequest]" = None - ) -> "GsaDatabasesInfo | None": - """Check databases for retarget potential - whether there are any cross-database tabular attributes targeting them. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaRetargetPotentialRequest - - Returns - ------- - GsaDatabasesInfo | None - """ - data = self._check_databases_for_retarget_potential_with_http_info( - body, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _check_databases_for_retarget_potential_with_http_info( - self, body: "Optional[GsaRetargetPotentialRequest]" = 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 check_databases_for_retarget_potential" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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"]) - - # 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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDatabasesInfo", - 400: None, - } - - return self.api_client.call_api( - "/v1alpha/databases:check-retarget-potential", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_all_databases(self, *, role: "Optional[str]" = None) -> "GsaDatabasesInfo": """Lists all databases that the user can see. @@ -272,7 +195,6 @@ def get_database(self, *, database_key: "str") -> "GsaDatabase | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -341,176 +263,6 @@ def _get_database_with_http_info(self, database_key: "str", **kwargs: Any) -> An response_type_map=response_type_map, ) - def get_default_database(self) -> "GsaDatabase | None": - """Returns details for a default database or null if the default database is not set or user cannot see it. - - This method makes a synchronous HTTP request. - - Returns - ------- - GsaDatabase | None - """ - data = self._get_default_database_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_default_database_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_default_database" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDatabase", - 204: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/default", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_outbound_links( - self, - *, - database_key: "str", - type: "Optional[list[str]]" = None, - mode: "Optional[str]" = None, - x_ansys_vc_mode: "Optional[str]" = None, - ) -> "GsaLinksInfo | None": - """Get all link groups and tabular attributes pointing from the database, i.e. the source of the link is in the given database. May include links where the target is in the same database, or where the target cannot be resolved (e.g. the target database is not loaded). - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - type: list[str] - The link attribute types as entered - mode: str - The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. - x_ansys_vc_mode: str - The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. - - Returns - ------- - GsaLinksInfo | None - """ - data = self._get_outbound_links_with_http_info( - database_key, type, mode, x_ansys_vc_mode, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_outbound_links_with_http_info( - self, - database_key: "str", - type: "Optional[list[str]]" = None, - mode: "Optional[str]" = None, - x_ansys_vc_mode: "Optional[str]" = None, - **kwargs: Any, - ) -> Any: - all_params = [ - "database_key", - "type", - "mode", - "x_ansys_vc_mode", - "_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_outbound_links" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_outbound_links'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - if "type" in params and type is not None: - query_params.append(("type", params["type"])) - collection_formats["type"] = "multi" - if "mode" in params and mode is not None: - query_params.append(("mode", params["mode"])) - - header_params: dict[str, Any] = {} - if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: - header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaLinksInfo", - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}:outbound-links", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def lock_database(self, *, database_key: "str") -> "GsaDatabase | None": """Lock database @@ -598,7 +350,6 @@ def reload_database(self, *, database_key: "str") -> "GsaSlimDatabase | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -677,7 +428,6 @@ def remove_database(self, *, database_key: "str") -> "None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -746,82 +496,6 @@ def _remove_database_with_http_info(self, database_key: "str", **kwargs: Any) -> response_type_map=response_type_map, ) - def retarget_tabulars( - self, *, body: "Optional[GsaRetargetRequest]" = None - ) -> "GsaRetargetResultsInfo | None": - """Retargets tabulars from the current database to a new one. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaRetargetRequest - - Returns - ------- - GsaRetargetResultsInfo | None - """ - data = self._retarget_tabulars_with_http_info(body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _retarget_tabulars_with_http_info( - self, body: "Optional[GsaRetargetRequest]" = 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 retarget_tabulars" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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"]) - - # 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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaRetargetResultsInfo", - 400: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases:retarget", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def unlock_database(self, *, database_key: "str") -> "GsaDatabase | None": """Unlock database @@ -915,7 +589,6 @@ def update_database( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaUpdateDatabase allow_reload: bool This must be set to true if any of the following properties are patched: DatabaseKey, DataSource, UseIntegratedSecurity, SqlUserName, SqlPassword, InitialCatalog, Language, Guid. The database will reload after the changes have been applied. @@ -1008,83 +681,6 @@ def _update_database_with_http_info( response_type_map=response_type_map, ) - def update_default_database( - self, *, body: "Optional[GsaUpdateDefaultDatabase]" = None - ) -> "GsaDatabase | None": - """Sets the default database. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaUpdateDefaultDatabase - - Returns - ------- - GsaDatabase | None - """ - data = self._update_default_database_with_http_info(body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _update_default_database_with_http_info( - self, body: "Optional[GsaUpdateDefaultDatabase]" = 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 update_default_database" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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"]) - - # 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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDatabase", - 400: None, - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/default", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def upgrade_database(self, *, database_key: "str") -> "GsaSlimDatabase | None": """Upgrade a database to the latest schema version. Only available to users in the System Administrator role. @@ -1093,7 +689,6 @@ def upgrade_database(self, *, database_key: "str") -> "GsaSlimDatabase | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types___discrete_values_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types___discrete_values_api.py index 5f01445c..da6390b6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types___discrete_values_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types___discrete_values_api.py @@ -62,7 +62,6 @@ def create_discrete_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str body: GsaDiscreteValuesCreateDiscreteValue @@ -169,7 +168,6 @@ def delete_discrete_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str discrete_value_guid: str @@ -276,7 +274,6 @@ def find_unused_discrete_values( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str Returns @@ -369,7 +366,6 @@ def get_discrete_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str discrete_value_guid: str @@ -474,7 +470,6 @@ def get_discrete_values( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str Returns @@ -570,7 +565,6 @@ def replace_discrete_values( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str body: GsaDiscreteValuesReplaceDiscreteValuesInfo @@ -682,7 +676,6 @@ def update_discrete_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str discrete_value_guid: str body: GsaDiscreteValuesUpdateDiscreteValue diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types_api.py index b93917e3..305cdf09 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___discrete_types_api.py @@ -58,7 +58,6 @@ def create_discrete_type( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateDiscreteType Returns @@ -152,7 +151,6 @@ def delete_discrete_type( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str Returns @@ -246,7 +244,6 @@ def get_attributes_for_type( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str Returns @@ -339,7 +336,6 @@ def get_discrete_type( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str Returns @@ -429,7 +425,6 @@ def get_discrete_types(self, *, database_key: "str") -> "GsaDiscreteTypesInfo | Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -509,7 +504,6 @@ def query_discrete_types( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaQueryDiscreteTypesRequest Returns @@ -609,7 +603,6 @@ def update_discrete_type( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) discrete_type_guid: str body: GsaUpdateDiscreteType diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___display_names_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___display_names_api.py deleted file mode 100644 index 4bdd3a74..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___display_names_api.py +++ /dev/null @@ -1,236 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ApiBase - -if TYPE_CHECKING: - import pathlib - - from ..models import * - - -class SchemaDisplayNamesApi(ApiBase): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def get_all_display_names( - self, *, database_key: "str", language: "str" - ) -> "GsaDisplayNamesInfo | None": - """Gets display names for all localized entities in the database, in the given language. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - language: str - - Returns - ------- - GsaDisplayNamesInfo | None - """ - data = self._get_all_display_names_with_http_info( - database_key, language, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _get_all_display_names_with_http_info( - self, database_key: "str", language: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "language", - "_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_all_display_names" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'get_all_display_names'" - ) - # verify the required parameter "language" is set - if "language" not in params or params["language"] is None: - raise ValueError( - "Missing the required parameter 'language' when calling 'get_all_display_names'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "language" in params and language is not None: - path_params["language"] = params["language"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/json"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaDisplayNamesInfo", - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/display-names/{language}", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def import_display_names( - self, *, database_key: "str", body: "Optional[GsaUpdateDisplayNames]" = None - ) -> "GsaDisplayNamesImportException | GsaUpdateDisplayNamesResponse | None": - """Updates display names for localized entities in the database. Returns the number of entities updated. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - body: GsaUpdateDisplayNames - - Returns - ------- - GsaDisplayNamesImportException | GsaUpdateDisplayNamesResponse | None - """ - data = self._import_display_names_with_http_info( - database_key, body, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _import_display_names_with_http_info( - self, database_key: "str", body: "Optional[GsaUpdateDisplayNames]" = None, **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "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 import_display_names" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'import_display_names'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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"]) - - # 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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaUpdateDisplayNamesResponse", - 400: "GsaDisplayNamesImportException", - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/display-names", - "PATCH", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___exporters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___exporters_api.py index ff5499d6..7ba2acac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___exporters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___exporters_api.py @@ -55,7 +55,7 @@ def create_exporters_file( folder_guid: "str", file: "Optional[BinaryIO | pathlib.Path]" = None, description: "Optional[str]" = None, - ) -> "GsaFileCreationException | GsaFileHeader | None": + ) -> "GsaFileHeader | None": """Create a new Exporter File. This method makes a synchronous HTTP request. @@ -63,14 +63,13 @@ def create_exporters_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file: BinaryIO | pathlib.Path description: str Returns ------- - GsaFileCreationException | GsaFileHeader | None + GsaFileHeader | None """ data = self._create_exporters_file_with_http_info( database_key, folder_guid, file, description, _return_http_data_only=True @@ -144,7 +143,7 @@ def _create_exporters_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", - 400: "GsaFileCreationException", + 400: None, 403: None, 404: None, } @@ -167,7 +166,7 @@ def _create_exporters_file_with_http_info( def create_exporters_folder( self, *, database_key: "str", body: "Optional[GsaCreateFolder]" = None - ) -> "GsaFolder | GsaFolderCreationException | None": + ) -> "GsaFolder | None": """Create a new Exporters Folder. This method makes a synchronous HTTP request. @@ -175,12 +174,11 @@ def create_exporters_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateFolder Returns ------- - GsaFolder | GsaFolderCreationException | None + GsaFolder | None """ data = self._create_exporters_folder_with_http_info( database_key, body, _return_http_data_only=True @@ -240,7 +238,7 @@ def _create_exporters_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", - 400: "GsaFolderCreationException", + 400: None, 403: None, 404: None, } @@ -271,7 +269,6 @@ def delete_exporters_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -361,9 +358,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" - ) -> "GsaFolderDeletionException | None": + def delete_exporters_folder(self, *, database_key: "str", folder_guid: "str") -> "None": """Delete an Exporter Folder. This method makes a synchronous HTTP request. @@ -371,12 +366,11 @@ def delete_exporters_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns ------- - GsaFolderDeletionException | None + None """ data = self._delete_exporters_folder_with_http_info( database_key, folder_guid, _return_http_data_only=True @@ -429,13 +423,8 @@ def _delete_exporters_folder_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) response_type_map: dict[int, Optional[str]] = { - 400: "GsaFolderDeletionException", 200: None, 403: None, 404: None, @@ -459,7 +448,7 @@ def _delete_exporters_folder_with_http_info( def export_exporters_file( self, *, database_key: "str", folder_guid: "str", file_guid: "str" - ) -> "None | str": + ) -> "None": """Get Exporter File as a file This method makes a synchronous HTTP request. @@ -467,13 +456,12 @@ def export_exporters_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str Returns ------- - None | str + None """ data = self._export_exporters_file_with_http_info( database_key, folder_guid, file_guid, _return_http_data_only=True @@ -534,11 +522,9 @@ def _export_exporters_file_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/octet-stream"]) response_type_map: dict[int, Optional[str]] = { - 200: "file", + 200: None, 404: None, } @@ -558,96 +544,6 @@ def _export_exporters_file_with_http_info( response_type_map=response_type_map, ) - def export_exporters_folder(self, *, database_key: "str", folder_guid: "str") -> "None | str": - """Get Exporter folder and contents as a zip file - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - folder_guid: str - - Returns - ------- - None | str - """ - data = self._export_exporters_folder_with_http_info( - database_key, folder_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _export_exporters_folder_with_http_info( - self, database_key: "str", folder_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "folder_guid", - "_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 export_exporters_folder" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'export_exporters_folder'" - ) - # verify the required parameter "folder_guid" is set - if "folder_guid" not in params or params["folder_guid"] is None: - raise ValueError( - "Missing the required parameter 'folder_guid' when calling 'export_exporters_folder'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "folder_guid" in params and folder_guid is not None: - path_params["folder-guid"] = params["folder_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/zip"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "file", - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/exporters/{folder-guid}:export", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_exporter_file( self, *, database_key: "str", folder_guid: "str", file_guid: "str" ) -> "GsaFileHeader | None": @@ -658,7 +554,6 @@ def get_exporter_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -761,7 +656,6 @@ def get_exporters_child_folders( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -855,7 +749,6 @@ def get_exporters_files( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -949,7 +842,6 @@ def get_exporters_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -1041,7 +933,6 @@ def get_exporters_folders(self, *, database_key: "str") -> "GsaFoldersInfo | Non Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1120,7 +1011,6 @@ def get_exporters_root_folder(self, *, database_key: "str") -> "GsaFolder | None Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1200,7 +1090,7 @@ def move_exporters_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaMoveFile]" = None, - ) -> "GsaFileHeader | GsaFileMoveException | None": + ) -> "GsaFileHeader | None": """Move an existing Exporter File. This method makes a synchronous HTTP request. @@ -1208,14 +1098,13 @@ def move_exporters_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaMoveFile Returns ------- - GsaFileHeader | GsaFileMoveException | None + GsaFileHeader | None """ data = self._move_exporters_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1296,7 +1185,7 @@ def _move_exporters_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileMoveException", + 400: None, 403: None, 404: None, } @@ -1319,7 +1208,7 @@ def _move_exporters_file_with_http_info( def move_exporters_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaMoveFolder]" = None - ) -> "GsaFolder | GsaFolderMoveException | None": + ) -> "GsaFolder | None": """Move an existing Exporter Folder. This method makes a synchronous HTTP request. @@ -1327,13 +1216,12 @@ def move_exporters_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaMoveFolder Returns ------- - GsaFolder | GsaFolderMoveException | None + GsaFolder | None """ data = self._move_exporters_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1405,7 +1293,7 @@ def _move_exporters_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderMoveException", + 400: None, 403: None, 404: None, } @@ -1434,7 +1322,6 @@ def refetch_exporters(self, *, database_key: "str") -> "GsaExporterRefetchInfo | Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1514,7 +1401,7 @@ def update_exporters_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaUpdateFile]" = None, - ) -> "GsaFileHeader | GsaFileUpdateException | None": + ) -> "GsaFileHeader | None": """Update an existing Exporter File. This method makes a synchronous HTTP request. @@ -1522,14 +1409,13 @@ def update_exporters_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaUpdateFile Returns ------- - GsaFileHeader | GsaFileUpdateException | None + GsaFileHeader | None """ data = self._update_exporters_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1610,7 +1496,7 @@ def _update_exporters_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileUpdateException", + 400: None, 403: None, 404: None, } @@ -1633,7 +1519,7 @@ def _update_exporters_file_with_http_info( def update_exporters_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaUpdateFolder]" = None - ) -> "GsaFolder | GsaFolderUpdateException | None": + ) -> "GsaFolder | None": """Update an existing Exporters Folder. This method makes a synchronous HTTP request. @@ -1641,13 +1527,12 @@ def update_exporters_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaUpdateFolder Returns ------- - GsaFolder | GsaFolderUpdateException | None + GsaFolder | None """ data = self._update_exporters_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1719,7 +1604,7 @@ def _update_exporters_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderUpdateException", + 400: None, 403: None, 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___expressions_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___expressions_api.py index 520c196b..fcc60f34 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___expressions_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___expressions_api.py @@ -62,9 +62,7 @@ def create_expression( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateExpression Returns @@ -170,9 +168,7 @@ def delete_expression( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) expression_guid: str Returns @@ -278,9 +274,7 @@ def get_expression( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) expression_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -406,9 +400,7 @@ def get_expressions( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -519,9 +511,7 @@ def update_expression( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) expression_guid: str body: GsaUpdateExpression diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___help_files_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___help_files_api.py index d35aa24a..861da171 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___help_files_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___help_files_api.py @@ -55,7 +55,7 @@ def create_help_file( folder_guid: "str", file: "Optional[BinaryIO | pathlib.Path]" = None, description: "Optional[str]" = None, - ) -> "GsaFileCreationException | GsaFileHeader | None": + ) -> "GsaFileHeader | None": """Create a new Help File. This method makes a synchronous HTTP request. @@ -63,14 +63,13 @@ def create_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file: BinaryIO | pathlib.Path description: str Returns ------- - GsaFileCreationException | GsaFileHeader | None + GsaFileHeader | None """ data = self._create_help_file_with_http_info( database_key, folder_guid, file, description, _return_http_data_only=True @@ -144,7 +143,7 @@ def _create_help_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", - 400: "GsaFileCreationException", + 400: None, 403: None, 404: None, } @@ -167,7 +166,7 @@ def _create_help_file_with_http_info( def create_help_folder( self, *, database_key: "str", body: "Optional[GsaCreateFolder]" = None - ) -> "GsaFolder | GsaFolderCreationException | None": + ) -> "GsaFolder | None": """Create a new Help File Folder. This method makes a synchronous HTTP request. @@ -175,12 +174,11 @@ def create_help_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateFolder Returns ------- - GsaFolder | GsaFolderCreationException | None + GsaFolder | None """ data = self._create_help_folder_with_http_info( database_key, body, _return_http_data_only=True @@ -240,7 +238,7 @@ def _create_help_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", - 400: "GsaFolderCreationException", + 400: None, 403: None, 404: None, } @@ -271,7 +269,6 @@ def delete_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -361,9 +358,7 @@ def _delete_help_file_with_http_info( response_type_map=response_type_map, ) - def delete_help_folder( - self, *, database_key: "str", folder_guid: "str" - ) -> "GsaFolderDeletionException | None": + def delete_help_folder(self, *, database_key: "str", folder_guid: "str") -> "None": """Delete a Help File Folder. This method makes a synchronous HTTP request. @@ -371,12 +366,11 @@ def delete_help_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns ------- - GsaFolderDeletionException | None + None """ data = self._delete_help_folder_with_http_info( database_key, folder_guid, _return_http_data_only=True @@ -429,13 +423,8 @@ def _delete_help_folder_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) response_type_map: dict[int, Optional[str]] = { - 400: "GsaFolderDeletionException", 200: None, 403: None, 404: None, @@ -459,7 +448,7 @@ def _delete_help_folder_with_http_info( def export_help_file( self, *, database_key: "str", folder_guid: "str", file_guid: "str" - ) -> "None | str": + ) -> "None": """Get help file as a file This method makes a synchronous HTTP request. @@ -467,13 +456,12 @@ def export_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str Returns ------- - None | str + None """ data = self._export_help_file_with_http_info( database_key, folder_guid, file_guid, _return_http_data_only=True @@ -534,11 +522,9 @@ def _export_help_file_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/octet-stream"]) response_type_map: dict[int, Optional[str]] = { - 200: "file", + 200: None, 404: None, } @@ -558,96 +544,6 @@ def _export_help_file_with_http_info( response_type_map=response_type_map, ) - def export_help_folder(self, *, database_key: "str", folder_guid: "str") -> "None | str": - """Get help folder and contents as a zip file - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - folder_guid: str - - Returns - ------- - None | str - """ - data = self._export_help_folder_with_http_info( - database_key, folder_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _export_help_folder_with_http_info( - self, database_key: "str", folder_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "folder_guid", - "_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 export_help_folder" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'export_help_folder'" - ) - # verify the required parameter "folder_guid" is set - if "folder_guid" not in params or params["folder_guid"] is None: - raise ValueError( - "Missing the required parameter 'folder_guid' when calling 'export_help_folder'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "folder_guid" in params and folder_guid is not None: - path_params["folder-guid"] = params["folder_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/zip"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "file", - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/help-folders/{folder-guid}:export", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_help_child_folders( self, *, database_key: "str", folder_guid: "str" ) -> "GsaFoldersInfo | None": @@ -658,7 +554,6 @@ def get_help_child_folders( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -752,7 +647,6 @@ def get_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -853,7 +747,6 @@ def get_help_files(self, *, database_key: "str", folder_guid: "str") -> "GsaFile Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -945,7 +838,6 @@ def get_help_folder(self, *, database_key: "str", folder_guid: "str") -> "GsaFol Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -1037,7 +929,6 @@ def get_help_folders(self, *, database_key: "str") -> "GsaFoldersInfo | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1116,7 +1007,6 @@ def get_help_root_folder(self, *, database_key: "str") -> "GsaFolder | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1194,7 +1084,7 @@ def move_help_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaMoveFile]" = None, - ) -> "GsaFileHeader | GsaFileMoveException | None": + ) -> "GsaFileHeader | None": """Move an existing Help File. This method makes a synchronous HTTP request. @@ -1202,14 +1092,13 @@ def move_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaMoveFile Returns ------- - GsaFileHeader | GsaFileMoveException | None + GsaFileHeader | None """ data = self._move_help_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1290,7 +1179,7 @@ def _move_help_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileMoveException", + 400: None, 403: None, 404: None, } @@ -1313,7 +1202,7 @@ def _move_help_file_with_http_info( def move_help_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaMoveFolder]" = None - ) -> "GsaFolder | GsaFolderMoveException | None": + ) -> "GsaFolder | None": """Move an existing Help File Folder. This method makes a synchronous HTTP request. @@ -1321,13 +1210,12 @@ def move_help_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaMoveFolder Returns ------- - GsaFolder | GsaFolderMoveException | None + GsaFolder | None """ data = self._move_help_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1399,7 +1287,7 @@ def _move_help_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderMoveException", + 400: None, 403: None, 404: None, } @@ -1427,7 +1315,7 @@ def update_help_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaUpdateFile]" = None, - ) -> "GsaFileHeader | GsaFileUpdateException | None": + ) -> "GsaFileHeader | None": """Update an existing Help File. This method makes a synchronous HTTP request. @@ -1435,14 +1323,13 @@ def update_help_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaUpdateFile Returns ------- - GsaFileHeader | GsaFileUpdateException | None + GsaFileHeader | None """ data = self._update_help_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1523,7 +1410,7 @@ def _update_help_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileUpdateException", + 400: None, 403: None, 404: None, } @@ -1546,7 +1433,7 @@ def _update_help_file_with_http_info( def update_help_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaUpdateFolder]" = None - ) -> "GsaFolder | GsaFolderUpdateException | None": + ) -> "GsaFolder | None": """Update an existing Help File Folder. This method makes a synchronous HTTP request. @@ -1554,13 +1441,12 @@ def update_help_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaUpdateFolder Returns ------- - GsaFolder | GsaFolderUpdateException | None + GsaFolder | None """ data = self._update_help_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1632,7 +1518,7 @@ def _update_help_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderUpdateException", + 400: None, 403: None, 404: None, } @@ -1652,85 +1538,3 @@ def _update_help_folder_with_http_info( collection_formats=collection_formats, response_type_map=response_type_map, ) - - def validate_help_paths( - self, *, database_key: "str" - ) -> "GsaHelpPathsValidationResponse | None": - """Verify that help pages exist for all attributes and parameters that have help paths defined. Returns schema entity and help path if the help path does not match an existing help page. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - - Returns - ------- - GsaHelpPathsValidationResponse | None - """ - data = self._validate_help_paths_with_http_info(database_key, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _validate_help_paths_with_http_info(self, database_key: "str", **kwargs: Any) -> Any: - all_params = [ - "database_key", - "_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 validate_help_paths" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'validate_help_paths'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaHelpPathsValidationResponse", - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/help-folders:validate", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___home_pages_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___home_pages_api.py index 84f47783..e7673948 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___home_pages_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___home_pages_api.py @@ -55,7 +55,7 @@ def create_home_page_file( folder_guid: "str", file: "Optional[BinaryIO | pathlib.Path]" = None, description: "Optional[str]" = None, - ) -> "GsaFileCreationException | GsaFileHeader | None": + ) -> "GsaFileHeader | None": """Create a new Home Page File. This method makes a synchronous HTTP request. @@ -63,14 +63,13 @@ def create_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file: BinaryIO | pathlib.Path description: str Returns ------- - GsaFileCreationException | GsaFileHeader | None + GsaFileHeader | None """ data = self._create_home_page_file_with_http_info( database_key, folder_guid, file, description, _return_http_data_only=True @@ -144,7 +143,7 @@ def _create_home_page_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFileHeader", - 400: "GsaFileCreationException", + 400: None, 403: None, 404: None, } @@ -167,7 +166,7 @@ def _create_home_page_file_with_http_info( def create_home_page_folder( self, *, database_key: "str", body: "Optional[GsaCreateFolder]" = None - ) -> "GsaFolder | GsaFolderCreationException | None": + ) -> "GsaFolder | None": """Create a new Home Page Folder. This method makes a synchronous HTTP request. @@ -175,12 +174,11 @@ def create_home_page_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateFolder Returns ------- - GsaFolder | GsaFolderCreationException | None + GsaFolder | None """ data = self._create_home_page_folder_with_http_info( database_key, body, _return_http_data_only=True @@ -240,7 +238,7 @@ def _create_home_page_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaFolder", - 400: "GsaFolderCreationException", + 400: None, 403: None, 404: None, } @@ -271,7 +269,6 @@ def delete_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -361,9 +358,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" - ) -> "GsaFolderDeletionException | 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. @@ -371,12 +366,11 @@ def delete_home_page_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns ------- - GsaFolderDeletionException | None + None """ data = self._delete_home_page_folder_with_http_info( database_key, folder_guid, _return_http_data_only=True @@ -429,13 +423,8 @@ def _delete_home_page_folder_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) response_type_map: dict[int, Optional[str]] = { - 400: "GsaFolderDeletionException", 200: None, 403: None, 404: None, @@ -459,7 +448,7 @@ def _delete_home_page_folder_with_http_info( def export_home_page_file( self, *, database_key: "str", folder_guid: "str", file_guid: "str" - ) -> "None | str": + ) -> "None": """Get Home Page File as a file This method makes a synchronous HTTP request. @@ -467,13 +456,12 @@ def export_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str Returns ------- - None | str + None """ data = self._export_home_page_file_with_http_info( database_key, folder_guid, file_guid, _return_http_data_only=True @@ -534,11 +522,9 @@ def _export_home_page_file_with_http_info( local_var_files: dict[str, Any] = {} body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/octet-stream"]) response_type_map: dict[int, Optional[str]] = { - 200: "file", + 200: None, 404: None, } @@ -558,96 +544,6 @@ def _export_home_page_file_with_http_info( response_type_map=response_type_map, ) - def export_home_page_folder(self, *, database_key: "str", folder_guid: "str") -> "None | str": - """Get Home Page folder and contents as a zip file - - This method makes a synchronous HTTP request. - - Parameters - ---------- - database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) - folder_guid: str - - Returns - ------- - None | str - """ - data = self._export_home_page_folder_with_http_info( - database_key, folder_guid, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _export_home_page_folder_with_http_info( - self, database_key: "str", folder_guid: "str", **kwargs: Any - ) -> Any: - all_params = [ - "database_key", - "folder_guid", - "_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 export_home_page_folder" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "database_key" is set - if "database_key" not in params or params["database_key"] is None: - raise ValueError( - "Missing the required parameter 'database_key' when calling 'export_home_page_folder'" - ) - # verify the required parameter "folder_guid" is set - if "folder_guid" not in params or params["folder_guid"] is None: - raise ValueError( - "Missing the required parameter 'folder_guid' when calling 'export_home_page_folder'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "database_key" in params and database_key is not None: - path_params["database-key"] = params["database_key"] - if "folder_guid" in params and folder_guid is not None: - path_params["folder-guid"] = params["folder_guid"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept(["application/zip"]) - - response_type_map: dict[int, Optional[str]] = { - 200: "file", - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/databases/{database-key}/home-page-folders/{folder-guid}:export", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_home_page_child_folders( self, *, database_key: "str", folder_guid: "str" ) -> "GsaFoldersInfo | None": @@ -658,7 +554,6 @@ def get_home_page_child_folders( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -752,7 +647,6 @@ def get_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str @@ -855,7 +749,6 @@ def get_home_page_files( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -949,7 +842,6 @@ def get_home_page_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str Returns @@ -1041,7 +933,6 @@ def get_home_page_folders(self, *, database_key: "str") -> "GsaFoldersInfo | Non Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1120,7 +1011,6 @@ def get_home_page_root_folder(self, *, database_key: "str") -> "GsaFolder | None Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1200,7 +1090,7 @@ def move_home_page_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaMoveFile]" = None, - ) -> "GsaFileHeader | GsaFileMoveException | None": + ) -> "GsaFileHeader | None": """Move an existing Home Page File. This method makes a synchronous HTTP request. @@ -1208,14 +1098,13 @@ def move_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaMoveFile Returns ------- - GsaFileHeader | GsaFileMoveException | None + GsaFileHeader | None """ data = self._move_home_page_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1296,7 +1185,7 @@ def _move_home_page_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileMoveException", + 400: None, 403: None, 404: None, } @@ -1319,7 +1208,7 @@ def _move_home_page_file_with_http_info( def move_home_page_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaMoveFolder]" = None - ) -> "GsaFolder | GsaFolderMoveException | None": + ) -> "GsaFolder | None": """Move an existing Home Page Folder. This method makes a synchronous HTTP request. @@ -1327,13 +1216,12 @@ def move_home_page_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaMoveFolder Returns ------- - GsaFolder | GsaFolderMoveException | None + GsaFolder | None """ data = self._move_home_page_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1405,7 +1293,7 @@ def _move_home_page_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderMoveException", + 400: None, 403: None, 404: None, } @@ -1433,7 +1321,7 @@ def update_home_page_file( folder_guid: "str", file_guid: "str", body: "Optional[GsaUpdateFile]" = None, - ) -> "GsaFileHeader | GsaFileUpdateException | None": + ) -> "GsaFileHeader | None": """Update an existing Home Page File. This method makes a synchronous HTTP request. @@ -1441,14 +1329,13 @@ def update_home_page_file( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str file_guid: str body: GsaUpdateFile Returns ------- - GsaFileHeader | GsaFileUpdateException | None + GsaFileHeader | None """ data = self._update_home_page_file_with_http_info( database_key, folder_guid, file_guid, body, _return_http_data_only=True @@ -1529,7 +1416,7 @@ def _update_home_page_file_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFileHeader", - 400: "GsaFileUpdateException", + 400: None, 403: None, 404: None, } @@ -1552,7 +1439,7 @@ def _update_home_page_file_with_http_info( def update_home_page_folder( self, *, database_key: "str", folder_guid: "str", body: "Optional[GsaUpdateFolder]" = None - ) -> "GsaFolder | GsaFolderUpdateException | None": + ) -> "GsaFolder | None": """Update an existing Home Page Folder. This method makes a synchronous HTTP request. @@ -1560,13 +1447,12 @@ def update_home_page_folder( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) folder_guid: str body: GsaUpdateFolder Returns ------- - GsaFolder | GsaFolderUpdateException | None + GsaFolder | None """ data = self._update_home_page_folder_with_http_info( database_key, folder_guid, body, _return_http_data_only=True @@ -1638,7 +1524,7 @@ def _update_home_page_folder_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaFolder", - 400: "GsaFolderUpdateException", + 400: None, 403: None, 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layout_sections_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layout_sections_api.py index f58f41e2..653f909f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layout_sections_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layout_sections_api.py @@ -64,9 +64,7 @@ def create_layout_item( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str section_guid: str body: GsaNewLayoutItem @@ -197,9 +195,7 @@ def create_section( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str body: GsaCreateLayoutSection @@ -321,9 +317,7 @@ def delete_item( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str section_guid: str item_guid: str @@ -450,9 +444,7 @@ def delete_section( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str section_guid: str @@ -574,9 +566,7 @@ def get_layout_section( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str section_guid: str show_full_detail: bool @@ -721,9 +711,7 @@ def get_layout_sections( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str show_full_detail: bool mode: str @@ -855,9 +843,7 @@ def reorder_sections( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str body: GsaReorderSectionsInfo diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layouts_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layouts_api.py index dcfcdaf3..2456e364 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layouts_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___layouts_api.py @@ -58,9 +58,7 @@ def applications( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) Returns ------- @@ -152,9 +150,7 @@ def create_layout( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateLayout Returns @@ -260,9 +256,7 @@ def delete_layout( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str Returns @@ -369,9 +363,7 @@ def get_layout( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str show_full_detail: bool mode: str @@ -622,9 +614,7 @@ def update_layout( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) layout_guid: str body: GsaUpdateLayout diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___parameters_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___parameters_api.py index e2b27a67..d2ed02f9 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___parameters_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___parameters_api.py @@ -50,7 +50,7 @@ class SchemaParametersApi(ApiBase): def create_parameter( self, *, database_key: "str", body: "Optional[GsaCreateParameter]" = None - ) -> "GsaParameter | GsaParameterCreationException | None": + ) -> "GsaParameter | None": """Create a new parameter. This method makes a synchronous HTTP request. @@ -58,12 +58,11 @@ def create_parameter( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateParameter Returns ------- - GsaParameter | GsaParameterCreationException | None + GsaParameter | None """ data = self._create_parameter_with_http_info( database_key, body, _return_http_data_only=True @@ -121,7 +120,7 @@ def _create_parameter_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaParameter", - 400: "GsaParameterCreationException", + 400: None, 403: None, 404: None, } @@ -148,7 +147,7 @@ def create_parameter_value( database_key: "str", parameter_guid: "str", body: "Optional[GsaCreateParameterValue]" = None, - ) -> "GsaParameterValue | GsaParameterValueCreationException | None": + ) -> "GsaParameterValue | None": """Create a new parameter value. This method makes a synchronous HTTP request. @@ -156,13 +155,12 @@ def create_parameter_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str body: GsaCreateParameterValue Returns ------- - GsaParameterValue | GsaParameterValueCreationException | None + GsaParameterValue | None """ data = self._create_parameter_value_with_http_info( database_key, parameter_guid, body, _return_http_data_only=True @@ -232,7 +230,7 @@ def _create_parameter_value_with_http_info( response_type_map: dict[int, Optional[str]] = { 201: "GsaParameterValue", - 400: "GsaParameterValueCreationException", + 400: None, 403: None, 404: None, } @@ -263,7 +261,6 @@ def delete_parameter( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str Returns @@ -357,7 +354,6 @@ def delete_parameter_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str parameter_value_guid: str @@ -460,7 +456,6 @@ def get_objects_using_parameter( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str Returns @@ -550,7 +545,6 @@ def get_parameter(self, *, database_key: "str", parameter_guid: "str") -> "GsaPa Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str Returns @@ -642,7 +636,6 @@ def get_parameter_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str parameter_value_guid: str @@ -741,7 +734,6 @@ def get_parameters(self, *, database_key: "str") -> "GsaParametersInfo | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -816,7 +808,7 @@ def update_parameter( database_key: "str", parameter_guid: "str", body: "Optional[GsaUpdateParameter]" = None, - ) -> "GsaParameter | GsaParameterUpdateException | None": + ) -> "GsaParameter | None": """Update a parameter. This method makes a synchronous HTTP request. @@ -824,13 +816,12 @@ def update_parameter( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str body: GsaUpdateParameter Returns ------- - GsaParameter | GsaParameterUpdateException | None + GsaParameter | None """ data = self._update_parameter_with_http_info( database_key, parameter_guid, body, _return_http_data_only=True @@ -900,7 +891,7 @@ def _update_parameter_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaParameter", - 400: "GsaParameterUpdateException", + 400: None, 403: None, 404: None, } @@ -928,7 +919,7 @@ def update_parameter_value( parameter_guid: "str", parameter_value_guid: "str", body: "Optional[GsaUpdateParameterValue]" = None, - ) -> "GsaParameterValue | GsaParameterValueUpdateException | None": + ) -> "GsaParameterValue | None": """Update a parameter value. This method makes a synchronous HTTP request. @@ -936,14 +927,13 @@ def update_parameter_value( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) parameter_guid: str parameter_value_guid: str body: GsaUpdateParameterValue Returns ------- - GsaParameterValue | GsaParameterValueUpdateException | None + GsaParameterValue | None """ data = self._update_parameter_value_with_http_info( database_key, parameter_guid, parameter_value_guid, body, _return_http_data_only=True @@ -1022,7 +1012,7 @@ def _update_parameter_value_with_http_info( response_type_map: dict[int, Optional[str]] = { 200: "GsaParameterValue", - 400: "GsaParameterValueUpdateException", + 400: None, 403: None, 404: None, } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___record_link_groups_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___record_link_groups_api.py index a758502c..89fb683e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___record_link_groups_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___record_link_groups_api.py @@ -62,9 +62,7 @@ def create_record_link_group( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateRecordLinkGroup Returns @@ -175,12 +173,10 @@ def delete_record_link_group( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_link_group_guid: str record_link_group_type: str - The record link group type as entered. + The record link group type. Returns ------- @@ -302,12 +298,10 @@ def get_record_link_group( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_link_group_guid: str record_link_group_type: str - The record link group type as entered. + The record link group type. mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -442,9 +436,7 @@ def get_record_link_groups( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -555,9 +547,7 @@ def update_record_link_group( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) record_link_group_guid: str body: GsaUpdateRecordLinkGroup diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___standard_names_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___standard_names_api.py index 83bedb3f..0683a595 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___standard_names_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___standard_names_api.py @@ -58,7 +58,6 @@ def create_standard_name( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateStandardName Returns @@ -150,7 +149,6 @@ def delete_standard_name(self, *, database_key: "str", standard_name_guid: "str" Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) standard_name_guid: str Returns @@ -242,7 +240,6 @@ def get_standard_name( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) standard_name_guid: str Returns @@ -332,7 +329,6 @@ def get_standard_names(self, *, database_key: "str") -> "GsaStandardNamesInfo | Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -415,7 +411,6 @@ def update_standard_name( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) standard_name_guid: str body: GsaUpdateStandardName diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___subsets_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___subsets_api.py index 77468b54..68327512 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___subsets_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___subsets_api.py @@ -63,9 +63,7 @@ def add_to_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) subset_guid: str body: GsaAddRecordHistoryToSubset @@ -178,9 +176,7 @@ def create_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaCreateSubset Returns @@ -286,9 +282,7 @@ def delete_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) subset_guid: str Returns @@ -394,9 +388,7 @@ def get_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) subset_guid: str mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. @@ -520,9 +512,7 @@ def get_subsets( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -631,9 +621,7 @@ def remove_from_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) subset_guid: str body: GsaRemoveRecordHistoryFromSubset @@ -751,9 +739,7 @@ def update_subset( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) subset_guid: str body: GsaUpdateSubset diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py index bb750556..3ef023ea 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___tables_api.py @@ -58,7 +58,6 @@ def create_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateTable Returns @@ -150,9 +149,7 @@ def delete_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) Returns ------- @@ -245,9 +242,7 @@ def enable_version_control( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) Returns ------- @@ -346,9 +341,7 @@ def get_inbound_links( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) type: list[GsaLinkAttributeType] The link types to include in the response. If not provided, all link types are included. mode: str @@ -466,9 +459,7 @@ def get_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -574,7 +565,6 @@ def get_tables( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. x_ansys_vc_mode: str @@ -674,7 +664,6 @@ def query_tables( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaQueryTablesRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -782,9 +771,7 @@ def release_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) Returns ------- @@ -877,9 +864,7 @@ def update_table( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaUpdateTable Returns diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___units_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___units_api.py index 09a78c2d..b9a33017 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___units_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema___units_api.py @@ -58,7 +58,6 @@ def create_unit( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateUnit Returns @@ -148,7 +147,6 @@ def create_unit_system( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaCreateUnitSystem Returns @@ -240,7 +238,6 @@ def delete_unit(self, *, database_key: "str", unit_guid: "str") -> "None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str Returns @@ -328,7 +325,6 @@ def delete_unit_system(self, *, database_key: "str", unit_system_guid: "str") -> Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_system_guid: str Returns @@ -420,7 +416,6 @@ def get_compatible_units( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str Returns @@ -510,7 +505,6 @@ def get_unit(self, *, database_key: "str", unit_guid: "str") -> "GsaUnit | None" Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str Returns @@ -594,7 +588,6 @@ def get_unit_conversions( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaGetUnitConversionsRequest Returns @@ -688,7 +681,6 @@ def get_unit_equivalents( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str Returns @@ -780,7 +772,6 @@ def get_unit_system( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_system_guid: str Returns @@ -870,7 +861,6 @@ def get_unit_systems(self, *, database_key: "str") -> "GsaUnitSystemsInfo | None Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -947,7 +937,6 @@ def get_unit_usages(self, *, database_key: "str", unit_guid: "str") -> "GsaUnitU Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str Returns @@ -1037,7 +1026,6 @@ def get_units(self, *, database_key: "str") -> "GsaUnitsInfo | None": Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -1119,7 +1107,6 @@ def set_unit_equivalent( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str unit_system_guid: str equivalent_unit_guid: str @@ -1236,7 +1223,6 @@ def update_unit( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_guid: str body: GsaUpdateUnit @@ -1345,7 +1331,6 @@ def update_unit_system( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) unit_system_guid: str body: GsaUpdateUnitSystem diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema_api.py index cbd2cce3..32c67a36 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/schema_api.py @@ -163,103 +163,3 @@ def _get_version_with_http_info(self, **kwargs: Any) -> Any: collection_formats=collection_formats, response_type_map=response_type_map, ) - - def resolve_link_targets( - self, - *, - body: "Optional[GsaResolveLinkTargetsRequest]" = None, - x_ansys_vc_mode: "Optional[str]" = None, - mode: "Optional[str]" = None, - ) -> "GsaResolveLinkTargetsInfo | None": - """Gets all target tables that match the provided link target, for each target. There could be several matches or no matches for each link target. For example if two databases are loaded with the same databaseGuid and the databaseVersionGuid isn't specified, or if the databaseGuid and databaseVersionGuid are not specified and the tableGuid matches in several databases. There could be no matches if the target database is not loaded. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaResolveLinkTargetsRequest - x_ansys_vc_mode: str - The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. - mode: str - The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the header. - - Returns - ------- - GsaResolveLinkTargetsInfo | None - """ - data = self._resolve_link_targets_with_http_info( - body, x_ansys_vc_mode, mode, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _resolve_link_targets_with_http_info( - self, - body: "Optional[GsaResolveLinkTargetsRequest]" = None, - x_ansys_vc_mode: "Optional[str]" = None, - mode: "Optional[str]" = None, - **kwargs: Any, - ) -> Any: - all_params = [ - "body", - "x_ansys_vc_mode", - "mode", - "_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 resolve_link_targets" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - if "mode" in params and mode is not None: - query_params.append(("mode", params["mode"])) - - header_params: dict[str, Any] = {} - if "x_ansys_vc_mode" in params and x_ansys_vc_mode is not None: - header_params["X-Ansys-VC-Mode"] = params["x_ansys_vc_mode"] - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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"]) - - # 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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaResolveLinkTargetsInfo", - 400: None, - } - - return self.api_client.call_api( - "/v1alpha/schema:resolve-link-targets", - "POST", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/search_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/search_api.py index 05ba3de2..a5c56069 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/search_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/search_api.py @@ -63,7 +63,6 @@ def database_search( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) body: GsaSearchRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -177,9 +176,7 @@ def database_search_in_table_with_guid( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_guid: str - See [Schema - Tables/GetTables](#/Schema%20-%20Tables/GetTables) or [Schema - Tables/QueryTables](#/Schema%20-%20Tables/QueryTables) body: GsaSearchRequest x_ansys_vc_mode: str The version control mode. If not provided, defaults to write mode if the user is allowed to see that. Can also be set in the query string. @@ -302,7 +299,6 @@ def database_search_in_table_with_identity( Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) table_identity: int body: GsaSearchRequest x_ansys_vc_mode: str diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/selection_searches_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/selection_searches_api.py new file mode 100644 index 00000000..daa6e885 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/selection_searches_api.py @@ -0,0 +1,504 @@ +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" +MI Server API + +No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 + +from . import ApiBase + +if TYPE_CHECKING: + import pathlib + + from ..models import * + + +class SelectionSearchesApi(ApiBase): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def create_search( + self, *, body: "Optional[GsaCreateSearchRequest]" = None + ) -> "GsaSelectionSearch | None": + """Creates a new search with the specified properties. + + This method makes a synchronous HTTP request. + + Parameters + ---------- + body: GsaCreateSearchRequest + + Returns + ------- + GsaSelectionSearch | None + """ + data = self._create_search_with_http_info(body, _return_http_data_only=True) + return data # type: ignore[no-any-return] + + def _create_search_with_http_info( + self, body: "Optional[GsaCreateSearchRequest]" = 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 create_search" + ) + params[key] = val + del params["kwargs"] + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + 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( + ["text/plain", "application/json", "text/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"] + ) + + response_type_map: dict[int, Optional[str]] = { + 201: "GsaSelectionSearch", + 400: None, + 403: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches", + "POST", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) + + def delete_search(self, *, search_identifier: "str") -> "None": + """Delete an existing selection search. + + This method makes a synchronous HTTP request. + + Parameters + ---------- + search_identifier: str + + Returns + ------- + None + """ + 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: + all_params = [ + "search_identifier", + "_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_search" + ) + params[key] = val + del params["kwargs"] + # verify the required parameter "search_identifier" is set + if "search_identifier" not in params or params["search_identifier"] is None: + raise ValueError( + "Missing the required parameter 'search_identifier' when calling 'delete_search'" + ) + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + if "search_identifier" in params and search_identifier is not None: + path_params["searchIdentifier"] = params["search_identifier"] + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + + response_type_map: dict[int, Optional[str]] = { + 200: None, + 403: None, + 404: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches/search/{searchIdentifier}", + "DELETE", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) + + def get_all(self) -> "None | list[GsaSelectionSearch]": + """Returns all searches visible to the calling user. + + This method makes a synchronous HTTP request. + + Returns + ------- + None | list[GsaSelectionSearch] + """ + data = self._get_all_with_http_info(_return_http_data_only=True) + return data # type: ignore[no-any-return] + + def _get_all_with_http_info(self, **kwargs: Any) -> Any: + all_params = ["_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_all") + params[key] = val + del params["kwargs"] + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + # HTTP header 'Accept' + header_params["Accept"] = self.api_client.select_header_accept( + ["text/plain", "application/json", "text/json"] + ) + + response_type_map: dict[int, Optional[str]] = { + 200: "list[GsaSelectionSearch]", + 403: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches", + "GET", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) + + def get_search(self, *, search_identifier: "str") -> "GsaSelectionSearch | None": + """Returns the given search if it exists and the calling user has access to it + + This method makes a synchronous HTTP request. + + Parameters + ---------- + search_identifier: str + + Returns + ------- + GsaSelectionSearch | None + """ + 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: + all_params = [ + "search_identifier", + "_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_search") + params[key] = val + del params["kwargs"] + # verify the required parameter "search_identifier" is set + if "search_identifier" not in params or params["search_identifier"] is None: + raise ValueError( + "Missing the required parameter 'search_identifier' when calling 'get_search'" + ) + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + if "search_identifier" in params and search_identifier is not None: + path_params["searchIdentifier"] = params["search_identifier"] + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + # HTTP header 'Accept' + header_params["Accept"] = self.api_client.select_header_accept( + ["text/plain", "application/json", "text/json"] + ) + + response_type_map: dict[int, Optional[str]] = { + 200: "GsaSelectionSearch", + 403: None, + 404: None, + 410: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches/search/{searchIdentifier}", + "GET", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) + + def save_search( + self, *, search_identifier: "str", body: "Optional[GsaSaveSearchRequest]" = None + ) -> "None": + """If the search exists, updates the properties of the search. This will overwrite all current properties. If the search does not exist or the calling user does not have access to it, returns '404 not found' response. + + This method makes a synchronous HTTP request. + + Parameters + ---------- + search_identifier: str + body: GsaSaveSearchRequest + + Returns + ------- + None + """ + data = self._save_search_with_http_info( + search_identifier, body, _return_http_data_only=True + ) + return data # type: ignore[no-any-return] + + def _save_search_with_http_info( + self, search_identifier: "str", body: "Optional[GsaSaveSearchRequest]" = None, **kwargs: Any + ) -> Any: + all_params = [ + "search_identifier", + "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 save_search") + params[key] = val + del params["kwargs"] + # verify the required parameter "search_identifier" is set + if "search_identifier" not in params or params["search_identifier"] is None: + raise ValueError( + "Missing the required parameter 'search_identifier' when calling 'save_search'" + ) + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + if "search_identifier" in params and search_identifier is not None: + path_params["searchIdentifier"] = params["search_identifier"] + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + if "body" in params and body is not None: + 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"] + ) + + response_type_map: dict[int, Optional[str]] = { + 200: None, + 400: None, + 403: None, + 404: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches/search/{searchIdentifier}", + "PUT", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) + + def search( + self, *, body: "Optional[GsaFindSearchRequest]" = None + ) -> "GsaSelectionSearch | None": + """Retrieves a collection of searches that match the specified criteria. + + This method makes a synchronous HTTP request. + + Parameters + ---------- + body: GsaFindSearchRequest + + Returns + ------- + GsaSelectionSearch | None + """ + data = self._search_with_http_info(body, _return_http_data_only=True) + return data # type: ignore[no-any-return] + + def _search_with_http_info( + self, body: "Optional[GsaFindSearchRequest]" = 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 search") + params[key] = val + del params["kwargs"] + + collection_formats: dict[str, Any] = {} + + path_params: dict[str, Any] = {} + + query_params: list[Any] = [] + + header_params: dict[str, Any] = {} + + form_params: list[Any] = [] + local_var_files: dict[str, Any] = {} + + body_params = None + 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( + ["text/plain", "application/json", "text/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"] + ) + + response_type_map: dict[int, Optional[str]] = { + 200: "GsaSelectionSearch", + 400: None, + 403: None, + } + + return self.api_client.call_api( + "/v1alpha/selection-searches/search", + "POST", + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + _return_http_data_only=params.get("_return_http_data_only"), + _preload_content=params.get("_preload_content", True), + _request_timeout=params.get("_request_timeout"), + collection_formats=collection_formats, + response_type_map=response_type_map, + ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/server_manager_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/server_manager_api.py index 8bd9f491..65282a30 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/server_manager_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/server_manager_api.py @@ -48,235 +48,6 @@ class ServerManagerApi(ApiBase): Ref: https://github.com/swagger-api/swagger-codegen """ - def delete_user(self, *, user_identity: "int") -> "GsaNotificationUser | None": - """Given a user's identity, deletes the user. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - user_identity: int - - Returns - ------- - GsaNotificationUser | None - """ - data = self._delete_user_with_http_info(user_identity, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _delete_user_with_http_info(self, user_identity: "int", **kwargs: Any) -> Any: - all_params = [ - "user_identity", - "_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_user") - params[key] = val - del params["kwargs"] - # verify the required parameter "user_identity" is set - if "user_identity" not in params or params["user_identity"] is None: - raise ValueError( - "Missing the required parameter 'user_identity' when calling 'delete_user'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "user_identity" in params and user_identity is not None: - path_params["userIdentity"] = params["user_identity"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaNotificationUser", - 204: None, - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/users/{userIdentity}", - "DELETE", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def delete_watch(self, *, user_identity: "int", watch_identity: "int") -> "None": - """Given a user identity and a watch identity, deletes the watch. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - user_identity: int - watch_identity: int - - Returns - ------- - None - """ - data = self._delete_watch_with_http_info( - user_identity, watch_identity, _return_http_data_only=True - ) - return data # type: ignore[no-any-return] - - def _delete_watch_with_http_info( - self, user_identity: "int", watch_identity: "int", **kwargs: Any - ) -> Any: - all_params = [ - "user_identity", - "watch_identity", - "_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_watch" - ) - params[key] = val - del params["kwargs"] - # verify the required parameter "user_identity" is set - if "user_identity" not in params or params["user_identity"] is None: - raise ValueError( - "Missing the required parameter 'user_identity' when calling 'delete_watch'" - ) - # verify the required parameter "watch_identity" is set - if "watch_identity" not in params or params["watch_identity"] is None: - raise ValueError( - "Missing the required parameter 'watch_identity' when calling 'delete_watch'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "user_identity" in params and user_identity is not None: - path_params["userIdentity"] = params["user_identity"] - if "watch_identity" in params and watch_identity is not None: - path_params["watchIdentity"] = params["watch_identity"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - - response_type_map: dict[int, Optional[str]] = { - 200: None, - 204: None, - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/users/{userIdentity}/watches/{watchIdentity}", - "DELETE", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_all_email_generation_settings(self) -> "GsaEmailGenerationSettings | None": - """Returns all the email generation settings for the server if the user is a system administrator. - - This method makes a synchronous HTTP request. - - Returns - ------- - GsaEmailGenerationSettings | None - """ - data = self._get_all_email_generation_settings_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_all_email_generation_settings_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_all_email_generation_settings" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaEmailGenerationSettings", - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/generationSettings", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_smtp_properties(self) -> "GsaSmtpProperties": """get_smtp_properties @@ -338,128 +109,6 @@ def _get_smtp_properties_with_http_info(self, **kwargs: Any) -> Any: response_type_map=response_type_map, ) - def get_support_details(self) -> "GsaSupportProperties | None": - """Returns the support details for the server, including support name, email, website, telephone, and licensing contact details. - - This method makes a synchronous HTTP request. - - Returns - ------- - GsaSupportProperties | None - """ - data = self._get_support_details_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_support_details_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_support_details" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaSupportProperties", - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/supportDetails", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def get_users(self) -> "GsaNotificationUsers | None": - """Returns all the notifications users, if the user is a system administrator. - - This method makes a synchronous HTTP request. - - Returns - ------- - GsaNotificationUsers | None - """ - data = self._get_users_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_users_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_users") - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaNotificationUsers", - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/users", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def put(self, *, body: "Optional[GsaSmtpProperties]" = None) -> "None": """put @@ -524,251 +173,3 @@ def _put_with_http_info(self, body: "Optional[GsaSmtpProperties]" = None, **kwar collection_formats=collection_formats, response_type_map=response_type_map, ) - - def set_email_generation_settings( - self, *, body: "Optional[GsaEmailGenerationSettings]" = None - ) -> "GsaEmailGenerationSettings | None": - """Sets all the email generation settings for the server and returns the updated object. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaEmailGenerationSettings - - Returns - ------- - GsaEmailGenerationSettings | None - """ - data = self._set_email_generation_settings_with_http_info(body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _set_email_generation_settings_with_http_info( - self, body: "Optional[GsaEmailGenerationSettings]" = 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 set_email_generation_settings" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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( - ["text/plain", "application/json", "text/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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaEmailGenerationSettings", - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/generationSettings", - "PATCH", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def set_user( - self, *, user_identity: "int", body: "Optional[GsaUpdateNotificationUser]" = None - ) -> "GsaNotificationUser | None": - """Given an existing user's identity, updates their email address. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - user_identity: int - body: GsaUpdateNotificationUser - - Returns - ------- - GsaNotificationUser | None - """ - data = self._set_user_with_http_info(user_identity, body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _set_user_with_http_info( - self, - user_identity: "int", - body: "Optional[GsaUpdateNotificationUser]" = None, - **kwargs: Any, - ) -> Any: - all_params = [ - "user_identity", - "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 set_user") - params[key] = val - del params["kwargs"] - # verify the required parameter "user_identity" is set - if "user_identity" not in params or params["user_identity"] is None: - raise ValueError( - "Missing the required parameter 'user_identity' when calling 'set_user'" - ) - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - if "user_identity" in params and user_identity is not None: - path_params["userIdentity"] = params["user_identity"] - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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( - ["text/plain", "application/json", "text/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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaNotificationUser", - 403: None, - 404: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/emailNotifications/users/{userIdentity}", - "PATCH", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - - def update_support_details( - self, *, body: "Optional[GsaUpdateSupportProperties]" = None - ) -> "GsaSupportProperties | None": - """Updates the support details. Explicitly setting a property to null will remove that property. Properties not specified will not be changed. - - This method makes a synchronous HTTP request. - - Parameters - ---------- - body: GsaUpdateSupportProperties - - Returns - ------- - GsaSupportProperties | None - """ - data = self._update_support_details_with_http_info(body, _return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _update_support_details_with_http_info( - self, body: "Optional[GsaUpdateSupportProperties]" = 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 update_support_details" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - 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( - ["text/plain", "application/json", "text/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"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaSupportProperties", - 400: None, - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/serverManager/supportDetails", - "PATCH", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/status_api.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/status_api.py index ba7e7028..5874a638 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/status_api.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/api/status_api.py @@ -111,7 +111,6 @@ def get_database_status(self, *, database_key: "str") -> "GsaDatabaseStatusInfor Parameters ---------- database_key: str - See [Schema - Databases/GetAllDatabases](#/Schema%20-%20Databases/GetAllDatabases) Returns ------- @@ -181,68 +180,6 @@ def _get_database_status_with_http_info(self, database_key: "str", **kwargs: Any response_type_map=response_type_map, ) - def get_orphaned_search_indexes(self) -> "GsaOrphanedSearchIndexesInfo | None": - """Returns information about orphaned search indexes - - This method makes a synchronous HTTP request. - - Returns - ------- - GsaOrphanedSearchIndexesInfo | None - """ - data = self._get_orphaned_search_indexes_with_http_info(_return_http_data_only=True) - return data # type: ignore[no-any-return] - - def _get_orphaned_search_indexes_with_http_info(self, **kwargs: Any) -> Any: - all_params = ["_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_orphaned_search_indexes" - ) - params[key] = val - del params["kwargs"] - - collection_formats: dict[str, Any] = {} - - path_params: dict[str, Any] = {} - - query_params: list[Any] = [] - - header_params: dict[str, Any] = {} - - form_params: list[Any] = [] - local_var_files: dict[str, Any] = {} - - body_params = None - # HTTP header 'Accept' - header_params["Accept"] = self.api_client.select_header_accept( - ["text/plain", "application/json", "text/json"] - ) - - response_type_map: dict[int, Optional[str]] = { - 200: "GsaOrphanedSearchIndexesInfo", - 403: None, - } - - return self.api_client.call_api( - "/v1alpha/status/orphanedSearchIndexes", - "GET", - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - _return_http_data_only=params.get("_return_http_data_only"), - _preload_content=params.get("_preload_content", True), - _request_timeout=params.get("_request_timeout"), - collection_formats=collection_formats, - response_type_map=response_type_map, - ) - def get_search_cluster_status(self) -> "GsaSearchClusterStatus": """Returns disk status information for the search cluster diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/__init__.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/__init__.py index 34da6c0d..41896af5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/__init__.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/__init__.py @@ -54,20 +54,6 @@ from .gsa_about_attribute_cannot_be_meta_attribute_error_detail import ( GsaAboutAttributeCannotBeMetaAttributeErrorDetail, ) -from .gsa_activity_log_application_name_filter import GsaActivityLogApplicationNameFilter -from .gsa_activity_log_application_names_collection_filter import ( - GsaActivityLogApplicationNamesCollectionFilter, -) -from .gsa_activity_log_collection_match_type import GsaActivityLogCollectionMatchType -from .gsa_activity_log_database_key_filter import GsaActivityLogDatabaseKeyFilter -from .gsa_activity_log_date_filter import GsaActivityLogDateFilter -from .gsa_activity_log_entries_filter import GsaActivityLogEntriesFilter -from .gsa_activity_log_entries_info import GsaActivityLogEntriesInfo -from .gsa_activity_log_entry import GsaActivityLogEntry -from .gsa_activity_log_match_type import GsaActivityLogMatchType -from .gsa_activity_log_usage_mode import GsaActivityLogUsageMode -from .gsa_activity_log_usage_mode_filter import GsaActivityLogUsageModeFilter -from .gsa_activity_log_username_filter import GsaActivityLogUsernameFilter from .gsa_add_database import GsaAddDatabase from .gsa_add_database_issue_type import GsaAddDatabaseIssueType from .gsa_add_database_validation_issue import GsaAddDatabaseValidationIssue @@ -95,7 +81,6 @@ from .gsa_append_point_values import GsaAppendPointValues from .gsa_applicable_datum import GsaApplicableDatum from .gsa_applications_info import GsaApplicationsInfo -from .gsa_apply_options import GsaApplyOptions from .gsa_attribute import GsaAttribute from .gsa_attribute_aggregation import GsaAttributeAggregation from .gsa_attribute_aggregation_criterion import GsaAttributeAggregationCriterion @@ -130,7 +115,6 @@ from .gsa_attribute_value_aggregation import GsaAttributeValueAggregation from .gsa_attributes_info import GsaAttributesInfo from .gsa_axis_name import GsaAxisName -from .gsa_blob_info_dto import GsaBlobInfoDto from .gsa_boolean_criterion import GsaBooleanCriterion from .gsa_boost_by_guid import GsaBoostByGuid from .gsa_boost_by_identity import GsaBoostByIdentity @@ -140,12 +124,7 @@ from .gsa_bulk_request_item import GsaBulkRequestItem from .gsa_bulk_response_item import GsaBulkResponseItem from .gsa_calendar_interval import GsaCalendarInterval -from .gsa_circular_reference_folder_move_error_detail import ( - GsaCircularReferenceFolderMoveErrorDetail, -) -from .gsa_config_invalid_json_file_error_detail import GsaConfigInvalidJsonFileErrorDetail from .gsa_configuration import GsaConfiguration -from .gsa_configuration_details import GsaConfigurationDetails from .gsa_configurations_info import GsaConfigurationsInfo from .gsa_connection_details import GsaConnectionDetails from .gsa_constant import GsaConstant @@ -159,7 +138,6 @@ from .gsa_create_configuration import GsaCreateConfiguration from .gsa_create_constant import GsaCreateConstant from .gsa_create_continuous_range import GsaCreateContinuousRange -from .gsa_create_cross_database_link_target import GsaCreateCrossDatabaseLinkTarget from .gsa_create_cross_database_record_link_group import GsaCreateCrossDatabaseRecordLinkGroup from .gsa_create_data_rule import GsaCreateDataRule from .gsa_create_date_time_attribute import GsaCreateDateTimeAttribute @@ -179,6 +157,7 @@ from .gsa_create_discrete_parameter_value import GsaCreateDiscreteParameterValue from .gsa_create_discrete_range import GsaCreateDiscreteRange from .gsa_create_discrete_type import GsaCreateDiscreteType +from .gsa_create_dynamic_record_link_group import GsaCreateDynamicRecordLinkGroup from .gsa_create_expression import GsaCreateExpression from .gsa_create_file_attribute import GsaCreateFileAttribute from .gsa_create_float_functional_attribute import GsaCreateFloatFunctionalAttribute @@ -232,11 +211,9 @@ from .gsa_create_record_list import GsaCreateRecordList from .gsa_create_record_list_items_info import GsaCreateRecordListItemsInfo from .gsa_create_replacement_string import GsaCreateReplacementString +from .gsa_create_search_request import GsaCreateSearchRequest from .gsa_create_short_text_attribute import GsaCreateShortTextAttribute -from .gsa_create_smart_link_target import GsaCreateSmartLinkTarget -from .gsa_create_smart_record_link_group import GsaCreateSmartRecordLinkGroup from .gsa_create_standard_name import GsaCreateStandardName -from .gsa_create_static_link_target import GsaCreateStaticLinkTarget from .gsa_create_static_record_link_group import GsaCreateStaticRecordLinkGroup from .gsa_create_subset import GsaCreateSubset from .gsa_create_table import GsaCreateTable @@ -300,21 +277,11 @@ from .gsa_data_modification_error_reason import GsaDataModificationErrorReason from .gsa_data_rule import GsaDataRule from .gsa_data_rules_info import GsaDataRulesInfo -from .gsa_data_update import GsaDataUpdate -from .gsa_data_update_header import GsaDataUpdateHeader -from .gsa_data_update_run_info import GsaDataUpdateRunInfo -from .gsa_data_update_token import GsaDataUpdateToken -from .gsa_data_updater_job import GsaDataUpdaterJob -from .gsa_data_updater_job_status import GsaDataUpdaterJobStatus -from .gsa_data_updater_job_type import GsaDataUpdaterJobType -from .gsa_data_updater_project import GsaDataUpdaterProject from .gsa_data_usage_data_modification_error_detail import GsaDataUsageDataModificationErrorDetail from .gsa_database import GsaDatabase -from .gsa_database_issues import GsaDatabaseIssues from .gsa_database_key_property import GsaDatabaseKeyProperty from .gsa_database_status import GsaDatabaseStatus from .gsa_database_status_information import GsaDatabaseStatusInformation -from .gsa_database_user_capabilities import GsaDatabaseUserCapabilities from .gsa_databases_info import GsaDatabasesInfo from .gsa_date_time_aggregation import GsaDateTimeAggregation from .gsa_date_time_aggregation_datum_criterion import GsaDateTimeAggregationDatumCriterion @@ -353,24 +320,11 @@ from .gsa_default_free_parameter_not_found_maths_functional_error_detail import ( GsaDefaultFreeParameterNotFoundMathsFunctionalErrorDetail, ) -from .gsa_default_parameter_value_guid_parameter_error_detail import ( - GsaDefaultParameterValueGuidParameterErrorDetail, -) -from .gsa_default_parameter_value_index_and_guid_parameter_error_detail import ( - GsaDefaultParameterValueIndexAndGuidParameterErrorDetail, -) -from .gsa_default_parameter_value_index_parameter_error_detail import ( - GsaDefaultParameterValueIndexParameterErrorDetail, -) -from .gsa_default_parameter_value_index_without_values_parameter_error_detail import ( - GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail, -) from .gsa_default_parameter_value_usage_data_modification_error_detail import ( GsaDefaultParameterValueUsageDataModificationErrorDetail, ) from .gsa_delete_record_list_item import GsaDeleteRecordListItem from .gsa_delete_record_list_items import GsaDeleteRecordListItems -from .gsa_description_length_file_error_detail import GsaDescriptionLengthFileErrorDetail from .gsa_discrete_attribute import GsaDiscreteAttribute from .gsa_discrete_datum import GsaDiscreteDatum from .gsa_discrete_datum_exists_criterion import GsaDiscreteDatumExistsCriterion @@ -431,17 +385,6 @@ ) from .gsa_discrete_values_update_discrete_value import GsaDiscreteValuesUpdateDiscreteValue from .gsa_disk_status import GsaDiskStatus -from .gsa_display_name_empty_error_detail import GsaDisplayNameEmptyErrorDetail -from .gsa_display_name_language_not_provided_error_detail import ( - GsaDisplayNameLanguageNotProvidedErrorDetail, -) -from .gsa_display_name_language_not_supported_error_detail import ( - GsaDisplayNameLanguageNotSupportedErrorDetail, -) -from .gsa_display_names_import_error_detail import GsaDisplayNamesImportErrorDetail -from .gsa_display_names_import_error_reason import GsaDisplayNamesImportErrorReason -from .gsa_display_names_import_exception import GsaDisplayNamesImportException -from .gsa_display_names_info import GsaDisplayNamesInfo from .gsa_double_sorting_value import GsaDoubleSortingValue from .gsa_duplicate_database_add_database_validation_issue import ( GsaDuplicateDatabaseAddDatabaseValidationIssue, @@ -467,17 +410,17 @@ from .gsa_duplicate_version_guid_add_database_validation_issue import ( GsaDuplicateVersionGuidAddDatabaseValidationIssue, ) -from .gsa_email_generation_settings import GsaEmailGenerationSettings +from .gsa_dynamic_link_group_usage_data_modification_error_detail import ( + GsaDynamicLinkGroupUsageDataModificationErrorDetail, +) +from .gsa_dynamic_record_link_group import GsaDynamicRecordLinkGroup from .gsa_empty_axis_name_attribute_error_detail import GsaEmptyAxisNameAttributeErrorDetail from .gsa_enabled_licenses_info import GsaEnabledLicensesInfo from .gsa_entity_already_exists_error_detail import GsaEntityAlreadyExistsErrorDetail from .gsa_entity_identifier_already_specified_error_detail import ( GsaEntityIdentifierAlreadySpecifiedErrorDetail, ) -from .gsa_entity_type import GsaEntityType -from .gsa_error_code import GsaErrorCode from .gsa_error_detail import GsaErrorDetail -from .gsa_exception_information import GsaExceptionInformation from .gsa_exclude_values_specifier import GsaExcludeValuesSpecifier from .gsa_existing_tabular_column_guid_error_detail import GsaExistingTabularColumnGuidErrorDetail from .gsa_export_failure import GsaExportFailure @@ -492,23 +435,14 @@ GsaExpressionsHaveUnknownParametersMathsFunctionalErrorDetail, ) from .gsa_expressions_info import GsaExpressionsInfo -from .gsa_file_already_exists_file_move_error_detail import GsaFileAlreadyExistsFileMoveErrorDetail from .gsa_file_attribute import GsaFileAttribute -from .gsa_file_creation_exception import GsaFileCreationException from .gsa_file_datum import GsaFileDatum from .gsa_file_datum_criterion import GsaFileDatumCriterion from .gsa_file_datum_exists_criterion import GsaFileDatumExistsCriterion -from .gsa_file_error_detail import GsaFileErrorDetail -from .gsa_file_error_reason import GsaFileErrorReason from .gsa_file_header import GsaFileHeader -from .gsa_file_move_error_detail import GsaFileMoveErrorDetail -from .gsa_file_move_error_reason import GsaFileMoveErrorReason -from .gsa_file_move_exception import GsaFileMoveException -from .gsa_file_name_file_error_detail import GsaFileNameFileErrorDetail -from .gsa_file_name_folder_error_detail import GsaFileNameFolderErrorDetail from .gsa_file_prefix_datum_criterion import GsaFilePrefixDatumCriterion -from .gsa_file_update_exception import GsaFileUpdateException from .gsa_files_info import GsaFilesInfo +from .gsa_find_search_request import GsaFindSearchRequest from .gsa_find_standard_names import GsaFindStandardNames from .gsa_float_functional_aggregation import GsaFloatFunctionalAggregation from .gsa_float_functional_aggregation_datum_criterion import ( @@ -536,20 +470,6 @@ from .gsa_float_series_graph import GsaFloatSeriesGraph from .gsa_float_series_point import GsaFloatSeriesPoint from .gsa_folder import GsaFolder -from .gsa_folder_already_exists_folder_move_error_detail import ( - GsaFolderAlreadyExistsFolderMoveErrorDetail, -) -from .gsa_folder_creation_exception import GsaFolderCreationException -from .gsa_folder_deletion_error_detail import GsaFolderDeletionErrorDetail -from .gsa_folder_deletion_error_reason import GsaFolderDeletionErrorReason -from .gsa_folder_deletion_exception import GsaFolderDeletionException -from .gsa_folder_error_detail import GsaFolderErrorDetail -from .gsa_folder_error_reason import GsaFolderErrorReason -from .gsa_folder_move_error_detail import GsaFolderMoveErrorDetail -from .gsa_folder_move_error_reason import GsaFolderMoveErrorReason -from .gsa_folder_move_exception import GsaFolderMoveException -from .gsa_folder_type import GsaFolderType -from .gsa_folder_update_exception import GsaFolderUpdateException from .gsa_folders_info import GsaFoldersInfo from .gsa_free_text_aggregation import GsaFreeTextAggregation from .gsa_free_text_aggregation_criterion import GsaFreeTextAggregationCriterion @@ -558,9 +478,6 @@ from .gsa_full_layout_section import GsaFullLayoutSection from .gsa_full_name_property import GsaFullNameProperty from .gsa_func_no_params_attribute_error_detail import GsaFuncNoParamsAttributeErrorDetail -from .gsa_functional_data_default_usage_data_modification_error_detail import ( - GsaFunctionalDataDefaultUsageDataModificationErrorDetail, -) from .gsa_functional_datum_parameter_info import GsaFunctionalDatumParameterInfo from .gsa_functional_parameter_setting import GsaFunctionalParameterSetting from .gsa_functional_type import GsaFunctionalType @@ -581,7 +498,6 @@ from .gsa_graph_type import GsaGraphType from .gsa_graph_value import GsaGraphValue from .gsa_graph_value_type import GsaGraphValueType -from .gsa_grid import GsaGrid from .gsa_grid_graph import GsaGridGraph from .gsa_guid_only_attribute import GsaGuidOnlyAttribute from .gsa_guid_only_discrete_type import GsaGuidOnlyDiscreteType @@ -592,7 +508,6 @@ from .gsa_guid_only_layout import GsaGuidOnlyLayout from .gsa_guid_only_mapping_of_object_identifier import GsaGuidOnlyMappingOfObjectIdentifier from .gsa_guid_only_source_of_object_identifier import GsaGuidOnlySourceOfObjectIdentifier -from .gsa_help_paths_validation_response import GsaHelpPathsValidationResponse from .gsa_histogram import GsaHistogram from .gsa_histogram_bucket import GsaHistogramBucket from .gsa_hyperlink_attribute import GsaHyperlinkAttribute @@ -601,7 +516,6 @@ from .gsa_hyperlink_datum_exists_criterion import GsaHyperlinkDatumExistsCriterion from .gsa_hyperlink_prefix_datum_criterion import GsaHyperlinkPrefixDatumCriterion from .gsa_hyperlink_target import GsaHyperlinkTarget -from .gsa_in_use_parameter_value_error_detail import GsaInUseParameterValueErrorDetail from .gsa_index_record_failure import GsaIndexRecordFailure from .gsa_indirect_links import GsaIndirectLinks from .gsa_input_validation_error_detail import GsaInputValidationErrorDetail @@ -647,7 +561,6 @@ from .gsa_layout_sections_info import GsaLayoutSectionsInfo from .gsa_layout_tabular_column import GsaLayoutTabularColumn from .gsa_layouts_info import GsaLayoutsInfo -from .gsa_link import GsaLink from .gsa_link_aggregation import GsaLinkAggregation from .gsa_link_aggregation_datum_criterion import GsaLinkAggregationDatumCriterion from .gsa_link_attribute_to_export import GsaLinkAttributeToExport @@ -700,9 +613,6 @@ from .gsa_local_range_tabular_column import GsaLocalRangeTabularColumn from .gsa_local_rows_behavior import GsaLocalRowsBehavior from .gsa_local_short_text_tabular_column import GsaLocalShortTextTabularColumn -from .gsa_log_scale_negative_parameter_value_error_detail import ( - GsaLogScaleNegativeParameterValueErrorDetail, -) from .gsa_logical_aggregation import GsaLogicalAggregation from .gsa_logical_aggregation_datum_criterion import GsaLogicalAggregationDatumCriterion from .gsa_logical_attribute import GsaLogicalAttribute @@ -716,7 +626,6 @@ from .gsa_long_text_datum_exists_criterion import GsaLongTextDatumExistsCriterion from .gsa_long_text_prefix_datum_criterion import GsaLongTextPrefixDatumCriterion from .gsa_mapping_of_object_identifier import GsaMappingOfObjectIdentifier -from .gsa_match_mode import GsaMatchMode from .gsa_maths_content import GsaMathsContent from .gsa_maths_functional_attribute import GsaMathsFunctionalAttribute from .gsa_maths_functional_attribute_error_detail import GsaMathsFunctionalAttributeErrorDetail @@ -736,23 +645,12 @@ from .gsa_move_file import GsaMoveFile from .gsa_move_folder import GsaMoveFolder from .gsa_move_record_history import GsaMoveRecordHistory -from .gsa_multi_valued_point_data_usage_data_modification_error_detail import ( - GsaMultiValuedPointDataUsageDataModificationErrorDetail, -) from .gsa_name_already_exists_error_detail import GsaNameAlreadyExistsErrorDetail -from .gsa_name_already_specified_error_detail import GsaNameAlreadySpecifiedErrorDetail from .gsa_name_not_provided_error_detail import GsaNameNotProvidedErrorDetail -from .gsa_name_whitespace_parameter_value_error_detail import ( - GsaNameWhitespaceParameterValueErrorDetail, -) from .gsa_named_criterion import GsaNamedCriterion from .gsa_named_entity_attribute_error_detail import GsaNamedEntityAttributeErrorDetail from .gsa_named_entity_error_detail import GsaNamedEntityErrorDetail from .gsa_named_entity_error_reason import GsaNamedEntityErrorReason -from .gsa_named_entity_file_error_detail import GsaNamedEntityFileErrorDetail -from .gsa_named_entity_folder_error_detail import GsaNamedEntityFolderErrorDetail -from .gsa_named_entity_parameter_error_detail import GsaNamedEntityParameterErrorDetail -from .gsa_named_entity_parameter_value_error_detail import GsaNamedEntityParameterValueErrorDetail from .gsa_new_layout_association_chain_item import GsaNewLayoutAssociationChainItem from .gsa_new_layout_association_chain_link import GsaNewLayoutAssociationChainLink from .gsa_new_layout_attribute_item import GsaNewLayoutAttributeItem @@ -761,44 +659,29 @@ from .gsa_new_layout_item_type import GsaNewLayoutItemType from .gsa_new_layout_record_link_item import GsaNewLayoutRecordLinkItem from .gsa_new_layout_smart_link_item import GsaNewLayoutSmartLinkItem -from .gsa_no_data_file_error_detail import GsaNoDataFileErrorDetail from .gsa_no_expressions_maths_functional_error_detail import ( GsaNoExpressionsMathsFunctionalErrorDetail, ) -from .gsa_no_file_file_error_detail import GsaNoFileFileErrorDetail -from .gsa_no_parameter_values_parameter_error_detail import GsaNoParameterValuesParameterErrorDetail from .gsa_no_such_entity_attribute_error_detail import GsaNoSuchEntityAttributeErrorDetail from .gsa_no_such_entity_tabular_column_error_detail import GsaNoSuchEntityTabularColumnErrorDetail from .gsa_no_such_expressions_maths_functional_error_detail import ( GsaNoSuchExpressionsMathsFunctionalErrorDetail, ) -from .gsa_no_such_new_parent_file_move_error_detail import GsaNoSuchNewParentFileMoveErrorDetail -from .gsa_no_such_new_parent_folder_move_error_detail import GsaNoSuchNewParentFolderMoveErrorDetail from .gsa_no_such_parameter_value_parameter_content_error_detail import ( GsaNoSuchParameterValueParameterContentErrorDetail, ) -from .gsa_no_such_unit_parameter_error_detail import GsaNoSuchUnitParameterErrorDetail from .gsa_no_value_exists_graph_value import GsaNoValueExistsGraphValue from .gsa_no_values_specifier import GsaNoValuesSpecifier from .gsa_not_applicable_datum import GsaNotApplicableDatum from .gsa_not_the_latest_version_error_detail import GsaNotTheLatestVersionErrorDetail from .gsa_not_versioned_error_detail import GsaNotVersionedErrorDetail -from .gsa_notification_user import GsaNotificationUser -from .gsa_notification_users import GsaNotificationUsers -from .gsa_notification_watch import GsaNotificationWatch from .gsa_numeric_graph_parameter_value import GsaNumericGraphParameterValue from .gsa_numeric_parameter import GsaNumericParameter from .gsa_numeric_parameter_constraint import GsaNumericParameterConstraint from .gsa_numeric_parameter_content import GsaNumericParameterContent from .gsa_numeric_parameter_data_value import GsaNumericParameterDataValue from .gsa_numeric_parameter_value import GsaNumericParameterValue -from .gsa_numeric_restricted_interpolation_parameter_error_detail import ( - GsaNumericRestrictedInterpolationParameterErrorDetail, -) from .gsa_object_identifier import GsaObjectIdentifier -from .gsa_orphaned_search_index import GsaOrphanedSearchIndex -from .gsa_orphaned_search_indexes_info import GsaOrphanedSearchIndexesInfo -from .gsa_pagination_links import GsaPaginationLinks from .gsa_paging_options import GsaPagingOptions from .gsa_parameter import GsaParameter from .gsa_parameter_constraint import GsaParameterConstraint @@ -816,11 +699,8 @@ from .gsa_parameter_content_unknown_parameters_maths_functional_error_detail import ( GsaParameterContentUnknownParametersMathsFunctionalErrorDetail, ) -from .gsa_parameter_creation_exception import GsaParameterCreationException from .gsa_parameter_data_value import GsaParameterDataValue from .gsa_parameter_deletion_exception import GsaParameterDeletionException -from .gsa_parameter_error_detail import GsaParameterErrorDetail -from .gsa_parameter_error_reason import GsaParameterErrorReason from .gsa_parameter_info import GsaParameterInfo from .gsa_parameter_info_interpolation_type import GsaParameterInfoInterpolationType from .gsa_parameter_info_parameter_type import GsaParameterInfoParameterType @@ -832,20 +712,9 @@ from .gsa_parameter_type_parameter_content_error_detail import ( GsaParameterTypeParameterContentErrorDetail, ) -from .gsa_parameter_type_parameter_error_detail import GsaParameterTypeParameterErrorDetail -from .gsa_parameter_update_exception import GsaParameterUpdateException from .gsa_parameter_value import GsaParameterValue -from .gsa_parameter_value_creation_exception import GsaParameterValueCreationException from .gsa_parameter_value_deletion_exception import GsaParameterValueDeletionException -from .gsa_parameter_value_error_detail import GsaParameterValueErrorDetail -from .gsa_parameter_value_error_reason import GsaParameterValueErrorReason -from .gsa_parameter_value_parameter_error_detail import GsaParameterValueParameterErrorDetail from .gsa_parameter_value_type import GsaParameterValueType -from .gsa_parameter_value_type_parameter_value_error_detail import ( - GsaParameterValueTypeParameterValueErrorDetail, -) -from .gsa_parameter_value_update_exception import GsaParameterValueUpdateException -from .gsa_parameter_value_used_by_type import GsaParameterValueUsedByType from .gsa_parameter_with_data_value import GsaParameterWithDataValue from .gsa_parameters_info import GsaParametersInfo from .gsa_permission import GsaPermission @@ -925,7 +794,7 @@ ) from .gsa_record_ancestor_criterion import GsaRecordAncestorCriterion from .gsa_record_ancestor_history_criterion import GsaRecordAncestorHistoryCriterion -from .gsa_record_and_attribute_selection_type import GsaRecordAndAttributeSelectionType +from .gsa_record_capabilities import GsaRecordCapabilities from .gsa_record_color import GsaRecordColor from .gsa_record_color_property import GsaRecordColorProperty from .gsa_record_export_failure import GsaRecordExportFailure @@ -958,13 +827,11 @@ from .gsa_record_subset_criterion import GsaRecordSubsetCriterion from .gsa_record_type import GsaRecordType from .gsa_record_type_property import GsaRecordTypeProperty -from .gsa_record_user_capabilities import GsaRecordUserCapabilities from .gsa_record_version import GsaRecordVersion from .gsa_record_version_reference import GsaRecordVersionReference from .gsa_record_with_data import GsaRecordWithData from .gsa_referenced_by_type import GsaReferencedByType from .gsa_referential_integrity_model import GsaReferentialIntegrityModel -from .gsa_register_update_request import GsaRegisterUpdateRequest from .gsa_release_record_version_control_exception import GsaReleaseRecordVersionControlException from .gsa_release_table_version_control_exception import GsaReleaseTableVersionControlException from .gsa_released_date_property import GsaReleasedDateProperty @@ -973,23 +840,16 @@ from .gsa_reorder_sections_info import GsaReorderSectionsInfo from .gsa_replacement_string import GsaReplacementString from .gsa_replacement_strings_info import GsaReplacementStringsInfo -from .gsa_resolve_link_targets_info import GsaResolveLinkTargetsInfo -from .gsa_resolve_link_targets_request import GsaResolveLinkTargetsRequest +from .gsa_resolved_link import GsaResolvedLink +from .gsa_resolved_link_info import GsaResolvedLinkInfo from .gsa_resolved_link_target import GsaResolvedLinkTarget from .gsa_response_options import GsaResponseOptions from .gsa_resubmit_job_request import GsaResubmitJobRequest -from .gsa_retarget_potential_request import GsaRetargetPotentialRequest -from .gsa_retarget_request import GsaRetargetRequest -from .gsa_retarget_result import GsaRetargetResult -from .gsa_retarget_result_type import GsaRetargetResultType -from .gsa_retarget_results_info import GsaRetargetResultsInfo from .gsa_rich_text_type import GsaRichTextType from .gsa_rich_text_value import GsaRichTextValue from .gsa_rollup_export_failure import GsaRollupExportFailure from .gsa_rollup_reference import GsaRollupReference -from .gsa_root_folder_move_error_detail import GsaRootFolderMoveErrorDetail -from .gsa_same_parent_file_move_error_detail import GsaSameParentFileMoveErrorDetail -from .gsa_same_parent_folder_move_error_detail import GsaSameParentFolderMoveErrorDetail +from .gsa_save_search_request import GsaSaveSearchRequest from .gsa_schema_too_new_add_database_validation_issue import ( GsaSchemaTooNewAddDatabaseValidationIssue, ) @@ -997,6 +857,7 @@ GsaSchemaTooOldAddDatabaseValidationIssue, ) from .gsa_search_cluster_status import GsaSearchClusterStatus +from .gsa_search_detail import GsaSearchDetail from .gsa_search_index_status import GsaSearchIndexStatus from .gsa_search_mask_usage_data_modification_error_detail import ( GsaSearchMaskUsageDataModificationErrorDetail, @@ -1011,6 +872,7 @@ GsaSecurityAttributeUsageDataModificationErrorDetail, ) from .gsa_security_groups import GsaSecurityGroups +from .gsa_selection_search import GsaSelectionSearch from .gsa_series_graph import GsaSeriesGraph from .gsa_set_date_time_datum import GsaSetDateTimeDatum from .gsa_set_datum import GsaSetDatum @@ -1041,7 +903,6 @@ from .gsa_significant_figures_info import GsaSignificantFiguresInfo from .gsa_simple_attribute_to_export import GsaSimpleAttributeToExport from .gsa_slim_attribute import GsaSlimAttribute -from .gsa_slim_attribute_with_help_path import GsaSlimAttributeWithHelpPath from .gsa_slim_configuration import GsaSlimConfiguration from .gsa_slim_constant import GsaSlimConstant from .gsa_slim_database import GsaSlimDatabase @@ -1056,7 +917,6 @@ from .gsa_slim_named_unit import GsaSlimNamedUnit from .gsa_slim_objects import GsaSlimObjects from .gsa_slim_parameter import GsaSlimParameter -from .gsa_slim_parameter_with_help_path import GsaSlimParameterWithHelpPath from .gsa_slim_permission import GsaSlimPermission from .gsa_slim_permission_category import GsaSlimPermissionCategory from .gsa_slim_profile import GsaSlimProfile @@ -1070,10 +930,6 @@ from .gsa_slim_typed_attribute import GsaSlimTypedAttribute from .gsa_slim_unit import GsaSlimUnit from .gsa_slim_unit_system import GsaSlimUnitSystem -from .gsa_smart_link_group_usage_data_modification_error_detail import ( - GsaSmartLinkGroupUsageDataModificationErrorDetail, -) -from .gsa_smart_record_link_group import GsaSmartRecordLinkGroup from .gsa_smtp_properties import GsaSmtpProperties from .gsa_sort_criterion import GsaSortCriterion from .gsa_sort_criterion_type import GsaSortCriterionType @@ -1089,7 +945,6 @@ from .gsa_string_sorting_value import GsaStringSortingValue from .gsa_subset import GsaSubset from .gsa_subsets_info import GsaSubsetsInfo -from .gsa_support_properties import GsaSupportProperties from .gsa_table import GsaTable from .gsa_table_deletion_exception import GsaTableDeletionException from .gsa_table_guid_property import GsaTableGuidProperty @@ -1153,7 +1008,6 @@ from .gsa_update_data_rule import GsaUpdateDataRule from .gsa_update_database import GsaUpdateDatabase from .gsa_update_date_time_attribute import GsaUpdateDateTimeAttribute -from .gsa_update_default_database import GsaUpdateDefaultDatabase from .gsa_update_default_profile import GsaUpdateDefaultProfile from .gsa_update_discrete_attribute import GsaUpdateDiscreteAttribute from .gsa_update_discrete_functional_attribute import GsaUpdateDiscreteFunctionalAttribute @@ -1171,8 +1025,7 @@ from .gsa_update_discrete_parameter_value import GsaUpdateDiscreteParameterValue from .gsa_update_discrete_range import GsaUpdateDiscreteRange from .gsa_update_discrete_type import GsaUpdateDiscreteType -from .gsa_update_display_names import GsaUpdateDisplayNames -from .gsa_update_display_names_response import GsaUpdateDisplayNamesResponse +from .gsa_update_dynamic_record_link_group import GsaUpdateDynamicRecordLinkGroup from .gsa_update_expression import GsaUpdateExpression from .gsa_update_file import GsaUpdateFile from .gsa_update_file_attribute import GsaUpdateFileAttribute @@ -1209,7 +1062,6 @@ from .gsa_update_long_text_attribute import GsaUpdateLongTextAttribute from .gsa_update_maths_content import GsaUpdateMathsContent from .gsa_update_maths_functional_attribute import GsaUpdateMathsFunctionalAttribute -from .gsa_update_notification_user import GsaUpdateNotificationUser from .gsa_update_numeric_parameter import GsaUpdateNumericParameter from .gsa_update_numeric_parameter_content import GsaUpdateNumericParameterContent from .gsa_update_numeric_parameter_value import GsaUpdateNumericParameterValue @@ -1225,14 +1077,10 @@ from .gsa_update_record_list_permission_flags import GsaUpdateRecordListPermissionFlags from .gsa_update_record_list_properties import GsaUpdateRecordListProperties from .gsa_update_replacement_string import GsaUpdateReplacementString -from .gsa_update_root_folder_error_detail import GsaUpdateRootFolderErrorDetail -from .gsa_update_run_status import GsaUpdateRunStatus from .gsa_update_short_text_attribute import GsaUpdateShortTextAttribute -from .gsa_update_smart_record_link_group import GsaUpdateSmartRecordLinkGroup from .gsa_update_standard_name import GsaUpdateStandardName from .gsa_update_static_record_link_group import GsaUpdateStaticRecordLinkGroup from .gsa_update_subset import GsaUpdateSubset -from .gsa_update_support_properties import GsaUpdateSupportProperties from .gsa_update_table import GsaUpdateTable from .gsa_update_tabular_attribute import GsaUpdateTabularAttribute from .gsa_update_tabular_attribute_target import GsaUpdateTabularAttributeTarget @@ -1243,13 +1091,11 @@ from .gsa_update_user_permission import GsaUpdateUserPermission from .gsa_update_user_permissions_info import GsaUpdateUserPermissionsInfo from .gsa_usage_data_modification_error_detail import GsaUsageDataModificationErrorDetail +from .gsa_user_or_group import GsaUserOrGroup from .gsa_user_permission import GsaUserPermission from .gsa_user_permissions_info import GsaUserPermissionsInfo from .gsa_user_role import GsaUserRole from .gsa_validate_attribute_request import GsaValidateAttributeRequest -from .gsa_value_not_provided_parameter_value_error_detail import ( - GsaValueNotProvidedParameterValueErrorDetail, -) from .gsa_value_specifier import GsaValueSpecifier from .gsa_value_specifier_type import GsaValueSpecifierType from .gsa_value_with_count_of_boolean import GsaValueWithCountOfBoolean @@ -1262,7 +1108,6 @@ from .gsa_version_number_property import GsaVersionNumberProperty from .gsa_version_state import GsaVersionState from .gsa_version_state_property import GsaVersionStateProperty -from .gsa_watch_type import GsaWatchType from .gsa_withdraw_record_version_control_exception import GsaWithdrawRecordVersionControlException from .gsa_xy_chart_template_usage_data_modification_error_detail import ( GsaXYChartTemplateUsageDataModificationErrorDetail, @@ -1292,18 +1137,6 @@ "FolderguidFilesBody2", "GrantaMIRecordPropertyFakeAttributeIdentities", "GsaAboutAttributeCannotBeMetaAttributeErrorDetail", - "GsaActivityLogApplicationNameFilter", - "GsaActivityLogApplicationNamesCollectionFilter", - "GsaActivityLogCollectionMatchType", - "GsaActivityLogDatabaseKeyFilter", - "GsaActivityLogDateFilter", - "GsaActivityLogEntriesFilter", - "GsaActivityLogEntriesInfo", - "GsaActivityLogEntry", - "GsaActivityLogMatchType", - "GsaActivityLogUsageMode", - "GsaActivityLogUsageModeFilter", - "GsaActivityLogUsernameFilter", "GsaAddDatabase", "GsaAddDatabaseIssueType", "GsaAddDatabaseValidationIssue", @@ -1329,7 +1162,6 @@ "GsaAppendPointValues", "GsaApplicableDatum", "GsaApplicationsInfo", - "GsaApplyOptions", "GsaAttribute", "GsaAttributeAggregation", "GsaAttributeAggregationCriterion", @@ -1362,7 +1194,6 @@ "GsaAttributeValueAggregation", "GsaAttributesInfo", "GsaAxisName", - "GsaBlobInfoDto", "GsaBooleanCriterion", "GsaBoostByGuid", "GsaBoostByIdentity", @@ -1372,10 +1203,7 @@ "GsaBulkRequestItem", "GsaBulkResponseItem", "GsaCalendarInterval", - "GsaCircularReferenceFolderMoveErrorDetail", - "GsaConfigInvalidJsonFileErrorDetail", "GsaConfiguration", - "GsaConfigurationDetails", "GsaConfigurationsInfo", "GsaConnectionDetails", "GsaConstant", @@ -1389,7 +1217,6 @@ "GsaCreateConfiguration", "GsaCreateConstant", "GsaCreateContinuousRange", - "GsaCreateCrossDatabaseLinkTarget", "GsaCreateCrossDatabaseRecordLinkGroup", "GsaCreateDataRule", "GsaCreateDateTimeAttribute", @@ -1403,6 +1230,7 @@ "GsaCreateDiscreteParameterValue", "GsaCreateDiscreteRange", "GsaCreateDiscreteType", + "GsaCreateDynamicRecordLinkGroup", "GsaCreateExpression", "GsaCreateFileAttribute", "GsaCreateFloatFunctionalAttribute", @@ -1450,11 +1278,9 @@ "GsaCreateRecordList", "GsaCreateRecordListItemsInfo", "GsaCreateReplacementString", + "GsaCreateSearchRequest", "GsaCreateShortTextAttribute", - "GsaCreateSmartLinkTarget", - "GsaCreateSmartRecordLinkGroup", "GsaCreateStandardName", - "GsaCreateStaticLinkTarget", "GsaCreateStaticRecordLinkGroup", "GsaCreateSubset", "GsaCreateTable", @@ -1516,21 +1342,11 @@ "GsaDataModificationErrorReason", "GsaDataRule", "GsaDataRulesInfo", - "GsaDataUpdate", - "GsaDataUpdateHeader", - "GsaDataUpdateRunInfo", - "GsaDataUpdateToken", - "GsaDataUpdaterJob", - "GsaDataUpdaterJobStatus", - "GsaDataUpdaterJobType", - "GsaDataUpdaterProject", "GsaDataUsageDataModificationErrorDetail", "GsaDatabase", - "GsaDatabaseIssues", "GsaDatabaseKeyProperty", "GsaDatabaseStatus", "GsaDatabaseStatusInformation", - "GsaDatabaseUserCapabilities", "GsaDatabasesInfo", "GsaDateTimeAggregation", "GsaDateTimeAggregationDatumCriterion", @@ -1559,14 +1375,9 @@ "GsaDatumType", "GsaDefaultExpressionNotFoundMathsFunctionalErrorDetail", "GsaDefaultFreeParameterNotFoundMathsFunctionalErrorDetail", - "GsaDefaultParameterValueGuidParameterErrorDetail", - "GsaDefaultParameterValueIndexAndGuidParameterErrorDetail", - "GsaDefaultParameterValueIndexParameterErrorDetail", - "GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail", "GsaDefaultParameterValueUsageDataModificationErrorDetail", "GsaDeleteRecordListItem", "GsaDeleteRecordListItems", - "GsaDescriptionLengthFileErrorDetail", "GsaDiscreteAttribute", "GsaDiscreteDatum", "GsaDiscreteDatumExistsCriterion", @@ -1617,13 +1428,6 @@ "GsaDiscreteValuesReplaceDiscreteValuesInfo", "GsaDiscreteValuesUpdateDiscreteValue", "GsaDiskStatus", - "GsaDisplayNameEmptyErrorDetail", - "GsaDisplayNameLanguageNotProvidedErrorDetail", - "GsaDisplayNameLanguageNotSupportedErrorDetail", - "GsaDisplayNamesImportErrorDetail", - "GsaDisplayNamesImportErrorReason", - "GsaDisplayNamesImportException", - "GsaDisplayNamesInfo", "GsaDoubleSortingValue", "GsaDuplicateDatabaseAddDatabaseValidationIssue", "GsaDuplicateExpressionGuidsMathsFunctionalErrorDetail", @@ -1633,15 +1437,13 @@ "GsaDuplicateTabularColumnGuidsErrorDetail", "GsaDuplicateTabularColumnNamesErrorDetail", "GsaDuplicateVersionGuidAddDatabaseValidationIssue", - "GsaEmailGenerationSettings", + "GsaDynamicLinkGroupUsageDataModificationErrorDetail", + "GsaDynamicRecordLinkGroup", "GsaEmptyAxisNameAttributeErrorDetail", "GsaEnabledLicensesInfo", "GsaEntityAlreadyExistsErrorDetail", "GsaEntityIdentifierAlreadySpecifiedErrorDetail", - "GsaEntityType", - "GsaErrorCode", "GsaErrorDetail", - "GsaExceptionInformation", "GsaExcludeValuesSpecifier", "GsaExistingTabularColumnGuidErrorDetail", "GsaExportFailure", @@ -1652,23 +1454,14 @@ "GsaExpressionUsageDataModificationErrorDetail", "GsaExpressionsHaveUnknownParametersMathsFunctionalErrorDetail", "GsaExpressionsInfo", - "GsaFileAlreadyExistsFileMoveErrorDetail", "GsaFileAttribute", - "GsaFileCreationException", "GsaFileDatum", "GsaFileDatumCriterion", "GsaFileDatumExistsCriterion", - "GsaFileErrorDetail", - "GsaFileErrorReason", "GsaFileHeader", - "GsaFileMoveErrorDetail", - "GsaFileMoveErrorReason", - "GsaFileMoveException", - "GsaFileNameFileErrorDetail", - "GsaFileNameFolderErrorDetail", "GsaFilePrefixDatumCriterion", - "GsaFileUpdateException", "GsaFilesInfo", + "GsaFindSearchRequest", "GsaFindStandardNames", "GsaFloatFunctionalAggregation", "GsaFloatFunctionalAggregationDatumCriterion", @@ -1690,18 +1483,6 @@ "GsaFloatSeriesGraph", "GsaFloatSeriesPoint", "GsaFolder", - "GsaFolderAlreadyExistsFolderMoveErrorDetail", - "GsaFolderCreationException", - "GsaFolderDeletionErrorDetail", - "GsaFolderDeletionErrorReason", - "GsaFolderDeletionException", - "GsaFolderErrorDetail", - "GsaFolderErrorReason", - "GsaFolderMoveErrorDetail", - "GsaFolderMoveErrorReason", - "GsaFolderMoveException", - "GsaFolderType", - "GsaFolderUpdateException", "GsaFoldersInfo", "GsaFreeTextAggregation", "GsaFreeTextAggregationCriterion", @@ -1710,7 +1491,6 @@ "GsaFullLayoutSection", "GsaFullNameProperty", "GsaFuncNoParamsAttributeErrorDetail", - "GsaFunctionalDataDefaultUsageDataModificationErrorDetail", "GsaFunctionalDatumParameterInfo", "GsaFunctionalParameterSetting", "GsaFunctionalType", @@ -1727,7 +1507,6 @@ "GsaGraphType", "GsaGraphValue", "GsaGraphValueType", - "GsaGrid", "GsaGridGraph", "GsaGuidOnlyAttribute", "GsaGuidOnlyDiscreteType", @@ -1736,7 +1515,6 @@ "GsaGuidOnlyLayout", "GsaGuidOnlyMappingOfObjectIdentifier", "GsaGuidOnlySourceOfObjectIdentifier", - "GsaHelpPathsValidationResponse", "GsaHistogram", "GsaHistogramBucket", "GsaHyperlinkAttribute", @@ -1745,7 +1523,6 @@ "GsaHyperlinkDatumExistsCriterion", "GsaHyperlinkPrefixDatumCriterion", "GsaHyperlinkTarget", - "GsaInUseParameterValueErrorDetail", "GsaIndexRecordFailure", "GsaIndirectLinks", "GsaInputValidationErrorDetail", @@ -1785,7 +1562,6 @@ "GsaLayoutSectionsInfo", "GsaLayoutTabularColumn", "GsaLayoutsInfo", - "GsaLink", "GsaLinkAggregation", "GsaLinkAggregationDatumCriterion", "GsaLinkAttributeToExport", @@ -1838,7 +1614,6 @@ "GsaLocalRangeTabularColumn", "GsaLocalRowsBehavior", "GsaLocalShortTextTabularColumn", - "GsaLogScaleNegativeParameterValueErrorDetail", "GsaLogicalAggregation", "GsaLogicalAggregationDatumCriterion", "GsaLogicalAttribute", @@ -1852,7 +1627,6 @@ "GsaLongTextDatumExistsCriterion", "GsaLongTextPrefixDatumCriterion", "GsaMappingOfObjectIdentifier", - "GsaMatchMode", "GsaMathsContent", "GsaMathsFunctionalAttribute", "GsaMathsFunctionalAttributeErrorDetail", @@ -1868,19 +1642,12 @@ "GsaMoveFile", "GsaMoveFolder", "GsaMoveRecordHistory", - "GsaMultiValuedPointDataUsageDataModificationErrorDetail", "GsaNameAlreadyExistsErrorDetail", - "GsaNameAlreadySpecifiedErrorDetail", "GsaNameNotProvidedErrorDetail", - "GsaNameWhitespaceParameterValueErrorDetail", "GsaNamedCriterion", "GsaNamedEntityAttributeErrorDetail", "GsaNamedEntityErrorDetail", "GsaNamedEntityErrorReason", - "GsaNamedEntityFileErrorDetail", - "GsaNamedEntityFolderErrorDetail", - "GsaNamedEntityParameterErrorDetail", - "GsaNamedEntityParameterValueErrorDetail", "GsaNewLayoutAssociationChainItem", "GsaNewLayoutAssociationChainLink", "GsaNewLayoutAttributeItem", @@ -1889,36 +1656,23 @@ "GsaNewLayoutItemType", "GsaNewLayoutRecordLinkItem", "GsaNewLayoutSmartLinkItem", - "GsaNoDataFileErrorDetail", "GsaNoExpressionsMathsFunctionalErrorDetail", - "GsaNoFileFileErrorDetail", - "GsaNoParameterValuesParameterErrorDetail", "GsaNoSuchEntityAttributeErrorDetail", "GsaNoSuchEntityTabularColumnErrorDetail", "GsaNoSuchExpressionsMathsFunctionalErrorDetail", - "GsaNoSuchNewParentFileMoveErrorDetail", - "GsaNoSuchNewParentFolderMoveErrorDetail", "GsaNoSuchParameterValueParameterContentErrorDetail", - "GsaNoSuchUnitParameterErrorDetail", "GsaNoValueExistsGraphValue", "GsaNoValuesSpecifier", "GsaNotApplicableDatum", "GsaNotTheLatestVersionErrorDetail", "GsaNotVersionedErrorDetail", - "GsaNotificationUser", - "GsaNotificationUsers", - "GsaNotificationWatch", "GsaNumericGraphParameterValue", "GsaNumericParameter", "GsaNumericParameterConstraint", "GsaNumericParameterContent", "GsaNumericParameterDataValue", "GsaNumericParameterValue", - "GsaNumericRestrictedInterpolationParameterErrorDetail", "GsaObjectIdentifier", - "GsaOrphanedSearchIndex", - "GsaOrphanedSearchIndexesInfo", - "GsaPaginationLinks", "GsaPagingOptions", "GsaParameter", "GsaParameterConstraint", @@ -1930,11 +1684,8 @@ "GsaParameterContentMathsFunctionalErrorDetail", "GsaParameterContentMissingArgument", "GsaParameterContentUnknownParametersMathsFunctionalErrorDetail", - "GsaParameterCreationException", "GsaParameterDataValue", "GsaParameterDeletionException", - "GsaParameterErrorDetail", - "GsaParameterErrorReason", "GsaParameterInfo", "GsaParameterInfoInterpolationType", "GsaParameterInfoParameterType", @@ -1944,18 +1695,9 @@ "GsaParameterSettingDefinedAt", "GsaParameterType", "GsaParameterTypeParameterContentErrorDetail", - "GsaParameterTypeParameterErrorDetail", - "GsaParameterUpdateException", "GsaParameterValue", - "GsaParameterValueCreationException", "GsaParameterValueDeletionException", - "GsaParameterValueErrorDetail", - "GsaParameterValueErrorReason", - "GsaParameterValueParameterErrorDetail", "GsaParameterValueType", - "GsaParameterValueTypeParameterValueErrorDetail", - "GsaParameterValueUpdateException", - "GsaParameterValueUsedByType", "GsaParameterWithDataValue", "GsaParametersInfo", "GsaPermission", @@ -2025,7 +1767,7 @@ "GsaRangeHistogramAggregationDatumCriterion", "GsaRecordAncestorCriterion", "GsaRecordAncestorHistoryCriterion", - "GsaRecordAndAttributeSelectionType", + "GsaRecordCapabilities", "GsaRecordColor", "GsaRecordColorProperty", "GsaRecordExportFailure", @@ -2058,13 +1800,11 @@ "GsaRecordSubsetCriterion", "GsaRecordType", "GsaRecordTypeProperty", - "GsaRecordUserCapabilities", "GsaRecordVersion", "GsaRecordVersionReference", "GsaRecordWithData", "GsaReferencedByType", "GsaReferentialIntegrityModel", - "GsaRegisterUpdateRequest", "GsaReleaseRecordVersionControlException", "GsaReleaseTableVersionControlException", "GsaReleasedDateProperty", @@ -2073,26 +1813,20 @@ "GsaReorderSectionsInfo", "GsaReplacementString", "GsaReplacementStringsInfo", - "GsaResolveLinkTargetsInfo", - "GsaResolveLinkTargetsRequest", + "GsaResolvedLink", + "GsaResolvedLinkInfo", "GsaResolvedLinkTarget", "GsaResponseOptions", "GsaResubmitJobRequest", - "GsaRetargetPotentialRequest", - "GsaRetargetRequest", - "GsaRetargetResult", - "GsaRetargetResultType", - "GsaRetargetResultsInfo", "GsaRichTextType", "GsaRichTextValue", "GsaRollupExportFailure", "GsaRollupReference", - "GsaRootFolderMoveErrorDetail", - "GsaSameParentFileMoveErrorDetail", - "GsaSameParentFolderMoveErrorDetail", + "GsaSaveSearchRequest", "GsaSchemaTooNewAddDatabaseValidationIssue", "GsaSchemaTooOldAddDatabaseValidationIssue", "GsaSearchClusterStatus", + "GsaSearchDetail", "GsaSearchIndexStatus", "GsaSearchMaskUsageDataModificationErrorDetail", "GsaSearchRequest", @@ -2103,6 +1837,7 @@ "GsaSecurityAttributeGrouping", "GsaSecurityAttributeUsageDataModificationErrorDetail", "GsaSecurityGroups", + "GsaSelectionSearch", "GsaSeriesGraph", "GsaSetDateTimeDatum", "GsaSetDatum", @@ -2133,7 +1868,6 @@ "GsaSignificantFiguresInfo", "GsaSimpleAttributeToExport", "GsaSlimAttribute", - "GsaSlimAttributeWithHelpPath", "GsaSlimConfiguration", "GsaSlimConstant", "GsaSlimDatabase", @@ -2148,7 +1882,6 @@ "GsaSlimNamedUnit", "GsaSlimObjects", "GsaSlimParameter", - "GsaSlimParameterWithHelpPath", "GsaSlimPermission", "GsaSlimPermissionCategory", "GsaSlimProfile", @@ -2162,8 +1895,6 @@ "GsaSlimTypedAttribute", "GsaSlimUnit", "GsaSlimUnitSystem", - "GsaSmartLinkGroupUsageDataModificationErrorDetail", - "GsaSmartRecordLinkGroup", "GsaSmtpProperties", "GsaSortCriterion", "GsaSortCriterionType", @@ -2179,7 +1910,6 @@ "GsaStringSortingValue", "GsaSubset", "GsaSubsetsInfo", - "GsaSupportProperties", "GsaTable", "GsaTableDeletionException", "GsaTableGuidProperty", @@ -2233,7 +1963,6 @@ "GsaUpdateDataRule", "GsaUpdateDatabase", "GsaUpdateDateTimeAttribute", - "GsaUpdateDefaultDatabase", "GsaUpdateDefaultProfile", "GsaUpdateDiscreteAttribute", "GsaUpdateDiscreteFunctionalAttribute", @@ -2245,8 +1974,7 @@ "GsaUpdateDiscreteParameterValue", "GsaUpdateDiscreteRange", "GsaUpdateDiscreteType", - "GsaUpdateDisplayNames", - "GsaUpdateDisplayNamesResponse", + "GsaUpdateDynamicRecordLinkGroup", "GsaUpdateExpression", "GsaUpdateFile", "GsaUpdateFileAttribute", @@ -2277,7 +2005,6 @@ "GsaUpdateLongTextAttribute", "GsaUpdateMathsContent", "GsaUpdateMathsFunctionalAttribute", - "GsaUpdateNotificationUser", "GsaUpdateNumericParameter", "GsaUpdateNumericParameterContent", "GsaUpdateNumericParameterValue", @@ -2293,14 +2020,10 @@ "GsaUpdateRecordListPermissionFlags", "GsaUpdateRecordListProperties", "GsaUpdateReplacementString", - "GsaUpdateRootFolderErrorDetail", - "GsaUpdateRunStatus", "GsaUpdateShortTextAttribute", - "GsaUpdateSmartRecordLinkGroup", "GsaUpdateStandardName", "GsaUpdateStaticRecordLinkGroup", "GsaUpdateSubset", - "GsaUpdateSupportProperties", "GsaUpdateTable", "GsaUpdateTabularAttribute", "GsaUpdateTabularAttributeTarget", @@ -2311,11 +2034,11 @@ "GsaUpdateUserPermission", "GsaUpdateUserPermissionsInfo", "GsaUsageDataModificationErrorDetail", + "GsaUserOrGroup", "GsaUserPermission", "GsaUserPermissionsInfo", "GsaUserRole", "GsaValidateAttributeRequest", - "GsaValueNotProvidedParameterValueErrorDetail", "GsaValueSpecifier", "GsaValueSpecifierType", "GsaValueWithCountOfBoolean", @@ -2326,7 +2049,6 @@ "GsaVersionNumberProperty", "GsaVersionState", "GsaVersionStateProperty", - "GsaWatchType", "GsaWithdrawRecordVersionControlException", "GsaXYChartTemplateUsageDataModificationErrorDetail", "JobqueueFilesBody", diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_name_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_name_filter.py deleted file mode 100644 index b406f76d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_name_filter.py +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogApplicationNameFilter(ModelBase): - """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] = { - "application_name_to_match": "str", - "match_type": "GsaActivityLogMatchType", - } - - attribute_map: dict[str, str] = { - "application_name_to_match": "applicationNameToMatch", - "match_type": "matchType", - } - - subtype_mapping: dict[str, str] = { - "matchType": "GsaActivityLogMatchType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - application_name_to_match: "str", - match_type: "GsaActivityLogMatchType | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogApplicationNameFilter - a model defined in Swagger - - Parameters - ---------- - application_name_to_match: str - match_type: GsaActivityLogMatchType, optional - """ - self._application_name_to_match: str - self._match_type: GsaActivityLogMatchType | Unset_Type = Unset - - self.application_name_to_match = application_name_to_match - if match_type is not Unset: - self.match_type = match_type - - @property - def application_name_to_match(self) -> "str": - """Gets the application_name_to_match of this GsaActivityLogApplicationNameFilter. - - Returns - ------- - str - The application_name_to_match of this GsaActivityLogApplicationNameFilter. - """ - return self._application_name_to_match - - @application_name_to_match.setter - def application_name_to_match(self, application_name_to_match: "str") -> None: - """Sets the application_name_to_match of this GsaActivityLogApplicationNameFilter. - - Parameters - ---------- - application_name_to_match: str - The application_name_to_match of this GsaActivityLogApplicationNameFilter. - """ - # Field is not nullable - if application_name_to_match is None: - raise ValueError("Invalid value for 'application_name_to_match', must not be 'None'") - # Field is required - if application_name_to_match is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'application_name_to_match', must not be 'Unset'") - self._application_name_to_match = application_name_to_match - - @property - def match_type(self) -> "GsaActivityLogMatchType | Unset_Type": - """Gets the match_type of this GsaActivityLogApplicationNameFilter. - - Returns - ------- - GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogApplicationNameFilter. - """ - return self._match_type - - @match_type.setter - def match_type(self, match_type: "GsaActivityLogMatchType | Unset_Type") -> None: - """Sets the match_type of this GsaActivityLogApplicationNameFilter. - - Parameters - ---------- - match_type: GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogApplicationNameFilter. - """ - # Field is not nullable - if match_type is None: - raise ValueError("Invalid value for 'match_type', must not be 'None'") - self._match_type = match_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, GsaActivityLogApplicationNameFilter): - 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/v2026r1/models/gsa_activity_log_application_names_collection_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_names_collection_filter.py deleted file mode 100644 index df426d9a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_application_names_collection_filter.py +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogApplicationNamesCollectionFilter(ModelBase): - """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] = { - "application_names_to_match": "list[str]", - "collection_match_type": "GsaActivityLogCollectionMatchType", - } - - attribute_map: dict[str, str] = { - "application_names_to_match": "applicationNamesToMatch", - "collection_match_type": "collectionMatchType", - } - - subtype_mapping: dict[str, str] = { - "collectionMatchType": "GsaActivityLogCollectionMatchType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - application_names_to_match: "list[str]", - collection_match_type: "GsaActivityLogCollectionMatchType | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogApplicationNamesCollectionFilter - a model defined in Swagger - - Parameters - ---------- - application_names_to_match: list[str] - collection_match_type: GsaActivityLogCollectionMatchType, optional - """ - self._application_names_to_match: list[str] - self._collection_match_type: GsaActivityLogCollectionMatchType | Unset_Type = Unset - - self.application_names_to_match = application_names_to_match - if collection_match_type is not Unset: - self.collection_match_type = collection_match_type - - @property - def application_names_to_match(self) -> "list[str]": - """Gets the application_names_to_match of this GsaActivityLogApplicationNamesCollectionFilter. - - Returns - ------- - list[str] - The application_names_to_match of this GsaActivityLogApplicationNamesCollectionFilter. - """ - return self._application_names_to_match - - @application_names_to_match.setter - def application_names_to_match(self, application_names_to_match: "list[str]") -> None: - """Sets the application_names_to_match of this GsaActivityLogApplicationNamesCollectionFilter. - - Parameters - ---------- - application_names_to_match: list[str] - The application_names_to_match of this GsaActivityLogApplicationNamesCollectionFilter. - """ - # Field is not nullable - if application_names_to_match is None: - raise ValueError("Invalid value for 'application_names_to_match', must not be 'None'") - # Field is required - if application_names_to_match is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'application_names_to_match', must not be 'Unset'") - self._application_names_to_match = application_names_to_match - - @property - def collection_match_type(self) -> "GsaActivityLogCollectionMatchType | Unset_Type": - """Gets the collection_match_type of this GsaActivityLogApplicationNamesCollectionFilter. - - Returns - ------- - GsaActivityLogCollectionMatchType | Unset_Type - The collection_match_type of this GsaActivityLogApplicationNamesCollectionFilter. - """ - return self._collection_match_type - - @collection_match_type.setter - def collection_match_type( - self, collection_match_type: "GsaActivityLogCollectionMatchType | Unset_Type" - ) -> None: - """Sets the collection_match_type of this GsaActivityLogApplicationNamesCollectionFilter. - - Parameters - ---------- - collection_match_type: GsaActivityLogCollectionMatchType | Unset_Type - The collection_match_type of this GsaActivityLogApplicationNamesCollectionFilter. - """ - # Field is not nullable - if collection_match_type is None: - raise ValueError("Invalid value for 'collection_match_type', must not be 'None'") - self._collection_match_type = collection_match_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, GsaActivityLogApplicationNamesCollectionFilter): - 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/v2026r1/models/gsa_activity_log_collection_match_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_collection_match_type.py deleted file mode 100644 index ac345b9e..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_collection_match_type.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaActivityLogCollectionMatchType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - COLLECTIONEXACTMATCH = "collectionExactMatch" - COLLECTIONCONTAINS = "collectionContains" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_database_key_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_database_key_filter.py deleted file mode 100644 index e7198930..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_database_key_filter.py +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogDatabaseKeyFilter(ModelBase): - """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] = { - "database_key_to_match": "str", - "match_type": "GsaActivityLogMatchType", - } - - attribute_map: dict[str, str] = { - "database_key_to_match": "databaseKeyToMatch", - "match_type": "matchType", - } - - subtype_mapping: dict[str, str] = { - "matchType": "GsaActivityLogMatchType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - database_key_to_match: "str | None", - match_type: "GsaActivityLogMatchType | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogDatabaseKeyFilter - a model defined in Swagger - - Parameters - ---------- - database_key_to_match: str | None - match_type: GsaActivityLogMatchType, optional - """ - self._database_key_to_match: str | None - self._match_type: GsaActivityLogMatchType | Unset_Type = Unset - - self.database_key_to_match = database_key_to_match - if match_type is not Unset: - self.match_type = match_type - - @property - def database_key_to_match(self) -> "str | None": - """Gets the database_key_to_match of this GsaActivityLogDatabaseKeyFilter. - - Returns - ------- - str | None - The database_key_to_match of this GsaActivityLogDatabaseKeyFilter. - """ - return self._database_key_to_match - - @database_key_to_match.setter - def database_key_to_match(self, database_key_to_match: "str | None") -> None: - """Sets the database_key_to_match of this GsaActivityLogDatabaseKeyFilter. - - Parameters - ---------- - database_key_to_match: str | None - The database_key_to_match of this GsaActivityLogDatabaseKeyFilter. - """ - # Field is required - if database_key_to_match is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'database_key_to_match', must not be 'Unset'") - self._database_key_to_match = database_key_to_match - - @property - def match_type(self) -> "GsaActivityLogMatchType | Unset_Type": - """Gets the match_type of this GsaActivityLogDatabaseKeyFilter. - - Returns - ------- - GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogDatabaseKeyFilter. - """ - return self._match_type - - @match_type.setter - def match_type(self, match_type: "GsaActivityLogMatchType | Unset_Type") -> None: - """Sets the match_type of this GsaActivityLogDatabaseKeyFilter. - - Parameters - ---------- - match_type: GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogDatabaseKeyFilter. - """ - # Field is not nullable - if match_type is None: - raise ValueError("Invalid value for 'match_type', must not be 'None'") - self._match_type = match_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, GsaActivityLogDatabaseKeyFilter): - 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/v2026r1/models/gsa_activity_log_date_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_date_filter.py deleted file mode 100644 index d7cd56e8..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_date_filter.py +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogDateFilter(ModelBase): - """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] = { - "date_from": "datetime", - "date_from_inclusive": "bool", - "date_to": "datetime", - "date_to_inclusive": "bool", - } - - attribute_map: dict[str, str] = { - "date_from": "dateFrom", - "date_from_inclusive": "dateFromInclusive", - "date_to": "dateTo", - "date_to_inclusive": "dateToInclusive", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - date_from: "datetime | None | Unset_Type" = Unset, - date_from_inclusive: "bool | Unset_Type" = Unset, - date_to: "datetime | None | Unset_Type" = Unset, - date_to_inclusive: "bool | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogDateFilter - a model defined in Swagger - - Parameters - ---------- - date_from: datetime | None, optional - date_from_inclusive: bool, optional - date_to: datetime | None, optional - date_to_inclusive: bool, optional - """ - self._date_from: datetime | None | Unset_Type = Unset - self._date_from_inclusive: bool | Unset_Type = Unset - self._date_to: datetime | None | Unset_Type = Unset - self._date_to_inclusive: bool | Unset_Type = Unset - - if date_from is not Unset: - self.date_from = date_from - if date_from_inclusive is not Unset: - self.date_from_inclusive = date_from_inclusive - if date_to is not Unset: - self.date_to = date_to - if date_to_inclusive is not Unset: - self.date_to_inclusive = date_to_inclusive - - @property - def date_from(self) -> "datetime | None | Unset_Type": - """Gets the date_from of this GsaActivityLogDateFilter. - - Returns - ------- - datetime | None | Unset_Type - The date_from of this GsaActivityLogDateFilter. - """ - return self._date_from - - @date_from.setter - def date_from(self, date_from: "datetime | None | Unset_Type") -> None: - """Sets the date_from of this GsaActivityLogDateFilter. - - Parameters - ---------- - date_from: datetime | None | Unset_Type - The date_from of this GsaActivityLogDateFilter. - """ - self._date_from = date_from - - @property - def date_from_inclusive(self) -> "bool | Unset_Type": - """Gets the date_from_inclusive of this GsaActivityLogDateFilter. - - Returns - ------- - bool | Unset_Type - The date_from_inclusive of this GsaActivityLogDateFilter. - """ - return self._date_from_inclusive - - @date_from_inclusive.setter - def date_from_inclusive(self, date_from_inclusive: "bool | Unset_Type") -> None: - """Sets the date_from_inclusive of this GsaActivityLogDateFilter. - - Parameters - ---------- - date_from_inclusive: bool | Unset_Type - The date_from_inclusive of this GsaActivityLogDateFilter. - """ - # Field is not nullable - if date_from_inclusive is None: - raise ValueError("Invalid value for 'date_from_inclusive', must not be 'None'") - self._date_from_inclusive = date_from_inclusive - - @property - def date_to(self) -> "datetime | None | Unset_Type": - """Gets the date_to of this GsaActivityLogDateFilter. - - Returns - ------- - datetime | None | Unset_Type - The date_to of this GsaActivityLogDateFilter. - """ - return self._date_to - - @date_to.setter - def date_to(self, date_to: "datetime | None | Unset_Type") -> None: - """Sets the date_to of this GsaActivityLogDateFilter. - - Parameters - ---------- - date_to: datetime | None | Unset_Type - The date_to of this GsaActivityLogDateFilter. - """ - self._date_to = date_to - - @property - def date_to_inclusive(self) -> "bool | Unset_Type": - """Gets the date_to_inclusive of this GsaActivityLogDateFilter. - - Returns - ------- - bool | Unset_Type - The date_to_inclusive of this GsaActivityLogDateFilter. - """ - return self._date_to_inclusive - - @date_to_inclusive.setter - def date_to_inclusive(self, date_to_inclusive: "bool | Unset_Type") -> None: - """Sets the date_to_inclusive of this GsaActivityLogDateFilter. - - Parameters - ---------- - date_to_inclusive: bool | Unset_Type - The date_to_inclusive of this GsaActivityLogDateFilter. - """ - # Field is not nullable - if date_to_inclusive is None: - raise ValueError("Invalid value for 'date_to_inclusive', must not be 'None'") - self._date_to_inclusive = date_to_inclusive - - @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, GsaActivityLogDateFilter): - 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/v2026r1/models/gsa_activity_log_entries_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_filter.py deleted file mode 100644 index 5a42dbc2..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_filter.py +++ /dev/null @@ -1,327 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogEntriesFilter(ModelBase): - """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] = { - "application_name_filter": "GsaActivityLogApplicationNameFilter", - "application_names_collection_filter": "GsaActivityLogApplicationNamesCollectionFilter", - "database_key_filter": "GsaActivityLogDatabaseKeyFilter", - "date_filter": "GsaActivityLogDateFilter", - "usage_mode_filter": "GsaActivityLogUsageModeFilter", - "username_filter": "GsaActivityLogUsernameFilter", - } - - attribute_map: dict[str, str] = { - "application_name_filter": "applicationNameFilter", - "application_names_collection_filter": "applicationNamesCollectionFilter", - "database_key_filter": "databaseKeyFilter", - "date_filter": "dateFilter", - "usage_mode_filter": "usageModeFilter", - "username_filter": "usernameFilter", - } - - subtype_mapping: dict[str, str] = { - "dateFilter": "GsaActivityLogDateFilter", - "usernameFilter": "GsaActivityLogUsernameFilter", - "applicationNamesCollectionFilter": "GsaActivityLogApplicationNamesCollectionFilter", - "applicationNameFilter": "GsaActivityLogApplicationNameFilter", - "databaseKeyFilter": "GsaActivityLogDatabaseKeyFilter", - "usageModeFilter": "GsaActivityLogUsageModeFilter", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - application_name_filter: "GsaActivityLogApplicationNameFilter | Unset_Type" = Unset, - application_names_collection_filter: "GsaActivityLogApplicationNamesCollectionFilter | Unset_Type" = Unset, - database_key_filter: "GsaActivityLogDatabaseKeyFilter | Unset_Type" = Unset, - date_filter: "GsaActivityLogDateFilter | Unset_Type" = Unset, - usage_mode_filter: "GsaActivityLogUsageModeFilter | Unset_Type" = Unset, - username_filter: "GsaActivityLogUsernameFilter | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogEntriesFilter - a model defined in Swagger - - Parameters - ---------- - application_name_filter: GsaActivityLogApplicationNameFilter, optional - application_names_collection_filter: GsaActivityLogApplicationNamesCollectionFilter, optional - database_key_filter: GsaActivityLogDatabaseKeyFilter, optional - date_filter: GsaActivityLogDateFilter, optional - usage_mode_filter: GsaActivityLogUsageModeFilter, optional - username_filter: GsaActivityLogUsernameFilter, optional - """ - self._date_filter: GsaActivityLogDateFilter | Unset_Type = Unset - self._username_filter: GsaActivityLogUsernameFilter | Unset_Type = Unset - self._application_names_collection_filter: ( - GsaActivityLogApplicationNamesCollectionFilter | Unset_Type - ) = Unset - self._application_name_filter: GsaActivityLogApplicationNameFilter | Unset_Type = Unset - self._database_key_filter: GsaActivityLogDatabaseKeyFilter | Unset_Type = Unset - self._usage_mode_filter: GsaActivityLogUsageModeFilter | Unset_Type = Unset - - if date_filter is not Unset: - self.date_filter = date_filter - if username_filter is not Unset: - self.username_filter = username_filter - if application_names_collection_filter is not Unset: - self.application_names_collection_filter = application_names_collection_filter - if application_name_filter is not Unset: - self.application_name_filter = application_name_filter - if database_key_filter is not Unset: - self.database_key_filter = database_key_filter - if usage_mode_filter is not Unset: - self.usage_mode_filter = usage_mode_filter - - @property - def date_filter(self) -> "GsaActivityLogDateFilter | Unset_Type": - """Gets the date_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogDateFilter | Unset_Type - The date_filter of this GsaActivityLogEntriesFilter. - """ - return self._date_filter - - @date_filter.setter - def date_filter(self, date_filter: "GsaActivityLogDateFilter | Unset_Type") -> None: - """Sets the date_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - date_filter: GsaActivityLogDateFilter | Unset_Type - The date_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if date_filter is None: - raise ValueError("Invalid value for 'date_filter', must not be 'None'") - self._date_filter = date_filter - - @property - def username_filter(self) -> "GsaActivityLogUsernameFilter | Unset_Type": - """Gets the username_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogUsernameFilter | Unset_Type - The username_filter of this GsaActivityLogEntriesFilter. - """ - return self._username_filter - - @username_filter.setter - def username_filter(self, username_filter: "GsaActivityLogUsernameFilter | Unset_Type") -> None: - """Sets the username_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - username_filter: GsaActivityLogUsernameFilter | Unset_Type - The username_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if username_filter is None: - raise ValueError("Invalid value for 'username_filter', must not be 'None'") - self._username_filter = username_filter - - @property - def application_names_collection_filter( - self, - ) -> "GsaActivityLogApplicationNamesCollectionFilter | Unset_Type": - """Gets the application_names_collection_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogApplicationNamesCollectionFilter | Unset_Type - The application_names_collection_filter of this GsaActivityLogEntriesFilter. - """ - return self._application_names_collection_filter - - @application_names_collection_filter.setter - def application_names_collection_filter( - self, - application_names_collection_filter: "GsaActivityLogApplicationNamesCollectionFilter | Unset_Type", - ) -> None: - """Sets the application_names_collection_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - application_names_collection_filter: GsaActivityLogApplicationNamesCollectionFilter | Unset_Type - The application_names_collection_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if application_names_collection_filter is None: - raise ValueError( - "Invalid value for 'application_names_collection_filter', must not be 'None'" - ) - self._application_names_collection_filter = application_names_collection_filter - - @property - def application_name_filter(self) -> "GsaActivityLogApplicationNameFilter | Unset_Type": - """Gets the application_name_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogApplicationNameFilter | Unset_Type - The application_name_filter of this GsaActivityLogEntriesFilter. - """ - return self._application_name_filter - - @application_name_filter.setter - def application_name_filter( - self, application_name_filter: "GsaActivityLogApplicationNameFilter | Unset_Type" - ) -> None: - """Sets the application_name_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - application_name_filter: GsaActivityLogApplicationNameFilter | Unset_Type - The application_name_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if application_name_filter is None: - raise ValueError("Invalid value for 'application_name_filter', must not be 'None'") - self._application_name_filter = application_name_filter - - @property - def database_key_filter(self) -> "GsaActivityLogDatabaseKeyFilter | Unset_Type": - """Gets the database_key_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogDatabaseKeyFilter | Unset_Type - The database_key_filter of this GsaActivityLogEntriesFilter. - """ - return self._database_key_filter - - @database_key_filter.setter - def database_key_filter( - self, database_key_filter: "GsaActivityLogDatabaseKeyFilter | Unset_Type" - ) -> None: - """Sets the database_key_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - database_key_filter: GsaActivityLogDatabaseKeyFilter | Unset_Type - The database_key_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if database_key_filter is None: - raise ValueError("Invalid value for 'database_key_filter', must not be 'None'") - self._database_key_filter = database_key_filter - - @property - def usage_mode_filter(self) -> "GsaActivityLogUsageModeFilter | Unset_Type": - """Gets the usage_mode_filter of this GsaActivityLogEntriesFilter. - - Returns - ------- - GsaActivityLogUsageModeFilter | Unset_Type - The usage_mode_filter of this GsaActivityLogEntriesFilter. - """ - return self._usage_mode_filter - - @usage_mode_filter.setter - def usage_mode_filter( - self, usage_mode_filter: "GsaActivityLogUsageModeFilter | Unset_Type" - ) -> None: - """Sets the usage_mode_filter of this GsaActivityLogEntriesFilter. - - Parameters - ---------- - usage_mode_filter: GsaActivityLogUsageModeFilter | Unset_Type - The usage_mode_filter of this GsaActivityLogEntriesFilter. - """ - # Field is not nullable - if usage_mode_filter is None: - raise ValueError("Invalid value for 'usage_mode_filter', must not be 'None'") - self._usage_mode_filter = usage_mode_filter - - @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, GsaActivityLogEntriesFilter): - 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/v2026r1/models/gsa_activity_log_entry.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py deleted file mode 100644 index 3d224385..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entry.py +++ /dev/null @@ -1,280 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogEntry(ModelBase): - """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] = { - "_date": "datetime", - "application_names": "list[str]", - "usage_mode": "GsaActivityLogUsageMode", - "username": "str", - "database_key": "str", - } - - attribute_map: dict[str, str] = { - "_date": "date", - "application_names": "applicationNames", - "usage_mode": "usageMode", - "username": "username", - "database_key": "databaseKey", - } - - subtype_mapping: dict[str, str] = { - "usageMode": "GsaActivityLogUsageMode", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - _date: "datetime", - application_names: "list[str]", - usage_mode: "GsaActivityLogUsageMode", - username: "str", - database_key: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogEntry - a model defined in Swagger - - Parameters - ---------- - _date: datetime - application_names: list[str] - usage_mode: GsaActivityLogUsageMode - username: str - database_key: str | None, optional - """ - self.__date: datetime - self._username: str - self._application_names: list[str] - self._database_key: str | None | Unset_Type = Unset - self._usage_mode: GsaActivityLogUsageMode - - self._date = _date - self.username = username - self.application_names = application_names - if database_key is not Unset: - self.database_key = database_key - self.usage_mode = usage_mode - - @property - def _date(self) -> "datetime": - """Gets the _date of this GsaActivityLogEntry. - - Returns - ------- - datetime - The _date of this GsaActivityLogEntry. - """ - return self.__date - - @_date.setter - def _date(self, _date: "datetime") -> None: - """Sets the _date of this GsaActivityLogEntry. - - Parameters - ---------- - _date: datetime - The _date of this GsaActivityLogEntry. - """ - # Field is not nullable - if _date is None: - raise ValueError("Invalid value for '_date', must not be 'None'") - # Field is required - if _date is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for '_date', must not be 'Unset'") - self.__date = _date - - @property - def username(self) -> "str": - """Gets the username of this GsaActivityLogEntry. - - Returns - ------- - str - The username of this GsaActivityLogEntry. - """ - return self._username - - @username.setter - def username(self, username: "str") -> None: - """Sets the username of this GsaActivityLogEntry. - - Parameters - ---------- - username: str - The username of this GsaActivityLogEntry. - """ - # Field is not nullable - if username is None: - raise ValueError("Invalid value for 'username', must not be 'None'") - # Field is required - if username is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'username', must not be 'Unset'") - self._username = username - - @property - def application_names(self) -> "list[str]": - """Gets the application_names of this GsaActivityLogEntry. - - Returns - ------- - list[str] - The application_names of this GsaActivityLogEntry. - """ - return self._application_names - - @application_names.setter - def application_names(self, application_names: "list[str]") -> None: - """Sets the application_names of this GsaActivityLogEntry. - - Parameters - ---------- - application_names: list[str] - The application_names of this GsaActivityLogEntry. - """ - # Field is not nullable - if application_names is None: - raise ValueError("Invalid value for 'application_names', must not be 'None'") - # Field is required - if application_names is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'application_names', must not be 'Unset'") - self._application_names = application_names - - @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaActivityLogEntry. - - Returns - ------- - str | None | Unset_Type - The database_key of this GsaActivityLogEntry. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaActivityLogEntry. - - Parameters - ---------- - database_key: str | None | Unset_Type - The database_key of this GsaActivityLogEntry. - """ - self._database_key = database_key - - @property - def usage_mode(self) -> "GsaActivityLogUsageMode": - """Gets the usage_mode of this GsaActivityLogEntry. - - Returns - ------- - GsaActivityLogUsageMode - The usage_mode of this GsaActivityLogEntry. - """ - return self._usage_mode - - @usage_mode.setter - def usage_mode(self, usage_mode: "GsaActivityLogUsageMode") -> None: - """Sets the usage_mode of this GsaActivityLogEntry. - - Parameters - ---------- - usage_mode: GsaActivityLogUsageMode - The usage_mode of this GsaActivityLogEntry. - """ - # Field is not nullable - if usage_mode is None: - raise ValueError("Invalid value for 'usage_mode', must not be 'None'") - # Field is required - if usage_mode is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'usage_mode', must not be 'Unset'") - self._usage_mode = usage_mode - - @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, GsaActivityLogEntry): - 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/v2026r1/models/gsa_activity_log_match_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_match_type.py deleted file mode 100644 index dc0758a7..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_match_type.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaActivityLogMatchType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - EXACTMATCHCASEINSENSITIVE = "exactMatchCaseInsensitive" - CONTAINSCASEINSENSITIVE = "containsCaseInsensitive" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode.py deleted file mode 100644 index 713b8617..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaActivityLogUsageMode(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - VIEW = "view" - EDIT = "edit" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode_filter.py deleted file mode 100644 index 3b7e653e..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_usage_mode_filter.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogUsageModeFilter(ModelBase): - """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] = { - "usage_mode_to_match": "GsaActivityLogUsageMode", - } - - attribute_map: dict[str, str] = { - "usage_mode_to_match": "usageModeToMatch", - } - - subtype_mapping: dict[str, str] = { - "usageModeToMatch": "GsaActivityLogUsageMode", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - usage_mode_to_match: "GsaActivityLogUsageMode", - ) -> None: - """GsaActivityLogUsageModeFilter - a model defined in Swagger - - Parameters - ---------- - usage_mode_to_match: GsaActivityLogUsageMode - """ - self._usage_mode_to_match: GsaActivityLogUsageMode - - self.usage_mode_to_match = usage_mode_to_match - - @property - def usage_mode_to_match(self) -> "GsaActivityLogUsageMode": - """Gets the usage_mode_to_match of this GsaActivityLogUsageModeFilter. - - Returns - ------- - GsaActivityLogUsageMode - The usage_mode_to_match of this GsaActivityLogUsageModeFilter. - """ - return self._usage_mode_to_match - - @usage_mode_to_match.setter - def usage_mode_to_match(self, usage_mode_to_match: "GsaActivityLogUsageMode") -> None: - """Sets the usage_mode_to_match of this GsaActivityLogUsageModeFilter. - - Parameters - ---------- - usage_mode_to_match: GsaActivityLogUsageMode - The usage_mode_to_match of this GsaActivityLogUsageModeFilter. - """ - # Field is not nullable - if usage_mode_to_match is None: - raise ValueError("Invalid value for 'usage_mode_to_match', must not be 'None'") - # Field is required - if usage_mode_to_match is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'usage_mode_to_match', must not be 'Unset'") - self._usage_mode_to_match = usage_mode_to_match - - @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, GsaActivityLogUsageModeFilter): - 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/v2026r1/models/gsa_activity_log_username_filter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_username_filter.py deleted file mode 100644 index 96995d96..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_username_filter.py +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaActivityLogUsernameFilter(ModelBase): - """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] = { - "username_to_match": "str", - "match_type": "GsaActivityLogMatchType", - } - - attribute_map: dict[str, str] = { - "username_to_match": "usernameToMatch", - "match_type": "matchType", - } - - subtype_mapping: dict[str, str] = { - "matchType": "GsaActivityLogMatchType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - username_to_match: "str", - match_type: "GsaActivityLogMatchType | Unset_Type" = Unset, - ) -> None: - """GsaActivityLogUsernameFilter - a model defined in Swagger - - Parameters - ---------- - username_to_match: str - match_type: GsaActivityLogMatchType, optional - """ - self._username_to_match: str - self._match_type: GsaActivityLogMatchType | Unset_Type = Unset - - self.username_to_match = username_to_match - if match_type is not Unset: - self.match_type = match_type - - @property - def username_to_match(self) -> "str": - """Gets the username_to_match of this GsaActivityLogUsernameFilter. - - Returns - ------- - str - The username_to_match of this GsaActivityLogUsernameFilter. - """ - return self._username_to_match - - @username_to_match.setter - def username_to_match(self, username_to_match: "str") -> None: - """Sets the username_to_match of this GsaActivityLogUsernameFilter. - - Parameters - ---------- - username_to_match: str - The username_to_match of this GsaActivityLogUsernameFilter. - """ - # Field is not nullable - if username_to_match is None: - raise ValueError("Invalid value for 'username_to_match', must not be 'None'") - # Field is required - if username_to_match is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'username_to_match', must not be 'Unset'") - self._username_to_match = username_to_match - - @property - def match_type(self) -> "GsaActivityLogMatchType | Unset_Type": - """Gets the match_type of this GsaActivityLogUsernameFilter. - - Returns - ------- - GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogUsernameFilter. - """ - return self._match_type - - @match_type.setter - def match_type(self, match_type: "GsaActivityLogMatchType | Unset_Type") -> None: - """Sets the match_type of this GsaActivityLogUsernameFilter. - - Parameters - ---------- - match_type: GsaActivityLogMatchType | Unset_Type - The match_type of this GsaActivityLogUsernameFilter. - """ - # Field is not nullable - if match_type is None: - raise ValueError("Invalid value for 'match_type', must not be 'None'") - self._match_type = match_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, GsaActivityLogUsernameFilter): - 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/v2026r1/models/gsa_apply_options.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_apply_options.py deleted file mode 100644 index 807db9da..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_apply_options.py +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaApplyOptions(ModelBase): - """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] = { - "apply_adds_as_state": "bool", - "match_mode": "GsaMatchMode", - "retarget_tabular_attributes": "bool", - } - - attribute_map: dict[str, str] = { - "apply_adds_as_state": "applyAddsAsState", - "match_mode": "matchMode", - "retarget_tabular_attributes": "retargetTabularAttributes", - } - - subtype_mapping: dict[str, str] = { - "matchMode": "GsaMatchMode", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - apply_adds_as_state: "bool | Unset_Type" = Unset, - match_mode: "GsaMatchMode | Unset_Type" = Unset, - retarget_tabular_attributes: "bool | Unset_Type" = Unset, - ) -> None: - """GsaApplyOptions - a model defined in Swagger - - Parameters - ---------- - apply_adds_as_state: bool, optional - match_mode: GsaMatchMode, optional - retarget_tabular_attributes: bool, optional - """ - self._match_mode: GsaMatchMode | Unset_Type = Unset - self._apply_adds_as_state: bool | Unset_Type = Unset - self._retarget_tabular_attributes: bool | Unset_Type = Unset - - if match_mode is not Unset: - self.match_mode = match_mode - if apply_adds_as_state is not Unset: - self.apply_adds_as_state = apply_adds_as_state - if retarget_tabular_attributes is not Unset: - self.retarget_tabular_attributes = retarget_tabular_attributes - - @property - def match_mode(self) -> "GsaMatchMode | Unset_Type": - """Gets the match_mode of this GsaApplyOptions. - - Returns - ------- - GsaMatchMode | Unset_Type - The match_mode of this GsaApplyOptions. - """ - return self._match_mode - - @match_mode.setter - def match_mode(self, match_mode: "GsaMatchMode | Unset_Type") -> None: - """Sets the match_mode of this GsaApplyOptions. - - Parameters - ---------- - match_mode: GsaMatchMode | Unset_Type - The match_mode of this GsaApplyOptions. - """ - # Field is not nullable - if match_mode is None: - raise ValueError("Invalid value for 'match_mode', must not be 'None'") - self._match_mode = match_mode - - @property - def apply_adds_as_state(self) -> "bool | Unset_Type": - """Gets the apply_adds_as_state of this GsaApplyOptions. - - Returns - ------- - bool | Unset_Type - The apply_adds_as_state of this GsaApplyOptions. - """ - return self._apply_adds_as_state - - @apply_adds_as_state.setter - def apply_adds_as_state(self, apply_adds_as_state: "bool | Unset_Type") -> None: - """Sets the apply_adds_as_state of this GsaApplyOptions. - - Parameters - ---------- - apply_adds_as_state: bool | Unset_Type - The apply_adds_as_state of this GsaApplyOptions. - """ - # Field is not nullable - if apply_adds_as_state is None: - raise ValueError("Invalid value for 'apply_adds_as_state', must not be 'None'") - self._apply_adds_as_state = apply_adds_as_state - - @property - def retarget_tabular_attributes(self) -> "bool | Unset_Type": - """Gets the retarget_tabular_attributes of this GsaApplyOptions. - - Returns - ------- - bool | Unset_Type - The retarget_tabular_attributes of this GsaApplyOptions. - """ - return self._retarget_tabular_attributes - - @retarget_tabular_attributes.setter - def retarget_tabular_attributes(self, retarget_tabular_attributes: "bool | Unset_Type") -> None: - """Sets the retarget_tabular_attributes of this GsaApplyOptions. - - Parameters - ---------- - retarget_tabular_attributes: bool | Unset_Type - The retarget_tabular_attributes of this GsaApplyOptions. - """ - # Field is not nullable - if retarget_tabular_attributes is None: - raise ValueError("Invalid value for 'retarget_tabular_attributes', must not be 'None'") - self._retarget_tabular_attributes = retarget_tabular_attributes - - @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, GsaApplyOptions): - 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/v2026r1/models/gsa_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py index 6c922687..f902d224 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute.py @@ -68,7 +68,6 @@ class GsaAttribute(ModelBase): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -83,7 +82,6 @@ class GsaAttribute(ModelBase): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -129,7 +127,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType", @@ -146,7 +143,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -161,7 +157,6 @@ def __init__( self._type: GsaAttributeType self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset self._is_hidden_from_search_criteria: bool - self._is_protected: bool self._table: GsaSlimEntity self._display_names: dict[str, str] self._name: str @@ -177,7 +172,6 @@ def __init__( if about_attribute is not Unset: self.about_attribute = about_attribute self.is_hidden_from_search_criteria = is_hidden_from_search_criteria - self.is_protected = is_protected self.table = table self.display_names = display_names self.name = name @@ -373,36 +367,6 @@ def is_hidden_from_search_criteria(self, is_hidden_from_search_criteria: "bool") ) self._is_hidden_from_search_criteria = is_hidden_from_search_criteria - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaAttribute. - If true, the attribute is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaAttribute. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaAttribute. - If true, the attribute is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaAttribute. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - @property def table(self) -> "GsaSlimEntity": """Gets the table of this GsaAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_creation_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_creation_exception.py index 92cc0d5c..79743821 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_creation_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_creation_exception.py @@ -61,7 +61,7 @@ class GsaAttributeCreationException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaAttributeErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaAttributeCreationException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaAttributeErrorDetail", } @@ -82,7 +82,7 @@ class GsaAttributeCreationException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaAttributeErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaAttributeErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaAttributeErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaAttributeCreationException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaAttributeCreationException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaAttributeCreationException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaAttributeCreationException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_deletion_exception.py index 8c071c72..e5e8ba49 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_deletion_exception.py @@ -61,7 +61,7 @@ class GsaAttributeDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaAttributeDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaAttributeDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaAttributeDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaAttributeDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaAttributeDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaAttributeDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_info.py index 24116f09..707b2796 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_attribute_info.py @@ -70,9 +70,9 @@ class GsaAttributeInfo(ModelBase): "primary_data_link_groups": "list[GsaSlimNamedEntity]", "standard_names": "list[GsaSlimNamedEntity]", "type_code": "str", - "foreign_smart_link_groups": "list[GsaSlimNamedEntity]", + "foreign_dynamic_link_groups": "list[GsaSlimNamedEntity]", "ordered_meta_attributes": "list[GsaSlimTypedAttribute]", - "primary_smart_link_groups": "list[GsaSlimNamedEntity]", + "primary_dynamic_link_groups": "list[GsaSlimNamedEntity]", } attribute_map: dict[str, str] = { @@ -85,9 +85,9 @@ class GsaAttributeInfo(ModelBase): "primary_data_link_groups": "primaryDataLinkGroups", "standard_names": "standardNames", "type_code": "typeCode", - "foreign_smart_link_groups": "foreignSmartLinkGroups", + "foreign_dynamic_link_groups": "foreignDynamicLinkGroups", "ordered_meta_attributes": "orderedMetaAttributes", - "primary_smart_link_groups": "primarySmartLinkGroups", + "primary_dynamic_link_groups": "primaryDynamicLinkGroups", } subtype_mapping: dict[str, str] = { @@ -95,8 +95,8 @@ class GsaAttributeInfo(ModelBase): "standardNames": "GsaSlimNamedEntity", "primaryDataLinkGroups": "GsaSlimNamedEntity", "foreignDataLinkGroups": "GsaSlimNamedEntity", - "primarySmartLinkGroups": "GsaSlimNamedEntity", - "foreignSmartLinkGroups": "GsaSlimNamedEntity", + "primaryDynamicLinkGroups": "GsaSlimNamedEntity", + "foreignDynamicLinkGroups": "GsaSlimNamedEntity", } discriminator: Optional[str] = None @@ -113,9 +113,9 @@ def __init__( primary_data_link_groups: "list[GsaSlimNamedEntity]", standard_names: "list[GsaSlimNamedEntity]", type_code: "str", - foreign_smart_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" = Unset, + foreign_dynamic_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" = Unset, ordered_meta_attributes: "list[GsaSlimTypedAttribute] | None | Unset_Type" = Unset, - primary_smart_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" = Unset, + primary_dynamic_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" = Unset, ) -> None: """GsaAttributeInfo - a model defined in Swagger @@ -130,9 +130,9 @@ def __init__( primary_data_link_groups: list[GsaSlimNamedEntity] standard_names: list[GsaSlimNamedEntity] type_code: str - foreign_smart_link_groups: list[GsaSlimNamedEntity] | None, optional + foreign_dynamic_link_groups: list[GsaSlimNamedEntity] | None, optional ordered_meta_attributes: list[GsaSlimTypedAttribute] | None, optional - primary_smart_link_groups: list[GsaSlimNamedEntity] | None, optional + primary_dynamic_link_groups: list[GsaSlimNamedEntity] | None, optional """ self._type_code: str self._chartable: bool @@ -144,8 +144,8 @@ def __init__( self._standard_names: list[GsaSlimNamedEntity] self._primary_data_link_groups: list[GsaSlimNamedEntity] self._foreign_data_link_groups: list[GsaSlimNamedEntity] - self._primary_smart_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type = Unset - self._foreign_smart_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type = Unset + self._primary_dynamic_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type = Unset + self._foreign_dynamic_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type = Unset self.type_code = type_code self.chartable = chartable @@ -158,10 +158,10 @@ def __init__( self.standard_names = standard_names self.primary_data_link_groups = primary_data_link_groups self.foreign_data_link_groups = foreign_data_link_groups - if primary_smart_link_groups is not Unset: - self.primary_smart_link_groups = primary_smart_link_groups - if foreign_smart_link_groups is not Unset: - self.foreign_smart_link_groups = foreign_smart_link_groups + if primary_dynamic_link_groups is not Unset: + self.primary_dynamic_link_groups = primary_dynamic_link_groups + if foreign_dynamic_link_groups is not Unset: + self.foreign_dynamic_link_groups = foreign_dynamic_link_groups @property def type_code(self) -> "str": @@ -450,52 +450,52 @@ def foreign_data_link_groups( self._foreign_data_link_groups = foreign_data_link_groups @property - def primary_smart_link_groups(self) -> "list[GsaSlimNamedEntity] | None | Unset_Type": - """Gets the primary_smart_link_groups of this GsaAttributeInfo. + def primary_dynamic_link_groups(self) -> "list[GsaSlimNamedEntity] | None | Unset_Type": + """Gets the primary_dynamic_link_groups of this GsaAttributeInfo. Returns ------- list[GsaSlimNamedEntity] | None | Unset_Type - The primary_smart_link_groups of this GsaAttributeInfo. + The primary_dynamic_link_groups of this GsaAttributeInfo. """ - return self._primary_smart_link_groups + return self._primary_dynamic_link_groups - @primary_smart_link_groups.setter - def primary_smart_link_groups( - self, primary_smart_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" + @primary_dynamic_link_groups.setter + def primary_dynamic_link_groups( + self, primary_dynamic_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" ) -> None: - """Sets the primary_smart_link_groups of this GsaAttributeInfo. + """Sets the primary_dynamic_link_groups of this GsaAttributeInfo. Parameters ---------- - primary_smart_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type - The primary_smart_link_groups of this GsaAttributeInfo. + primary_dynamic_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type + The primary_dynamic_link_groups of this GsaAttributeInfo. """ - self._primary_smart_link_groups = primary_smart_link_groups + self._primary_dynamic_link_groups = primary_dynamic_link_groups @property - def foreign_smart_link_groups(self) -> "list[GsaSlimNamedEntity] | None | Unset_Type": - """Gets the foreign_smart_link_groups of this GsaAttributeInfo. + def foreign_dynamic_link_groups(self) -> "list[GsaSlimNamedEntity] | None | Unset_Type": + """Gets the foreign_dynamic_link_groups of this GsaAttributeInfo. Returns ------- list[GsaSlimNamedEntity] | None | Unset_Type - The foreign_smart_link_groups of this GsaAttributeInfo. + The foreign_dynamic_link_groups of this GsaAttributeInfo. """ - return self._foreign_smart_link_groups + return self._foreign_dynamic_link_groups - @foreign_smart_link_groups.setter - def foreign_smart_link_groups( - self, foreign_smart_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" + @foreign_dynamic_link_groups.setter + def foreign_dynamic_link_groups( + self, foreign_dynamic_link_groups: "list[GsaSlimNamedEntity] | None | Unset_Type" ) -> None: - """Sets the foreign_smart_link_groups of this GsaAttributeInfo. + """Sets the foreign_dynamic_link_groups of this GsaAttributeInfo. Parameters ---------- - foreign_smart_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type - The foreign_smart_link_groups of this GsaAttributeInfo. + foreign_dynamic_link_groups: list[GsaSlimNamedEntity] | None | Unset_Type + The foreign_dynamic_link_groups of this GsaAttributeInfo. """ - self._foreign_smart_link_groups = foreign_smart_link_groups + self._foreign_dynamic_link_groups = foreign_dynamic_link_groups @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_blob_info_dto.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_blob_info_dto.py deleted file mode 100644 index e61bbfc1..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_blob_info_dto.py +++ /dev/null @@ -1,257 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaBlobInfoDto(ModelBase): - """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] = { - "full_path": "str", - "last_write_time_utc": "datetime", - "length": "int", - "name": "str", - } - - attribute_map: dict[str, str] = { - "full_path": "fullPath", - "last_write_time_utc": "lastWriteTimeUtc", - "length": "length", - "name": "name", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - full_path: "str", - last_write_time_utc: "datetime", - length: "int", - name: "str", - ) -> None: - """GsaBlobInfoDto - a model defined in Swagger - - Parameters - ---------- - full_path: str - last_write_time_utc: datetime - length: int - name: str - """ - self._name: str - self._full_path: str - self._length: int - self._last_write_time_utc: datetime - - self.name = name - self.full_path = full_path - self.length = length - self.last_write_time_utc = last_write_time_utc - - @property - def name(self) -> "str": - """Gets the name of this GsaBlobInfoDto. - Name of the blob. - - Returns - ------- - str - The name of this GsaBlobInfoDto. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GsaBlobInfoDto. - Name of the blob. - - Parameters - ---------- - name: str - The name of this GsaBlobInfoDto. - """ - # 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 full_path(self) -> "str": - """Gets the full_path of this GsaBlobInfoDto. - Full path of the blob. Path segments are separated by '/' The last segment is always blob name. - - Returns - ------- - str - The full_path of this GsaBlobInfoDto. - """ - return self._full_path - - @full_path.setter - def full_path(self, full_path: "str") -> None: - """Sets the full_path of this GsaBlobInfoDto. - Full path of the blob. Path segments are separated by '/' The last segment is always blob name. - - Parameters - ---------- - full_path: str - The full_path of this GsaBlobInfoDto. - """ - # Field is not nullable - if full_path is None: - raise ValueError("Invalid value for 'full_path', must not be 'None'") - # Field is required - if full_path is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'full_path', must not be 'Unset'") - self._full_path = full_path - - @property - def length(self) -> "int": - """Gets the length of this GsaBlobInfoDto. - Blob size in bytes. - - Returns - ------- - int - The length of this GsaBlobInfoDto. - """ - return self._length - - @length.setter - def length(self, length: "int") -> None: - """Sets the length of this GsaBlobInfoDto. - Blob size in bytes. - - Parameters - ---------- - length: int - The length of this GsaBlobInfoDto. - """ - # Field is not nullable - if length is None: - raise ValueError("Invalid value for 'length', must not be 'None'") - # Field is required - if length is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'length', must not be 'Unset'") - self._length = length - - @property - def last_write_time_utc(self) -> "datetime": - """Gets the last_write_time_utc of this GsaBlobInfoDto. - Last modification date. - - Returns - ------- - datetime - The last_write_time_utc of this GsaBlobInfoDto. - """ - return self._last_write_time_utc - - @last_write_time_utc.setter - def last_write_time_utc(self, last_write_time_utc: "datetime") -> None: - """Sets the last_write_time_utc of this GsaBlobInfoDto. - Last modification date. - - Parameters - ---------- - last_write_time_utc: datetime - The last_write_time_utc of this GsaBlobInfoDto. - """ - # Field is not nullable - if last_write_time_utc is None: - raise ValueError("Invalid value for 'last_write_time_utc', must not be 'None'") - # Field is required - if last_write_time_utc is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'last_write_time_utc', must not be 'Unset'") - self._last_write_time_utc = last_write_time_utc - - @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, GsaBlobInfoDto): - 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/v2026r1/models/gsa_circular_reference_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_circular_reference_folder_move_error_detail.py deleted file mode 100644 index be61b7a3..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_circular_reference_folder_move_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_detail import ( # noqa: F401 - GsaFolderMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_reason import ( - GsaFolderMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaCircularReferenceFolderMoveErrorDetail(GsaFolderMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderMoveErrorReason" = GsaFolderMoveErrorReason.CIRCULARREFERENCE, - ) -> None: - """GsaCircularReferenceFolderMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderMoveErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaCircularReferenceFolderMoveErrorDetail): - 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/v2026r1/models/gsa_config_invalid_json_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_config_invalid_json_file_error_detail.py deleted file mode 100644 index 54ec5bf7..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_config_invalid_json_file_error_detail.py +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaConfigInvalidJsonFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.CONFIGINVALIDJSON, - ) -> None: - """GsaConfigInvalidJsonFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaConfigInvalidJsonFileErrorDetail): - 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/v2026r1/models/gsa_configuration_details.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_configuration_details.py deleted file mode 100644 index d996aa7d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_configuration_details.py +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaConfigurationDetails(ModelBase): - """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] = { - "connection_details": "GsaConnectionDetails", - "language": "str", - } - - attribute_map: dict[str, str] = { - "connection_details": "connectionDetails", - "language": "language", - } - - subtype_mapping: dict[str, str] = { - "connectionDetails": "GsaConnectionDetails", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - connection_details: "GsaConnectionDetails", - language: "str", - ) -> None: - """GsaConfigurationDetails - a model defined in Swagger - - Parameters - ---------- - connection_details: GsaConnectionDetails - language: str - """ - self._language: str - self._connection_details: GsaConnectionDetails - - self.language = language - self.connection_details = connection_details - - @property - def language(self) -> "str": - """Gets the language of this GsaConfigurationDetails. - - Returns - ------- - str - The language of this GsaConfigurationDetails. - """ - return self._language - - @language.setter - def language(self, language: "str") -> None: - """Sets the language of this GsaConfigurationDetails. - - Parameters - ---------- - language: str - The language of this GsaConfigurationDetails. - """ - # Field is not nullable - if language is None: - raise ValueError("Invalid value for 'language', must not be 'None'") - # Field is required - if language is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'language', must not be 'Unset'") - self._language = language - - @property - def connection_details(self) -> "GsaConnectionDetails": - """Gets the connection_details of this GsaConfigurationDetails. - - Returns - ------- - GsaConnectionDetails - The connection_details of this GsaConfigurationDetails. - """ - return self._connection_details - - @connection_details.setter - def connection_details(self, connection_details: "GsaConnectionDetails") -> None: - """Sets the connection_details of this GsaConfigurationDetails. - - Parameters - ---------- - connection_details: GsaConnectionDetails - The connection_details of this GsaConfigurationDetails. - """ - # Field is not nullable - if connection_details is None: - raise ValueError("Invalid value for 'connection_details', must not be 'None'") - # Field is required - if connection_details is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'connection_details', must not be 'Unset'") - self._connection_details = connection_details - - @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, GsaConfigurationDetails): - 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/v2026r1/models/gsa_connection_details.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_connection_details.py index a2a520e2..c11f4eaa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_connection_details.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_connection_details.py @@ -90,7 +90,7 @@ def __init__( additional_sql_parameters: "str | None | Unset_Type" = Unset, sql_password: "str | None | Unset_Type" = Unset, sql_username: "str | None | Unset_Type" = Unset, - use_integrated_security: "bool | Unset_Type" = Unset, + use_integrated_security: "bool | None | Unset_Type" = Unset, ) -> None: """GsaConnectionDetails - a model defined in Swagger @@ -101,10 +101,10 @@ def __init__( additional_sql_parameters: str | None, optional sql_password: str | None, optional sql_username: str | None, optional - use_integrated_security: bool, optional + use_integrated_security: bool | None, optional """ self._data_source: str - self._use_integrated_security: bool | Unset_Type = Unset + self._use_integrated_security: bool | None | Unset_Type = Unset self._sql_username: str | None | Unset_Type = Unset self._sql_password: str | None | Unset_Type = Unset self._initial_catalog: str @@ -152,36 +152,33 @@ def data_source(self, data_source: "str") -> None: self._data_source = data_source @property - def use_integrated_security(self) -> "bool | Unset_Type": + def use_integrated_security(self) -> "bool | None | Unset_Type": """Gets the use_integrated_security of this GsaConnectionDetails. - Set to true if the SQL connection to the database should use Windows authentication + Set to true if the SQL connection to the new database should use Windows authentication Returns ------- - bool | Unset_Type + bool | None | Unset_Type The use_integrated_security of this GsaConnectionDetails. """ return self._use_integrated_security @use_integrated_security.setter - def use_integrated_security(self, use_integrated_security: "bool | Unset_Type") -> None: + def use_integrated_security(self, use_integrated_security: "bool | None | Unset_Type") -> None: """Sets the use_integrated_security of this GsaConnectionDetails. - Set to true if the SQL connection to the database should use Windows authentication + Set to true if the SQL connection to the new database should use Windows authentication Parameters ---------- - use_integrated_security: bool | Unset_Type + use_integrated_security: bool | None | Unset_Type The use_integrated_security of this GsaConnectionDetails. """ - # Field is not nullable - if use_integrated_security is None: - raise ValueError("Invalid value for 'use_integrated_security', must not be 'None'") self._use_integrated_security = use_integrated_security @property def sql_username(self) -> "str | None | Unset_Type": """Gets the sql_username of this GsaConnectionDetails. - The username to use if the database should use SQL authentication. The password must also be provided. + The username to use if the new database should use SQL authentication. The password must also be provided. Returns ------- @@ -193,7 +190,7 @@ def sql_username(self) -> "str | None | Unset_Type": @sql_username.setter def sql_username(self, sql_username: "str | None | Unset_Type") -> None: """Sets the sql_username of this GsaConnectionDetails. - The username to use if the database should use SQL authentication. The password must also be provided. + The username to use if the new database should use SQL authentication. The password must also be provided. Parameters ---------- @@ -205,7 +202,7 @@ def sql_username(self, sql_username: "str | None | Unset_Type") -> None: @property def sql_password(self) -> "str | None | Unset_Type": """Gets the sql_password of this GsaConnectionDetails. - The password to use if the database should use SQL authentication. The username must also be provided. + The password to use if the new database should use SQL authentication. The username must also be provided. Returns ------- @@ -217,7 +214,7 @@ def sql_password(self) -> "str | None | Unset_Type": @sql_password.setter def sql_password(self, sql_password: "str | None | Unset_Type") -> None: """Sets the sql_password of this GsaConnectionDetails. - The password to use if the database should use SQL authentication. The username must also be provided. + The password to use if the new database should use SQL authentication. The username must also be provided. Parameters ---------- diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_constant_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_constant_deletion_exception.py index af2d12c9..560d16be 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_constant_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_constant_deletion_exception.py @@ -61,7 +61,7 @@ class GsaConstantDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaConstantDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaConstantDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaConstantDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaConstantDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaConstantDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaConstantDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py index ecbdf99e..ce31e740 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_attribute.py @@ -66,7 +66,6 @@ class GsaCreateAttribute(ModelBase): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -76,7 +75,6 @@ class GsaCreateAttribute(ModelBase): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -113,7 +111,6 @@ def __init__( name: "str", type: "GsaAttributeType", default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -125,7 +122,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -134,7 +130,6 @@ def __init__( self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset self._help_path: str | None | Unset_Type = Unset self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset - self._display_names: dict[str, str] | None | Unset_Type = Unset self._name: str self._guid: str | Unset_Type = Unset @@ -145,8 +140,6 @@ def __init__( self.help_path = help_path if is_hidden_from_search_criteria is not Unset: self.is_hidden_from_search_criteria = is_hidden_from_search_criteria - if display_names is not Unset: - self.display_names = display_names self.name = name if guid is not Unset: self.guid = guid @@ -254,30 +247,6 @@ def is_hidden_from_search_criteria( """ self._is_hidden_from_search_criteria = is_hidden_from_search_criteria - @property - def display_names(self) -> "dict[str, str] | None | Unset_Type": - """Gets the display_names of this GsaCreateAttribute. - Set a display name for different languages. Supported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\". - - Returns - ------- - dict[str, str] | None | Unset_Type - The display_names of this GsaCreateAttribute. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "dict[str, str] | None | Unset_Type") -> None: - """Sets the display_names of this GsaCreateAttribute. - Set a display name for different languages. Supported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\". - - Parameters - ---------- - display_names: dict[str, str] | None | Unset_Type - The display_names of this GsaCreateAttribute. - """ - self._display_names = display_names - @property def name(self) -> "str": """Gets the name of this GsaCreateAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_link_target.py deleted file mode 100644 index bca16cbb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_link_target.py +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaCreateCrossDatabaseLinkTarget(ModelBase): - """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] = { - "table_guid": "str", - "database_guid": "str", - } - - attribute_map: dict[str, str] = { - "table_guid": "tableGuid", - "database_guid": "databaseGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - table_guid: "str", - database_guid: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaCreateCrossDatabaseLinkTarget - a model defined in Swagger - - Parameters - ---------- - table_guid: str - database_guid: str | None, optional - """ - self._database_guid: str | None | Unset_Type = Unset - self._table_guid: str - - if database_guid is not Unset: - self.database_guid = database_guid - self.table_guid = table_guid - - @property - def database_guid(self) -> "str | None | Unset_Type": - """Gets the database_guid of this GsaCreateCrossDatabaseLinkTarget. - If databaseGuid is set, the target will match any database with that Guid. If databaseGuid is not set, the target wil match the tableGuid in any database. - - Returns - ------- - str | None | Unset_Type - The database_guid of this GsaCreateCrossDatabaseLinkTarget. - """ - return self._database_guid - - @database_guid.setter - def database_guid(self, database_guid: "str | None | Unset_Type") -> None: - """Sets the database_guid of this GsaCreateCrossDatabaseLinkTarget. - If databaseGuid is set, the target will match any database with that Guid. If databaseGuid is not set, the target wil match the tableGuid in any database. - - Parameters - ---------- - database_guid: str | None | Unset_Type - The database_guid of this GsaCreateCrossDatabaseLinkTarget. - """ - self._database_guid = database_guid - - @property - def table_guid(self) -> "str": - """Gets the table_guid of this GsaCreateCrossDatabaseLinkTarget. - - Returns - ------- - str - The table_guid of this GsaCreateCrossDatabaseLinkTarget. - """ - return self._table_guid - - @table_guid.setter - def table_guid(self, table_guid: "str") -> None: - """Sets the table_guid of this GsaCreateCrossDatabaseLinkTarget. - - Parameters - ---------- - table_guid: str - The table_guid of this GsaCreateCrossDatabaseLinkTarget. - """ - # Field is not nullable - if table_guid is None: - raise ValueError("Invalid value for 'table_guid', must not be 'None'") - # Field is required - if table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table_guid', must not be 'Unset'") - self._table_guid = table_guid - - @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, GsaCreateCrossDatabaseLinkTarget): - 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/v2026r1/models/gsa_create_cross_database_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py index 85d6f787..4f68b2ac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_cross_database_record_link_group.py @@ -68,7 +68,7 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "link_target": "GsaCreateCrossDatabaseLinkTarget", + "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", "type": "GsaRecordLinkGroupType", @@ -85,16 +85,14 @@ class GsaCreateCrossDatabaseRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "includeIndirectLinks", } - subtype_mapping: dict[str, str] = { - "linkTarget": "GsaCreateCrossDatabaseLinkTarget", - } + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - link_target: "GsaCreateCrossDatabaseLinkTarget", + link_target: "GsaLinkTarget", name: "str", reverse_name: "str", type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.CROSSDATABASE, @@ -105,49 +103,21 @@ def __init__( Parameters ---------- - link_target: GsaCreateCrossDatabaseLinkTarget + link_target: GsaLinkTarget name: str reverse_name: str type: GsaRecordLinkGroupType guid: str, optional include_indirect_links: bool, optional """ - super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid) - self._link_target: GsaCreateCrossDatabaseLinkTarget + super().__init__( + link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid + ) self._include_indirect_links: bool | Unset_Type = Unset - self.link_target = link_target if include_indirect_links is not Unset: self.include_indirect_links = include_indirect_links - @property - def link_target(self) -> "GsaCreateCrossDatabaseLinkTarget": - """Gets the link_target of this GsaCreateCrossDatabaseRecordLinkGroup. - - Returns - ------- - GsaCreateCrossDatabaseLinkTarget - The link_target of this GsaCreateCrossDatabaseRecordLinkGroup. - """ - return self._link_target - - @link_target.setter - def link_target(self, link_target: "GsaCreateCrossDatabaseLinkTarget") -> None: - """Sets the link_target of this GsaCreateCrossDatabaseRecordLinkGroup. - - Parameters - ---------- - link_target: GsaCreateCrossDatabaseLinkTarget - The link_target of this GsaCreateCrossDatabaseRecordLinkGroup. - """ - # Field is not nullable - if link_target is None: - raise ValueError("Invalid value for 'link_target', must not be 'None'") - # Field is required - if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'link_target', must not be 'Unset'") - self._link_target = link_target - @property def include_indirect_links(self) -> "bool | Unset_Type": """Gets the include_indirect_links of this GsaCreateCrossDatabaseRecordLinkGroup. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py index 2f4777e4..86129c17 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_date_time_attribute.py @@ -69,7 +69,6 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreateDateTimeAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.DATETIME, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py index 7e782c91..2cb1985c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_attribute.py @@ -70,7 +70,6 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaCreateDiscreteAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -102,7 +100,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.DISCRETE, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -116,7 +113,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -126,7 +122,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py index ec72349d..fb4bc37f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_discrete_functional_attribute.py @@ -71,7 +71,6 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -83,7 +82,6 @@ class GsaCreateDiscreteFunctionalAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -104,7 +102,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -118,7 +115,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -127,7 +123,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_dynamic_record_link_group.py similarity index 76% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_dynamic_record_link_group.py index 635605a5..a1c551bf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_dynamic_record_link_group.py @@ -49,7 +49,7 @@ from . import * -class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup): +class GsaCreateDynamicRecordLinkGroup(GsaCreateRecordLinkGroup): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -69,7 +69,7 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup): """ swagger_types: dict[str, str] = { "attribute_pairs": "list[GsaCreateAttributeLinkPair]", - "link_target": "GsaCreateSmartLinkTarget", + "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", "type": "GsaRecordLinkGroupType", @@ -90,7 +90,6 @@ class GsaCreateSmartRecordLinkGroup(GsaCreateRecordLinkGroup): } subtype_mapping: dict[str, str] = { - "linkTarget": "GsaCreateSmartLinkTarget", "referentialIntegrityModel": "GsaReferentialIntegrityModel", "attributePairs": "GsaCreateAttributeLinkPair", } @@ -101,20 +100,20 @@ def __init__( self, *, attribute_pairs: "list[GsaCreateAttributeLinkPair]", - link_target: "GsaCreateSmartLinkTarget", + link_target: "GsaLinkTarget", name: "str", reverse_name: "str", - type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART, + type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC, forbid_orphans: "bool | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset, ) -> None: - """GsaCreateSmartRecordLinkGroup - a model defined in Swagger + """GsaCreateDynamicRecordLinkGroup - a model defined in Swagger Parameters ---------- attribute_pairs: list[GsaCreateAttributeLinkPair] - link_target: GsaCreateSmartLinkTarget + link_target: GsaLinkTarget name: str reverse_name: str type: GsaRecordLinkGroupType @@ -122,66 +121,38 @@ def __init__( guid: str, optional referential_integrity_model: GsaReferentialIntegrityModel, optional """ - super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid) - self._link_target: GsaCreateSmartLinkTarget + super().__init__( + link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid + ) self._forbid_orphans: bool | Unset_Type = Unset self._referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type = Unset self._attribute_pairs: list[GsaCreateAttributeLinkPair] - self.link_target = link_target if forbid_orphans is not Unset: self.forbid_orphans = forbid_orphans if referential_integrity_model is not Unset: self.referential_integrity_model = referential_integrity_model self.attribute_pairs = attribute_pairs - @property - def link_target(self) -> "GsaCreateSmartLinkTarget": - """Gets the link_target of this GsaCreateSmartRecordLinkGroup. - - Returns - ------- - GsaCreateSmartLinkTarget - The link_target of this GsaCreateSmartRecordLinkGroup. - """ - return self._link_target - - @link_target.setter - def link_target(self, link_target: "GsaCreateSmartLinkTarget") -> None: - """Sets the link_target of this GsaCreateSmartRecordLinkGroup. - - Parameters - ---------- - link_target: GsaCreateSmartLinkTarget - The link_target of this GsaCreateSmartRecordLinkGroup. - """ - # Field is not nullable - if link_target is None: - raise ValueError("Invalid value for 'link_target', must not be 'None'") - # Field is required - if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'link_target', must not be 'Unset'") - self._link_target = link_target - @property def forbid_orphans(self) -> "bool | Unset_Type": - """Gets the forbid_orphans of this GsaCreateSmartRecordLinkGroup. + """Gets the forbid_orphans of this GsaCreateDynamicRecordLinkGroup. Returns ------- bool | Unset_Type - The forbid_orphans of this GsaCreateSmartRecordLinkGroup. + The forbid_orphans of this GsaCreateDynamicRecordLinkGroup. """ return self._forbid_orphans @forbid_orphans.setter def forbid_orphans(self, forbid_orphans: "bool | Unset_Type") -> None: - """Sets the forbid_orphans of this GsaCreateSmartRecordLinkGroup. + """Sets the forbid_orphans of this GsaCreateDynamicRecordLinkGroup. Parameters ---------- forbid_orphans: bool | Unset_Type - The forbid_orphans of this GsaCreateSmartRecordLinkGroup. + The forbid_orphans of this GsaCreateDynamicRecordLinkGroup. """ # Field is not nullable if forbid_orphans is None: @@ -190,12 +161,12 @@ def forbid_orphans(self, forbid_orphans: "bool | Unset_Type") -> None: @property def referential_integrity_model(self) -> "GsaReferentialIntegrityModel | Unset_Type": - """Gets the referential_integrity_model of this GsaCreateSmartRecordLinkGroup. + """Gets the referential_integrity_model of this GsaCreateDynamicRecordLinkGroup. Returns ------- GsaReferentialIntegrityModel | Unset_Type - The referential_integrity_model of this GsaCreateSmartRecordLinkGroup. + The referential_integrity_model of this GsaCreateDynamicRecordLinkGroup. """ return self._referential_integrity_model @@ -203,12 +174,12 @@ def referential_integrity_model(self) -> "GsaReferentialIntegrityModel | Unset_T def referential_integrity_model( self, referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" ) -> None: - """Sets the referential_integrity_model of this GsaCreateSmartRecordLinkGroup. + """Sets the referential_integrity_model of this GsaCreateDynamicRecordLinkGroup. Parameters ---------- referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type - The referential_integrity_model of this GsaCreateSmartRecordLinkGroup. + The referential_integrity_model of this GsaCreateDynamicRecordLinkGroup. """ # Field is not nullable if referential_integrity_model is None: @@ -217,23 +188,23 @@ def referential_integrity_model( @property def attribute_pairs(self) -> "list[GsaCreateAttributeLinkPair]": - """Gets the attribute_pairs of this GsaCreateSmartRecordLinkGroup. + """Gets the attribute_pairs of this GsaCreateDynamicRecordLinkGroup. Returns ------- list[GsaCreateAttributeLinkPair] - The attribute_pairs of this GsaCreateSmartRecordLinkGroup. + The attribute_pairs of this GsaCreateDynamicRecordLinkGroup. """ return self._attribute_pairs @attribute_pairs.setter def attribute_pairs(self, attribute_pairs: "list[GsaCreateAttributeLinkPair]") -> None: - """Sets the attribute_pairs of this GsaCreateSmartRecordLinkGroup. + """Sets the attribute_pairs of this GsaCreateDynamicRecordLinkGroup. Parameters ---------- attribute_pairs: list[GsaCreateAttributeLinkPair] - The attribute_pairs of this GsaCreateSmartRecordLinkGroup. + The attribute_pairs of this GsaCreateDynamicRecordLinkGroup. """ # Field is not nullable if attribute_pairs is None: @@ -265,7 +236,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaCreateSmartRecordLinkGroup): + if not isinstance(other, GsaCreateDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py index a3e85abc..8ce9c0a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_file_attribute.py @@ -69,7 +69,6 @@ class GsaCreateFileAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreateFileAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.FILE, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py index ed4bed87..e984a345 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_float_functional_attribute.py @@ -71,7 +71,6 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): "type": "GsaAttributeType", "axis_name": "GsaCreateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -85,7 +84,6 @@ class GsaCreateFloatFunctionalAttribute(GsaCreateAttribute): "type": "type", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -109,7 +107,6 @@ def __init__( type: "GsaAttributeType" = GsaAttributeType.FLOATFUNCTIONAL, axis_name: "GsaCreateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -125,7 +122,6 @@ def __init__( type: GsaAttributeType axis_name: GsaCreateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -136,7 +132,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py index fef060a5..ef1c8b8f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_hyperlink_attribute.py @@ -69,7 +69,6 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreateHyperlinkAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.HYPERLINK, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py index be4b6a86..4126ac1c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_integer_attribute.py @@ -70,7 +70,6 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute): "type": "GsaAttributeType", "axis_name": "GsaCreateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaCreateIntegerAttribute(GsaCreateAttribute): "type": "type", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -102,7 +100,6 @@ def __init__( type: "GsaAttributeType" = GsaAttributeType.INTEGER, axis_name: "GsaCreateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -116,7 +113,6 @@ def __init__( type: GsaAttributeType axis_name: GsaCreateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -126,7 +122,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py index 830e8d75..e268b3a2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_logical_attribute.py @@ -69,7 +69,6 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreateLogicalAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.LOGICAL, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py index 0191044b..c79637c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_long_text_attribute.py @@ -69,7 +69,6 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreateLongTextAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.LONGTEXT, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py index 235528bb..5c6a6119 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_maths_functional_attribute.py @@ -75,7 +75,6 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute): "axis_name": "GsaCreateAxisName", "default_content": "GsaCreateMathsContent", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "expressions": "list[GsaSlimEntity]", "guid": "str", "help_path": "str", @@ -94,7 +93,6 @@ class GsaCreateMathsFunctionalAttribute(GsaCreateAttribute): "axis_name": "axisName", "default_content": "defaultContent", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "expressions": "expressions", "guid": "guid", "help_path": "helpPath", @@ -125,7 +123,6 @@ def __init__( axis_name: "GsaCreateAxisName | Unset_Type" = Unset, default_content: "GsaCreateMathsContent | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, expressions: "list[GsaSlimEntity] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, @@ -146,7 +143,6 @@ def __init__( axis_name: GsaCreateAxisName, optional default_content: GsaCreateMathsContent, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional expressions: list[GsaSlimEntity] | None, optional guid: str, optional help_path: str | None, optional @@ -158,7 +154,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py index a8828a0b..fc43b7aa 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_picture_attribute.py @@ -69,7 +69,6 @@ class GsaCreatePictureAttribute(GsaCreateAttribute): "name": "str", "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaCreatePictureAttribute(GsaCreateAttribute): "name": "name", "type": "type", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -95,7 +93,6 @@ def __init__( name: "str", type: "GsaAttributeType" = GsaAttributeType.PICTURE, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( name: str type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -116,7 +112,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py index e8e95332..2f947d1a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_point_attribute.py @@ -71,7 +71,6 @@ class GsaCreatePointAttribute(GsaCreateAttribute): "attribute_parameters": "list[GsaSlimEntity]", "axis_name": "GsaCreateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -85,7 +84,6 @@ class GsaCreatePointAttribute(GsaCreateAttribute): "attribute_parameters": "attributeParameters", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -109,7 +107,6 @@ def __init__( attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset, axis_name: "GsaCreateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -125,7 +122,6 @@ def __init__( attribute_parameters: list[GsaSlimEntity] | None, optional axis_name: GsaCreateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -136,7 +132,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py index a50cc676..85cb7e11 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_range_attribute.py @@ -70,7 +70,6 @@ class GsaCreateRangeAttribute(GsaCreateAttribute): "type": "GsaAttributeType", "axis_name": "GsaCreateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaCreateRangeAttribute(GsaCreateAttribute): "type": "type", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -103,7 +101,6 @@ def __init__( type: "GsaAttributeType" = GsaAttributeType.RANGE, axis_name: "GsaCreateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -117,7 +114,6 @@ def __init__( type: GsaAttributeType axis_name: GsaCreateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -127,7 +123,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py index 281f8823..e9b08427 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_record_link_group.py @@ -63,6 +63,7 @@ class GsaCreateRecordLinkGroup(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { + "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", "type": "GsaRecordLinkGroupType", @@ -70,6 +71,7 @@ class GsaCreateRecordLinkGroup(ModelBase): } attribute_map: dict[str, str] = { + "link_target": "linkTarget", "name": "name", "reverse_name": "reverseName", "type": "type", @@ -78,11 +80,12 @@ class GsaCreateRecordLinkGroup(ModelBase): subtype_mapping: dict[str, str] = { "type": "GsaRecordLinkGroupType", + "linkTarget": "GsaLinkTarget", } discriminator_value_class_map = { "static".lower(): "#/components/schemas/GsaCreateStaticRecordLinkGroup", - "smart".lower(): "#/components/schemas/GsaCreateSmartRecordLinkGroup", + "dynamic".lower(): "#/components/schemas/GsaCreateDynamicRecordLinkGroup", "crossDatabase".lower(): "#/components/schemas/GsaCreateCrossDatabaseRecordLinkGroup", } @@ -91,6 +94,7 @@ class GsaCreateRecordLinkGroup(ModelBase): def __init__( self, *, + link_target: "GsaLinkTarget", name: "str", reverse_name: "str", type: "GsaRecordLinkGroupType", @@ -100,17 +104,20 @@ def __init__( Parameters ---------- + link_target: GsaLinkTarget name: str reverse_name: str type: GsaRecordLinkGroupType guid: str, optional """ self._type: GsaRecordLinkGroupType + self._link_target: GsaLinkTarget self._reverse_name: str self._name: str self._guid: str | Unset_Type = Unset self.type = type + self.link_target = link_target self.reverse_name = reverse_name self.name = name if guid is not Unset: @@ -144,6 +151,34 @@ def type(self, type: "GsaRecordLinkGroupType") -> None: raise ValueError("Invalid value for 'type', must not be 'Unset'") self._type = type + @property + def link_target(self) -> "GsaLinkTarget": + """Gets the link_target of this GsaCreateRecordLinkGroup. + + Returns + ------- + GsaLinkTarget + The link_target of this GsaCreateRecordLinkGroup. + """ + return self._link_target + + @link_target.setter + def link_target(self, link_target: "GsaLinkTarget") -> None: + """Sets the link_target of this GsaCreateRecordLinkGroup. + + Parameters + ---------- + link_target: GsaLinkTarget + The link_target of this GsaCreateRecordLinkGroup. + """ + # Field is not nullable + if link_target is None: + raise ValueError("Invalid value for 'link_target', must not be 'None'") + # Field is required + if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'link_target', must not be 'Unset'") + self._link_target = link_target + @property def reverse_name(self) -> "str": """Gets the reverse_name of this GsaCreateRecordLinkGroup. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_grid.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_search_request.py similarity index 63% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_grid.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_search_request.py index dae11f7d..601d9a4a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_grid.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_search_request.py @@ -42,7 +42,7 @@ from . import * -class GsaGrid(ModelBase): +class GsaCreateSearchRequest(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -61,93 +61,88 @@ class GsaGrid(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "headers": "list[str]", - "rows": "list[list[str]]", + "detail": "GsaSearchDetail", + "search_config": "str", } attribute_map: dict[str, str] = { - "headers": "headers", - "rows": "rows", + "detail": "detail", + "search_config": "searchConfig", } - subtype_mapping: dict[str, str] = {} + subtype_mapping: dict[str, str] = { + "detail": "GsaSearchDetail", + } discriminator: Optional[str] = None def __init__( self, *, - headers: "list[str]", - rows: "list[list[str]]", + detail: "GsaSearchDetail | Unset_Type" = Unset, + search_config: "str | None | Unset_Type" = Unset, ) -> None: - """GsaGrid - a model defined in Swagger + """GsaCreateSearchRequest - a model defined in Swagger Parameters ---------- - headers: list[str] - rows: list[list[str]] + detail: GsaSearchDetail, optional + search_config: str | None, optional """ - self._headers: list[str] - self._rows: list[list[str]] + self._search_config: str | None | Unset_Type = Unset + self._detail: GsaSearchDetail | Unset_Type = Unset - self.headers = headers - self.rows = rows + if search_config is not Unset: + self.search_config = search_config + if detail is not Unset: + self.detail = detail @property - def headers(self) -> "list[str]": - """Gets the headers of this GsaGrid. + def search_config(self) -> "str | None | Unset_Type": + """Gets the search_config of this GsaCreateSearchRequest. Returns ------- - list[str] - The headers of this GsaGrid. + str | None | Unset_Type + The search_config of this GsaCreateSearchRequest. """ - return self._headers + return self._search_config - @headers.setter - def headers(self, headers: "list[str]") -> None: - """Sets the headers of this GsaGrid. + @search_config.setter + def search_config(self, search_config: "str | None | Unset_Type") -> None: + """Sets the search_config of this GsaCreateSearchRequest. Parameters ---------- - headers: list[str] - The headers of this GsaGrid. + search_config: str | None | Unset_Type + The search_config of this GsaCreateSearchRequest. """ - # Field is not nullable - if headers is None: - raise ValueError("Invalid value for 'headers', must not be 'None'") - # Field is required - if headers is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'headers', must not be 'Unset'") - self._headers = headers + self._search_config = search_config @property - def rows(self) -> "list[list[str]]": - """Gets the rows of this GsaGrid. + def detail(self) -> "GsaSearchDetail | Unset_Type": + """Gets the detail of this GsaCreateSearchRequest. Returns ------- - list[list[str]] - The rows of this GsaGrid. + GsaSearchDetail | Unset_Type + The detail of this GsaCreateSearchRequest. """ - return self._rows + return self._detail - @rows.setter - def rows(self, rows: "list[list[str]]") -> None: - """Sets the rows of this GsaGrid. + @detail.setter + def detail(self, detail: "GsaSearchDetail | Unset_Type") -> None: + """Sets the detail of this GsaCreateSearchRequest. Parameters ---------- - rows: list[list[str]] - The rows of this GsaGrid. + detail: GsaSearchDetail | Unset_Type + The detail of this GsaCreateSearchRequest. """ # Field is not nullable - if rows is None: - raise ValueError("Invalid value for 'rows', must not be 'None'") - # Field is required - if rows is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'rows', must not be 'Unset'") - self._rows = rows + if detail is None: + raise ValueError("Invalid value for 'detail', must not be 'None'") + self._detail = detail @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -171,7 +166,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaGrid): + if not isinstance(other, GsaCreateSearchRequest): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py index 426ddb55..fe397272 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_short_text_attribute.py @@ -70,7 +70,6 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute): "type": "GsaAttributeType", "data_rule": "GsaSlimEntity", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaCreateShortTextAttribute(GsaCreateAttribute): "type": "type", "data_rule": "dataRule", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -102,7 +100,6 @@ def __init__( type: "GsaAttributeType" = GsaAttributeType.SHORTTEXT, data_rule: "GsaSlimEntity | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -116,7 +113,6 @@ def __init__( type: GsaAttributeType data_rule: GsaSlimEntity, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -126,7 +122,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_link_target.py deleted file mode 100644 index bfe7cc64..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_smart_link_target.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaCreateSmartLinkTarget(ModelBase): - """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] = { - "table_guid": "str", - } - - attribute_map: dict[str, str] = { - "table_guid": "tableGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - table_guid: "str", - ) -> None: - """GsaCreateSmartLinkTarget - a model defined in Swagger - - Parameters - ---------- - table_guid: str - """ - self._table_guid: str - - self.table_guid = table_guid - - @property - def table_guid(self) -> "str": - """Gets the table_guid of this GsaCreateSmartLinkTarget. - - Returns - ------- - str - The table_guid of this GsaCreateSmartLinkTarget. - """ - return self._table_guid - - @table_guid.setter - def table_guid(self, table_guid: "str") -> None: - """Sets the table_guid of this GsaCreateSmartLinkTarget. - - Parameters - ---------- - table_guid: str - The table_guid of this GsaCreateSmartLinkTarget. - """ - # Field is not nullable - if table_guid is None: - raise ValueError("Invalid value for 'table_guid', must not be 'None'") - # Field is required - if table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table_guid', must not be 'Unset'") - self._table_guid = table_guid - - @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, GsaCreateSmartLinkTarget): - 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/v2026r1/models/gsa_create_static_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_link_target.py deleted file mode 100644 index b0245025..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_link_target.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaCreateStaticLinkTarget(ModelBase): - """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] = { - "table_guid": "str", - } - - attribute_map: dict[str, str] = { - "table_guid": "tableGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - table_guid: "str", - ) -> None: - """GsaCreateStaticLinkTarget - a model defined in Swagger - - Parameters - ---------- - table_guid: str - """ - self._table_guid: str - - self.table_guid = table_guid - - @property - def table_guid(self) -> "str": - """Gets the table_guid of this GsaCreateStaticLinkTarget. - - Returns - ------- - str - The table_guid of this GsaCreateStaticLinkTarget. - """ - return self._table_guid - - @table_guid.setter - def table_guid(self, table_guid: "str") -> None: - """Sets the table_guid of this GsaCreateStaticLinkTarget. - - Parameters - ---------- - table_guid: str - The table_guid of this GsaCreateStaticLinkTarget. - """ - # Field is not nullable - if table_guid is None: - raise ValueError("Invalid value for 'table_guid', must not be 'None'") - # Field is required - if table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table_guid', must not be 'Unset'") - self._table_guid = table_guid - - @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, GsaCreateStaticLinkTarget): - 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/v2026r1/models/gsa_create_static_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py index 20b7a639..f0e1ae23 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_static_record_link_group.py @@ -68,7 +68,7 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "link_target": "GsaCreateStaticLinkTarget", + "link_target": "GsaLinkTarget", "name": "str", "reverse_name": "str", "type": "GsaRecordLinkGroupType", @@ -85,16 +85,14 @@ class GsaCreateStaticRecordLinkGroup(GsaCreateRecordLinkGroup): "include_indirect_links": "includeIndirectLinks", } - subtype_mapping: dict[str, str] = { - "linkTarget": "GsaCreateStaticLinkTarget", - } + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - link_target: "GsaCreateStaticLinkTarget", + link_target: "GsaLinkTarget", name: "str", reverse_name: "str", type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.STATIC, @@ -105,49 +103,21 @@ def __init__( Parameters ---------- - link_target: GsaCreateStaticLinkTarget + link_target: GsaLinkTarget name: str reverse_name: str type: GsaRecordLinkGroupType guid: str, optional include_indirect_links: bool, optional """ - super().__init__(name=name, reverse_name=reverse_name, type=type, guid=guid) - self._link_target: GsaCreateStaticLinkTarget + super().__init__( + link_target=link_target, name=name, reverse_name=reverse_name, type=type, guid=guid + ) self._include_indirect_links: bool | Unset_Type = Unset - self.link_target = link_target if include_indirect_links is not Unset: self.include_indirect_links = include_indirect_links - @property - def link_target(self) -> "GsaCreateStaticLinkTarget": - """Gets the link_target of this GsaCreateStaticRecordLinkGroup. - - Returns - ------- - GsaCreateStaticLinkTarget - The link_target of this GsaCreateStaticRecordLinkGroup. - """ - return self._link_target - - @link_target.setter - def link_target(self, link_target: "GsaCreateStaticLinkTarget") -> None: - """Sets the link_target of this GsaCreateStaticRecordLinkGroup. - - Parameters - ---------- - link_target: GsaCreateStaticLinkTarget - The link_target of this GsaCreateStaticRecordLinkGroup. - """ - # Field is not nullable - if link_target is None: - raise ValueError("Invalid value for 'link_target', must not be 'None'") - # Field is required - if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'link_target', must not be 'Unset'") - self._link_target = link_target - @property def include_indirect_links(self) -> "bool | Unset_Type": """Gets the include_indirect_links of this GsaCreateStaticRecordLinkGroup. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py index 451d6df7..42a105cd 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_create_tabular_attribute.py @@ -70,7 +70,6 @@ class GsaCreateTabularAttribute(GsaCreateAttribute): "type": "GsaAttributeType", "default_threshold_type": "GsaAttributeThresholdType", "display_full_table": "bool", - "display_names": "dict(str, str)", "display_summary_row_inline": "bool", "guid": "str", "help_path": "str", @@ -85,7 +84,6 @@ class GsaCreateTabularAttribute(GsaCreateAttribute): "type": "type", "default_threshold_type": "defaultThresholdType", "display_full_table": "displayFullTable", - "display_names": "displayNames", "display_summary_row_inline": "displaySummaryRowInline", "guid": "guid", "help_path": "helpPath", @@ -109,7 +107,6 @@ def __init__( type: "GsaAttributeType" = GsaAttributeType.LINK, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, display_full_table: "bool | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, display_summary_row_inline: "bool | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, @@ -126,7 +123,6 @@ def __init__( type: GsaAttributeType default_threshold_type: GsaAttributeThresholdType, optional display_full_table: bool, optional - display_names: dict[str, str] | None, optional display_summary_row_inline: bool, optional guid: str, optional help_path: str | None, optional @@ -139,7 +135,6 @@ def __init__( name=name, type=type, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update.py deleted file mode 100644 index 6b295431..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update.py +++ /dev/null @@ -1,213 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDataUpdate(ModelBase): - """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] = { - "header": "GsaDataUpdateHeader", - "run_info": "GsaDataUpdateRunInfo", - "token": "GsaDataUpdateToken", - } - - attribute_map: dict[str, str] = { - "header": "header", - "run_info": "runInfo", - "token": "token", - } - - subtype_mapping: dict[str, str] = { - "token": "GsaDataUpdateToken", - "header": "GsaDataUpdateHeader", - "runInfo": "GsaDataUpdateRunInfo", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - header: "GsaDataUpdateHeader | Unset_Type" = Unset, - run_info: "GsaDataUpdateRunInfo | Unset_Type" = Unset, - token: "GsaDataUpdateToken | Unset_Type" = Unset, - ) -> None: - """GsaDataUpdate - a model defined in Swagger - - Parameters - ---------- - header: GsaDataUpdateHeader, optional - run_info: GsaDataUpdateRunInfo, optional - token: GsaDataUpdateToken, optional - """ - self._token: GsaDataUpdateToken | Unset_Type = Unset - self._header: GsaDataUpdateHeader | Unset_Type = Unset - self._run_info: GsaDataUpdateRunInfo | Unset_Type = Unset - - if token is not Unset: - self.token = token - if header is not Unset: - self.header = header - if run_info is not Unset: - self.run_info = run_info - - @property - def token(self) -> "GsaDataUpdateToken | Unset_Type": - """Gets the token of this GsaDataUpdate. - - Returns - ------- - GsaDataUpdateToken | Unset_Type - The token of this GsaDataUpdate. - """ - return self._token - - @token.setter - def token(self, token: "GsaDataUpdateToken | Unset_Type") -> None: - """Sets the token of this GsaDataUpdate. - - Parameters - ---------- - token: GsaDataUpdateToken | Unset_Type - The token of this GsaDataUpdate. - """ - # Field is not nullable - if token is None: - raise ValueError("Invalid value for 'token', must not be 'None'") - self._token = token - - @property - def header(self) -> "GsaDataUpdateHeader | Unset_Type": - """Gets the header of this GsaDataUpdate. - - Returns - ------- - GsaDataUpdateHeader | Unset_Type - The header of this GsaDataUpdate. - """ - return self._header - - @header.setter - def header(self, header: "GsaDataUpdateHeader | Unset_Type") -> None: - """Sets the header of this GsaDataUpdate. - - Parameters - ---------- - header: GsaDataUpdateHeader | Unset_Type - The header of this GsaDataUpdate. - """ - # Field is not nullable - if header is None: - raise ValueError("Invalid value for 'header', must not be 'None'") - self._header = header - - @property - def run_info(self) -> "GsaDataUpdateRunInfo | Unset_Type": - """Gets the run_info of this GsaDataUpdate. - - Returns - ------- - GsaDataUpdateRunInfo | Unset_Type - The run_info of this GsaDataUpdate. - """ - return self._run_info - - @run_info.setter - def run_info(self, run_info: "GsaDataUpdateRunInfo | Unset_Type") -> None: - """Sets the run_info of this GsaDataUpdate. - - Parameters - ---------- - run_info: GsaDataUpdateRunInfo | Unset_Type - The run_info of this GsaDataUpdate. - """ - # Field is not nullable - if run_info is None: - raise ValueError("Invalid value for 'run_info', must not be 'None'") - self._run_info = run_info - - @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, GsaDataUpdate): - 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/v2026r1/models/gsa_data_update_header.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_header.py deleted file mode 100644 index 7a27826b..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_header.py +++ /dev/null @@ -1,603 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDataUpdateHeader(ModelBase): - """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] = { - "contains_fallback_identifiers": "bool", - "create_date": "datetime", - "description": "str", - "mi_version": "str", - "name": "str", - "new_version_guid": "str", - "prerequisite_update_guid": "str", - "prerequisite_update_name": "str", - "project_guid": "str", - "project_name": "str", - "source_database_key": "str", - "source_volume_guid": "str", - "supported_objects_version": "int", - "update_format_version": "int", - "update_guid": "str", - } - - attribute_map: dict[str, str] = { - "contains_fallback_identifiers": "containsFallbackIdentifiers", - "create_date": "createDate", - "description": "description", - "mi_version": "miVersion", - "name": "name", - "new_version_guid": "newVersionGuid", - "prerequisite_update_guid": "prerequisiteUpdateGuid", - "prerequisite_update_name": "prerequisiteUpdateName", - "project_guid": "projectGuid", - "project_name": "projectName", - "source_database_key": "sourceDatabaseKey", - "source_volume_guid": "sourceVolumeGuid", - "supported_objects_version": "supportedObjectsVersion", - "update_format_version": "updateFormatVersion", - "update_guid": "updateGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - contains_fallback_identifiers: "bool | Unset_Type" = Unset, - create_date: "datetime | Unset_Type" = Unset, - description: "str | None | Unset_Type" = Unset, - mi_version: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - new_version_guid: "str | None | Unset_Type" = Unset, - prerequisite_update_guid: "str | None | Unset_Type" = Unset, - prerequisite_update_name: "str | None | Unset_Type" = Unset, - project_guid: "str | Unset_Type" = Unset, - project_name: "str | None | Unset_Type" = Unset, - source_database_key: "str | None | Unset_Type" = Unset, - source_volume_guid: "str | Unset_Type" = Unset, - supported_objects_version: "int | Unset_Type" = Unset, - update_format_version: "int | Unset_Type" = Unset, - update_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaDataUpdateHeader - a model defined in Swagger - - Parameters - ---------- - contains_fallback_identifiers: bool, optional - create_date: datetime, optional - description: str | None, optional - mi_version: str | None, optional - name: str | None, optional - new_version_guid: str | None, optional - prerequisite_update_guid: str | None, optional - prerequisite_update_name: str | None, optional - project_guid: str, optional - project_name: str | None, optional - source_database_key: str | None, optional - source_volume_guid: str, optional - supported_objects_version: int, optional - update_format_version: int, optional - update_guid: str, optional - """ - self._create_date: datetime | Unset_Type = Unset - self._update_guid: str | Unset_Type = Unset - self._prerequisite_update_guid: str | None | Unset_Type = Unset - self._prerequisite_update_name: str | None | Unset_Type = Unset - self._mi_version: str | None | Unset_Type = Unset - self._supported_objects_version: int | Unset_Type = Unset - self._update_format_version: int | Unset_Type = Unset - self._source_database_key: str | None | Unset_Type = Unset - self._source_volume_guid: str | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._description: str | None | Unset_Type = Unset - self._project_name: str | None | Unset_Type = Unset - self._project_guid: str | Unset_Type = Unset - self._contains_fallback_identifiers: bool | Unset_Type = Unset - self._new_version_guid: str | None | Unset_Type = Unset - - if create_date is not Unset: - self.create_date = create_date - if update_guid is not Unset: - self.update_guid = update_guid - if prerequisite_update_guid is not Unset: - self.prerequisite_update_guid = prerequisite_update_guid - if prerequisite_update_name is not Unset: - self.prerequisite_update_name = prerequisite_update_name - if mi_version is not Unset: - self.mi_version = mi_version - if supported_objects_version is not Unset: - self.supported_objects_version = supported_objects_version - if update_format_version is not Unset: - self.update_format_version = update_format_version - if source_database_key is not Unset: - self.source_database_key = source_database_key - if source_volume_guid is not Unset: - self.source_volume_guid = source_volume_guid - if name is not Unset: - self.name = name - if description is not Unset: - self.description = description - if project_name is not Unset: - self.project_name = project_name - if project_guid is not Unset: - self.project_guid = project_guid - if contains_fallback_identifiers is not Unset: - self.contains_fallback_identifiers = contains_fallback_identifiers - if new_version_guid is not Unset: - self.new_version_guid = new_version_guid - - @property - def create_date(self) -> "datetime | Unset_Type": - """Gets the create_date of this GsaDataUpdateHeader. - The date and time that the update was created. - - Returns - ------- - datetime | Unset_Type - The create_date of this GsaDataUpdateHeader. - """ - return self._create_date - - @create_date.setter - def create_date(self, create_date: "datetime | Unset_Type") -> None: - """Sets the create_date of this GsaDataUpdateHeader. - The date and time that the update was created. - - Parameters - ---------- - create_date: datetime | Unset_Type - The create_date of this GsaDataUpdateHeader. - """ - # Field is not nullable - if create_date is None: - raise ValueError("Invalid value for 'create_date', must not be 'None'") - self._create_date = create_date - - @property - def update_guid(self) -> "str | Unset_Type": - """Gets the update_guid of this GsaDataUpdateHeader. - A unique identity to disambiguate this update from all other updates. - - Returns - ------- - str | Unset_Type - The update_guid of this GsaDataUpdateHeader. - """ - return self._update_guid - - @update_guid.setter - def update_guid(self, update_guid: "str | Unset_Type") -> None: - """Sets the update_guid of this GsaDataUpdateHeader. - A unique identity to disambiguate this update from all other updates. - - Parameters - ---------- - update_guid: str | Unset_Type - The update_guid of this GsaDataUpdateHeader. - """ - # Field is not nullable - if update_guid is None: - raise ValueError("Invalid value for 'update_guid', must not be 'None'") - self._update_guid = update_guid - - @property - def prerequisite_update_guid(self) -> "str | None | Unset_Type": - """Gets the prerequisite_update_guid of this GsaDataUpdateHeader. - GUID for the previous update that need to have been applied before this update can be applied. - - Returns - ------- - str | None | Unset_Type - The prerequisite_update_guid of this GsaDataUpdateHeader. - """ - return self._prerequisite_update_guid - - @prerequisite_update_guid.setter - def prerequisite_update_guid(self, prerequisite_update_guid: "str | None | Unset_Type") -> None: - """Sets the prerequisite_update_guid of this GsaDataUpdateHeader. - GUID for the previous update that need to have been applied before this update can be applied. - - Parameters - ---------- - prerequisite_update_guid: str | None | Unset_Type - The prerequisite_update_guid of this GsaDataUpdateHeader. - """ - self._prerequisite_update_guid = prerequisite_update_guid - - @property - def prerequisite_update_name(self) -> "str | None | Unset_Type": - """Gets the prerequisite_update_name of this GsaDataUpdateHeader. - Name of the previous update that need to have been applied before this update can be applied. This is used only for display purposes. - - Returns - ------- - str | None | Unset_Type - The prerequisite_update_name of this GsaDataUpdateHeader. - """ - return self._prerequisite_update_name - - @prerequisite_update_name.setter - def prerequisite_update_name(self, prerequisite_update_name: "str | None | Unset_Type") -> None: - """Sets the prerequisite_update_name of this GsaDataUpdateHeader. - Name of the previous update that need to have been applied before this update can be applied. This is used only for display purposes. - - Parameters - ---------- - prerequisite_update_name: str | None | Unset_Type - The prerequisite_update_name of this GsaDataUpdateHeader. - """ - self._prerequisite_update_name = prerequisite_update_name - - @property - def mi_version(self) -> "str | None | Unset_Type": - """Gets the mi_version of this GsaDataUpdateHeader. - Gets the version of MI that was used to create this update. - - Returns - ------- - str | None | Unset_Type - The mi_version of this GsaDataUpdateHeader. - """ - return self._mi_version - - @mi_version.setter - def mi_version(self, mi_version: "str | None | Unset_Type") -> None: - """Sets the mi_version of this GsaDataUpdateHeader. - Gets the version of MI that was used to create this update. - - Parameters - ---------- - mi_version: str | None | Unset_Type - The mi_version of this GsaDataUpdateHeader. - """ - self._mi_version = mi_version - - @property - def supported_objects_version(self) -> "int | Unset_Type": - """Gets the supported_objects_version of this GsaDataUpdateHeader. - Gets or sets the version number indicating the kinds of object that this update supports. A client will be able to process updates with an unrecognised SupportedObjectsVersion (although in doing so it will have to ignore fields describing objects it does not recognise). - - Returns - ------- - int | Unset_Type - The supported_objects_version of this GsaDataUpdateHeader. - """ - return self._supported_objects_version - - @supported_objects_version.setter - def supported_objects_version(self, supported_objects_version: "int | Unset_Type") -> None: - """Sets the supported_objects_version of this GsaDataUpdateHeader. - Gets or sets the version number indicating the kinds of object that this update supports. A client will be able to process updates with an unrecognised SupportedObjectsVersion (although in doing so it will have to ignore fields describing objects it does not recognise). - - Parameters - ---------- - supported_objects_version: int | Unset_Type - The supported_objects_version of this GsaDataUpdateHeader. - """ - # Field is not nullable - if supported_objects_version is None: - raise ValueError("Invalid value for 'supported_objects_version', must not be 'None'") - self._supported_objects_version = supported_objects_version - - @property - def update_format_version(self) -> "int | Unset_Type": - """Gets the update_format_version of this GsaDataUpdateHeader. - Gets or sets the version number of the format of the update. This will change if the meaning of any of the fields in the update changes. A client must not process an update with an UpdateFormatVersion field that it does not recognise, as it cannot be sure of the meaning of the fields it reads. - - Returns - ------- - int | Unset_Type - The update_format_version of this GsaDataUpdateHeader. - """ - return self._update_format_version - - @update_format_version.setter - def update_format_version(self, update_format_version: "int | Unset_Type") -> None: - """Sets the update_format_version of this GsaDataUpdateHeader. - Gets or sets the version number of the format of the update. This will change if the meaning of any of the fields in the update changes. A client must not process an update with an UpdateFormatVersion field that it does not recognise, as it cannot be sure of the meaning of the fields it reads. - - Parameters - ---------- - update_format_version: int | Unset_Type - The update_format_version of this GsaDataUpdateHeader. - """ - # Field is not nullable - if update_format_version is None: - raise ValueError("Invalid value for 'update_format_version', must not be 'None'") - self._update_format_version = update_format_version - - @property - def source_database_key(self) -> "str | None | Unset_Type": - """Gets the source_database_key of this GsaDataUpdateHeader. - Gets or sets the database key of the database from which this update was generated. - - Returns - ------- - str | None | Unset_Type - The source_database_key of this GsaDataUpdateHeader. - """ - return self._source_database_key - - @source_database_key.setter - def source_database_key(self, source_database_key: "str | None | Unset_Type") -> None: - """Sets the source_database_key of this GsaDataUpdateHeader. - Gets or sets the database key of the database from which this update was generated. - - Parameters - ---------- - source_database_key: str | None | Unset_Type - The source_database_key of this GsaDataUpdateHeader. - """ - self._source_database_key = source_database_key - - @property - def source_volume_guid(self) -> "str | Unset_Type": - """Gets the source_volume_guid of this GsaDataUpdateHeader. - Gets or sets the guid of the volume from which the update was generated. - - Returns - ------- - str | Unset_Type - The source_volume_guid of this GsaDataUpdateHeader. - """ - return self._source_volume_guid - - @source_volume_guid.setter - def source_volume_guid(self, source_volume_guid: "str | Unset_Type") -> None: - """Sets the source_volume_guid of this GsaDataUpdateHeader. - Gets or sets the guid of the volume from which the update was generated. - - Parameters - ---------- - source_volume_guid: str | Unset_Type - The source_volume_guid of this GsaDataUpdateHeader. - """ - # Field is not nullable - if source_volume_guid is None: - raise ValueError("Invalid value for 'source_volume_guid', must not be 'None'") - self._source_volume_guid = source_volume_guid - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaDataUpdateHeader. - Gets or sets the name of the update. - - Returns - ------- - str | None | Unset_Type - The name of this GsaDataUpdateHeader. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaDataUpdateHeader. - Gets or sets the name of the update. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaDataUpdateHeader. - """ - self._name = name - - @property - def description(self) -> "str | None | Unset_Type": - """Gets the description of this GsaDataUpdateHeader. - Gets or sets the description of the update. - - Returns - ------- - str | None | Unset_Type - The description of this GsaDataUpdateHeader. - """ - return self._description - - @description.setter - def description(self, description: "str | None | Unset_Type") -> None: - """Sets the description of this GsaDataUpdateHeader. - Gets or sets the description of the update. - - Parameters - ---------- - description: str | None | Unset_Type - The description of this GsaDataUpdateHeader. - """ - self._description = description - - @property - def project_name(self) -> "str | None | Unset_Type": - """Gets the project_name of this GsaDataUpdateHeader. - Gets or sets the name of the project this update was created for. - - Returns - ------- - str | None | Unset_Type - The project_name of this GsaDataUpdateHeader. - """ - return self._project_name - - @project_name.setter - def project_name(self, project_name: "str | None | Unset_Type") -> None: - """Sets the project_name of this GsaDataUpdateHeader. - Gets or sets the name of the project this update was created for. - - Parameters - ---------- - project_name: str | None | Unset_Type - The project_name of this GsaDataUpdateHeader. - """ - self._project_name = project_name - - @property - def project_guid(self) -> "str | Unset_Type": - """Gets the project_guid of this GsaDataUpdateHeader. - Gets or sets the guid of the project this update was created for. - - Returns - ------- - str | Unset_Type - The project_guid of this GsaDataUpdateHeader. - """ - return self._project_guid - - @project_guid.setter - def project_guid(self, project_guid: "str | Unset_Type") -> None: - """Sets the project_guid of this GsaDataUpdateHeader. - Gets or sets the guid of the project this update was created for. - - Parameters - ---------- - project_guid: str | Unset_Type - The project_guid of this GsaDataUpdateHeader. - """ - # Field is not nullable - if project_guid is None: - raise ValueError("Invalid value for 'project_guid', must not be 'None'") - self._project_guid = project_guid - - @property - def contains_fallback_identifiers(self) -> "bool | Unset_Type": - """Gets the contains_fallback_identifiers of this GsaDataUpdateHeader. - Gets or sets the flag informing whether or not this update contains fallback identifiers (mostly names). - - Returns - ------- - bool | Unset_Type - The contains_fallback_identifiers of this GsaDataUpdateHeader. - """ - return self._contains_fallback_identifiers - - @contains_fallback_identifiers.setter - def contains_fallback_identifiers( - self, contains_fallback_identifiers: "bool | Unset_Type" - ) -> None: - """Sets the contains_fallback_identifiers of this GsaDataUpdateHeader. - Gets or sets the flag informing whether or not this update contains fallback identifiers (mostly names). - - Parameters - ---------- - contains_fallback_identifiers: bool | Unset_Type - The contains_fallback_identifiers of this GsaDataUpdateHeader. - """ - # Field is not nullable - if contains_fallback_identifiers is None: - raise ValueError( - "Invalid value for 'contains_fallback_identifiers', must not be 'None'" - ) - self._contains_fallback_identifiers = contains_fallback_identifiers - - @property - def new_version_guid(self) -> "str | None | Unset_Type": - """Gets the new_version_guid of this GsaDataUpdateHeader. - Gets or sets the value Database Version GUID should be updated to. If this field is set then we propose to retarget tabular attributes to link to new version of the database. - - Returns - ------- - str | None | Unset_Type - The new_version_guid of this GsaDataUpdateHeader. - """ - return self._new_version_guid - - @new_version_guid.setter - def new_version_guid(self, new_version_guid: "str | None | Unset_Type") -> None: - """Sets the new_version_guid of this GsaDataUpdateHeader. - Gets or sets the value Database Version GUID should be updated to. If this field is set then we propose to retarget tabular attributes to link to new version of the database. - - Parameters - ---------- - new_version_guid: str | None | Unset_Type - The new_version_guid of this GsaDataUpdateHeader. - """ - self._new_version_guid = new_version_guid - - @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, GsaDataUpdateHeader): - 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/v2026r1/models/gsa_data_update_run_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_run_info.py deleted file mode 100644 index b04b2196..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_run_info.py +++ /dev/null @@ -1,360 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDataUpdateRunInfo(ModelBase): - """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] = { - "applied_date": "datetime", - "apply_adds_as_state": "bool", - "database_key": "str", - "error_message": "str", - "match_mode": "GsaMatchMode", - "progress_percentage": "float", - "retarget_tabular_attributes": "bool", - "status": "GsaUpdateRunStatus", - } - - attribute_map: dict[str, str] = { - "applied_date": "appliedDate", - "apply_adds_as_state": "applyAddsAsState", - "database_key": "databaseKey", - "error_message": "errorMessage", - "match_mode": "matchMode", - "progress_percentage": "progressPercentage", - "retarget_tabular_attributes": "retargetTabularAttributes", - "status": "status", - } - - subtype_mapping: dict[str, str] = { - "matchMode": "GsaMatchMode", - "status": "GsaUpdateRunStatus", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - applied_date: "datetime | None | Unset_Type" = Unset, - apply_adds_as_state: "bool | Unset_Type" = Unset, - database_key: "str | None | Unset_Type" = Unset, - error_message: "str | None | Unset_Type" = Unset, - match_mode: "GsaMatchMode | Unset_Type" = Unset, - progress_percentage: "float | None | Unset_Type" = Unset, - retarget_tabular_attributes: "bool | Unset_Type" = Unset, - status: "GsaUpdateRunStatus | Unset_Type" = Unset, - ) -> None: - """GsaDataUpdateRunInfo - a model defined in Swagger - - Parameters - ---------- - applied_date: datetime | None, optional - apply_adds_as_state: bool, optional - database_key: str | None, optional - error_message: str | None, optional - match_mode: GsaMatchMode, optional - progress_percentage: float | None, optional - retarget_tabular_attributes: bool, optional - status: GsaUpdateRunStatus, optional - """ - self._database_key: str | None | Unset_Type = Unset - self._match_mode: GsaMatchMode | Unset_Type = Unset - self._apply_adds_as_state: bool | Unset_Type = Unset - self._retarget_tabular_attributes: bool | Unset_Type = Unset - self._status: GsaUpdateRunStatus | Unset_Type = Unset - self._progress_percentage: float | None | Unset_Type = Unset - self._applied_date: datetime | None | Unset_Type = Unset - self._error_message: str | None | Unset_Type = Unset - - if database_key is not Unset: - self.database_key = database_key - if match_mode is not Unset: - self.match_mode = match_mode - if apply_adds_as_state is not Unset: - self.apply_adds_as_state = apply_adds_as_state - if retarget_tabular_attributes is not Unset: - self.retarget_tabular_attributes = retarget_tabular_attributes - if status is not Unset: - self.status = status - if progress_percentage is not Unset: - self.progress_percentage = progress_percentage - if applied_date is not Unset: - self.applied_date = applied_date - if error_message is not Unset: - self.error_message = error_message - - @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaDataUpdateRunInfo. - - Returns - ------- - str | None | Unset_Type - The database_key of this GsaDataUpdateRunInfo. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaDataUpdateRunInfo. - - Parameters - ---------- - database_key: str | None | Unset_Type - The database_key of this GsaDataUpdateRunInfo. - """ - self._database_key = database_key - - @property - def match_mode(self) -> "GsaMatchMode | Unset_Type": - """Gets the match_mode of this GsaDataUpdateRunInfo. - - Returns - ------- - GsaMatchMode | Unset_Type - The match_mode of this GsaDataUpdateRunInfo. - """ - return self._match_mode - - @match_mode.setter - def match_mode(self, match_mode: "GsaMatchMode | Unset_Type") -> None: - """Sets the match_mode of this GsaDataUpdateRunInfo. - - Parameters - ---------- - match_mode: GsaMatchMode | Unset_Type - The match_mode of this GsaDataUpdateRunInfo. - """ - # Field is not nullable - if match_mode is None: - raise ValueError("Invalid value for 'match_mode', must not be 'None'") - self._match_mode = match_mode - - @property - def apply_adds_as_state(self) -> "bool | Unset_Type": - """Gets the apply_adds_as_state of this GsaDataUpdateRunInfo. - - Returns - ------- - bool | Unset_Type - The apply_adds_as_state of this GsaDataUpdateRunInfo. - """ - return self._apply_adds_as_state - - @apply_adds_as_state.setter - def apply_adds_as_state(self, apply_adds_as_state: "bool | Unset_Type") -> None: - """Sets the apply_adds_as_state of this GsaDataUpdateRunInfo. - - Parameters - ---------- - apply_adds_as_state: bool | Unset_Type - The apply_adds_as_state of this GsaDataUpdateRunInfo. - """ - # Field is not nullable - if apply_adds_as_state is None: - raise ValueError("Invalid value for 'apply_adds_as_state', must not be 'None'") - self._apply_adds_as_state = apply_adds_as_state - - @property - def retarget_tabular_attributes(self) -> "bool | Unset_Type": - """Gets the retarget_tabular_attributes of this GsaDataUpdateRunInfo. - - Returns - ------- - bool | Unset_Type - The retarget_tabular_attributes of this GsaDataUpdateRunInfo. - """ - return self._retarget_tabular_attributes - - @retarget_tabular_attributes.setter - def retarget_tabular_attributes(self, retarget_tabular_attributes: "bool | Unset_Type") -> None: - """Sets the retarget_tabular_attributes of this GsaDataUpdateRunInfo. - - Parameters - ---------- - retarget_tabular_attributes: bool | Unset_Type - The retarget_tabular_attributes of this GsaDataUpdateRunInfo. - """ - # Field is not nullable - if retarget_tabular_attributes is None: - raise ValueError("Invalid value for 'retarget_tabular_attributes', must not be 'None'") - self._retarget_tabular_attributes = retarget_tabular_attributes - - @property - def status(self) -> "GsaUpdateRunStatus | Unset_Type": - """Gets the status of this GsaDataUpdateRunInfo. - - Returns - ------- - GsaUpdateRunStatus | Unset_Type - The status of this GsaDataUpdateRunInfo. - """ - return self._status - - @status.setter - def status(self, status: "GsaUpdateRunStatus | Unset_Type") -> None: - """Sets the status of this GsaDataUpdateRunInfo. - - Parameters - ---------- - status: GsaUpdateRunStatus | Unset_Type - The status of this GsaDataUpdateRunInfo. - """ - # Field is not nullable - if status is None: - raise ValueError("Invalid value for 'status', must not be 'None'") - self._status = status - - @property - def progress_percentage(self) -> "float | None | Unset_Type": - """Gets the progress_percentage of this GsaDataUpdateRunInfo. - - Returns - ------- - float | None | Unset_Type - The progress_percentage of this GsaDataUpdateRunInfo. - """ - return self._progress_percentage - - @progress_percentage.setter - def progress_percentage(self, progress_percentage: "float | None | Unset_Type") -> None: - """Sets the progress_percentage of this GsaDataUpdateRunInfo. - - Parameters - ---------- - progress_percentage: float | None | Unset_Type - The progress_percentage of this GsaDataUpdateRunInfo. - """ - self._progress_percentage = progress_percentage - - @property - def applied_date(self) -> "datetime | None | Unset_Type": - """Gets the applied_date of this GsaDataUpdateRunInfo. - - Returns - ------- - datetime | None | Unset_Type - The applied_date of this GsaDataUpdateRunInfo. - """ - return self._applied_date - - @applied_date.setter - def applied_date(self, applied_date: "datetime | None | Unset_Type") -> None: - """Sets the applied_date of this GsaDataUpdateRunInfo. - - Parameters - ---------- - applied_date: datetime | None | Unset_Type - The applied_date of this GsaDataUpdateRunInfo. - """ - self._applied_date = applied_date - - @property - def error_message(self) -> "str | None | Unset_Type": - """Gets the error_message of this GsaDataUpdateRunInfo. - - Returns - ------- - str | None | Unset_Type - The error_message of this GsaDataUpdateRunInfo. - """ - return self._error_message - - @error_message.setter - def error_message(self, error_message: "str | None | Unset_Type") -> None: - """Sets the error_message of this GsaDataUpdateRunInfo. - - Parameters - ---------- - error_message: str | None | Unset_Type - The error_message of this GsaDataUpdateRunInfo. - """ - self._error_message = error_message - - @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, GsaDataUpdateRunInfo): - 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/v2026r1/models/gsa_data_updater_job.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py deleted file mode 100644 index 89c12aec..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job.py +++ /dev/null @@ -1,467 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDataUpdaterJob(ModelBase): - """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] = { - "database_key": "str", - "description": "str", - "error": "str", - "id": "str", - "job_type": "GsaDataUpdaterJobType", - "name": "str", - "project_name": "str", - "status": "GsaDataUpdaterJobStatus", - "time_completed": "datetime", - "time_started": "datetime", - "update_token": "GsaDataUpdateToken", - } - - attribute_map: dict[str, str] = { - "database_key": "databaseKey", - "description": "description", - "error": "error", - "id": "id", - "job_type": "jobType", - "name": "name", - "project_name": "projectName", - "status": "status", - "time_completed": "timeCompleted", - "time_started": "timeStarted", - "update_token": "updateToken", - } - - subtype_mapping: dict[str, str] = { - "updateToken": "GsaDataUpdateToken", - "jobType": "GsaDataUpdaterJobType", - "status": "GsaDataUpdaterJobStatus", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - database_key: "str | None | Unset_Type" = Unset, - description: "str | None | Unset_Type" = Unset, - error: "str | None | Unset_Type" = Unset, - id: "str | Unset_Type" = Unset, - job_type: "GsaDataUpdaterJobType | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - project_name: "str | None | Unset_Type" = Unset, - status: "GsaDataUpdaterJobStatus | Unset_Type" = Unset, - time_completed: "datetime | None | Unset_Type" = Unset, - time_started: "datetime | Unset_Type" = Unset, - update_token: "GsaDataUpdateToken | Unset_Type" = Unset, - ) -> None: - """GsaDataUpdaterJob - a model defined in Swagger - - Parameters - ---------- - database_key: str | None, optional - description: str | None, optional - error: str | None, optional - id: str, optional - job_type: GsaDataUpdaterJobType, optional - name: str | None, optional - project_name: str | None, optional - status: GsaDataUpdaterJobStatus, optional - time_completed: datetime | None, optional - time_started: datetime, optional - update_token: GsaDataUpdateToken, optional - """ - self._id: str | Unset_Type = Unset - self._update_token: GsaDataUpdateToken | Unset_Type = Unset - self._job_type: GsaDataUpdaterJobType | Unset_Type = Unset - self._database_key: str | None | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._description: str | None | Unset_Type = Unset - self._status: GsaDataUpdaterJobStatus | Unset_Type = Unset - self._project_name: str | None | Unset_Type = Unset - self._time_started: datetime | Unset_Type = Unset - self._time_completed: datetime | None | Unset_Type = Unset - self._error: str | None | Unset_Type = Unset - - if id is not Unset: - self.id = id - if update_token is not Unset: - self.update_token = update_token - if job_type is not Unset: - self.job_type = job_type - if database_key is not Unset: - self.database_key = database_key - if name is not Unset: - self.name = name - if description is not Unset: - self.description = description - if status is not Unset: - self.status = status - if project_name is not Unset: - self.project_name = project_name - if time_started is not Unset: - self.time_started = time_started - if time_completed is not Unset: - self.time_completed = time_completed - if error is not Unset: - self.error = error - - @property - def id(self) -> "str | Unset_Type": - """Gets the id of this GsaDataUpdaterJob. - Gets or sets the token which identifies this job. - - Returns - ------- - str | Unset_Type - The id of this GsaDataUpdaterJob. - """ - return self._id - - @id.setter - def id(self, id: "str | Unset_Type") -> None: - """Sets the id of this GsaDataUpdaterJob. - Gets or sets the token which identifies this job. - - Parameters - ---------- - id: str | Unset_Type - The id of this GsaDataUpdaterJob. - """ - # Field is not nullable - if id is None: - raise ValueError("Invalid value for 'id', must not be 'None'") - self._id = id - - @property - def update_token(self) -> "GsaDataUpdateToken | Unset_Type": - """Gets the update_token of this GsaDataUpdaterJob. - - Returns - ------- - GsaDataUpdateToken | Unset_Type - The update_token of this GsaDataUpdaterJob. - """ - return self._update_token - - @update_token.setter - def update_token(self, update_token: "GsaDataUpdateToken | Unset_Type") -> None: - """Sets the update_token of this GsaDataUpdaterJob. - - Parameters - ---------- - update_token: GsaDataUpdateToken | Unset_Type - The update_token of this GsaDataUpdaterJob. - """ - # Field is not nullable - if update_token is None: - raise ValueError("Invalid value for 'update_token', must not be 'None'") - self._update_token = update_token - - @property - def job_type(self) -> "GsaDataUpdaterJobType | Unset_Type": - """Gets the job_type of this GsaDataUpdaterJob. - - Returns - ------- - GsaDataUpdaterJobType | Unset_Type - The job_type of this GsaDataUpdaterJob. - """ - return self._job_type - - @job_type.setter - def job_type(self, job_type: "GsaDataUpdaterJobType | Unset_Type") -> None: - """Sets the job_type of this GsaDataUpdaterJob. - - Parameters - ---------- - job_type: GsaDataUpdaterJobType | Unset_Type - The job_type of this GsaDataUpdaterJob. - """ - # Field is not nullable - if job_type is None: - raise ValueError("Invalid value for 'job_type', must not be 'None'") - self._job_type = job_type - - @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaDataUpdaterJob. - Gets or sets the key of the database against which this job has been / will be run. - - Returns - ------- - str | None | Unset_Type - The database_key of this GsaDataUpdaterJob. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaDataUpdaterJob. - Gets or sets the key of the database against which this job has been / will be run. - - Parameters - ---------- - database_key: str | None | Unset_Type - The database_key of this GsaDataUpdaterJob. - """ - self._database_key = database_key - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaDataUpdaterJob. - Gets or sets the name of the update. - - Returns - ------- - str | None | Unset_Type - The name of this GsaDataUpdaterJob. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaDataUpdaterJob. - Gets or sets the name of the update. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaDataUpdaterJob. - """ - self._name = name - - @property - def description(self) -> "str | None | Unset_Type": - """Gets the description of this GsaDataUpdaterJob. - Gets or sets the description of the job. - - Returns - ------- - str | None | Unset_Type - The description of this GsaDataUpdaterJob. - """ - return self._description - - @description.setter - def description(self, description: "str | None | Unset_Type") -> None: - """Sets the description of this GsaDataUpdaterJob. - Gets or sets the description of the job. - - Parameters - ---------- - description: str | None | Unset_Type - The description of this GsaDataUpdaterJob. - """ - self._description = description - - @property - def status(self) -> "GsaDataUpdaterJobStatus | Unset_Type": - """Gets the status of this GsaDataUpdaterJob. - - Returns - ------- - GsaDataUpdaterJobStatus | Unset_Type - The status of this GsaDataUpdaterJob. - """ - return self._status - - @status.setter - def status(self, status: "GsaDataUpdaterJobStatus | Unset_Type") -> None: - """Sets the status of this GsaDataUpdaterJob. - - Parameters - ---------- - status: GsaDataUpdaterJobStatus | Unset_Type - The status of this GsaDataUpdaterJob. - """ - # Field is not nullable - if status is None: - raise ValueError("Invalid value for 'status', must not be 'None'") - self._status = status - - @property - def project_name(self) -> "str | None | Unset_Type": - """Gets the project_name of this GsaDataUpdaterJob. - Gets or sets the project. - - Returns - ------- - str | None | Unset_Type - The project_name of this GsaDataUpdaterJob. - """ - return self._project_name - - @project_name.setter - def project_name(self, project_name: "str | None | Unset_Type") -> None: - """Sets the project_name of this GsaDataUpdaterJob. - Gets or sets the project. - - Parameters - ---------- - project_name: str | None | Unset_Type - The project_name of this GsaDataUpdaterJob. - """ - self._project_name = project_name - - @property - def time_started(self) -> "datetime | Unset_Type": - """Gets the time_started of this GsaDataUpdaterJob. - Gets or sets the time that the job started. - - Returns - ------- - datetime | Unset_Type - The time_started of this GsaDataUpdaterJob. - """ - return self._time_started - - @time_started.setter - def time_started(self, time_started: "datetime | Unset_Type") -> None: - """Sets the time_started of this GsaDataUpdaterJob. - Gets or sets the time that the job started. - - Parameters - ---------- - time_started: datetime | Unset_Type - The time_started of this GsaDataUpdaterJob. - """ - # Field is not nullable - if time_started is None: - raise ValueError("Invalid value for 'time_started', must not be 'None'") - self._time_started = time_started - - @property - def time_completed(self) -> "datetime | None | Unset_Type": - """Gets the time_completed of this GsaDataUpdaterJob. - Gets or sets the time that the job completed. - - Returns - ------- - datetime | None | Unset_Type - The time_completed of this GsaDataUpdaterJob. - """ - return self._time_completed - - @time_completed.setter - def time_completed(self, time_completed: "datetime | None | Unset_Type") -> None: - """Sets the time_completed of this GsaDataUpdaterJob. - Gets or sets the time that the job completed. - - Parameters - ---------- - time_completed: datetime | None | Unset_Type - The time_completed of this GsaDataUpdaterJob. - """ - self._time_completed = time_completed - - @property - def error(self) -> "str | None | Unset_Type": - """Gets the error of this GsaDataUpdaterJob. - The error that occurred (if any) when the job was run. If the job has not yet been run, or if the job completed successfully, this will be null. - - Returns - ------- - str | None | Unset_Type - The error of this GsaDataUpdaterJob. - """ - return self._error - - @error.setter - def error(self, error: "str | None | Unset_Type") -> None: - """Sets the error of this GsaDataUpdaterJob. - The error that occurred (if any) when the job was run. If the job has not yet been run, or if the job completed successfully, this will be null. - - Parameters - ---------- - error: str | None | Unset_Type - The error of this GsaDataUpdaterJob. - """ - self._error = error - - @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, GsaDataUpdaterJob): - 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/v2026r1/models/gsa_data_updater_job_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_status.py deleted file mode 100644 index a39fc8f7..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_status.py +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaDataUpdaterJobStatus(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - POS_0 = 0 - POS_1 = 1 - POS_2 = 2 - POS_3 = 3 - POS_4 = 4 - POS_5 = 5 - POS_6 = 6 - POS_7 = 7 diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_type.py deleted file mode 100644 index c6819159..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_job_type.py +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaDataUpdaterJobType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - POS_0 = 0 - POS_1 = 1 - POS_2 = 2 - POS_3 = 3 - POS_4 = 4 diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_project.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_project.py deleted file mode 100644 index 42006ca7..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_updater_project.py +++ /dev/null @@ -1,554 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDataUpdaterProject(ModelBase): - """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] = { - "guid": "str", - "include_db_dependencies": "bool", - "include_deselected_db_dependencies": "bool", - "include_foreign_category_items": "bool", - "last_marked_ready_for_sending_at_revision": "int", - "last_marked_ready_for_sending_by_user_name": "str", - "last_update_file_name": "str", - "last_update_generated_by_user_name": "str", - "name": "str", - "profile_id": "str", - "record_and_attribute_selection_type": "GsaRecordAndAttributeSelectionType", - "time_last_update_generated": "datetime", - "time_last_update_marked_ready_for_sending": "datetime", - } - - attribute_map: dict[str, str] = { - "guid": "guid", - "include_db_dependencies": "includeDbDependencies", - "include_deselected_db_dependencies": "includeDeselectedDbDependencies", - "include_foreign_category_items": "includeForeignCategoryItems", - "last_marked_ready_for_sending_at_revision": "lastMarkedReadyForSendingAtRevision", - "last_marked_ready_for_sending_by_user_name": "lastMarkedReadyForSendingByUserName", - "last_update_file_name": "lastUpdateFileName", - "last_update_generated_by_user_name": "lastUpdateGeneratedByUserName", - "name": "name", - "profile_id": "profileId", - "record_and_attribute_selection_type": "recordAndAttributeSelectionType", - "time_last_update_generated": "timeLastUpdateGenerated", - "time_last_update_marked_ready_for_sending": "timeLastUpdateMarkedReadyForSending", - } - - subtype_mapping: dict[str, str] = { - "recordAndAttributeSelectionType": "GsaRecordAndAttributeSelectionType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - guid: "str | Unset_Type" = Unset, - include_db_dependencies: "bool | Unset_Type" = Unset, - include_deselected_db_dependencies: "bool | Unset_Type" = Unset, - include_foreign_category_items: "bool | Unset_Type" = Unset, - last_marked_ready_for_sending_at_revision: "int | Unset_Type" = Unset, - last_marked_ready_for_sending_by_user_name: "str | None | Unset_Type" = Unset, - last_update_file_name: "str | None | Unset_Type" = Unset, - last_update_generated_by_user_name: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - profile_id: "str | None | Unset_Type" = Unset, - record_and_attribute_selection_type: "GsaRecordAndAttributeSelectionType | Unset_Type" = Unset, - time_last_update_generated: "datetime | Unset_Type" = Unset, - time_last_update_marked_ready_for_sending: "datetime | Unset_Type" = Unset, - ) -> None: - """GsaDataUpdaterProject - a model defined in Swagger - - Parameters - ---------- - guid: str, optional - include_db_dependencies: bool, optional - include_deselected_db_dependencies: bool, optional - include_foreign_category_items: bool, optional - last_marked_ready_for_sending_at_revision: int, optional - last_marked_ready_for_sending_by_user_name: str | None, optional - last_update_file_name: str | None, optional - last_update_generated_by_user_name: str | None, optional - name: str | None, optional - profile_id: str | None, optional - record_and_attribute_selection_type: GsaRecordAndAttributeSelectionType, optional - time_last_update_generated: datetime, optional - time_last_update_marked_ready_for_sending: datetime, optional - """ - self._guid: str | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._record_and_attribute_selection_type: ( - GsaRecordAndAttributeSelectionType | Unset_Type - ) = Unset - self._include_db_dependencies: bool | Unset_Type = Unset - self._include_deselected_db_dependencies: bool | Unset_Type = Unset - self._include_foreign_category_items: bool | Unset_Type = Unset - self._last_update_file_name: str | None | Unset_Type = Unset - self._last_marked_ready_for_sending_by_user_name: str | None | Unset_Type = Unset - self._time_last_update_marked_ready_for_sending: datetime | Unset_Type = Unset - self._last_marked_ready_for_sending_at_revision: int | Unset_Type = Unset - self._last_update_generated_by_user_name: str | None | Unset_Type = Unset - self._time_last_update_generated: datetime | Unset_Type = Unset - self._profile_id: str | None | Unset_Type = Unset - - if guid is not Unset: - self.guid = guid - if name is not Unset: - self.name = name - if record_and_attribute_selection_type is not Unset: - self.record_and_attribute_selection_type = record_and_attribute_selection_type - if include_db_dependencies is not Unset: - self.include_db_dependencies = include_db_dependencies - if include_deselected_db_dependencies is not Unset: - self.include_deselected_db_dependencies = include_deselected_db_dependencies - if include_foreign_category_items is not Unset: - self.include_foreign_category_items = include_foreign_category_items - if last_update_file_name is not Unset: - self.last_update_file_name = last_update_file_name - if last_marked_ready_for_sending_by_user_name is not Unset: - self.last_marked_ready_for_sending_by_user_name = ( - last_marked_ready_for_sending_by_user_name - ) - if time_last_update_marked_ready_for_sending is not Unset: - self.time_last_update_marked_ready_for_sending = ( - time_last_update_marked_ready_for_sending - ) - if last_marked_ready_for_sending_at_revision is not Unset: - self.last_marked_ready_for_sending_at_revision = ( - last_marked_ready_for_sending_at_revision - ) - if last_update_generated_by_user_name is not Unset: - self.last_update_generated_by_user_name = last_update_generated_by_user_name - if time_last_update_generated is not Unset: - self.time_last_update_generated = time_last_update_generated - if profile_id is not Unset: - self.profile_id = profile_id - - @property - def guid(self) -> "str | Unset_Type": - """Gets the guid of this GsaDataUpdaterProject. - - Returns - ------- - str | Unset_Type - The guid of this GsaDataUpdaterProject. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str | Unset_Type") -> None: - """Sets the guid of this GsaDataUpdaterProject. - - Parameters - ---------- - guid: str | Unset_Type - The guid of this GsaDataUpdaterProject. - """ - # Field is not nullable - if guid is None: - raise ValueError("Invalid value for 'guid', must not be 'None'") - self._guid = guid - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaDataUpdaterProject. - - Returns - ------- - str | None | Unset_Type - The name of this GsaDataUpdaterProject. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaDataUpdaterProject. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaDataUpdaterProject. - """ - self._name = name - - @property - def record_and_attribute_selection_type( - self, - ) -> "GsaRecordAndAttributeSelectionType | Unset_Type": - """Gets the record_and_attribute_selection_type of this GsaDataUpdaterProject. - - Returns - ------- - GsaRecordAndAttributeSelectionType | Unset_Type - The record_and_attribute_selection_type of this GsaDataUpdaterProject. - """ - return self._record_and_attribute_selection_type - - @record_and_attribute_selection_type.setter - def record_and_attribute_selection_type( - self, record_and_attribute_selection_type: "GsaRecordAndAttributeSelectionType | Unset_Type" - ) -> None: - """Sets the record_and_attribute_selection_type of this GsaDataUpdaterProject. - - Parameters - ---------- - record_and_attribute_selection_type: GsaRecordAndAttributeSelectionType | Unset_Type - The record_and_attribute_selection_type of this GsaDataUpdaterProject. - """ - # Field is not nullable - if record_and_attribute_selection_type is None: - raise ValueError( - "Invalid value for 'record_and_attribute_selection_type', must not be 'None'" - ) - self._record_and_attribute_selection_type = record_and_attribute_selection_type - - @property - def include_db_dependencies(self) -> "bool | Unset_Type": - """Gets the include_db_dependencies of this GsaDataUpdaterProject. - - Returns - ------- - bool | Unset_Type - The include_db_dependencies of this GsaDataUpdaterProject. - """ - return self._include_db_dependencies - - @include_db_dependencies.setter - def include_db_dependencies(self, include_db_dependencies: "bool | Unset_Type") -> None: - """Sets the include_db_dependencies of this GsaDataUpdaterProject. - - Parameters - ---------- - include_db_dependencies: bool | Unset_Type - The include_db_dependencies of this GsaDataUpdaterProject. - """ - # Field is not nullable - if include_db_dependencies is None: - raise ValueError("Invalid value for 'include_db_dependencies', must not be 'None'") - self._include_db_dependencies = include_db_dependencies - - @property - def include_deselected_db_dependencies(self) -> "bool | Unset_Type": - """Gets the include_deselected_db_dependencies of this GsaDataUpdaterProject. - - Returns - ------- - bool | Unset_Type - The include_deselected_db_dependencies of this GsaDataUpdaterProject. - """ - return self._include_deselected_db_dependencies - - @include_deselected_db_dependencies.setter - def include_deselected_db_dependencies( - self, include_deselected_db_dependencies: "bool | Unset_Type" - ) -> None: - """Sets the include_deselected_db_dependencies of this GsaDataUpdaterProject. - - Parameters - ---------- - include_deselected_db_dependencies: bool | Unset_Type - The include_deselected_db_dependencies of this GsaDataUpdaterProject. - """ - # Field is not nullable - if include_deselected_db_dependencies is None: - raise ValueError( - "Invalid value for 'include_deselected_db_dependencies', must not be 'None'" - ) - self._include_deselected_db_dependencies = include_deselected_db_dependencies - - @property - def include_foreign_category_items(self) -> "bool | Unset_Type": - """Gets the include_foreign_category_items of this GsaDataUpdaterProject. - - Returns - ------- - bool | Unset_Type - The include_foreign_category_items of this GsaDataUpdaterProject. - """ - return self._include_foreign_category_items - - @include_foreign_category_items.setter - def include_foreign_category_items( - self, include_foreign_category_items: "bool | Unset_Type" - ) -> None: - """Sets the include_foreign_category_items of this GsaDataUpdaterProject. - - Parameters - ---------- - include_foreign_category_items: bool | Unset_Type - The include_foreign_category_items of this GsaDataUpdaterProject. - """ - # Field is not nullable - if include_foreign_category_items is None: - raise ValueError( - "Invalid value for 'include_foreign_category_items', must not be 'None'" - ) - self._include_foreign_category_items = include_foreign_category_items - - @property - def last_update_file_name(self) -> "str | None | Unset_Type": - """Gets the last_update_file_name of this GsaDataUpdaterProject. - - Returns - ------- - str | None | Unset_Type - The last_update_file_name of this GsaDataUpdaterProject. - """ - return self._last_update_file_name - - @last_update_file_name.setter - def last_update_file_name(self, last_update_file_name: "str | None | Unset_Type") -> None: - """Sets the last_update_file_name of this GsaDataUpdaterProject. - - Parameters - ---------- - last_update_file_name: str | None | Unset_Type - The last_update_file_name of this GsaDataUpdaterProject. - """ - self._last_update_file_name = last_update_file_name - - @property - def last_marked_ready_for_sending_by_user_name(self) -> "str | None | Unset_Type": - """Gets the last_marked_ready_for_sending_by_user_name of this GsaDataUpdaterProject. - - Returns - ------- - str | None | Unset_Type - The last_marked_ready_for_sending_by_user_name of this GsaDataUpdaterProject. - """ - return self._last_marked_ready_for_sending_by_user_name - - @last_marked_ready_for_sending_by_user_name.setter - def last_marked_ready_for_sending_by_user_name( - self, last_marked_ready_for_sending_by_user_name: "str | None | Unset_Type" - ) -> None: - """Sets the last_marked_ready_for_sending_by_user_name of this GsaDataUpdaterProject. - - Parameters - ---------- - last_marked_ready_for_sending_by_user_name: str | None | Unset_Type - The last_marked_ready_for_sending_by_user_name of this GsaDataUpdaterProject. - """ - self._last_marked_ready_for_sending_by_user_name = ( - last_marked_ready_for_sending_by_user_name - ) - - @property - def time_last_update_marked_ready_for_sending(self) -> "datetime | Unset_Type": - """Gets the time_last_update_marked_ready_for_sending of this GsaDataUpdaterProject. - - Returns - ------- - datetime | Unset_Type - The time_last_update_marked_ready_for_sending of this GsaDataUpdaterProject. - """ - return self._time_last_update_marked_ready_for_sending - - @time_last_update_marked_ready_for_sending.setter - def time_last_update_marked_ready_for_sending( - self, time_last_update_marked_ready_for_sending: "datetime | Unset_Type" - ) -> None: - """Sets the time_last_update_marked_ready_for_sending of this GsaDataUpdaterProject. - - Parameters - ---------- - time_last_update_marked_ready_for_sending: datetime | Unset_Type - The time_last_update_marked_ready_for_sending of this GsaDataUpdaterProject. - """ - # Field is not nullable - if time_last_update_marked_ready_for_sending is None: - raise ValueError( - "Invalid value for 'time_last_update_marked_ready_for_sending', must not be 'None'" - ) - self._time_last_update_marked_ready_for_sending = time_last_update_marked_ready_for_sending - - @property - def last_marked_ready_for_sending_at_revision(self) -> "int | Unset_Type": - """Gets the last_marked_ready_for_sending_at_revision of this GsaDataUpdaterProject. - - Returns - ------- - int | Unset_Type - The last_marked_ready_for_sending_at_revision of this GsaDataUpdaterProject. - """ - return self._last_marked_ready_for_sending_at_revision - - @last_marked_ready_for_sending_at_revision.setter - def last_marked_ready_for_sending_at_revision( - self, last_marked_ready_for_sending_at_revision: "int | Unset_Type" - ) -> None: - """Sets the last_marked_ready_for_sending_at_revision of this GsaDataUpdaterProject. - - Parameters - ---------- - last_marked_ready_for_sending_at_revision: int | Unset_Type - The last_marked_ready_for_sending_at_revision of this GsaDataUpdaterProject. - """ - # Field is not nullable - if last_marked_ready_for_sending_at_revision is None: - raise ValueError( - "Invalid value for 'last_marked_ready_for_sending_at_revision', must not be 'None'" - ) - self._last_marked_ready_for_sending_at_revision = last_marked_ready_for_sending_at_revision - - @property - def last_update_generated_by_user_name(self) -> "str | None | Unset_Type": - """Gets the last_update_generated_by_user_name of this GsaDataUpdaterProject. - - Returns - ------- - str | None | Unset_Type - The last_update_generated_by_user_name of this GsaDataUpdaterProject. - """ - return self._last_update_generated_by_user_name - - @last_update_generated_by_user_name.setter - def last_update_generated_by_user_name( - self, last_update_generated_by_user_name: "str | None | Unset_Type" - ) -> None: - """Sets the last_update_generated_by_user_name of this GsaDataUpdaterProject. - - Parameters - ---------- - last_update_generated_by_user_name: str | None | Unset_Type - The last_update_generated_by_user_name of this GsaDataUpdaterProject. - """ - self._last_update_generated_by_user_name = last_update_generated_by_user_name - - @property - def time_last_update_generated(self) -> "datetime | Unset_Type": - """Gets the time_last_update_generated of this GsaDataUpdaterProject. - - Returns - ------- - datetime | Unset_Type - The time_last_update_generated of this GsaDataUpdaterProject. - """ - return self._time_last_update_generated - - @time_last_update_generated.setter - def time_last_update_generated( - self, time_last_update_generated: "datetime | Unset_Type" - ) -> None: - """Sets the time_last_update_generated of this GsaDataUpdaterProject. - - Parameters - ---------- - time_last_update_generated: datetime | Unset_Type - The time_last_update_generated of this GsaDataUpdaterProject. - """ - # Field is not nullable - if time_last_update_generated is None: - raise ValueError("Invalid value for 'time_last_update_generated', must not be 'None'") - self._time_last_update_generated = time_last_update_generated - - @property - def profile_id(self) -> "str | None | Unset_Type": - """Gets the profile_id of this GsaDataUpdaterProject. - - Returns - ------- - str | None | Unset_Type - The profile_id of this GsaDataUpdaterProject. - """ - return self._profile_id - - @profile_id.setter - def profile_id(self, profile_id: "str | None | Unset_Type") -> None: - """Sets the profile_id of this GsaDataUpdaterProject. - - Parameters - ---------- - profile_id: str | None | Unset_Type - The profile_id of this GsaDataUpdaterProject. - """ - self._profile_id = profile_id - - @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, GsaDataUpdaterProject): - 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/v2026r1/models/gsa_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database.py index d6332008..01eeaa30 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database.py @@ -65,17 +65,14 @@ class GsaDatabase(ModelBase): "is_read_only": "bool", "key": "str", "status": "GsaDatabaseStatus", - "user_capabilities": "GsaDatabaseUserCapabilities", "author": "str", "company": "str", - "configuration_details": "GsaConfigurationDetails", "currency_code": "str", "guid": "str", "index_in_sync": "bool", "index_out_of_date_duration": "str", "index_up_to_date": "bool", "is_access_controlled": "bool", - "issues": "GsaDatabaseIssues", "name": "str", "notes": "str", "schema_version": "str", @@ -87,17 +84,14 @@ class GsaDatabase(ModelBase): "is_read_only": "isReadOnly", "key": "key", "status": "status", - "user_capabilities": "userCapabilities", "author": "author", "company": "company", - "configuration_details": "configurationDetails", "currency_code": "currencyCode", "guid": "guid", "index_in_sync": "indexInSync", "index_out_of_date_duration": "indexOutOfDateDuration", "index_up_to_date": "indexUpToDate", "is_access_controlled": "isAccessControlled", - "issues": "issues", "name": "name", "notes": "notes", "schema_version": "schemaVersion", @@ -106,9 +100,6 @@ class GsaDatabase(ModelBase): subtype_mapping: dict[str, str] = { "status": "GsaDatabaseStatus", - "userCapabilities": "GsaDatabaseUserCapabilities", - "configurationDetails": "GsaConfigurationDetails", - "issues": "GsaDatabaseIssues", } discriminator: Optional[str] = None @@ -120,17 +111,14 @@ def __init__( is_read_only: "bool", key: "str", status: "GsaDatabaseStatus", - user_capabilities: "GsaDatabaseUserCapabilities", author: "str | None | Unset_Type" = Unset, company: "str | None | Unset_Type" = Unset, - configuration_details: "GsaConfigurationDetails | Unset_Type" = Unset, currency_code: "str | None | Unset_Type" = Unset, guid: "str | None | Unset_Type" = Unset, index_in_sync: "bool | None | Unset_Type" = Unset, index_out_of_date_duration: "str | None | Unset_Type" = Unset, index_up_to_date: "bool | None | Unset_Type" = Unset, is_access_controlled: "bool | None | Unset_Type" = Unset, - issues: "GsaDatabaseIssues | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, notes: "str | None | Unset_Type" = Unset, schema_version: "str | None | Unset_Type" = Unset, @@ -144,17 +132,14 @@ def __init__( is_read_only: bool key: str status: GsaDatabaseStatus - user_capabilities: GsaDatabaseUserCapabilities author: str | None, optional company: str | None, optional - configuration_details: GsaConfigurationDetails, optional currency_code: str | None, optional guid: str | None, optional index_in_sync: bool | None, optional index_out_of_date_duration: str | None, optional index_up_to_date: bool | None, optional is_access_controlled: bool | None, optional - issues: GsaDatabaseIssues, optional name: str | None, optional notes: str | None, optional schema_version: str | None, optional @@ -176,9 +161,6 @@ def __init__( self._index_up_to_date: bool | None | Unset_Type = Unset self._index_out_of_date_duration: str | None | Unset_Type = Unset self._schema_version: str | None | Unset_Type = Unset - self._user_capabilities: GsaDatabaseUserCapabilities - self._configuration_details: GsaConfigurationDetails | Unset_Type = Unset - self._issues: GsaDatabaseIssues | Unset_Type = Unset if author is not Unset: self.author = author @@ -208,11 +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.user_capabilities = user_capabilities - if configuration_details is not Unset: - self.configuration_details = configuration_details - if issues is not Unset: - self.issues = issues @property def author(self) -> "str | None | Unset_Type": @@ -592,86 +569,6 @@ def schema_version(self, schema_version: "str | None | Unset_Type") -> None: """ self._schema_version = schema_version - @property - def user_capabilities(self) -> "GsaDatabaseUserCapabilities": - """Gets the user_capabilities of this GsaDatabase. - - Returns - ------- - GsaDatabaseUserCapabilities - The user_capabilities of this GsaDatabase. - """ - return self._user_capabilities - - @user_capabilities.setter - def user_capabilities(self, user_capabilities: "GsaDatabaseUserCapabilities") -> None: - """Sets the user_capabilities of this GsaDatabase. - - Parameters - ---------- - user_capabilities: GsaDatabaseUserCapabilities - The user_capabilities of this GsaDatabase. - """ - # Field is not nullable - if user_capabilities is None: - raise ValueError("Invalid value for 'user_capabilities', must not be 'None'") - # Field is required - if user_capabilities is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'user_capabilities', must not be 'Unset'") - self._user_capabilities = user_capabilities - - @property - def configuration_details(self) -> "GsaConfigurationDetails | Unset_Type": - """Gets the configuration_details of this GsaDatabase. - - Returns - ------- - GsaConfigurationDetails | Unset_Type - The configuration_details of this GsaDatabase. - """ - return self._configuration_details - - @configuration_details.setter - def configuration_details( - self, configuration_details: "GsaConfigurationDetails | Unset_Type" - ) -> None: - """Sets the configuration_details of this GsaDatabase. - - Parameters - ---------- - configuration_details: GsaConfigurationDetails | Unset_Type - The configuration_details of this GsaDatabase. - """ - # Field is not nullable - if configuration_details is None: - raise ValueError("Invalid value for 'configuration_details', must not be 'None'") - self._configuration_details = configuration_details - - @property - def issues(self) -> "GsaDatabaseIssues | Unset_Type": - """Gets the issues of this GsaDatabase. - - Returns - ------- - GsaDatabaseIssues | Unset_Type - The issues of this GsaDatabase. - """ - return self._issues - - @issues.setter - def issues(self, issues: "GsaDatabaseIssues | Unset_Type") -> None: - """Sets the issues of this GsaDatabase. - - Parameters - ---------- - issues: GsaDatabaseIssues | Unset_Type - The issues of this GsaDatabase. - """ - # Field is not nullable - if issues is None: - raise ValueError("Invalid value for 'issues', must not be 'None'") - self._issues = issues - @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/v2026r1/models/gsa_database_issues.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_issues.py deleted file mode 100644 index ba0fd47d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_issues.py +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDatabaseIssues(ModelBase): - """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] = { - "database_revision_identity_has_decreased": "bool", - "loading_exception_info": "GsaExceptionInformation", - } - - attribute_map: dict[str, str] = { - "database_revision_identity_has_decreased": "databaseRevisionIdentityHasDecreased", - "loading_exception_info": "loadingExceptionInfo", - } - - subtype_mapping: dict[str, str] = { - "loadingExceptionInfo": "GsaExceptionInformation", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - database_revision_identity_has_decreased: "bool", - loading_exception_info: "GsaExceptionInformation | Unset_Type" = Unset, - ) -> None: - """GsaDatabaseIssues - a model defined in Swagger - - Parameters - ---------- - database_revision_identity_has_decreased: bool - loading_exception_info: GsaExceptionInformation, optional - """ - self._database_revision_identity_has_decreased: bool - self._loading_exception_info: GsaExceptionInformation | Unset_Type = Unset - - self.database_revision_identity_has_decreased = database_revision_identity_has_decreased - if loading_exception_info is not Unset: - self.loading_exception_info = loading_exception_info - - @property - def database_revision_identity_has_decreased(self) -> "bool": - """Gets the database_revision_identity_has_decreased of this GsaDatabaseIssues. - - Returns - ------- - bool - The database_revision_identity_has_decreased of this GsaDatabaseIssues. - """ - return self._database_revision_identity_has_decreased - - @database_revision_identity_has_decreased.setter - def database_revision_identity_has_decreased( - self, database_revision_identity_has_decreased: "bool" - ) -> None: - """Sets the database_revision_identity_has_decreased of this GsaDatabaseIssues. - - Parameters - ---------- - database_revision_identity_has_decreased: bool - The database_revision_identity_has_decreased of this GsaDatabaseIssues. - """ - # Field is not nullable - if database_revision_identity_has_decreased is None: - raise ValueError( - "Invalid value for 'database_revision_identity_has_decreased', must not be 'None'" - ) - # Field is required - if database_revision_identity_has_decreased is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'database_revision_identity_has_decreased', must not be 'Unset'" - ) - self._database_revision_identity_has_decreased = database_revision_identity_has_decreased - - @property - def loading_exception_info(self) -> "GsaExceptionInformation | Unset_Type": - """Gets the loading_exception_info of this GsaDatabaseIssues. - - Returns - ------- - GsaExceptionInformation | Unset_Type - The loading_exception_info of this GsaDatabaseIssues. - """ - return self._loading_exception_info - - @loading_exception_info.setter - def loading_exception_info( - self, loading_exception_info: "GsaExceptionInformation | Unset_Type" - ) -> None: - """Sets the loading_exception_info of this GsaDatabaseIssues. - - Parameters - ---------- - loading_exception_info: GsaExceptionInformation | Unset_Type - The loading_exception_info of this GsaDatabaseIssues. - """ - # Field is not nullable - if loading_exception_info is None: - raise ValueError("Invalid value for 'loading_exception_info', must not be 'None'") - self._loading_exception_info = loading_exception_info - - @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, GsaDatabaseIssues): - 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/v2026r1/models/gsa_database_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_status.py index 22d046aa..d61376e6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_status.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_status.py @@ -52,4 +52,3 @@ class GsaDatabaseStatus(Enum): DISABLED = "Disabled" SCHEMAUPGRADEREQUIRED = "SchemaUpgradeRequired" SCHEMADOWNGRADEREQUIRED = "SchemaDowngradeRequired" - MISSING = "Missing" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_user_capabilities.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_user_capabilities.py deleted file mode 100644 index f4821599..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_database_user_capabilities.py +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDatabaseUserCapabilities(ModelBase): - """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] = { - "can_read": "bool", - "can_write": "bool", - } - - attribute_map: dict[str, str] = { - "can_read": "canRead", - "can_write": "canWrite", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - can_read: "bool", - can_write: "bool", - ) -> None: - """GsaDatabaseUserCapabilities - a model defined in Swagger - - Parameters - ---------- - can_read: bool - can_write: bool - """ - self._can_read: bool - self._can_write: bool - - self.can_read = can_read - self.can_write = can_write - - @property - def can_read(self) -> "bool": - """Gets the can_read of this GsaDatabaseUserCapabilities. - Specifies whether the current user can read from the database. - - Returns - ------- - bool - The can_read of this GsaDatabaseUserCapabilities. - """ - return self._can_read - - @can_read.setter - def can_read(self, can_read: "bool") -> None: - """Sets the can_read of this GsaDatabaseUserCapabilities. - Specifies whether the current user can read from the database. - - Parameters - ---------- - can_read: bool - The can_read of this GsaDatabaseUserCapabilities. - """ - # Field is not nullable - if can_read is None: - raise ValueError("Invalid value for 'can_read', must not be 'None'") - # Field is required - if can_read is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'can_read', must not be 'Unset'") - self._can_read = can_read - - @property - def can_write(self) -> "bool": - """Gets the can_write of this GsaDatabaseUserCapabilities. - Specifies whether the current user can write to the database. - - Returns - ------- - bool - The can_write of this GsaDatabaseUserCapabilities. - """ - return self._can_write - - @can_write.setter - def can_write(self, can_write: "bool") -> None: - """Sets the can_write of this GsaDatabaseUserCapabilities. - Specifies whether the current user can write to the database. - - Parameters - ---------- - can_write: bool - The can_write of this GsaDatabaseUserCapabilities. - """ - # Field is not nullable - if can_write is None: - raise ValueError("Invalid value for 'can_write', must not be 'None'") - # Field is required - if can_write is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'can_write', must not be 'Unset'") - self._can_write = can_write - - @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, GsaDatabaseUserCapabilities): - 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/v2026r1/models/gsa_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py index f72baa64..f4928995 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_date_time_attribute.py @@ -69,7 +69,6 @@ class GsaDateTimeAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaDateTimeAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.DATETIME, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py index 929ae0ff..0e85ce18 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion.py @@ -103,7 +103,7 @@ class GsaDatumCriterion(ModelBase): "range".lower(): "#/components/schemas/GsaRangeDatumCriterion", "shortText".lower(): "#/components/schemas/GsaShortTextDatumCriterion", "shortTextPrefix".lower(): "#/components/schemas/GsaShortTextPrefixDatumCriterion", - "smartLinkingValue".lower(): "#/components/schemas/GsaLinkingValueExistsDatumCriterion", + "dynamicLinkingValue".lower(): "#/components/schemas/GsaLinkingValueExistsDatumCriterion", } discriminator: Optional[str] = "type" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion_type.py index 0a4ba9ef..e79fba81 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_datum_criterion_type.py @@ -70,4 +70,4 @@ class GsaDatumCriterionType(Enum): RANGE = "range" SHORTTEXT = "shortText" SHORTTEXTPREFIX = "shortTextPrefix" - SMARTLINKINGVALUE = "smartLinkingValue" + DYNAMICLINKINGVALUE = "dynamicLinkingValue" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_guid_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_guid_parameter_error_detail.py deleted file mode 100644 index 97e7f68f..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_guid_parameter_error_detail.py +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDefaultParameterValueGuidParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "default_parameter_value_guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "default_parameter_value_guid": "defaultParameterValueGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.DEFAULTPARAMETERVALUEGUID, - default_parameter_value_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaDefaultParameterValueGuidParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - default_parameter_value_guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._default_parameter_value_guid: str | Unset_Type = Unset - - if default_parameter_value_guid is not Unset: - self.default_parameter_value_guid = default_parameter_value_guid - - @property - def default_parameter_value_guid(self) -> "str | Unset_Type": - """Gets the default_parameter_value_guid of this GsaDefaultParameterValueGuidParameterErrorDetail. - - Returns - ------- - str | Unset_Type - The default_parameter_value_guid of this GsaDefaultParameterValueGuidParameterErrorDetail. - """ - return self._default_parameter_value_guid - - @default_parameter_value_guid.setter - def default_parameter_value_guid( - self, default_parameter_value_guid: "str | Unset_Type" - ) -> None: - """Sets the default_parameter_value_guid of this GsaDefaultParameterValueGuidParameterErrorDetail. - - Parameters - ---------- - default_parameter_value_guid: str | Unset_Type - The default_parameter_value_guid of this GsaDefaultParameterValueGuidParameterErrorDetail. - """ - # Field is not nullable - if default_parameter_value_guid is None: - raise ValueError("Invalid value for 'default_parameter_value_guid', must not be 'None'") - self._default_parameter_value_guid = default_parameter_value_guid - - @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, GsaDefaultParameterValueGuidParameterErrorDetail): - 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/v2026r1/models/gsa_default_parameter_value_index_and_guid_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_and_guid_parameter_error_detail.py deleted file mode 100644 index 214b80fa..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_and_guid_parameter_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDefaultParameterValueIndexAndGuidParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.DEFAULTPARAMETERVALUEINDEXANDGUID, - ) -> None: - """GsaDefaultParameterValueIndexAndGuidParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaDefaultParameterValueIndexAndGuidParameterErrorDetail): - 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/v2026r1/models/gsa_default_parameter_value_index_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_parameter_error_detail.py deleted file mode 100644 index 054e23b6..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_parameter_error_detail.py +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDefaultParameterValueIndexParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "default_parameter_value_index": "int", - "number_of_parameter_values": "int", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "default_parameter_value_index": "defaultParameterValueIndex", - "number_of_parameter_values": "numberOfParameterValues", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.DEFAULTPARAMETERVALUEINDEX, - default_parameter_value_index: "int | Unset_Type" = Unset, - number_of_parameter_values: "int | Unset_Type" = Unset, - ) -> None: - """GsaDefaultParameterValueIndexParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - default_parameter_value_index: int, optional - number_of_parameter_values: int, optional - """ - super().__init__(message=message, reason=reason) - self._default_parameter_value_index: int | Unset_Type = Unset - self._number_of_parameter_values: int | Unset_Type = Unset - - if default_parameter_value_index is not Unset: - self.default_parameter_value_index = default_parameter_value_index - if number_of_parameter_values is not Unset: - self.number_of_parameter_values = number_of_parameter_values - - @property - def default_parameter_value_index(self) -> "int | Unset_Type": - """Gets the default_parameter_value_index of this GsaDefaultParameterValueIndexParameterErrorDetail. - - Returns - ------- - int | Unset_Type - The default_parameter_value_index of this GsaDefaultParameterValueIndexParameterErrorDetail. - """ - return self._default_parameter_value_index - - @default_parameter_value_index.setter - def default_parameter_value_index( - self, default_parameter_value_index: "int | Unset_Type" - ) -> None: - """Sets the default_parameter_value_index of this GsaDefaultParameterValueIndexParameterErrorDetail. - - Parameters - ---------- - default_parameter_value_index: int | Unset_Type - The default_parameter_value_index of this GsaDefaultParameterValueIndexParameterErrorDetail. - """ - # Field is not nullable - if default_parameter_value_index is None: - raise ValueError( - "Invalid value for 'default_parameter_value_index', must not be 'None'" - ) - self._default_parameter_value_index = default_parameter_value_index - - @property - def number_of_parameter_values(self) -> "int | Unset_Type": - """Gets the number_of_parameter_values of this GsaDefaultParameterValueIndexParameterErrorDetail. - - Returns - ------- - int | Unset_Type - The number_of_parameter_values of this GsaDefaultParameterValueIndexParameterErrorDetail. - """ - return self._number_of_parameter_values - - @number_of_parameter_values.setter - def number_of_parameter_values(self, number_of_parameter_values: "int | Unset_Type") -> None: - """Sets the number_of_parameter_values of this GsaDefaultParameterValueIndexParameterErrorDetail. - - Parameters - ---------- - number_of_parameter_values: int | Unset_Type - The number_of_parameter_values of this GsaDefaultParameterValueIndexParameterErrorDetail. - """ - # Field is not nullable - if number_of_parameter_values is None: - raise ValueError("Invalid value for 'number_of_parameter_values', must not be 'None'") - self._number_of_parameter_values = number_of_parameter_values - - @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, GsaDefaultParameterValueIndexParameterErrorDetail): - 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/v2026r1/models/gsa_default_parameter_value_index_without_values_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_without_values_parameter_error_detail.py deleted file mode 100644 index febef9d0..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_default_parameter_value_index_without_values_parameter_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.DEFAULTPARAMETERVALUEINDEXWITHOUTVALUES, - ) -> None: - """GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail): - 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/v2026r1/models/gsa_description_length_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_description_length_file_error_detail.py deleted file mode 100644 index f4b4d276..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_description_length_file_error_detail.py +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDescriptionLengthFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - "max_length_of_file_description": "int", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "max_length_of_file_description": "maxLengthOfFileDescription", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.DESCRIPTIONLENGTH, - max_length_of_file_description: "int | Unset_Type" = Unset, - ) -> None: - """GsaDescriptionLengthFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - max_length_of_file_description: int, optional - """ - super().__init__(message=message, reason=reason) - self._max_length_of_file_description: int | Unset_Type = Unset - - if max_length_of_file_description is not Unset: - self.max_length_of_file_description = max_length_of_file_description - - @property - def max_length_of_file_description(self) -> "int | Unset_Type": - """Gets the max_length_of_file_description of this GsaDescriptionLengthFileErrorDetail. - - Returns - ------- - int | Unset_Type - The max_length_of_file_description of this GsaDescriptionLengthFileErrorDetail. - """ - return self._max_length_of_file_description - - @max_length_of_file_description.setter - def max_length_of_file_description( - self, max_length_of_file_description: "int | Unset_Type" - ) -> None: - """Sets the max_length_of_file_description of this GsaDescriptionLengthFileErrorDetail. - - Parameters - ---------- - max_length_of_file_description: int | Unset_Type - The max_length_of_file_description of this GsaDescriptionLengthFileErrorDetail. - """ - # Field is not nullable - if max_length_of_file_description is None: - raise ValueError( - "Invalid value for 'max_length_of_file_description', must not be 'None'" - ) - self._max_length_of_file_description = max_length_of_file_description - - @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, GsaDescriptionLengthFileErrorDetail): - 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/v2026r1/models/gsa_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py index 3eb13080..e78a0b9e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_attribute.py @@ -71,7 +71,6 @@ class GsaDiscreteAttribute(GsaAttribute): "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", "is_multi_valued": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -88,7 +87,6 @@ class GsaDiscreteAttribute(GsaAttribute): "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", "is_multi_valued": "isMultiValued", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -113,7 +111,6 @@ def __init__( info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", is_multi_valued: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.DISCRETE, @@ -132,7 +129,6 @@ def __init__( info: GsaAttributeInfo is_hidden_from_search_criteria: bool is_multi_valued: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -146,7 +142,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py index f99faecb..abd49751 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_functional_attribute.py @@ -71,7 +71,6 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -88,7 +87,6 @@ class GsaDiscreteFunctionalAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -114,7 +112,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.DISCRETEFUNCTIONAL, @@ -133,7 +130,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -147,7 +143,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type.py index f25f96ab..cbdf23ac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type.py @@ -64,7 +64,6 @@ class GsaDiscreteType(ModelBase): "discrete_values": "list[GsaDiscreteValuesDiscreteValue]", "guid": "str", "is_ordered": "bool", - "is_protected": "bool", "name": "str", } @@ -72,7 +71,6 @@ class GsaDiscreteType(ModelBase): "discrete_values": "discreteValues", "guid": "guid", "is_ordered": "isOrdered", - "is_protected": "isProtected", "name": "name", } @@ -88,7 +86,6 @@ def __init__( discrete_values: "list[GsaDiscreteValuesDiscreteValue]", guid: "str", is_ordered: "bool", - is_protected: "bool", name: "str", ) -> None: """GsaDiscreteType - a model defined in Swagger @@ -98,18 +95,15 @@ def __init__( discrete_values: list[GsaDiscreteValuesDiscreteValue] guid: str is_ordered: bool - is_protected: bool name: str """ self._discrete_values: list[GsaDiscreteValuesDiscreteValue] self._is_ordered: bool - self._is_protected: bool self._name: str self._guid: str self.discrete_values = discrete_values self.is_ordered = is_ordered - self.is_protected = is_protected self.name = name self.guid = guid @@ -169,36 +163,6 @@ def is_ordered(self, is_ordered: "bool") -> None: raise ValueError("Invalid value for 'is_ordered', must not be 'Unset'") self._is_ordered = is_ordered - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaDiscreteType. - If true, the discrete type is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaDiscreteType. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaDiscreteType. - If true, the discrete type is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaDiscreteType. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - @property def name(self) -> "str": """Gets the name of this GsaDiscreteType. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type_deletion_exception.py index 617fb21e..9f989a2f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_type_deletion_exception.py @@ -61,7 +61,7 @@ class GsaDiscreteTypeDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaDiscreteTypeDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaDiscreteTypeDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaDiscreteTypeDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaDiscreteTypeDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaDiscreteTypeDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaDiscreteTypeDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_value_aggregate_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_value_aggregate_exception.py index ef74f560..96f39a6b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_value_aggregate_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_value_aggregate_exception.py @@ -62,7 +62,7 @@ class GsaDiscreteValueAggregateException(ModelBase): """ swagger_types: dict[str, str] = { "reason": "GsaDiscreteValueAggregateErrorReason", - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaErrorDetail]", "message": "str", } @@ -76,7 +76,7 @@ class GsaDiscreteValueAggregateException(ModelBase): subtype_mapping: dict[str, str] = { "reason": "GsaDiscreteValueAggregateErrorReason", - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaErrorDetail", } @@ -86,7 +86,7 @@ def __init__( self, *, reason: "GsaDiscreteValueAggregateErrorReason", - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -95,13 +95,13 @@ def __init__( Parameters ---------- reason: GsaDiscreteValueAggregateErrorReason - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset self._reason: GsaDiscreteValueAggregateErrorReason - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -163,23 +163,23 @@ def reason(self, reason: "GsaDiscreteValueAggregateErrorReason") -> None: self._reason = reason @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaDiscreteValueAggregateException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaDiscreteValueAggregateException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaDiscreteValueAggregateException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaDiscreteValueAggregateException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_values_discrete_value.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_values_discrete_value.py index 24acd456..dd5817fc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_values_discrete_value.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_discrete_values_discrete_value.py @@ -62,13 +62,11 @@ class GsaDiscreteValuesDiscreteValue(ModelBase): """ swagger_types: dict[str, str] = { "guid": "str", - "is_protected": "bool", "name": "str", } attribute_map: dict[str, str] = { "guid": "guid", - "is_protected": "isProtected", "name": "name", } @@ -80,7 +78,6 @@ def __init__( self, *, guid: "str", - is_protected: "bool", name: "str", ) -> None: """GsaDiscreteValuesDiscreteValue - a model defined in Swagger @@ -88,47 +85,14 @@ def __init__( Parameters ---------- guid: str - is_protected: bool name: str """ - self._is_protected: bool self._name: str self._guid: str - self.is_protected = is_protected self.name = name self.guid = guid - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaDiscreteValuesDiscreteValue. - If true, the discrete value is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaDiscreteValuesDiscreteValue. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaDiscreteValuesDiscreteValue. - If true, the discrete value is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaDiscreteValuesDiscreteValue. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - @property def name(self) -> "str": """Gets the name of this GsaDiscreteValuesDiscreteValue. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_empty_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_empty_error_detail.py deleted file mode 100644 index 0d35966c..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_empty_error_detail.py +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_detail import ( # noqa: F401 - GsaNamedEntityErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_reason import ( - GsaNamedEntityErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNameEmptyErrorDetail(GsaNamedEntityErrorDetail): - """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] = { - "entity_type": "GsaEntityType", - "message": "str", - "reason": "GsaNamedEntityErrorReason", - "language": "str", - } - - attribute_map: dict[str, str] = { - "entity_type": "entityType", - "message": "message", - "reason": "reason", - "language": "language", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - entity_type: "GsaEntityType", - message: "str", - reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.DISPLAYNAMEEMPTY, - language: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNameEmptyErrorDetail - a model defined in Swagger - - Parameters - ---------- - entity_type: GsaEntityType - message: str - reason: GsaNamedEntityErrorReason - language: str | None, optional - """ - super().__init__(entity_type=entity_type, message=message, reason=reason) - self._language: str | None | Unset_Type = Unset - - if language is not Unset: - self.language = language - - @property - def language(self) -> "str | None | Unset_Type": - """Gets the language of this GsaDisplayNameEmptyErrorDetail. - - Returns - ------- - str | None | Unset_Type - The language of this GsaDisplayNameEmptyErrorDetail. - """ - return self._language - - @language.setter - def language(self, language: "str | None | Unset_Type") -> None: - """Sets the language of this GsaDisplayNameEmptyErrorDetail. - - Parameters - ---------- - language: str | None | Unset_Type - The language of this GsaDisplayNameEmptyErrorDetail. - """ - self._language = language - - @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, GsaDisplayNameEmptyErrorDetail): - 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/v2026r1/models/gsa_display_name_language_not_provided_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_provided_error_detail.py deleted file mode 100644 index b46feb55..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_provided_error_detail.py +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_detail import ( # noqa: F401 - GsaNamedEntityErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_reason import ( - GsaNamedEntityErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNameLanguageNotProvidedErrorDetail(GsaNamedEntityErrorDetail): - """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] = { - "entity_type": "GsaEntityType", - "message": "str", - "reason": "GsaNamedEntityErrorReason", - "display_name": "str", - } - - attribute_map: dict[str, str] = { - "entity_type": "entityType", - "message": "message", - "reason": "reason", - "display_name": "displayName", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - entity_type: "GsaEntityType", - message: "str", - reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.DISPLAYNAMELANGUAGENOTPROVIDED, - display_name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNameLanguageNotProvidedErrorDetail - a model defined in Swagger - - Parameters - ---------- - entity_type: GsaEntityType - message: str - reason: GsaNamedEntityErrorReason - display_name: str | None, optional - """ - super().__init__(entity_type=entity_type, message=message, reason=reason) - self._display_name: str | None | Unset_Type = Unset - - if display_name is not Unset: - self.display_name = display_name - - @property - def display_name(self) -> "str | None | Unset_Type": - """Gets the display_name of this GsaDisplayNameLanguageNotProvidedErrorDetail. - - Returns - ------- - str | None | Unset_Type - The display_name of this GsaDisplayNameLanguageNotProvidedErrorDetail. - """ - return self._display_name - - @display_name.setter - def display_name(self, display_name: "str | None | Unset_Type") -> None: - """Sets the display_name of this GsaDisplayNameLanguageNotProvidedErrorDetail. - - Parameters - ---------- - display_name: str | None | Unset_Type - The display_name of this GsaDisplayNameLanguageNotProvidedErrorDetail. - """ - self._display_name = display_name - - @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, GsaDisplayNameLanguageNotProvidedErrorDetail): - 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/v2026r1/models/gsa_display_name_language_not_supported_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_supported_error_detail.py deleted file mode 100644 index e9cc2c99..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_name_language_not_supported_error_detail.py +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_detail import ( # noqa: F401 - GsaNamedEntityErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_reason import ( - GsaNamedEntityErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNameLanguageNotSupportedErrorDetail(GsaNamedEntityErrorDetail): - """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] = { - "entity_type": "GsaEntityType", - "message": "str", - "reason": "GsaNamedEntityErrorReason", - "language": "str", - } - - attribute_map: dict[str, str] = { - "entity_type": "entityType", - "message": "message", - "reason": "reason", - "language": "language", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - entity_type: "GsaEntityType", - message: "str", - reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.DISPLAYNAMELANGUAGENOTSUPPORTED, - language: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNameLanguageNotSupportedErrorDetail - a model defined in Swagger - - Parameters - ---------- - entity_type: GsaEntityType - message: str - reason: GsaNamedEntityErrorReason - language: str | None, optional - """ - super().__init__(entity_type=entity_type, message=message, reason=reason) - self._language: str | None | Unset_Type = Unset - - if language is not Unset: - self.language = language - - @property - def language(self) -> "str | None | Unset_Type": - """Gets the language of this GsaDisplayNameLanguageNotSupportedErrorDetail. - - Returns - ------- - str | None | Unset_Type - The language of this GsaDisplayNameLanguageNotSupportedErrorDetail. - """ - return self._language - - @language.setter - def language(self, language: "str | None | Unset_Type") -> None: - """Sets the language of this GsaDisplayNameLanguageNotSupportedErrorDetail. - - Parameters - ---------- - language: str | None | Unset_Type - The language of this GsaDisplayNameLanguageNotSupportedErrorDetail. - """ - self._language = language - - @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, GsaDisplayNameLanguageNotSupportedErrorDetail): - 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/v2026r1/models/gsa_display_names_import_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_detail.py deleted file mode 100644 index 994a78c5..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_detail.py +++ /dev/null @@ -1,297 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNamesImportErrorDetail(ModelBase): - """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] = { - "message": "str", - "column_header": "str", - "field_value": "str", - "item_type": "str", - "reason": "GsaDisplayNamesImportErrorReason", - "row_index": "int", - } - - attribute_map: dict[str, str] = { - "message": "message", - "column_header": "columnHeader", - "field_value": "fieldValue", - "item_type": "itemType", - "reason": "reason", - "row_index": "rowIndex", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaDisplayNamesImportErrorReason", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - column_header: "str | None | Unset_Type" = Unset, - field_value: "str | None | Unset_Type" = Unset, - item_type: "str | None | Unset_Type" = Unset, - reason: "GsaDisplayNamesImportErrorReason | Unset_Type" = Unset, - row_index: "int | None | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNamesImportErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - column_header: str | None, optional - field_value: str | None, optional - item_type: str | None, optional - reason: GsaDisplayNamesImportErrorReason, optional - row_index: int | None, optional - """ - self._message: str - self._reason: GsaDisplayNamesImportErrorReason | Unset_Type = Unset - self._row_index: int | None | Unset_Type = Unset - self._field_value: str | None | Unset_Type = Unset - self._column_header: str | None | Unset_Type = Unset - self._item_type: str | None | Unset_Type = Unset - - self.message = message - if reason is not Unset: - self.reason = reason - if row_index is not Unset: - self.row_index = row_index - if field_value is not Unset: - self.field_value = field_value - if column_header is not Unset: - self.column_header = column_header - if item_type is not Unset: - self.item_type = item_type - - @property - def message(self) -> "str": - """Gets the message of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - str - The message of this GsaDisplayNamesImportErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaDisplayNamesImportErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaDisplayNamesImportErrorReason | Unset_Type": - """Gets the reason of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - GsaDisplayNamesImportErrorReason | Unset_Type - The reason of this GsaDisplayNamesImportErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaDisplayNamesImportErrorReason | Unset_Type") -> None: - """Sets the reason of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - reason: GsaDisplayNamesImportErrorReason | Unset_Type - The reason of this GsaDisplayNamesImportErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - self._reason = reason - - @property - def row_index(self) -> "int | None | Unset_Type": - """Gets the row_index of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - int | None | Unset_Type - The row_index of this GsaDisplayNamesImportErrorDetail. - """ - return self._row_index - - @row_index.setter - def row_index(self, row_index: "int | None | Unset_Type") -> None: - """Sets the row_index of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - row_index: int | None | Unset_Type - The row_index of this GsaDisplayNamesImportErrorDetail. - """ - self._row_index = row_index - - @property - def field_value(self) -> "str | None | Unset_Type": - """Gets the field_value of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - str | None | Unset_Type - The field_value of this GsaDisplayNamesImportErrorDetail. - """ - return self._field_value - - @field_value.setter - def field_value(self, field_value: "str | None | Unset_Type") -> None: - """Sets the field_value of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - field_value: str | None | Unset_Type - The field_value of this GsaDisplayNamesImportErrorDetail. - """ - self._field_value = field_value - - @property - def column_header(self) -> "str | None | Unset_Type": - """Gets the column_header of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - str | None | Unset_Type - The column_header of this GsaDisplayNamesImportErrorDetail. - """ - return self._column_header - - @column_header.setter - def column_header(self, column_header: "str | None | Unset_Type") -> None: - """Sets the column_header of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - column_header: str | None | Unset_Type - The column_header of this GsaDisplayNamesImportErrorDetail. - """ - self._column_header = column_header - - @property - def item_type(self) -> "str | None | Unset_Type": - """Gets the item_type of this GsaDisplayNamesImportErrorDetail. - - Returns - ------- - str | None | Unset_Type - The item_type of this GsaDisplayNamesImportErrorDetail. - """ - return self._item_type - - @item_type.setter - def item_type(self, item_type: "str | None | Unset_Type") -> None: - """Sets the item_type of this GsaDisplayNamesImportErrorDetail. - - Parameters - ---------- - item_type: str | None | Unset_Type - The item_type of this GsaDisplayNamesImportErrorDetail. - """ - self._item_type = item_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, GsaDisplayNamesImportErrorDetail): - 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/v2026r1/models/gsa_display_names_import_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_reason.py deleted file mode 100644 index b7723ea0..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_error_reason.py +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaDisplayNamesImportErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - UNKNOWN = "unknown" - MALFORMEDLINE = "malformedLine" - INCORRECTNUMBEROFCOLUMNS = "incorrectNumberOfColumns" - INVALIDSCHEMATYPE = "invalidSchemaType" - INVALIDLANGUAGE = "invalidLanguage" - SCHEMAITEMNOTFOUND = "schemaItemNotFound" - EMPTYCOLUMN = "emptyColumn" - EXTRAINFOMISSING = "extraInfoMissing" - TRANSLATIONTOOLONG = "translationTooLong" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_exception.py deleted file mode 100644 index cf9c39cb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_import_exception.py +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNamesImportException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaDisplayNamesImportErrorDetail]", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "errors": "GsaDisplayNamesImportErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNamesImportException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaDisplayNamesImportErrorDetail] | None, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._errors: list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaDisplayNamesImportException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaDisplayNamesImportException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaDisplayNamesImportException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaDisplayNamesImportException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaDisplayNamesImportException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaDisplayNamesImportException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaDisplayNamesImportException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaDisplayNamesImportException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def errors(self) -> "list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaDisplayNamesImportException. - - Returns - ------- - list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type - The errors of this GsaDisplayNamesImportException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaDisplayNamesImportException. - - Parameters - ---------- - errors: list[GsaDisplayNamesImportErrorDetail] | None | Unset_Type - The errors of this GsaDisplayNamesImportException. - """ - self._errors = errors - - @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, GsaDisplayNamesImportException): - 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/v2026r1/models/gsa_display_names_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_info.py deleted file mode 100644 index 37bacb82..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_display_names_info.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaDisplayNamesInfo(ModelBase): - """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] = { - "display_names": "GsaGrid", - } - - attribute_map: dict[str, str] = { - "display_names": "displayNames", - } - - subtype_mapping: dict[str, str] = { - "displayNames": "GsaGrid", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - display_names: "GsaGrid | Unset_Type" = Unset, - ) -> None: - """GsaDisplayNamesInfo - a model defined in Swagger - - Parameters - ---------- - display_names: GsaGrid, optional - """ - self._display_names: GsaGrid | Unset_Type = Unset - - if display_names is not Unset: - self.display_names = display_names - - @property - def display_names(self) -> "GsaGrid | Unset_Type": - """Gets the display_names of this GsaDisplayNamesInfo. - - Returns - ------- - GsaGrid | Unset_Type - The display_names of this GsaDisplayNamesInfo. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "GsaGrid | Unset_Type") -> None: - """Sets the display_names of this GsaDisplayNamesInfo. - - Parameters - ---------- - display_names: GsaGrid | Unset_Type - The display_names of this GsaDisplayNamesInfo. - """ - # Field is not nullable - if display_names is None: - raise ValueError("Invalid value for 'display_names', must not be 'None'") - self._display_names = display_names - - @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, GsaDisplayNamesInfo): - 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/v2026r1/models/gsa_smart_link_group_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py similarity index 88% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link_group_usage_data_modification_error_detail.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py index ff4b4418..14fc79d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_link_group_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_link_group_usage_data_modification_error_detail.py @@ -52,7 +52,7 @@ from . import * -class GsaSmartLinkGroupUsageDataModificationErrorDetail(GsaUsageDataModificationErrorDetail): +class GsaDynamicLinkGroupUsageDataModificationErrorDetail(GsaUsageDataModificationErrorDetail): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -95,10 +95,10 @@ def __init__( *, message: "str", reason: "GsaDataModificationErrorReason" = GsaDataModificationErrorReason.USAGE, - referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.SMARTLINKGROUP, + referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.DYNAMICLINKGROUP, referenced_by: "list[GsaSlimNamedEntity] | None | Unset_Type" = Unset, ) -> None: - """GsaSmartLinkGroupUsageDataModificationErrorDetail - a model defined in Swagger + """GsaDynamicLinkGroupUsageDataModificationErrorDetail - a model defined in Swagger Parameters ---------- @@ -115,23 +115,23 @@ def __init__( @property def referenced_by(self) -> "list[GsaSlimNamedEntity] | None | Unset_Type": - """Gets the referenced_by of this GsaSmartLinkGroupUsageDataModificationErrorDetail. + """Gets the referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. Returns ------- list[GsaSlimNamedEntity] | None | Unset_Type - The referenced_by of this GsaSmartLinkGroupUsageDataModificationErrorDetail. + The referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. """ return self._referenced_by @referenced_by.setter def referenced_by(self, referenced_by: "list[GsaSlimNamedEntity] | None | Unset_Type") -> None: - """Sets the referenced_by of this GsaSmartLinkGroupUsageDataModificationErrorDetail. + """Sets the referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. Parameters ---------- referenced_by: list[GsaSlimNamedEntity] | None | Unset_Type - The referenced_by of this GsaSmartLinkGroupUsageDataModificationErrorDetail. + The referenced_by of this GsaDynamicLinkGroupUsageDataModificationErrorDetail. """ self._referenced_by = referenced_by @@ -157,7 +157,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaSmartLinkGroupUsageDataModificationErrorDetail): + if not isinstance(other, GsaDynamicLinkGroupUsageDataModificationErrorDetail): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_record_link_group.py similarity index 89% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_record_link_group.py index 37b16967..7a792eff 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_smart_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_dynamic_record_link_group.py @@ -49,7 +49,7 @@ from . import * -class GsaSmartRecordLinkGroup(GsaRecordLinkGroup): +class GsaDynamicRecordLinkGroup(GsaRecordLinkGroup): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -113,11 +113,11 @@ def __init__( name: "str", referential_integrity_model: "GsaReferentialIntegrityModel", reverse_name: "str", - type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART, + type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC, identity: "int | None | Unset_Type" = Unset, reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset, ) -> None: - """GsaSmartRecordLinkGroup - a model defined in Swagger + """GsaDynamicRecordLinkGroup - a model defined in Swagger Parameters ---------- @@ -153,23 +153,23 @@ def __init__( @property def forbid_orphans(self) -> "bool": - """Gets the forbid_orphans of this GsaSmartRecordLinkGroup. + """Gets the forbid_orphans of this GsaDynamicRecordLinkGroup. Returns ------- bool - The forbid_orphans of this GsaSmartRecordLinkGroup. + The forbid_orphans of this GsaDynamicRecordLinkGroup. """ return self._forbid_orphans @forbid_orphans.setter def forbid_orphans(self, forbid_orphans: "bool") -> None: - """Sets the forbid_orphans of this GsaSmartRecordLinkGroup. + """Sets the forbid_orphans of this GsaDynamicRecordLinkGroup. Parameters ---------- forbid_orphans: bool - The forbid_orphans of this GsaSmartRecordLinkGroup. + The forbid_orphans of this GsaDynamicRecordLinkGroup. """ # Field is not nullable if forbid_orphans is None: @@ -181,12 +181,12 @@ def forbid_orphans(self, forbid_orphans: "bool") -> None: @property def referential_integrity_model(self) -> "GsaReferentialIntegrityModel": - """Gets the referential_integrity_model of this GsaSmartRecordLinkGroup. + """Gets the referential_integrity_model of this GsaDynamicRecordLinkGroup. Returns ------- GsaReferentialIntegrityModel - The referential_integrity_model of this GsaSmartRecordLinkGroup. + The referential_integrity_model of this GsaDynamicRecordLinkGroup. """ return self._referential_integrity_model @@ -194,12 +194,12 @@ def referential_integrity_model(self) -> "GsaReferentialIntegrityModel": def referential_integrity_model( self, referential_integrity_model: "GsaReferentialIntegrityModel" ) -> None: - """Sets the referential_integrity_model of this GsaSmartRecordLinkGroup. + """Sets the referential_integrity_model of this GsaDynamicRecordLinkGroup. Parameters ---------- referential_integrity_model: GsaReferentialIntegrityModel - The referential_integrity_model of this GsaSmartRecordLinkGroup. + The referential_integrity_model of this GsaDynamicRecordLinkGroup. """ # Field is not nullable if referential_integrity_model is None: @@ -211,23 +211,23 @@ def referential_integrity_model( @property def attribute_pairs(self) -> "list[GsaAttributeLinkPair]": - """Gets the attribute_pairs of this GsaSmartRecordLinkGroup. + """Gets the attribute_pairs of this GsaDynamicRecordLinkGroup. Returns ------- list[GsaAttributeLinkPair] - The attribute_pairs of this GsaSmartRecordLinkGroup. + The attribute_pairs of this GsaDynamicRecordLinkGroup. """ return self._attribute_pairs @attribute_pairs.setter def attribute_pairs(self, attribute_pairs: "list[GsaAttributeLinkPair]") -> None: - """Sets the attribute_pairs of this GsaSmartRecordLinkGroup. + """Sets the attribute_pairs of this GsaDynamicRecordLinkGroup. Parameters ---------- attribute_pairs: list[GsaAttributeLinkPair] - The attribute_pairs of this GsaSmartRecordLinkGroup. + The attribute_pairs of this GsaDynamicRecordLinkGroup. """ # Field is not nullable if attribute_pairs is None: @@ -259,7 +259,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaSmartRecordLinkGroup): + if not isinstance(other, GsaDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_email_generation_settings.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_email_generation_settings.py deleted file mode 100644 index a1dd8ac4..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_email_generation_settings.py +++ /dev/null @@ -1,389 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaEmailGenerationSettings(ModelBase): - """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] = { - "allowed_domains": "str", - "last_run_date_time": "datetime", - "maximum_notifications": "int", - "per_mail_throttle": "int", - "per_mail_timeout": "int", - "restrict_to_allowed_domains": "bool", - "sender_address": "str", - "subject_line_template": "str", - "viewer_url": "str", - } - - attribute_map: dict[str, str] = { - "allowed_domains": "allowedDomains", - "last_run_date_time": "lastRunDateTime", - "maximum_notifications": "maximumNotifications", - "per_mail_throttle": "perMailThrottle", - "per_mail_timeout": "perMailTimeout", - "restrict_to_allowed_domains": "restrictToAllowedDomains", - "sender_address": "senderAddress", - "subject_line_template": "subjectLineTemplate", - "viewer_url": "viewerUrl", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - allowed_domains: "str | None | Unset_Type" = Unset, - last_run_date_time: "datetime | Unset_Type" = Unset, - maximum_notifications: "int | Unset_Type" = Unset, - per_mail_throttle: "int | Unset_Type" = Unset, - per_mail_timeout: "int | Unset_Type" = Unset, - restrict_to_allowed_domains: "bool | Unset_Type" = Unset, - sender_address: "str | None | Unset_Type" = Unset, - subject_line_template: "str | None | Unset_Type" = Unset, - viewer_url: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaEmailGenerationSettings - a model defined in Swagger - - Parameters - ---------- - allowed_domains: str | None, optional - last_run_date_time: datetime, optional - maximum_notifications: int, optional - per_mail_throttle: int, optional - per_mail_timeout: int, optional - restrict_to_allowed_domains: bool, optional - sender_address: str | None, optional - subject_line_template: str | None, optional - viewer_url: str | None, optional - """ - self._viewer_url: str | None | Unset_Type = Unset - self._sender_address: str | None | Unset_Type = Unset - self._restrict_to_allowed_domains: bool | Unset_Type = Unset - self._allowed_domains: str | None | Unset_Type = Unset - self._per_mail_timeout: int | Unset_Type = Unset - self._per_mail_throttle: int | Unset_Type = Unset - self._last_run_date_time: datetime | Unset_Type = Unset - self._subject_line_template: str | None | Unset_Type = Unset - self._maximum_notifications: int | Unset_Type = Unset - - if viewer_url is not Unset: - self.viewer_url = viewer_url - if sender_address is not Unset: - self.sender_address = sender_address - if restrict_to_allowed_domains is not Unset: - self.restrict_to_allowed_domains = restrict_to_allowed_domains - if allowed_domains is not Unset: - self.allowed_domains = allowed_domains - if per_mail_timeout is not Unset: - self.per_mail_timeout = per_mail_timeout - if per_mail_throttle is not Unset: - self.per_mail_throttle = per_mail_throttle - if last_run_date_time is not Unset: - self.last_run_date_time = last_run_date_time - if subject_line_template is not Unset: - self.subject_line_template = subject_line_template - if maximum_notifications is not Unset: - self.maximum_notifications = maximum_notifications - - @property - def viewer_url(self) -> "str | None | Unset_Type": - """Gets the viewer_url of this GsaEmailGenerationSettings. - - Returns - ------- - str | None | Unset_Type - The viewer_url of this GsaEmailGenerationSettings. - """ - return self._viewer_url - - @viewer_url.setter - def viewer_url(self, viewer_url: "str | None | Unset_Type") -> None: - """Sets the viewer_url of this GsaEmailGenerationSettings. - - Parameters - ---------- - viewer_url: str | None | Unset_Type - The viewer_url of this GsaEmailGenerationSettings. - """ - self._viewer_url = viewer_url - - @property - def sender_address(self) -> "str | None | Unset_Type": - """Gets the sender_address of this GsaEmailGenerationSettings. - - Returns - ------- - str | None | Unset_Type - The sender_address of this GsaEmailGenerationSettings. - """ - return self._sender_address - - @sender_address.setter - def sender_address(self, sender_address: "str | None | Unset_Type") -> None: - """Sets the sender_address of this GsaEmailGenerationSettings. - - Parameters - ---------- - sender_address: str | None | Unset_Type - The sender_address of this GsaEmailGenerationSettings. - """ - self._sender_address = sender_address - - @property - def restrict_to_allowed_domains(self) -> "bool | Unset_Type": - """Gets the restrict_to_allowed_domains of this GsaEmailGenerationSettings. - - Returns - ------- - bool | Unset_Type - The restrict_to_allowed_domains of this GsaEmailGenerationSettings. - """ - return self._restrict_to_allowed_domains - - @restrict_to_allowed_domains.setter - def restrict_to_allowed_domains(self, restrict_to_allowed_domains: "bool | Unset_Type") -> None: - """Sets the restrict_to_allowed_domains of this GsaEmailGenerationSettings. - - Parameters - ---------- - restrict_to_allowed_domains: bool | Unset_Type - The restrict_to_allowed_domains of this GsaEmailGenerationSettings. - """ - # Field is not nullable - if restrict_to_allowed_domains is None: - raise ValueError("Invalid value for 'restrict_to_allowed_domains', must not be 'None'") - self._restrict_to_allowed_domains = restrict_to_allowed_domains - - @property - def allowed_domains(self) -> "str | None | Unset_Type": - """Gets the allowed_domains of this GsaEmailGenerationSettings. - - Returns - ------- - str | None | Unset_Type - The allowed_domains of this GsaEmailGenerationSettings. - """ - return self._allowed_domains - - @allowed_domains.setter - def allowed_domains(self, allowed_domains: "str | None | Unset_Type") -> None: - """Sets the allowed_domains of this GsaEmailGenerationSettings. - - Parameters - ---------- - allowed_domains: str | None | Unset_Type - The allowed_domains of this GsaEmailGenerationSettings. - """ - self._allowed_domains = allowed_domains - - @property - def per_mail_timeout(self) -> "int | Unset_Type": - """Gets the per_mail_timeout of this GsaEmailGenerationSettings. - - Returns - ------- - int | Unset_Type - The per_mail_timeout of this GsaEmailGenerationSettings. - """ - return self._per_mail_timeout - - @per_mail_timeout.setter - def per_mail_timeout(self, per_mail_timeout: "int | Unset_Type") -> None: - """Sets the per_mail_timeout of this GsaEmailGenerationSettings. - - Parameters - ---------- - per_mail_timeout: int | Unset_Type - The per_mail_timeout of this GsaEmailGenerationSettings. - """ - # Field is not nullable - if per_mail_timeout is None: - raise ValueError("Invalid value for 'per_mail_timeout', must not be 'None'") - self._per_mail_timeout = per_mail_timeout - - @property - def per_mail_throttle(self) -> "int | Unset_Type": - """Gets the per_mail_throttle of this GsaEmailGenerationSettings. - - Returns - ------- - int | Unset_Type - The per_mail_throttle of this GsaEmailGenerationSettings. - """ - return self._per_mail_throttle - - @per_mail_throttle.setter - def per_mail_throttle(self, per_mail_throttle: "int | Unset_Type") -> None: - """Sets the per_mail_throttle of this GsaEmailGenerationSettings. - - Parameters - ---------- - per_mail_throttle: int | Unset_Type - The per_mail_throttle of this GsaEmailGenerationSettings. - """ - # Field is not nullable - if per_mail_throttle is None: - raise ValueError("Invalid value for 'per_mail_throttle', must not be 'None'") - self._per_mail_throttle = per_mail_throttle - - @property - def last_run_date_time(self) -> "datetime | Unset_Type": - """Gets the last_run_date_time of this GsaEmailGenerationSettings. - - Returns - ------- - datetime | Unset_Type - The last_run_date_time of this GsaEmailGenerationSettings. - """ - return self._last_run_date_time - - @last_run_date_time.setter - def last_run_date_time(self, last_run_date_time: "datetime | Unset_Type") -> None: - """Sets the last_run_date_time of this GsaEmailGenerationSettings. - - Parameters - ---------- - last_run_date_time: datetime | Unset_Type - The last_run_date_time of this GsaEmailGenerationSettings. - """ - # Field is not nullable - if last_run_date_time is None: - raise ValueError("Invalid value for 'last_run_date_time', must not be 'None'") - self._last_run_date_time = last_run_date_time - - @property - def subject_line_template(self) -> "str | None | Unset_Type": - """Gets the subject_line_template of this GsaEmailGenerationSettings. - - Returns - ------- - str | None | Unset_Type - The subject_line_template of this GsaEmailGenerationSettings. - """ - return self._subject_line_template - - @subject_line_template.setter - def subject_line_template(self, subject_line_template: "str | None | Unset_Type") -> None: - """Sets the subject_line_template of this GsaEmailGenerationSettings. - - Parameters - ---------- - subject_line_template: str | None | Unset_Type - The subject_line_template of this GsaEmailGenerationSettings. - """ - self._subject_line_template = subject_line_template - - @property - def maximum_notifications(self) -> "int | Unset_Type": - """Gets the maximum_notifications of this GsaEmailGenerationSettings. - - Returns - ------- - int | Unset_Type - The maximum_notifications of this GsaEmailGenerationSettings. - """ - return self._maximum_notifications - - @maximum_notifications.setter - def maximum_notifications(self, maximum_notifications: "int | Unset_Type") -> None: - """Sets the maximum_notifications of this GsaEmailGenerationSettings. - - Parameters - ---------- - maximum_notifications: int | Unset_Type - The maximum_notifications of this GsaEmailGenerationSettings. - """ - # Field is not nullable - if maximum_notifications is None: - raise ValueError("Invalid value for 'maximum_notifications', must not be 'None'") - self._maximum_notifications = maximum_notifications - - @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, GsaEmailGenerationSettings): - 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/v2026r1/models/gsa_entity_already_exists_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_already_exists_error_detail.py index 42f54082..454d0fac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_already_exists_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_already_exists_error_detail.py @@ -68,16 +68,16 @@ class GsaEntityAlreadyExistsErrorDetail(GsaNamedEntityErrorDetail): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entity_type": "GsaEntityType", "message": "str", "reason": "GsaNamedEntityErrorReason", + "entity_type_name": "str", "guid": "str", } attribute_map: dict[str, str] = { - "entity_type": "entityType", "message": "message", "reason": "reason", + "entity_type_name": "entityTypeName", "guid": "guid", } @@ -88,21 +88,21 @@ class GsaEntityAlreadyExistsErrorDetail(GsaNamedEntityErrorDetail): def __init__( self, *, - entity_type: "GsaEntityType", message: "str", reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.ENTITYALREADYEXISTS, + entity_type_name: "str | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, ) -> None: """GsaEntityAlreadyExistsErrorDetail - a model defined in Swagger Parameters ---------- - entity_type: GsaEntityType message: str reason: GsaNamedEntityErrorReason + entity_type_name: str | None, optional guid: str, optional """ - super().__init__(entity_type=entity_type, message=message, reason=reason) + super().__init__(message=message, reason=reason, entity_type_name=entity_type_name) self._guid: str | Unset_Type = Unset if guid is not Unset: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_identifier_already_specified_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_identifier_already_specified_error_detail.py index ffa58ab9..1e110303 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_identifier_already_specified_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_identifier_already_specified_error_detail.py @@ -68,16 +68,16 @@ class GsaEntityIdentifierAlreadySpecifiedErrorDetail(GsaNamedEntityErrorDetail): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entity_type": "GsaEntityType", "message": "str", "reason": "GsaNamedEntityErrorReason", + "entity_type_name": "str", "guid": "str", } attribute_map: dict[str, str] = { - "entity_type": "entityType", "message": "message", "reason": "reason", + "entity_type_name": "entityTypeName", "guid": "guid", } @@ -88,21 +88,21 @@ class GsaEntityIdentifierAlreadySpecifiedErrorDetail(GsaNamedEntityErrorDetail): def __init__( self, *, - entity_type: "GsaEntityType", message: "str", reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.ENTITYIDENTIFIERALREADYSPECIFIED, + entity_type_name: "str | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, ) -> None: """GsaEntityIdentifierAlreadySpecifiedErrorDetail - a model defined in Swagger Parameters ---------- - entity_type: GsaEntityType message: str reason: GsaNamedEntityErrorReason + entity_type_name: str | None, optional guid: str, optional """ - super().__init__(entity_type=entity_type, message=message, reason=reason) + super().__init__(message=message, reason=reason, entity_type_name=entity_type_name) self._guid: str | Unset_Type = Unset if guid is not Unset: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_type.py deleted file mode 100644 index eb60a787..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_entity_type.py +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaEntityType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - ATTRIBUTE = "attribute" - DATABASE = "database" - DISCRETEVALUE = "discreteValue" - DISCRETETYPE = "discreteType" - METAATTRIBUTE = "metaAttribute" - PARAMETER = "parameter" - PARAMETERVALUE = "parameterValue" - TABLE = "table" - FILE = "file" - FOLDER = "folder" - RECORDHISTORY = "recordHistory" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_error_code.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_error_code.py deleted file mode 100644 index 43efe422..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_error_code.py +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaErrorCode(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - UNKNOWN = "unknown" - ACCESSDENIED = "accessDenied" - ADDDATABASE = "addDatabase" - ATTRIBUTECREATION = "attributeCreation" - DATAVALIDATION = "dataValidation" - DELETERECORDVERSIONCONTROL = "deleteRecordVersionControl" - DELETION = "deletion" - DISCRETEVALUEAGGREGATE = "discreteValueAggregate" - DISPLAYNAMESIMPORT = "displayNamesImport" - FILECREATION = "fileCreation" - FILEMOVE = "fileMove" - FILEUPDATE = "fileUpdate" - FOLDERCREATION = "folderCreation" - FOLDERDELETION = "folderDeletion" - FOLDERMOVE = "folderMove" - FOLDERUPDATE = "folderUpdate" - GETMODIFIABLERECORDVERSIONCONTROL = "getModifiableRecordVersionControl" - IMAGETYPEVALIDATION = "imageTypeValidation" - INPUTVALIDATION = "inputValidation" - INTERNALSERVERERROR = "internalServerError" - JSONSERIALIZATION = "jsonSerialization" - NOSUCHENTITY = "noSuchEntity" - NOSUCHITEM = "noSuchItem" - NOTIMPLEMENTED = "notImplemented" - NOTSPECIFIED = "notSpecified" - NOTSUPPORTED = "notSupported" - PARAMETERCREATION = "parameterCreation" - PARAMETERUPDATE = "parameterUpdate" - PARAMETERVALUECREATION = "parameterValueCreation" - PARAMETERVALUEUPDATE = "parameterValueUpdate" - RECORDHISTORYCOPY = "recordHistoryCopy" - RECORDHISTORYCREATE = "recordHistoryCreate" - RECORDHISTORYMOVE = "recordHistoryMove" - RECORDLISTPUBLISH = "recordListPublish" - RECORDLISTRESETAWAITINGAPPROVAL = "recordListResetAwaitingApproval" - RECORDLISTSETAWAITINGAPPROVAL = "recordListSetAwaitingApproval" - RECORDLISTSETPERMISSIONS = "recordListSetPermissions" - RECORDLISTUNPUBLISH = "recordListUnpublish" - RELEASERECORDVERSIONCONTROL = "releaseRecordVersionControl" - RELEASETABLEVERSIONCONTROL = "releaseTableVersionControl" - SUBTYPEDESERIALIZATION = "subtypeDeserialization" - SERVERNOTAVAILABLE = "serverNotAvailable" - UPGRADEDATABASE = "upgradeDatabase" - WITHDRAWRECORDVERSIONCONTROL = "withdrawRecordVersionControl" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_exception_information.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_exception_information.py deleted file mode 100644 index 87f25694..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_exception_information.py +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaExceptionInformation(ModelBase): - """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] = { - "exception_type_full_name": "str", - "localised_message": "str", - "message": "str", - "stringified_exception": "str", - "inner_exception_info": "GsaExceptionInformation", - } - - attribute_map: dict[str, str] = { - "exception_type_full_name": "exceptionTypeFullName", - "localised_message": "localisedMessage", - "message": "message", - "stringified_exception": "stringifiedException", - "inner_exception_info": "innerExceptionInfo", - } - - subtype_mapping: dict[str, str] = { - "innerExceptionInfo": "GsaExceptionInformation", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - exception_type_full_name: "str", - localised_message: "str", - message: "str", - stringified_exception: "str", - inner_exception_info: "GsaExceptionInformation | Unset_Type" = Unset, - ) -> None: - """GsaExceptionInformation - a model defined in Swagger - - Parameters - ---------- - exception_type_full_name: str - localised_message: str - message: str - stringified_exception: str - inner_exception_info: GsaExceptionInformation, optional - """ - self._exception_type_full_name: str - self._message: str - self._localised_message: str - self._stringified_exception: str - self._inner_exception_info: GsaExceptionInformation | Unset_Type = Unset - - self.exception_type_full_name = exception_type_full_name - self.message = message - self.localised_message = localised_message - self.stringified_exception = stringified_exception - if inner_exception_info is not Unset: - self.inner_exception_info = inner_exception_info - - @property - def exception_type_full_name(self) -> "str": - """Gets the exception_type_full_name of this GsaExceptionInformation. - Full type name of the original exception. - - Returns - ------- - str - The exception_type_full_name of this GsaExceptionInformation. - """ - return self._exception_type_full_name - - @exception_type_full_name.setter - def exception_type_full_name(self, exception_type_full_name: "str") -> None: - """Sets the exception_type_full_name of this GsaExceptionInformation. - Full type name of the original exception. - - Parameters - ---------- - exception_type_full_name: str - The exception_type_full_name of this GsaExceptionInformation. - """ - # Field is not nullable - if exception_type_full_name is None: - raise ValueError("Invalid value for 'exception_type_full_name', must not be 'None'") - # Field is required - if exception_type_full_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'exception_type_full_name', must not be 'Unset'") - self._exception_type_full_name = exception_type_full_name - - @property - def message(self) -> "str": - """Gets the message of this GsaExceptionInformation. - Message of the original exception. - - Returns - ------- - str - The message of this GsaExceptionInformation. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaExceptionInformation. - Message of the original exception. - - Parameters - ---------- - message: str - The message of this GsaExceptionInformation. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def localised_message(self) -> "str": - """Gets the localised_message of this GsaExceptionInformation. - Localised message of the original exception if available. Regular message of the original exception otherwise. - - Returns - ------- - str - The localised_message of this GsaExceptionInformation. - """ - return self._localised_message - - @localised_message.setter - def localised_message(self, localised_message: "str") -> None: - """Sets the localised_message of this GsaExceptionInformation. - Localised message of the original exception if available. Regular message of the original exception otherwise. - - Parameters - ---------- - localised_message: str - The localised_message of this GsaExceptionInformation. - """ - # Field is not nullable - if localised_message is None: - raise ValueError("Invalid value for 'localised_message', must not be 'None'") - # Field is required - if localised_message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'localised_message', must not be 'Unset'") - self._localised_message = localised_message - - @property - def stringified_exception(self) -> "str": - """Gets the stringified_exception of this GsaExceptionInformation. - The result of calling .ToString() on the original exception. - - Returns - ------- - str - The stringified_exception of this GsaExceptionInformation. - """ - return self._stringified_exception - - @stringified_exception.setter - def stringified_exception(self, stringified_exception: "str") -> None: - """Sets the stringified_exception of this GsaExceptionInformation. - The result of calling .ToString() on the original exception. - - Parameters - ---------- - stringified_exception: str - The stringified_exception of this GsaExceptionInformation. - """ - # Field is not nullable - if stringified_exception is None: - raise ValueError("Invalid value for 'stringified_exception', must not be 'None'") - # Field is required - if stringified_exception is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'stringified_exception', must not be 'Unset'") - self._stringified_exception = stringified_exception - - @property - def inner_exception_info(self) -> "GsaExceptionInformation | Unset_Type": - """Gets the inner_exception_info of this GsaExceptionInformation. - - Returns - ------- - GsaExceptionInformation | Unset_Type - The inner_exception_info of this GsaExceptionInformation. - """ - return self._inner_exception_info - - @inner_exception_info.setter - def inner_exception_info( - self, inner_exception_info: "GsaExceptionInformation | Unset_Type" - ) -> None: - """Sets the inner_exception_info of this GsaExceptionInformation. - - Parameters - ---------- - inner_exception_info: GsaExceptionInformation | Unset_Type - The inner_exception_info of this GsaExceptionInformation. - """ - # Field is not nullable - if inner_exception_info is None: - raise ValueError("Invalid value for 'inner_exception_info', must not be 'None'") - self._inner_exception_info = inner_exception_info - - @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, GsaExceptionInformation): - 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/v2026r1/models/gsa_file_already_exists_file_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_already_exists_file_move_error_detail.py deleted file mode 100644 index 427fe402..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_already_exists_file_move_error_detail.py +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_detail import ( # noqa: F401 - GsaFileMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_reason import ( - GsaFileMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileAlreadyExistsFileMoveErrorDetail(GsaFileMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileMoveErrorReason", - "name": "str", - "parent_folder_guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "name": "name", - "parent_folder_guid": "parentFolderGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileMoveErrorReason" = GsaFileMoveErrorReason.FILEALREADYEXISTS, - name: "str | None | Unset_Type" = Unset, - parent_folder_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaFileAlreadyExistsFileMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileMoveErrorReason - name: str | None, optional - parent_folder_guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._name: str | None | Unset_Type = Unset - self._parent_folder_guid: str | Unset_Type = Unset - - if name is not Unset: - self.name = name - if parent_folder_guid is not Unset: - self.parent_folder_guid = parent_folder_guid - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFileAlreadyExistsFileMoveErrorDetail. - - Returns - ------- - str | None | Unset_Type - The name of this GsaFileAlreadyExistsFileMoveErrorDetail. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFileAlreadyExistsFileMoveErrorDetail. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaFileAlreadyExistsFileMoveErrorDetail. - """ - self._name = name - - @property - def parent_folder_guid(self) -> "str | Unset_Type": - """Gets the parent_folder_guid of this GsaFileAlreadyExistsFileMoveErrorDetail. - - Returns - ------- - str | Unset_Type - The parent_folder_guid of this GsaFileAlreadyExistsFileMoveErrorDetail. - """ - return self._parent_folder_guid - - @parent_folder_guid.setter - def parent_folder_guid(self, parent_folder_guid: "str | Unset_Type") -> None: - """Sets the parent_folder_guid of this GsaFileAlreadyExistsFileMoveErrorDetail. - - Parameters - ---------- - parent_folder_guid: str | Unset_Type - The parent_folder_guid of this GsaFileAlreadyExistsFileMoveErrorDetail. - """ - # Field is not nullable - if parent_folder_guid is None: - raise ValueError("Invalid value for 'parent_folder_guid', must not be 'None'") - self._parent_folder_guid = parent_folder_guid - - @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, GsaFileAlreadyExistsFileMoveErrorDetail): - 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/v2026r1/models/gsa_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py index e92842ba..b9d2b513 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_attribute.py @@ -69,7 +69,6 @@ class GsaFileAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaFileAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.FILE, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_creation_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_creation_exception.py deleted file mode 100644 index 3c3ea4c7..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_creation_exception.py +++ /dev/null @@ -1,268 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileCreationException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFileErrorDetail]", - "folder_type": "GsaFolderType", - "message": "str", - "name": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "folder_type": "folderType", - "message": "message", - "name": "name", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFileErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFileErrorDetail] | None | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFileCreationException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFileErrorDetail] | None, optional - folder_type: GsaFolderType, optional - message: str | None, optional - name: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFileErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if name is not Unset: - self.name = name - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFileCreationException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFileCreationException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFileCreationException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFileCreationException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFileCreationException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFileCreationException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFileCreationException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFileCreationException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFileCreationException. - - Returns - ------- - str | None | Unset_Type - The name of this GsaFileCreationException. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFileCreationException. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaFileCreationException. - """ - self._name = name - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFileCreationException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFileCreationException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFileCreationException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFileCreationException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFileErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFileCreationException. - - Returns - ------- - list[GsaFileErrorDetail] | None | Unset_Type - The errors of this GsaFileCreationException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFileErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFileCreationException. - - Parameters - ---------- - errors: list[GsaFileErrorDetail] | None | Unset_Type - The errors of this GsaFileCreationException. - """ - self._errors = errors - - @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, GsaFileCreationException): - 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/v2026r1/models/gsa_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_detail.py deleted file mode 100644 index 4d7daa84..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_detail.py +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaFileErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaFileErrorReason", - } - - discriminator_value_class_map = { - "configInvalidJson".lower(): "#/components/schemas/GsaConfigInvalidJsonFileErrorDetail", - "descriptionLength".lower(): "#/components/schemas/GsaDescriptionLengthFileErrorDetail", - "fileName".lower(): "#/components/schemas/GsaFileNameFileErrorDetail", - "namedEntity".lower(): "#/components/schemas/GsaNamedEntityFileErrorDetail", - "noData".lower(): "#/components/schemas/GsaNoDataFileErrorDetail", - "noFile".lower(): "#/components/schemas/GsaNoFileFileErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason", - ) -> None: - """GsaFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - """ - self._message: str - self._reason: GsaFileErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaFileErrorDetail. - - Returns - ------- - str - The message of this GsaFileErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaFileErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaFileErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaFileErrorReason": - """Gets the reason of this GsaFileErrorDetail. - - Returns - ------- - GsaFileErrorReason - The reason of this GsaFileErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaFileErrorReason") -> None: - """Sets the reason of this GsaFileErrorDetail. - - Parameters - ---------- - reason: GsaFileErrorReason - The reason of this GsaFileErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaFileErrorDetail): - 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/v2026r1/models/gsa_file_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_reason.py deleted file mode 100644 index a033fb6a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_error_reason.py +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFileErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - CONFIGINVALIDJSON = "configInvalidJson" - DESCRIPTIONLENGTH = "descriptionLength" - FILENAME = "fileName" - NAMEDENTITY = "namedEntity" - NODATA = "noData" - NOFILE = "noFile" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_detail.py deleted file mode 100644 index 590fa254..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_detail.py +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileMoveErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaFileMoveErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaFileMoveErrorReason", - } - - discriminator_value_class_map = { - "fileAlreadyExists".lower(): "#/components/schemas/GsaFileAlreadyExistsFileMoveErrorDetail", - "noSuchNewParent".lower(): "#/components/schemas/GsaNoSuchNewParentFileMoveErrorDetail", - "sameParent".lower(): "#/components/schemas/GsaSameParentFileMoveErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaFileMoveErrorReason", - ) -> None: - """GsaFileMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileMoveErrorReason - """ - self._message: str - self._reason: GsaFileMoveErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaFileMoveErrorDetail. - - Returns - ------- - str - The message of this GsaFileMoveErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaFileMoveErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaFileMoveErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaFileMoveErrorReason": - """Gets the reason of this GsaFileMoveErrorDetail. - - Returns - ------- - GsaFileMoveErrorReason - The reason of this GsaFileMoveErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaFileMoveErrorReason") -> None: - """Sets the reason of this GsaFileMoveErrorDetail. - - Parameters - ---------- - reason: GsaFileMoveErrorReason - The reason of this GsaFileMoveErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaFileMoveErrorDetail): - 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/v2026r1/models/gsa_file_move_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_reason.py deleted file mode 100644 index 3dfe3cf2..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_error_reason.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFileMoveErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - FILEALREADYEXISTS = "fileAlreadyExists" - NOSUCHNEWPARENT = "noSuchNewParent" - SAMEPARENT = "sameParent" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_exception.py deleted file mode 100644 index 337d3fc6..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_move_exception.py +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileMoveException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFileMoveErrorDetail]", - "file_guid": "str", - "folder_type": "GsaFolderType", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "file_guid": "fileGuid", - "folder_type": "folderType", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFileMoveErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFileMoveErrorDetail] | None | Unset_Type" = Unset, - file_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFileMoveException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFileMoveErrorDetail] | None, optional - file_guid: str, optional - folder_type: GsaFolderType, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._file_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFileMoveErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if file_guid is not Unset: - self.file_guid = file_guid - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFileMoveException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFileMoveException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFileMoveException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFileMoveException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFileMoveException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFileMoveException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFileMoveException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFileMoveException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def file_guid(self) -> "str | Unset_Type": - """Gets the file_guid of this GsaFileMoveException. - - Returns - ------- - str | Unset_Type - The file_guid of this GsaFileMoveException. - """ - return self._file_guid - - @file_guid.setter - def file_guid(self, file_guid: "str | Unset_Type") -> None: - """Sets the file_guid of this GsaFileMoveException. - - Parameters - ---------- - file_guid: str | Unset_Type - The file_guid of this GsaFileMoveException. - """ - # Field is not nullable - if file_guid is None: - raise ValueError("Invalid value for 'file_guid', must not be 'None'") - self._file_guid = file_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFileMoveException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFileMoveException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFileMoveException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFileMoveException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFileMoveErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFileMoveException. - - Returns - ------- - list[GsaFileMoveErrorDetail] | None | Unset_Type - The errors of this GsaFileMoveException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFileMoveErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFileMoveException. - - Parameters - ---------- - errors: list[GsaFileMoveErrorDetail] | None | Unset_Type - The errors of this GsaFileMoveException. - """ - self._errors = errors - - @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, GsaFileMoveException): - 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/v2026r1/models/gsa_file_name_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_file_error_detail.py deleted file mode 100644 index 09ddfd3c..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_file_error_detail.py +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileNameFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - "name": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "name": "name", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.FILENAME, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFileNameFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - name: str | None, optional - """ - super().__init__(message=message, reason=reason) - self._name: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFileNameFileErrorDetail. - - Returns - ------- - str | None | Unset_Type - The name of this GsaFileNameFileErrorDetail. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFileNameFileErrorDetail. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaFileNameFileErrorDetail. - """ - self._name = name - - @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, GsaFileNameFileErrorDetail): - 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/v2026r1/models/gsa_file_name_folder_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_folder_error_detail.py deleted file mode 100644 index e1513c10..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_name_folder_error_detail.py +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_detail import ( # noqa: F401 - GsaFolderErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_reason import ( - GsaFolderErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileNameFolderErrorDetail(GsaFolderErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderErrorReason", - "name": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "name": "name", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderErrorReason" = GsaFolderErrorReason.FILENAME, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFileNameFolderErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderErrorReason - name: str | None, optional - """ - super().__init__(message=message, reason=reason) - self._name: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFileNameFolderErrorDetail. - - Returns - ------- - str | None | Unset_Type - The name of this GsaFileNameFolderErrorDetail. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFileNameFolderErrorDetail. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaFileNameFolderErrorDetail. - """ - self._name = name - - @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, GsaFileNameFolderErrorDetail): - 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/v2026r1/models/gsa_file_update_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_update_exception.py deleted file mode 100644 index a3bc63cb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_file_update_exception.py +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFileUpdateException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFileErrorDetail]", - "file_guid": "str", - "folder_type": "GsaFolderType", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "file_guid": "fileGuid", - "folder_type": "folderType", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFileErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFileErrorDetail] | None | Unset_Type" = Unset, - file_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFileUpdateException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFileErrorDetail] | None, optional - file_guid: str, optional - folder_type: GsaFolderType, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._file_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFileErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if file_guid is not Unset: - self.file_guid = file_guid - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFileUpdateException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFileUpdateException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFileUpdateException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFileUpdateException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFileUpdateException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFileUpdateException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFileUpdateException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFileUpdateException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def file_guid(self) -> "str | Unset_Type": - """Gets the file_guid of this GsaFileUpdateException. - - Returns - ------- - str | Unset_Type - The file_guid of this GsaFileUpdateException. - """ - return self._file_guid - - @file_guid.setter - def file_guid(self, file_guid: "str | Unset_Type") -> None: - """Sets the file_guid of this GsaFileUpdateException. - - Parameters - ---------- - file_guid: str | Unset_Type - The file_guid of this GsaFileUpdateException. - """ - # Field is not nullable - if file_guid is None: - raise ValueError("Invalid value for 'file_guid', must not be 'None'") - self._file_guid = file_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFileUpdateException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFileUpdateException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFileUpdateException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFileUpdateException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFileErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFileUpdateException. - - Returns - ------- - list[GsaFileErrorDetail] | None | Unset_Type - The errors of this GsaFileUpdateException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFileErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFileUpdateException. - - Parameters - ---------- - errors: list[GsaFileErrorDetail] | None | Unset_Type - The errors of this GsaFileUpdateException. - """ - self._errors = errors - - @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, GsaFileUpdateException): - 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/v2026r1/models/gsa_pagination_links.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_find_search_request.py similarity index 77% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_find_search_request.py index 1cf02344..4e25db4a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_pagination_links.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_find_search_request.py @@ -42,7 +42,7 @@ from . import * -class GsaPaginationLinks(ModelBase): +class GsaFindSearchRequest(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -61,11 +61,11 @@ class GsaPaginationLinks(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "next": "str", + "name_contains": "str", } attribute_map: dict[str, str] = { - "next": "next", + "name_contains": "nameContains", } subtype_mapping: dict[str, str] = {} @@ -75,40 +75,40 @@ class GsaPaginationLinks(ModelBase): def __init__( self, *, - next: "str | None | Unset_Type" = Unset, + name_contains: "str | None | Unset_Type" = Unset, ) -> None: - """GsaPaginationLinks - a model defined in Swagger + """GsaFindSearchRequest - a model defined in Swagger Parameters ---------- - next: str | None, optional + name_contains: str | None, optional """ - self._next: str | None | Unset_Type = Unset + self._name_contains: str | None | Unset_Type = Unset - if next is not Unset: - self.next = next + if name_contains is not Unset: + self.name_contains = name_contains @property - def next(self) -> "str | None | Unset_Type": - """Gets the next of this GsaPaginationLinks. + def name_contains(self) -> "str | None | Unset_Type": + """Gets the name_contains of this GsaFindSearchRequest. Returns ------- str | None | Unset_Type - The next of this GsaPaginationLinks. + The name_contains of this GsaFindSearchRequest. """ - return self._next + return self._name_contains - @next.setter - def next(self, next: "str | None | Unset_Type") -> None: - """Sets the next of this GsaPaginationLinks. + @name_contains.setter + def name_contains(self, name_contains: "str | None | Unset_Type") -> None: + """Sets the name_contains of this GsaFindSearchRequest. Parameters ---------- - next: str | None | Unset_Type - The next of this GsaPaginationLinks. + name_contains: str | None | Unset_Type + The name_contains of this GsaFindSearchRequest. """ - self._next = next + self._name_contains = name_contains @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -132,7 +132,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaPaginationLinks): + if not isinstance(other, GsaFindSearchRequest): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py index ee5c0aff..56c789d6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_float_functional_attribute.py @@ -70,7 +70,6 @@ class GsaFloatFunctionalAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "is_range": "bool", "name": "str", "table": "GsaSlimEntity", @@ -88,7 +87,6 @@ class GsaFloatFunctionalAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "is_range": "isRange", "name": "name", "table": "table", @@ -115,7 +113,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", is_range: "bool", name: "str", table: "GsaSlimEntity", @@ -135,7 +132,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool is_range: bool name: str table: GsaSlimEntity @@ -151,7 +147,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder.py index 55d496e9..1ebb7c00 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder.py @@ -63,16 +63,12 @@ class GsaFolder(ModelBase): swagger_types: dict[str, str] = { "guid": "str", "name": "str", - "has_child_folders": "bool", - "has_files": "bool", "parent_guid": "str", } attribute_map: dict[str, str] = { "guid": "guid", "name": "name", - "has_child_folders": "hasChildFolders", - "has_files": "hasFiles", "parent_guid": "parentGuid", } @@ -85,8 +81,6 @@ def __init__( *, guid: "str", name: "str", - has_child_folders: "bool | Unset_Type" = Unset, - has_files: "bool | Unset_Type" = Unset, parent_guid: "str | None | Unset_Type" = Unset, ) -> None: """GsaFolder - a model defined in Swagger @@ -95,22 +89,14 @@ def __init__( ---------- guid: str name: str - has_child_folders: bool, optional - has_files: bool, optional parent_guid: str | None, optional """ self._parent_guid: str | None | Unset_Type = Unset - self._has_files: bool | Unset_Type = Unset - self._has_child_folders: bool | Unset_Type = Unset self._name: str self._guid: str if parent_guid is not Unset: self.parent_guid = parent_guid - if has_files is not Unset: - self.has_files = has_files - if has_child_folders is not Unset: - self.has_child_folders = has_child_folders self.name = name self.guid = guid @@ -136,56 +122,6 @@ def parent_guid(self, parent_guid: "str | None | Unset_Type") -> None: """ self._parent_guid = parent_guid - @property - def has_files(self) -> "bool | Unset_Type": - """Gets the has_files of this GsaFolder. - - Returns - ------- - bool | Unset_Type - The has_files of this GsaFolder. - """ - return self._has_files - - @has_files.setter - def has_files(self, has_files: "bool | Unset_Type") -> None: - """Sets the has_files of this GsaFolder. - - Parameters - ---------- - has_files: bool | Unset_Type - The has_files of this GsaFolder. - """ - # Field is not nullable - if has_files is None: - raise ValueError("Invalid value for 'has_files', must not be 'None'") - self._has_files = has_files - - @property - def has_child_folders(self) -> "bool | Unset_Type": - """Gets the has_child_folders of this GsaFolder. - - Returns - ------- - bool | Unset_Type - The has_child_folders of this GsaFolder. - """ - return self._has_child_folders - - @has_child_folders.setter - def has_child_folders(self, has_child_folders: "bool | Unset_Type") -> None: - """Sets the has_child_folders of this GsaFolder. - - Parameters - ---------- - has_child_folders: bool | Unset_Type - The has_child_folders of this GsaFolder. - """ - # Field is not nullable - if has_child_folders is None: - raise ValueError("Invalid value for 'has_child_folders', must not be 'None'") - self._has_child_folders = has_child_folders - @property def name(self) -> "str": """Gets the name of this GsaFolder. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_creation_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_creation_exception.py deleted file mode 100644 index e8621f8d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_creation_exception.py +++ /dev/null @@ -1,268 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderCreationException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFolderErrorDetail]", - "folder_type": "GsaFolderType", - "message": "str", - "name": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "folder_type": "folderType", - "message": "message", - "name": "name", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFolderErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFolderErrorDetail] | None | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFolderCreationException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFolderErrorDetail] | None, optional - folder_type: GsaFolderType, optional - message: str | None, optional - name: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFolderErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if name is not Unset: - self.name = name - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFolderCreationException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFolderCreationException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFolderCreationException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFolderCreationException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFolderCreationException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFolderCreationException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFolderCreationException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFolderCreationException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFolderCreationException. - - Returns - ------- - str | None | Unset_Type - The name of this GsaFolderCreationException. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFolderCreationException. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaFolderCreationException. - """ - self._name = name - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFolderCreationException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFolderCreationException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFolderCreationException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFolderCreationException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFolderErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFolderCreationException. - - Returns - ------- - list[GsaFolderErrorDetail] | None | Unset_Type - The errors of this GsaFolderCreationException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFolderErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFolderCreationException. - - Parameters - ---------- - errors: list[GsaFolderErrorDetail] | None | Unset_Type - The errors of this GsaFolderCreationException. - """ - self._errors = errors - - @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, GsaFolderCreationException): - 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/v2026r1/models/gsa_folder_deletion_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_detail.py deleted file mode 100644 index 2a699012..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_detail.py +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderDeletionErrorDetail(ModelBase): - """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] = { - "message": "str", - "reason": "GsaFolderDeletionErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaFolderDeletionErrorReason", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderDeletionErrorReason | Unset_Type" = Unset, - ) -> None: - """GsaFolderDeletionErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderDeletionErrorReason, optional - """ - self._message: str - self._reason: GsaFolderDeletionErrorReason | Unset_Type = Unset - - self.message = message - if reason is not Unset: - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaFolderDeletionErrorDetail. - - Returns - ------- - str - The message of this GsaFolderDeletionErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaFolderDeletionErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaFolderDeletionErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaFolderDeletionErrorReason | Unset_Type": - """Gets the reason of this GsaFolderDeletionErrorDetail. - - Returns - ------- - GsaFolderDeletionErrorReason | Unset_Type - The reason of this GsaFolderDeletionErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaFolderDeletionErrorReason | Unset_Type") -> None: - """Sets the reason of this GsaFolderDeletionErrorDetail. - - Parameters - ---------- - reason: GsaFolderDeletionErrorReason | Unset_Type - The reason of this GsaFolderDeletionErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - self._reason = reason - - @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, GsaFolderDeletionErrorDetail): - 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/v2026r1/models/gsa_folder_deletion_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_reason.py deleted file mode 100644 index 50bdba65..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_error_reason.py +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFolderDeletionErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - ROOT = "root" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_exception.py deleted file mode 100644 index 5b3734f2..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_deletion_exception.py +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderDeletionException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFolderDeletionErrorDetail]", - "folder_guid": "str", - "folder_type": "GsaFolderType", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "folder_guid": "folderGuid", - "folder_type": "folderType", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFolderDeletionErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFolderDeletionErrorDetail] | None | Unset_Type" = Unset, - folder_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFolderDeletionException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFolderDeletionErrorDetail] | None, optional - folder_guid: str, optional - folder_type: GsaFolderType, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._folder_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFolderDeletionErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if folder_guid is not Unset: - self.folder_guid = folder_guid - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFolderDeletionException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFolderDeletionException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFolderDeletionException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFolderDeletionException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFolderDeletionException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFolderDeletionException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFolderDeletionException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFolderDeletionException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def folder_guid(self) -> "str | Unset_Type": - """Gets the folder_guid of this GsaFolderDeletionException. - - Returns - ------- - str | Unset_Type - The folder_guid of this GsaFolderDeletionException. - """ - return self._folder_guid - - @folder_guid.setter - def folder_guid(self, folder_guid: "str | Unset_Type") -> None: - """Sets the folder_guid of this GsaFolderDeletionException. - - Parameters - ---------- - folder_guid: str | Unset_Type - The folder_guid of this GsaFolderDeletionException. - """ - # Field is not nullable - if folder_guid is None: - raise ValueError("Invalid value for 'folder_guid', must not be 'None'") - self._folder_guid = folder_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFolderDeletionException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFolderDeletionException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFolderDeletionException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFolderDeletionException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFolderDeletionErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFolderDeletionException. - - Returns - ------- - list[GsaFolderDeletionErrorDetail] | None | Unset_Type - The errors of this GsaFolderDeletionException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFolderDeletionErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFolderDeletionException. - - Parameters - ---------- - errors: list[GsaFolderDeletionErrorDetail] | None | Unset_Type - The errors of this GsaFolderDeletionException. - """ - self._errors = errors - - @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, GsaFolderDeletionException): - 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/v2026r1/models/gsa_folder_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_detail.py deleted file mode 100644 index 360f59c0..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_detail.py +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaFolderErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaFolderErrorReason", - } - - discriminator_value_class_map = { - "fileName".lower(): "#/components/schemas/GsaFileNameFolderErrorDetail", - "namedEntity".lower(): "#/components/schemas/GsaNamedEntityFolderErrorDetail", - "updateRoot".lower(): "#/components/schemas/GsaUpdateRootFolderErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderErrorReason", - ) -> None: - """GsaFolderErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderErrorReason - """ - self._message: str - self._reason: GsaFolderErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaFolderErrorDetail. - - Returns - ------- - str - The message of this GsaFolderErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaFolderErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaFolderErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaFolderErrorReason": - """Gets the reason of this GsaFolderErrorDetail. - - Returns - ------- - GsaFolderErrorReason - The reason of this GsaFolderErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaFolderErrorReason") -> None: - """Sets the reason of this GsaFolderErrorDetail. - - Parameters - ---------- - reason: GsaFolderErrorReason - The reason of this GsaFolderErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaFolderErrorDetail): - 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/v2026r1/models/gsa_folder_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_reason.py deleted file mode 100644 index 4ab02c1d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_error_reason.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFolderErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - FILENAME = "fileName" - NAMEDENTITY = "namedEntity" - UPDATEROOT = "updateRoot" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_detail.py deleted file mode 100644 index e2097f54..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_detail.py +++ /dev/null @@ -1,198 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderMoveErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaFolderMoveErrorReason", - } - - discriminator_value_class_map = { - "circularReference".lower(): "#/components/schemas/GsaCircularReferenceFolderMoveErrorDetail", - "folderAlreadyExists".lower(): "#/components/schemas/GsaFolderAlreadyExistsFolderMoveErrorDetail", - "noSuchNewParent".lower(): "#/components/schemas/GsaNoSuchNewParentFolderMoveErrorDetail", - "root".lower(): "#/components/schemas/GsaRootFolderMoveErrorDetail", - "sameParent".lower(): "#/components/schemas/GsaSameParentFolderMoveErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderMoveErrorReason", - ) -> None: - """GsaFolderMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderMoveErrorReason - """ - self._message: str - self._reason: GsaFolderMoveErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaFolderMoveErrorDetail. - - Returns - ------- - str - The message of this GsaFolderMoveErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaFolderMoveErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaFolderMoveErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaFolderMoveErrorReason": - """Gets the reason of this GsaFolderMoveErrorDetail. - - Returns - ------- - GsaFolderMoveErrorReason - The reason of this GsaFolderMoveErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaFolderMoveErrorReason") -> None: - """Sets the reason of this GsaFolderMoveErrorDetail. - - Parameters - ---------- - reason: GsaFolderMoveErrorReason - The reason of this GsaFolderMoveErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaFolderMoveErrorDetail): - 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/v2026r1/models/gsa_folder_move_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_reason.py deleted file mode 100644 index 57b682f8..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_error_reason.py +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFolderMoveErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - CIRCULARREFERENCE = "circularReference" - FOLDERALREADYEXISTS = "folderAlreadyExists" - NOSUCHNEWPARENT = "noSuchNewParent" - ROOT = "root" - SAMEPARENT = "sameParent" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_exception.py deleted file mode 100644 index b3b1cf1c..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_move_exception.py +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderMoveException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFolderMoveErrorDetail]", - "folder_guid": "str", - "folder_type": "GsaFolderType", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "folder_guid": "folderGuid", - "folder_type": "folderType", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFolderMoveErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFolderMoveErrorDetail] | None | Unset_Type" = Unset, - folder_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFolderMoveException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFolderMoveErrorDetail] | None, optional - folder_guid: str, optional - folder_type: GsaFolderType, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._folder_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFolderMoveErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if folder_guid is not Unset: - self.folder_guid = folder_guid - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFolderMoveException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFolderMoveException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFolderMoveException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFolderMoveException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFolderMoveException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFolderMoveException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFolderMoveException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFolderMoveException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def folder_guid(self) -> "str | Unset_Type": - """Gets the folder_guid of this GsaFolderMoveException. - - Returns - ------- - str | Unset_Type - The folder_guid of this GsaFolderMoveException. - """ - return self._folder_guid - - @folder_guid.setter - def folder_guid(self, folder_guid: "str | Unset_Type") -> None: - """Sets the folder_guid of this GsaFolderMoveException. - - Parameters - ---------- - folder_guid: str | Unset_Type - The folder_guid of this GsaFolderMoveException. - """ - # Field is not nullable - if folder_guid is None: - raise ValueError("Invalid value for 'folder_guid', must not be 'None'") - self._folder_guid = folder_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFolderMoveException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFolderMoveException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFolderMoveException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFolderMoveException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFolderMoveErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFolderMoveException. - - Returns - ------- - list[GsaFolderMoveErrorDetail] | None | Unset_Type - The errors of this GsaFolderMoveException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFolderMoveErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFolderMoveException. - - Parameters - ---------- - errors: list[GsaFolderMoveErrorDetail] | None | Unset_Type - The errors of this GsaFolderMoveException. - """ - self._errors = errors - - @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, GsaFolderMoveException): - 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/v2026r1/models/gsa_folder_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_type.py deleted file mode 100644 index a1c72b38..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_type.py +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaFolderType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - HOMEPAGE = "homePage" - HELPPAGE = "helpPage" - EXPORTER = "exporter" - CONFIGURATION = "configuration" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_update_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_update_exception.py deleted file mode 100644 index e63d9198..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_update_exception.py +++ /dev/null @@ -1,271 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFolderUpdateException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaFolderErrorDetail]", - "folder_guid": "str", - "folder_type": "GsaFolderType", - "message": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "folder_guid": "folderGuid", - "folder_type": "folderType", - "message": "message", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "folderType": "GsaFolderType", - "errors": "GsaFolderErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaFolderErrorDetail] | None | Unset_Type" = Unset, - folder_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaFolderUpdateException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaFolderErrorDetail] | None, optional - folder_guid: str, optional - folder_type: GsaFolderType, optional - message: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._folder_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._errors: list[GsaFolderErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if folder_guid is not Unset: - self.folder_guid = folder_guid - if folder_type is not Unset: - self.folder_type = folder_type - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaFolderUpdateException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaFolderUpdateException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaFolderUpdateException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaFolderUpdateException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaFolderUpdateException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaFolderUpdateException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaFolderUpdateException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaFolderUpdateException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def folder_guid(self) -> "str | Unset_Type": - """Gets the folder_guid of this GsaFolderUpdateException. - - Returns - ------- - str | Unset_Type - The folder_guid of this GsaFolderUpdateException. - """ - return self._folder_guid - - @folder_guid.setter - def folder_guid(self, folder_guid: "str | Unset_Type") -> None: - """Sets the folder_guid of this GsaFolderUpdateException. - - Parameters - ---------- - folder_guid: str | Unset_Type - The folder_guid of this GsaFolderUpdateException. - """ - # Field is not nullable - if folder_guid is None: - raise ValueError("Invalid value for 'folder_guid', must not be 'None'") - self._folder_guid = folder_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaFolderUpdateException. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaFolderUpdateException. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaFolderUpdateException. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaFolderUpdateException. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def errors(self) -> "list[GsaFolderErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaFolderUpdateException. - - Returns - ------- - list[GsaFolderErrorDetail] | None | Unset_Type - The errors of this GsaFolderUpdateException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaFolderErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaFolderUpdateException. - - Parameters - ---------- - errors: list[GsaFolderErrorDetail] | None | Unset_Type - The errors of this GsaFolderUpdateException. - """ - self._errors = errors - - @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, GsaFolderUpdateException): - 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/v2026r1/models/gsa_functional_data_default_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_functional_data_default_usage_data_modification_error_detail.py deleted file mode 100644 index 0208e182..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_functional_data_default_usage_data_modification_error_detail.py +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_data_modification_error_reason import ( - GsaDataModificationErrorReason, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_referenced_by_type import ( - GsaReferencedByType, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 - GsaUsageDataModificationErrorDetail, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaFunctionalDataDefaultUsageDataModificationErrorDetail(GsaUsageDataModificationErrorDetail): - """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] = { - "message": "str", - "reason": "GsaDataModificationErrorReason", - "referenced_by_type": "GsaReferencedByType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "referenced_by_type": "referencedByType", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaDataModificationErrorReason" = GsaDataModificationErrorReason.USAGE, - referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.FUNCTIONALDATADEFAULT, - ) -> None: - """GsaFunctionalDataDefaultUsageDataModificationErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaDataModificationErrorReason - referenced_by_type: GsaReferencedByType - """ - super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_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, GsaFunctionalDataDefaultUsageDataModificationErrorDetail): - 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/v2026r1/models/gsa_get_modifiable_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_get_modifiable_record_version_control_exception.py index 81a5f792..47b5a0e4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_get_modifiable_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_get_modifiable_record_version_control_exception.py @@ -61,7 +61,7 @@ class GsaGetModifiableRecordVersionControlException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaGetModifiableRecordVersionControlException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -82,7 +82,7 @@ class GsaGetModifiableRecordVersionControlException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaVersionControlErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaVersionControlErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaVersionControlErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaGetModifiableRecordVersionControlException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaGetModifiableRecordVersionControlException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaGetModifiableRecordVersionControlException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaGetModifiableRecordVersionControlException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_help_paths_validation_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_help_paths_validation_response.py deleted file mode 100644 index 148027a5..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_help_paths_validation_response.py +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaHelpPathsValidationResponse(ModelBase): - """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] = { - "attributes": "list[GsaSlimAttributeWithHelpPath]", - "parameters": "list[GsaSlimParameterWithHelpPath]", - } - - attribute_map: dict[str, str] = { - "attributes": "attributes", - "parameters": "parameters", - } - - subtype_mapping: dict[str, str] = { - "attributes": "GsaSlimAttributeWithHelpPath", - "parameters": "GsaSlimParameterWithHelpPath", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - attributes: "list[GsaSlimAttributeWithHelpPath]", - parameters: "list[GsaSlimParameterWithHelpPath]", - ) -> None: - """GsaHelpPathsValidationResponse - a model defined in Swagger - - Parameters - ---------- - attributes: list[GsaSlimAttributeWithHelpPath] - parameters: list[GsaSlimParameterWithHelpPath] - """ - self._attributes: list[GsaSlimAttributeWithHelpPath] - self._parameters: list[GsaSlimParameterWithHelpPath] - - self.attributes = attributes - self.parameters = parameters - - @property - def attributes(self) -> "list[GsaSlimAttributeWithHelpPath]": - """Gets the attributes of this GsaHelpPathsValidationResponse. - - Returns - ------- - list[GsaSlimAttributeWithHelpPath] - The attributes of this GsaHelpPathsValidationResponse. - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes: "list[GsaSlimAttributeWithHelpPath]") -> None: - """Sets the attributes of this GsaHelpPathsValidationResponse. - - Parameters - ---------- - attributes: list[GsaSlimAttributeWithHelpPath] - The attributes of this GsaHelpPathsValidationResponse. - """ - # Field is not nullable - if attributes is None: - raise ValueError("Invalid value for 'attributes', must not be 'None'") - # Field is required - if attributes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'attributes', must not be 'Unset'") - self._attributes = attributes - - @property - def parameters(self) -> "list[GsaSlimParameterWithHelpPath]": - """Gets the parameters of this GsaHelpPathsValidationResponse. - - Returns - ------- - list[GsaSlimParameterWithHelpPath] - The parameters of this GsaHelpPathsValidationResponse. - """ - return self._parameters - - @parameters.setter - def parameters(self, parameters: "list[GsaSlimParameterWithHelpPath]") -> None: - """Sets the parameters of this GsaHelpPathsValidationResponse. - - Parameters - ---------- - parameters: list[GsaSlimParameterWithHelpPath] - The parameters of this GsaHelpPathsValidationResponse. - """ - # Field is not nullable - if parameters is None: - raise ValueError("Invalid value for 'parameters', must not be 'None'") - # Field is required - if parameters is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'parameters', must not be 'Unset'") - self._parameters = parameters - - @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, GsaHelpPathsValidationResponse): - 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/v2026r1/models/gsa_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py index 135be480..8d503eaf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_hyperlink_attribute.py @@ -69,7 +69,6 @@ class GsaHyperlinkAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaHyperlinkAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.HYPERLINK, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_in_use_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_in_use_parameter_value_error_detail.py deleted file mode 100644 index bf6864b2..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_in_use_parameter_value_error_detail.py +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaInUseParameterValueErrorDetail(GsaParameterValueErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - "parameter_value_guid": "str", - "used_by_type": "GsaParameterValueUsedByType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "parameter_value_guid": "parameterValueGuid", - "used_by_type": "usedByType", - } - - subtype_mapping: dict[str, str] = { - "usedByType": "GsaParameterValueUsedByType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.INUSE, - parameter_value_guid: "str | Unset_Type" = Unset, - used_by_type: "GsaParameterValueUsedByType | Unset_Type" = Unset, - ) -> None: - """GsaInUseParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - parameter_value_guid: str, optional - used_by_type: GsaParameterValueUsedByType, optional - """ - super().__init__(message=message, reason=reason) - self._parameter_value_guid: str | Unset_Type = Unset - self._used_by_type: GsaParameterValueUsedByType | Unset_Type = Unset - - if parameter_value_guid is not Unset: - self.parameter_value_guid = parameter_value_guid - if used_by_type is not Unset: - self.used_by_type = used_by_type - - @property - def parameter_value_guid(self) -> "str | Unset_Type": - """Gets the parameter_value_guid of this GsaInUseParameterValueErrorDetail. - - Returns - ------- - str | Unset_Type - The parameter_value_guid of this GsaInUseParameterValueErrorDetail. - """ - return self._parameter_value_guid - - @parameter_value_guid.setter - def parameter_value_guid(self, parameter_value_guid: "str | Unset_Type") -> None: - """Sets the parameter_value_guid of this GsaInUseParameterValueErrorDetail. - - Parameters - ---------- - parameter_value_guid: str | Unset_Type - The parameter_value_guid of this GsaInUseParameterValueErrorDetail. - """ - # Field is not nullable - if parameter_value_guid is None: - raise ValueError("Invalid value for 'parameter_value_guid', must not be 'None'") - self._parameter_value_guid = parameter_value_guid - - @property - def used_by_type(self) -> "GsaParameterValueUsedByType | Unset_Type": - """Gets the used_by_type of this GsaInUseParameterValueErrorDetail. - - Returns - ------- - GsaParameterValueUsedByType | Unset_Type - The used_by_type of this GsaInUseParameterValueErrorDetail. - """ - return self._used_by_type - - @used_by_type.setter - def used_by_type(self, used_by_type: "GsaParameterValueUsedByType | Unset_Type") -> None: - """Sets the used_by_type of this GsaInUseParameterValueErrorDetail. - - Parameters - ---------- - used_by_type: GsaParameterValueUsedByType | Unset_Type - The used_by_type of this GsaInUseParameterValueErrorDetail. - """ - # Field is not nullable - if used_by_type is None: - raise ValueError("Invalid value for 'used_by_type', must not be 'None'") - self._used_by_type = used_by_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, GsaInUseParameterValueErrorDetail): - 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/v2026r1/models/gsa_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py index f03712db..3bf13179 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_integer_attribute.py @@ -69,7 +69,6 @@ class GsaIntegerAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "is_unique": "bool", "name": "str", "table": "GsaSlimEntity", @@ -85,7 +84,6 @@ class GsaIntegerAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "is_unique": "isUnique", "name": "name", "table": "table", @@ -107,7 +105,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", is_unique: "bool", name: "str", table: "GsaSlimEntity", @@ -125,7 +122,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool is_unique: bool name: str table: GsaSlimEntity @@ -140,7 +136,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_attribute_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_attribute_type.py index 66884cf3..6dad8419 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_attribute_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_attribute_type.py @@ -44,5 +44,5 @@ class GsaLinkAttributeType(Enum): """ RECORDLINK = "recordLink" CROSSDATABASELINK = "crossDatabaseLink" - SMARTLINK = "smartLink" + DYNAMICLINK = "dynamicLink" TABULARATTRIBUTE = "tabularAttribute" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_target.py index 0f4d4084..9e71e255 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link_target.py @@ -61,15 +61,15 @@ class GsaLinkTarget(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "table_guid": "str", "database_guid": "str", "database_version_guid": "str", + "table_guid": "str", } attribute_map: dict[str, str] = { - "table_guid": "tableGuid", "database_guid": "databaseGuid", "database_version_guid": "databaseVersionGuid", + "table_guid": "tableGuid", } subtype_mapping: dict[str, str] = {} @@ -79,27 +79,28 @@ class GsaLinkTarget(ModelBase): def __init__( self, *, - table_guid: "str", database_guid: "str | None | Unset_Type" = Unset, database_version_guid: "str | None | Unset_Type" = Unset, + table_guid: "str | None | Unset_Type" = Unset, ) -> None: """GsaLinkTarget - a model defined in Swagger Parameters ---------- - table_guid: str database_guid: str | None, optional database_version_guid: str | None, optional + table_guid: str | None, optional """ self._database_guid: str | None | Unset_Type = Unset self._database_version_guid: str | None | Unset_Type = Unset - self._table_guid: str + self._table_guid: str | None | Unset_Type = Unset if database_guid is not Unset: self.database_guid = database_guid if database_version_guid is not Unset: self.database_version_guid = database_version_guid - self.table_guid = table_guid + if table_guid is not Unset: + self.table_guid = table_guid @property def database_guid(self) -> "str | None | Unset_Type": @@ -146,31 +147,25 @@ def database_version_guid(self, database_version_guid: "str | None | Unset_Type" self._database_version_guid = database_version_guid @property - def table_guid(self) -> "str": + def table_guid(self) -> "str | None | Unset_Type": """Gets the table_guid of this GsaLinkTarget. Returns ------- - str + str | None | Unset_Type The table_guid of this GsaLinkTarget. """ return self._table_guid @table_guid.setter - def table_guid(self, table_guid: "str") -> None: + def table_guid(self, table_guid: "str | None | Unset_Type") -> None: """Sets the table_guid of this GsaLinkTarget. Parameters ---------- - table_guid: str + table_guid: str | None | Unset_Type The table_guid of this GsaLinkTarget. """ - # Field is not nullable - if table_guid is None: - raise ValueError("Invalid value for 'table_guid', must not be 'None'") - # Field is required - if table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table_guid', must not be 'Unset'") self._table_guid = table_guid @classmethod diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py index df08c4f9..845227a5 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_linking_value_exists_datum_criterion.py @@ -88,7 +88,7 @@ class GsaLinkingValueExistsDatumCriterion(GsaDatumCriterion): def __init__( self, *, - type: "GsaDatumCriterionType" = GsaDatumCriterionType.SMARTLINKINGVALUE, + type: "GsaDatumCriterionType" = GsaDatumCriterionType.DYNAMICLINKINGVALUE, attribute_type: "GsaAttributeType | Unset_Type" = Unset, inner_hits_identifier: "str | Unset_Type" = Unset, ) -> None: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_links_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_links_info.py index 098f2f8c..e588d030 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_links_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_links_info.py @@ -61,7 +61,7 @@ class GsaLinksInfo(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "links": "list[GsaLink]", + "links": "list[GsaResolvedLink]", } attribute_map: dict[str, str] = { @@ -69,7 +69,7 @@ class GsaLinksInfo(ModelBase): } subtype_mapping: dict[str, str] = { - "links": "GsaLink", + "links": "GsaResolvedLink", } discriminator: Optional[str] = None @@ -77,36 +77,36 @@ class GsaLinksInfo(ModelBase): def __init__( self, *, - links: "list[GsaLink]", + links: "list[GsaResolvedLink]", ) -> None: """GsaLinksInfo - a model defined in Swagger Parameters ---------- - links: list[GsaLink] + links: list[GsaResolvedLink] """ - self._links: list[GsaLink] + self._links: list[GsaResolvedLink] self.links = links @property - def links(self) -> "list[GsaLink]": + def links(self) -> "list[GsaResolvedLink]": """Gets the links of this GsaLinksInfo. Returns ------- - list[GsaLink] + list[GsaResolvedLink] The links of this GsaLinksInfo. """ return self._links @links.setter - def links(self, links: "list[GsaLink]") -> None: + def links(self, links: "list[GsaResolvedLink]") -> None: """Sets the links of this GsaLinksInfo. Parameters ---------- - links: list[GsaLink] + links: list[GsaResolvedLink] The links of this GsaLinksInfo. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_log_scale_negative_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_log_scale_negative_parameter_value_error_detail.py deleted file mode 100644 index 1b0fbe22..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_log_scale_negative_parameter_value_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaLogScaleNegativeParameterValueErrorDetail(GsaParameterValueErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.LOGSCALENEGATIVE, - ) -> None: - """GsaLogScaleNegativeParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaLogScaleNegativeParameterValueErrorDetail): - 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/v2026r1/models/gsa_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py index 1ddb1b89..bc3075ac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_logical_attribute.py @@ -69,7 +69,6 @@ class GsaLogicalAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaLogicalAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.LOGICAL, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py index c868a042..e13b7ff3 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_long_text_attribute.py @@ -69,7 +69,6 @@ class GsaLongTextAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaLongTextAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.LONGTEXT, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_match_mode.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_match_mode.py deleted file mode 100644 index a71144dc..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_match_mode.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaMatchMode(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - POS_0 = 0 - POS_1 = 1 - POS_2 = 2 diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py index 4d74d5f7..07e83240 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_maths_functional_attribute.py @@ -75,7 +75,6 @@ class GsaMathsFunctionalAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "is_range": "bool", "name": "str", "table": "GsaSlimEntity", @@ -98,7 +97,6 @@ class GsaMathsFunctionalAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "is_range": "isRange", "name": "name", "table": "table", @@ -132,7 +130,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", is_range: "bool", name: "str", table: "GsaSlimEntity", @@ -157,7 +154,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool is_range: bool name: str table: GsaSlimEntity @@ -173,7 +169,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_multi_valued_point_data_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_multi_valued_point_data_usage_data_modification_error_detail.py deleted file mode 100644 index 46f0853b..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_multi_valued_point_data_usage_data_modification_error_detail.py +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_data_modification_error_reason import ( - GsaDataModificationErrorReason, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_referenced_by_type import ( - GsaReferencedByType, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_usage_data_modification_error_detail import ( # noqa: F401 - GsaUsageDataModificationErrorDetail, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaMultiValuedPointDataUsageDataModificationErrorDetail(GsaUsageDataModificationErrorDetail): - """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] = { - "message": "str", - "reason": "GsaDataModificationErrorReason", - "referenced_by_type": "GsaReferencedByType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "referenced_by_type": "referencedByType", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaDataModificationErrorReason" = GsaDataModificationErrorReason.USAGE, - referenced_by_type: "GsaReferencedByType" = GsaReferencedByType.MULTIVALUEDPOINTDATA, - ) -> None: - """GsaMultiValuedPointDataUsageDataModificationErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaDataModificationErrorReason - referenced_by_type: GsaReferencedByType - """ - super().__init__(message=message, reason=reason, referenced_by_type=referenced_by_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, GsaMultiValuedPointDataUsageDataModificationErrorDetail): - 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/v2026r1/models/gsa_name_already_exists_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_exists_error_detail.py index 2e189cba..7fb8d2c7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_exists_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_exists_error_detail.py @@ -68,54 +68,45 @@ class GsaNameAlreadyExistsErrorDetail(GsaNamedEntityErrorDetail): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entity_type": "GsaEntityType", "message": "str", "reason": "GsaNamedEntityErrorReason", + "entity_type_name": "str", "name": "str", - "parent_entity_type": "GsaEntityType", } attribute_map: dict[str, str] = { - "entity_type": "entityType", "message": "message", "reason": "reason", + "entity_type_name": "entityTypeName", "name": "name", - "parent_entity_type": "parentEntityType", } - subtype_mapping: dict[str, str] = { - "parentEntityType": "GsaEntityType", - } + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - entity_type: "GsaEntityType", message: "str", reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.NAMEALREADYEXISTS, + entity_type_name: "str | None | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, - parent_entity_type: "GsaEntityType | Unset_Type" = Unset, ) -> None: """GsaNameAlreadyExistsErrorDetail - a model defined in Swagger Parameters ---------- - entity_type: GsaEntityType message: str reason: GsaNamedEntityErrorReason + entity_type_name: str | None, optional name: str | None, optional - parent_entity_type: GsaEntityType, optional """ - super().__init__(entity_type=entity_type, message=message, reason=reason) + super().__init__(message=message, reason=reason, entity_type_name=entity_type_name) self._name: str | None | Unset_Type = Unset - self._parent_entity_type: GsaEntityType | Unset_Type = Unset if name is not Unset: self.name = name - if parent_entity_type is not Unset: - self.parent_entity_type = parent_entity_type @property def name(self) -> "str | None | Unset_Type": @@ -139,31 +130,6 @@ def name(self, name: "str | None | Unset_Type") -> None: """ self._name = name - @property - def parent_entity_type(self) -> "GsaEntityType | Unset_Type": - """Gets the parent_entity_type of this GsaNameAlreadyExistsErrorDetail. - - Returns - ------- - GsaEntityType | Unset_Type - The parent_entity_type of this GsaNameAlreadyExistsErrorDetail. - """ - return self._parent_entity_type - - @parent_entity_type.setter - def parent_entity_type(self, parent_entity_type: "GsaEntityType | Unset_Type") -> None: - """Sets the parent_entity_type of this GsaNameAlreadyExistsErrorDetail. - - Parameters - ---------- - parent_entity_type: GsaEntityType | Unset_Type - The parent_entity_type of this GsaNameAlreadyExistsErrorDetail. - """ - # Field is not nullable - if parent_entity_type is None: - raise ValueError("Invalid value for 'parent_entity_type', must not be 'None'") - self._parent_entity_type = parent_entity_type - @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/v2026r1/models/gsa_name_already_specified_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_specified_error_detail.py deleted file mode 100644 index 151ff248..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_already_specified_error_detail.py +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_detail import ( # noqa: F401 - GsaNamedEntityErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_named_entity_error_reason import ( - GsaNamedEntityErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNameAlreadySpecifiedErrorDetail(GsaNamedEntityErrorDetail): - """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] = { - "entity_type": "GsaEntityType", - "message": "str", - "reason": "GsaNamedEntityErrorReason", - "name": "str", - } - - attribute_map: dict[str, str] = { - "entity_type": "entityType", - "message": "message", - "reason": "reason", - "name": "name", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - entity_type: "GsaEntityType", - message: "str", - reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.NAMEALREADYSPECIFIED, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaNameAlreadySpecifiedErrorDetail - a model defined in Swagger - - Parameters - ---------- - entity_type: GsaEntityType - message: str - reason: GsaNamedEntityErrorReason - name: str | None, optional - """ - super().__init__(entity_type=entity_type, message=message, reason=reason) - self._name: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaNameAlreadySpecifiedErrorDetail. - - Returns - ------- - str | None | Unset_Type - The name of this GsaNameAlreadySpecifiedErrorDetail. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaNameAlreadySpecifiedErrorDetail. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaNameAlreadySpecifiedErrorDetail. - """ - self._name = name - - @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, GsaNameAlreadySpecifiedErrorDetail): - 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/v2026r1/models/gsa_name_not_provided_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_not_provided_error_detail.py index 205090d9..ba0d8d2a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_not_provided_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_not_provided_error_detail.py @@ -68,15 +68,15 @@ class GsaNameNotProvidedErrorDetail(GsaNamedEntityErrorDetail): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entity_type": "GsaEntityType", "message": "str", "reason": "GsaNamedEntityErrorReason", + "entity_type_name": "str", } attribute_map: dict[str, str] = { - "entity_type": "entityType", "message": "message", "reason": "reason", + "entity_type_name": "entityTypeName", } subtype_mapping: dict[str, str] = {} @@ -86,19 +86,19 @@ class GsaNameNotProvidedErrorDetail(GsaNamedEntityErrorDetail): def __init__( self, *, - entity_type: "GsaEntityType", message: "str", reason: "GsaNamedEntityErrorReason" = GsaNamedEntityErrorReason.NAMENOTPROVIDED, + entity_type_name: "str | None | Unset_Type" = Unset, ) -> None: """GsaNameNotProvidedErrorDetail - a model defined in Swagger Parameters ---------- - entity_type: GsaEntityType message: str reason: GsaNamedEntityErrorReason + entity_type_name: str | None, optional """ - super().__init__(entity_type=entity_type, message=message, reason=reason) + super().__init__(message=message, reason=reason, entity_type_name=entity_type_name) @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_whitespace_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_whitespace_parameter_value_error_detail.py deleted file mode 100644 index c785c17f..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_name_whitespace_parameter_value_error_detail.py +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNameWhitespaceParameterValueErrorDetail(GsaParameterValueErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - "name": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "name": "name", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.NAMEWHITESPACE, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaNameWhitespaceParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - name: str | None, optional - """ - super().__init__(message=message, reason=reason) - self._name: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaNameWhitespaceParameterValueErrorDetail. - - Returns - ------- - str | None | Unset_Type - The name of this GsaNameWhitespaceParameterValueErrorDetail. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaNameWhitespaceParameterValueErrorDetail. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaNameWhitespaceParameterValueErrorDetail. - """ - self._name = name - - @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, GsaNameWhitespaceParameterValueErrorDetail): - 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/v2026r1/models/gsa_named_entity_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_detail.py index 7a802d33..e1ac8fa1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_detail.py @@ -63,31 +63,26 @@ class GsaNamedEntityErrorDetail(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entity_type": "GsaEntityType", "message": "str", "reason": "GsaNamedEntityErrorReason", + "entity_type_name": "str", } attribute_map: dict[str, str] = { - "entity_type": "entityType", "message": "message", "reason": "reason", + "entity_type_name": "entityTypeName", } subtype_mapping: dict[str, str] = { "reason": "GsaNamedEntityErrorReason", - "entityType": "GsaEntityType", } discriminator_value_class_map = { "entityAlreadyExists".lower(): "#/components/schemas/GsaEntityAlreadyExistsErrorDetail", "nameNotProvided".lower(): "#/components/schemas/GsaNameNotProvidedErrorDetail", "nameAlreadyExists".lower(): "#/components/schemas/GsaNameAlreadyExistsErrorDetail", - "nameAlreadySpecified".lower(): "#/components/schemas/GsaNameAlreadySpecifiedErrorDetail", "entityIdentifierAlreadySpecified".lower(): "#/components/schemas/GsaEntityIdentifierAlreadySpecifiedErrorDetail", - "displayNameEmpty".lower(): "#/components/schemas/GsaDisplayNameEmptyErrorDetail", - "displayNameLanguageNotProvided".lower(): "#/components/schemas/GsaDisplayNameLanguageNotProvidedErrorDetail", - "displayNameLanguageNotSupported".lower(): "#/components/schemas/GsaDisplayNameLanguageNotSupportedErrorDetail", } discriminator: Optional[str] = "reason" @@ -95,25 +90,26 @@ class GsaNamedEntityErrorDetail(ModelBase): def __init__( self, *, - entity_type: "GsaEntityType", message: "str", reason: "GsaNamedEntityErrorReason", + entity_type_name: "str | None | Unset_Type" = Unset, ) -> None: """GsaNamedEntityErrorDetail - a model defined in Swagger Parameters ---------- - entity_type: GsaEntityType message: str reason: GsaNamedEntityErrorReason + entity_type_name: str | None, optional """ self._message: str self._reason: GsaNamedEntityErrorReason - self._entity_type: GsaEntityType + self._entity_type_name: str | None | Unset_Type = Unset self.message = message self.reason = reason - self.entity_type = entity_type + if entity_type_name is not Unset: + self.entity_type_name = entity_type_name @property def message(self) -> "str": @@ -172,32 +168,28 @@ def reason(self, reason: "GsaNamedEntityErrorReason") -> None: self._reason = reason @property - def entity_type(self) -> "GsaEntityType": - """Gets the entity_type of this GsaNamedEntityErrorDetail. + def entity_type_name(self) -> "str | None | Unset_Type": + """Gets the entity_type_name of this GsaNamedEntityErrorDetail. + e.g. 'Attribute', 'Meta-attribute' Returns ------- - GsaEntityType - The entity_type of this GsaNamedEntityErrorDetail. + str | None | Unset_Type + The entity_type_name of this GsaNamedEntityErrorDetail. """ - return self._entity_type + return self._entity_type_name - @entity_type.setter - def entity_type(self, entity_type: "GsaEntityType") -> None: - """Sets the entity_type of this GsaNamedEntityErrorDetail. + @entity_type_name.setter + def entity_type_name(self, entity_type_name: "str | None | Unset_Type") -> None: + """Sets the entity_type_name of this GsaNamedEntityErrorDetail. + e.g. 'Attribute', 'Meta-attribute' Parameters ---------- - entity_type: GsaEntityType - The entity_type of this GsaNamedEntityErrorDetail. + entity_type_name: str | None | Unset_Type + The entity_type_name of this GsaNamedEntityErrorDetail. """ - # Field is not nullable - if entity_type is None: - raise ValueError("Invalid value for 'entity_type', must not be 'None'") - # Field is required - if entity_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'entity_type', must not be 'Unset'") - self._entity_type = entity_type + self._entity_type_name = entity_type_name @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_reason.py index 2eba0d27..22160c2b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_reason.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_error_reason.py @@ -46,7 +46,3 @@ class GsaNamedEntityErrorReason(Enum): ENTITYIDENTIFIERALREADYSPECIFIED = "entityIdentifierAlreadySpecified" NAMENOTPROVIDED = "nameNotProvided" NAMEALREADYEXISTS = "nameAlreadyExists" - NAMEALREADYSPECIFIED = "nameAlreadySpecified" - DISPLAYNAMEEMPTY = "displayNameEmpty" - DISPLAYNAMELANGUAGENOTPROVIDED = "displayNameLanguageNotProvided" - DISPLAYNAMELANGUAGENOTSUPPORTED = "displayNameLanguageNotSupported" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_file_error_detail.py deleted file mode 100644 index c31ce7c5..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_file_error_detail.py +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNamedEntityFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - "errors": "list[GsaNamedEntityErrorDetail]", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "errors": "errors", - } - - subtype_mapping: dict[str, str] = { - "errors": "GsaNamedEntityErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.NAMEDENTITY, - errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type" = Unset, - ) -> None: - """GsaNamedEntityFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - errors: list[GsaNamedEntityErrorDetail] | None, optional - """ - super().__init__(message=message, reason=reason) - self._errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type = Unset - - if errors is not Unset: - self.errors = errors - - @property - def errors(self) -> "list[GsaNamedEntityErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaNamedEntityFileErrorDetail. - - Returns - ------- - list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityFileErrorDetail. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaNamedEntityFileErrorDetail. - - Parameters - ---------- - errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityFileErrorDetail. - """ - self._errors = errors - - @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, GsaNamedEntityFileErrorDetail): - 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/v2026r1/models/gsa_named_entity_folder_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_folder_error_detail.py deleted file mode 100644 index 0e30b08f..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_folder_error_detail.py +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_detail import ( # noqa: F401 - GsaFolderErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_reason import ( - GsaFolderErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNamedEntityFolderErrorDetail(GsaFolderErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderErrorReason", - "errors": "list[GsaNamedEntityErrorDetail]", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "errors": "errors", - } - - subtype_mapping: dict[str, str] = { - "errors": "GsaNamedEntityErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderErrorReason" = GsaFolderErrorReason.NAMEDENTITY, - errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type" = Unset, - ) -> None: - """GsaNamedEntityFolderErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderErrorReason - errors: list[GsaNamedEntityErrorDetail] | None, optional - """ - super().__init__(message=message, reason=reason) - self._errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type = Unset - - if errors is not Unset: - self.errors = errors - - @property - def errors(self) -> "list[GsaNamedEntityErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaNamedEntityFolderErrorDetail. - - Returns - ------- - list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityFolderErrorDetail. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaNamedEntityFolderErrorDetail. - - Parameters - ---------- - errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityFolderErrorDetail. - """ - self._errors = errors - - @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, GsaNamedEntityFolderErrorDetail): - 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/v2026r1/models/gsa_named_entity_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_error_detail.py deleted file mode 100644 index 6012a8fa..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_error_detail.py +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNamedEntityParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "errors": "list[GsaNamedEntityErrorDetail]", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "errors": "errors", - } - - subtype_mapping: dict[str, str] = { - "errors": "GsaNamedEntityErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.NAMEDENTITY, - errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type" = Unset, - ) -> None: - """GsaNamedEntityParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - errors: list[GsaNamedEntityErrorDetail] | None, optional - """ - super().__init__(message=message, reason=reason) - self._errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type = Unset - - if errors is not Unset: - self.errors = errors - - @property - def errors(self) -> "list[GsaNamedEntityErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaNamedEntityParameterErrorDetail. - - Returns - ------- - list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityParameterErrorDetail. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaNamedEntityParameterErrorDetail. - - Parameters - ---------- - errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityParameterErrorDetail. - """ - self._errors = errors - - @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, GsaNamedEntityParameterErrorDetail): - 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/v2026r1/models/gsa_named_entity_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_value_error_detail.py deleted file mode 100644 index 297a0c69..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_named_entity_parameter_value_error_detail.py +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNamedEntityParameterValueErrorDetail(GsaParameterValueErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - "errors": "list[GsaNamedEntityErrorDetail]", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "errors": "errors", - } - - subtype_mapping: dict[str, str] = { - "errors": "GsaNamedEntityErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.NAMEDENTITY, - errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type" = Unset, - ) -> None: - """GsaNamedEntityParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - errors: list[GsaNamedEntityErrorDetail] | None, optional - """ - super().__init__(message=message, reason=reason) - self._errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type = Unset - - if errors is not Unset: - self.errors = errors - - @property - def errors(self) -> "list[GsaNamedEntityErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaNamedEntityParameterValueErrorDetail. - - Returns - ------- - list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityParameterValueErrorDetail. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaNamedEntityErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaNamedEntityParameterValueErrorDetail. - - Parameters - ---------- - errors: list[GsaNamedEntityErrorDetail] | None | Unset_Type - The errors of this GsaNamedEntityParameterValueErrorDetail. - """ - self._errors = errors - - @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, GsaNamedEntityParameterValueErrorDetail): - 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/v2026r1/models/gsa_no_data_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_data_file_error_detail.py deleted file mode 100644 index 925a7d66..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_data_file_error_detail.py +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoDataFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - "is_configuration": "bool", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "is_configuration": "isConfiguration", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.NODATA, - is_configuration: "bool | Unset_Type" = Unset, - ) -> None: - """GsaNoDataFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - is_configuration: bool, optional - """ - super().__init__(message=message, reason=reason) - self._is_configuration: bool | Unset_Type = Unset - - if is_configuration is not Unset: - self.is_configuration = is_configuration - - @property - def is_configuration(self) -> "bool | Unset_Type": - """Gets the is_configuration of this GsaNoDataFileErrorDetail. - - Returns - ------- - bool | Unset_Type - The is_configuration of this GsaNoDataFileErrorDetail. - """ - return self._is_configuration - - @is_configuration.setter - def is_configuration(self, is_configuration: "bool | Unset_Type") -> None: - """Sets the is_configuration of this GsaNoDataFileErrorDetail. - - Parameters - ---------- - is_configuration: bool | Unset_Type - The is_configuration of this GsaNoDataFileErrorDetail. - """ - # Field is not nullable - if is_configuration is None: - raise ValueError("Invalid value for 'is_configuration', must not be 'None'") - self._is_configuration = is_configuration - - @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, GsaNoDataFileErrorDetail): - 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/v2026r1/models/gsa_no_file_file_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_file_file_error_detail.py deleted file mode 100644 index b4c88312..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_file_file_error_detail.py +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_detail import ( # noqa: F401 - GsaFileErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_error_reason import GsaFileErrorReason - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoFileFileErrorDetail(GsaFileErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileErrorReason" = GsaFileErrorReason.NOFILE, - ) -> None: - """GsaNoFileFileErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaNoFileFileErrorDetail): - 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/v2026r1/models/gsa_no_parameter_values_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_parameter_values_parameter_error_detail.py deleted file mode 100644 index 43ba42bb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_parameter_values_parameter_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoParameterValuesParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.NOPARAMETERVALUES, - ) -> None: - """GsaNoParameterValuesParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaNoParameterValuesParameterErrorDetail): - 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/v2026r1/models/gsa_no_such_new_parent_file_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_file_move_error_detail.py deleted file mode 100644 index 5f7adb2d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_file_move_error_detail.py +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_detail import ( # noqa: F401 - GsaFileMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_reason import ( - GsaFileMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoSuchNewParentFileMoveErrorDetail(GsaFileMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileMoveErrorReason", - "database_key": "str", - "folder_guid": "str", - "folder_type": "GsaFolderType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "database_key": "databaseKey", - "folder_guid": "folderGuid", - "folder_type": "folderType", - } - - subtype_mapping: dict[str, str] = { - "folderType": "GsaFolderType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileMoveErrorReason" = GsaFileMoveErrorReason.NOSUCHNEWPARENT, - database_key: "str | None | Unset_Type" = Unset, - folder_guid: "str | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - ) -> None: - """GsaNoSuchNewParentFileMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileMoveErrorReason - database_key: str | None, optional - folder_guid: str, optional - folder_type: GsaFolderType, optional - """ - super().__init__(message=message, reason=reason) - self._folder_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._database_key: str | None | Unset_Type = Unset - - if folder_guid is not Unset: - self.folder_guid = folder_guid - if folder_type is not Unset: - self.folder_type = folder_type - if database_key is not Unset: - self.database_key = database_key - - @property - def folder_guid(self) -> "str | Unset_Type": - """Gets the folder_guid of this GsaNoSuchNewParentFileMoveErrorDetail. - - Returns - ------- - str | Unset_Type - The folder_guid of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - return self._folder_guid - - @folder_guid.setter - def folder_guid(self, folder_guid: "str | Unset_Type") -> None: - """Sets the folder_guid of this GsaNoSuchNewParentFileMoveErrorDetail. - - Parameters - ---------- - folder_guid: str | Unset_Type - The folder_guid of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - # Field is not nullable - if folder_guid is None: - raise ValueError("Invalid value for 'folder_guid', must not be 'None'") - self._folder_guid = folder_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaNoSuchNewParentFileMoveErrorDetail. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaNoSuchNewParentFileMoveErrorDetail. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaNoSuchNewParentFileMoveErrorDetail. - - Returns - ------- - str | None | Unset_Type - The database_key of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaNoSuchNewParentFileMoveErrorDetail. - - Parameters - ---------- - database_key: str | None | Unset_Type - The database_key of this GsaNoSuchNewParentFileMoveErrorDetail. - """ - self._database_key = database_key - - @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, GsaNoSuchNewParentFileMoveErrorDetail): - 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/v2026r1/models/gsa_no_such_new_parent_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_folder_move_error_detail.py deleted file mode 100644 index 8ba7324a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_new_parent_folder_move_error_detail.py +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_detail import ( # noqa: F401 - GsaFolderMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_reason import ( - GsaFolderMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoSuchNewParentFolderMoveErrorDetail(GsaFolderMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", - "database_key": "str", - "folder_type": "GsaFolderType", - "new_parent_folder_guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "database_key": "databaseKey", - "folder_type": "folderType", - "new_parent_folder_guid": "newParentFolderGuid", - } - - subtype_mapping: dict[str, str] = { - "folderType": "GsaFolderType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderMoveErrorReason" = GsaFolderMoveErrorReason.NOSUCHNEWPARENT, - database_key: "str | None | Unset_Type" = Unset, - folder_type: "GsaFolderType | Unset_Type" = Unset, - new_parent_folder_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaNoSuchNewParentFolderMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderMoveErrorReason - database_key: str | None, optional - folder_type: GsaFolderType, optional - new_parent_folder_guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._new_parent_folder_guid: str | Unset_Type = Unset - self._folder_type: GsaFolderType | Unset_Type = Unset - self._database_key: str | None | Unset_Type = Unset - - if new_parent_folder_guid is not Unset: - self.new_parent_folder_guid = new_parent_folder_guid - if folder_type is not Unset: - self.folder_type = folder_type - if database_key is not Unset: - self.database_key = database_key - - @property - def new_parent_folder_guid(self) -> "str | Unset_Type": - """Gets the new_parent_folder_guid of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Returns - ------- - str | Unset_Type - The new_parent_folder_guid of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - return self._new_parent_folder_guid - - @new_parent_folder_guid.setter - def new_parent_folder_guid(self, new_parent_folder_guid: "str | Unset_Type") -> None: - """Sets the new_parent_folder_guid of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Parameters - ---------- - new_parent_folder_guid: str | Unset_Type - The new_parent_folder_guid of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - # Field is not nullable - if new_parent_folder_guid is None: - raise ValueError("Invalid value for 'new_parent_folder_guid', must not be 'None'") - self._new_parent_folder_guid = new_parent_folder_guid - - @property - def folder_type(self) -> "GsaFolderType | Unset_Type": - """Gets the folder_type of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Returns - ------- - GsaFolderType | Unset_Type - The folder_type of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - return self._folder_type - - @folder_type.setter - def folder_type(self, folder_type: "GsaFolderType | Unset_Type") -> None: - """Sets the folder_type of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Parameters - ---------- - folder_type: GsaFolderType | Unset_Type - The folder_type of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - # Field is not nullable - if folder_type is None: - raise ValueError("Invalid value for 'folder_type', must not be 'None'") - self._folder_type = folder_type - - @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Returns - ------- - str | None | Unset_Type - The database_key of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaNoSuchNewParentFolderMoveErrorDetail. - - Parameters - ---------- - database_key: str | None | Unset_Type - The database_key of this GsaNoSuchNewParentFolderMoveErrorDetail. - """ - self._database_key = database_key - - @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, GsaNoSuchNewParentFolderMoveErrorDetail): - 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/v2026r1/models/gsa_no_such_unit_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_unit_parameter_error_detail.py deleted file mode 100644 index 8216b16a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_no_such_unit_parameter_error_detail.py +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNoSuchUnitParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "guid": "guid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.NOSUCHUNIT, - guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaNoSuchUnitParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._guid: str | Unset_Type = Unset - - if guid is not Unset: - self.guid = guid - - @property - def guid(self) -> "str | Unset_Type": - """Gets the guid of this GsaNoSuchUnitParameterErrorDetail. - - Returns - ------- - str | Unset_Type - The guid of this GsaNoSuchUnitParameterErrorDetail. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str | Unset_Type") -> None: - """Sets the guid of this GsaNoSuchUnitParameterErrorDetail. - - Parameters - ---------- - guid: str | Unset_Type - The guid of this GsaNoSuchUnitParameterErrorDetail. - """ - # Field is not nullable - if guid is None: - raise ValueError("Invalid value for 'guid', must not be 'None'") - 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. - - 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, GsaNoSuchUnitParameterErrorDetail): - 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/v2026r1/models/gsa_notification_user.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_user.py deleted file mode 100644 index 62bc1279..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_user.py +++ /dev/null @@ -1,285 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNotificationUser(ModelBase): - """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] = { - "email_address": "str", - "email_notifications": "bool", - "identity": "int", - "name": "str", - "watches": "list[GsaNotificationWatch]", - } - - attribute_map: dict[str, str] = { - "email_address": "emailAddress", - "email_notifications": "emailNotifications", - "identity": "identity", - "name": "name", - "watches": "watches", - } - - subtype_mapping: dict[str, str] = { - "watches": "GsaNotificationWatch", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - email_address: "str", - email_notifications: "bool", - identity: "int", - name: "str", - watches: "list[GsaNotificationWatch]", - ) -> None: - """GsaNotificationUser - a model defined in Swagger - - Parameters - ---------- - email_address: str - email_notifications: bool - identity: int - name: str - watches: list[GsaNotificationWatch] - """ - self._identity: int - self._name: str - self._email_address: str - self._email_notifications: bool - self._watches: list[GsaNotificationWatch] - - self.identity = identity - self.name = name - self.email_address = email_address - self.email_notifications = email_notifications - self.watches = watches - - @property - def identity(self) -> "int": - """Gets the identity of this GsaNotificationUser. - - Returns - ------- - int - The identity of this GsaNotificationUser. - """ - return self._identity - - @identity.setter - def identity(self, identity: "int") -> None: - """Sets the identity of this GsaNotificationUser. - - Parameters - ---------- - identity: int - The identity of this GsaNotificationUser. - """ - # Field is not nullable - if identity is None: - raise ValueError("Invalid value for 'identity', must not be 'None'") - # Field is required - if identity is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'identity', must not be 'Unset'") - self._identity = identity - - @property - def name(self) -> "str": - """Gets the name of this GsaNotificationUser. - - Returns - ------- - str - The name of this GsaNotificationUser. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GsaNotificationUser. - - Parameters - ---------- - name: str - The name of this GsaNotificationUser. - """ - # 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 email_address(self) -> "str": - """Gets the email_address of this GsaNotificationUser. - - Returns - ------- - str - The email_address of this GsaNotificationUser. - """ - return self._email_address - - @email_address.setter - def email_address(self, email_address: "str") -> None: - """Sets the email_address of this GsaNotificationUser. - - Parameters - ---------- - email_address: str - The email_address of this GsaNotificationUser. - """ - # Field is not nullable - if email_address is None: - raise ValueError("Invalid value for 'email_address', must not be 'None'") - # Field is required - if email_address is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'email_address', must not be 'Unset'") - self._email_address = email_address - - @property - def email_notifications(self) -> "bool": - """Gets the email_notifications of this GsaNotificationUser. - - Returns - ------- - bool - The email_notifications of this GsaNotificationUser. - """ - return self._email_notifications - - @email_notifications.setter - def email_notifications(self, email_notifications: "bool") -> None: - """Sets the email_notifications of this GsaNotificationUser. - - Parameters - ---------- - email_notifications: bool - The email_notifications of this GsaNotificationUser. - """ - # Field is not nullable - if email_notifications is None: - raise ValueError("Invalid value for 'email_notifications', must not be 'None'") - # Field is required - if email_notifications is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'email_notifications', must not be 'Unset'") - self._email_notifications = email_notifications - - @property - def watches(self) -> "list[GsaNotificationWatch]": - """Gets the watches of this GsaNotificationUser. - - Returns - ------- - list[GsaNotificationWatch] - The watches of this GsaNotificationUser. - """ - return self._watches - - @watches.setter - def watches(self, watches: "list[GsaNotificationWatch]") -> None: - """Sets the watches of this GsaNotificationUser. - - Parameters - ---------- - watches: list[GsaNotificationWatch] - The watches of this GsaNotificationUser. - """ - # Field is not nullable - if watches is None: - raise ValueError("Invalid value for 'watches', must not be 'None'") - # Field is required - if watches is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'watches', must not be 'Unset'") - self._watches = watches - - @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, GsaNotificationUser): - 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/v2026r1/models/gsa_notification_users.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_users.py deleted file mode 100644 index 3361f0e4..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_users.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNotificationUsers(ModelBase): - """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] = { - "users": "list[GsaNotificationUser]", - } - - attribute_map: dict[str, str] = { - "users": "users", - } - - subtype_mapping: dict[str, str] = { - "users": "GsaNotificationUser", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - users: "list[GsaNotificationUser]", - ) -> None: - """GsaNotificationUsers - a model defined in Swagger - - Parameters - ---------- - users: list[GsaNotificationUser] - """ - self._users: list[GsaNotificationUser] - - self.users = users - - @property - def users(self) -> "list[GsaNotificationUser]": - """Gets the users of this GsaNotificationUsers. - - Returns - ------- - list[GsaNotificationUser] - The users of this GsaNotificationUsers. - """ - return self._users - - @users.setter - def users(self, users: "list[GsaNotificationUser]") -> None: - """Sets the users of this GsaNotificationUsers. - - Parameters - ---------- - users: list[GsaNotificationUser] - The users of this GsaNotificationUsers. - """ - # Field is not nullable - if users is None: - raise ValueError("Invalid value for 'users', must not be 'None'") - # Field is required - if users is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'users', must not be 'Unset'") - self._users = users - - @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, GsaNotificationUsers): - 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/v2026r1/models/gsa_notification_watch.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_watch.py deleted file mode 100644 index db6db835..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_notification_watch.py +++ /dev/null @@ -1,319 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNotificationWatch(ModelBase): - """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] = { - "database_key": "str", - "date_added_utc": "datetime", - "identifier": "str", - "identity": "int", - "secondary_identifier": "str", - "watch_type": "GsaWatchType", - } - - attribute_map: dict[str, str] = { - "database_key": "databaseKey", - "date_added_utc": "dateAddedUtc", - "identifier": "identifier", - "identity": "identity", - "secondary_identifier": "secondaryIdentifier", - "watch_type": "watchType", - } - - subtype_mapping: dict[str, str] = { - "watchType": "GsaWatchType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - database_key: "str", - date_added_utc: "datetime", - identifier: "str", - identity: "int", - secondary_identifier: "str", - watch_type: "GsaWatchType", - ) -> None: - """GsaNotificationWatch - a model defined in Swagger - - Parameters - ---------- - database_key: str - date_added_utc: datetime - identifier: str - identity: int - secondary_identifier: str - watch_type: GsaWatchType - """ - self._identity: int - self._watch_type: GsaWatchType - self._identifier: str - self._secondary_identifier: str - self._date_added_utc: datetime - self._database_key: str - - self.identity = identity - self.watch_type = watch_type - self.identifier = identifier - self.secondary_identifier = secondary_identifier - self.date_added_utc = date_added_utc - self.database_key = database_key - - @property - def identity(self) -> "int": - """Gets the identity of this GsaNotificationWatch. - - Returns - ------- - int - The identity of this GsaNotificationWatch. - """ - return self._identity - - @identity.setter - def identity(self, identity: "int") -> None: - """Sets the identity of this GsaNotificationWatch. - - Parameters - ---------- - identity: int - The identity of this GsaNotificationWatch. - """ - # Field is not nullable - if identity is None: - raise ValueError("Invalid value for 'identity', must not be 'None'") - # Field is required - if identity is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'identity', must not be 'Unset'") - self._identity = identity - - @property - def watch_type(self) -> "GsaWatchType": - """Gets the watch_type of this GsaNotificationWatch. - - Returns - ------- - GsaWatchType - The watch_type of this GsaNotificationWatch. - """ - return self._watch_type - - @watch_type.setter - def watch_type(self, watch_type: "GsaWatchType") -> None: - """Sets the watch_type of this GsaNotificationWatch. - - Parameters - ---------- - watch_type: GsaWatchType - The watch_type of this GsaNotificationWatch. - """ - # Field is not nullable - if watch_type is None: - raise ValueError("Invalid value for 'watch_type', must not be 'None'") - # Field is required - if watch_type is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'watch_type', must not be 'Unset'") - self._watch_type = watch_type - - @property - def identifier(self) -> "str": - """Gets the identifier of this GsaNotificationWatch. - - Returns - ------- - str - The identifier of this GsaNotificationWatch. - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier: "str") -> None: - """Sets the identifier of this GsaNotificationWatch. - - Parameters - ---------- - identifier: str - The identifier of this GsaNotificationWatch. - """ - # Field is not nullable - if identifier is None: - raise ValueError("Invalid value for 'identifier', must not be 'None'") - # Field is required - if identifier is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'identifier', must not be 'Unset'") - self._identifier = identifier - - @property - def secondary_identifier(self) -> "str": - """Gets the secondary_identifier of this GsaNotificationWatch. - - Returns - ------- - str - The secondary_identifier of this GsaNotificationWatch. - """ - return self._secondary_identifier - - @secondary_identifier.setter - def secondary_identifier(self, secondary_identifier: "str") -> None: - """Sets the secondary_identifier of this GsaNotificationWatch. - - Parameters - ---------- - secondary_identifier: str - The secondary_identifier of this GsaNotificationWatch. - """ - # Field is not nullable - if secondary_identifier is None: - raise ValueError("Invalid value for 'secondary_identifier', must not be 'None'") - # Field is required - if secondary_identifier is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'secondary_identifier', must not be 'Unset'") - self._secondary_identifier = secondary_identifier - - @property - def date_added_utc(self) -> "datetime": - """Gets the date_added_utc of this GsaNotificationWatch. - - Returns - ------- - datetime - The date_added_utc of this GsaNotificationWatch. - """ - return self._date_added_utc - - @date_added_utc.setter - def date_added_utc(self, date_added_utc: "datetime") -> None: - """Sets the date_added_utc of this GsaNotificationWatch. - - Parameters - ---------- - date_added_utc: datetime - The date_added_utc of this GsaNotificationWatch. - """ - # Field is not nullable - if date_added_utc is None: - raise ValueError("Invalid value for 'date_added_utc', must not be 'None'") - # Field is required - if date_added_utc is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'date_added_utc', must not be 'Unset'") - self._date_added_utc = date_added_utc - - @property - def database_key(self) -> "str": - """Gets the database_key of this GsaNotificationWatch. - - Returns - ------- - str - The database_key of this GsaNotificationWatch. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str") -> None: - """Sets the database_key of this GsaNotificationWatch. - - Parameters - ---------- - database_key: str - The database_key of this GsaNotificationWatch. - """ - # Field is not nullable - if database_key is None: - raise ValueError("Invalid value for 'database_key', must not be 'None'") - # Field is required - if database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'database_key', must not be 'Unset'") - self._database_key = database_key - - @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, GsaNotificationWatch): - 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/v2026r1/models/gsa_numeric_restricted_interpolation_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_restricted_interpolation_parameter_error_detail.py deleted file mode 100644 index 9c2cc621..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_numeric_restricted_interpolation_parameter_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaNumericRestrictedInterpolationParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.NUMERICRESTRICTEDINTERPOLATION, - ) -> None: - """GsaNumericRestrictedInterpolationParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaNumericRestrictedInterpolationParameterErrorDetail): - 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/v2026r1/models/gsa_orphaned_search_index.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_index.py deleted file mode 100644 index 5bdc36b9..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_index.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaOrphanedSearchIndex(ModelBase): - """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] = { - "index_name": "str", - } - - attribute_map: dict[str, str] = { - "index_name": "indexName", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - index_name: "str", - ) -> None: - """GsaOrphanedSearchIndex - a model defined in Swagger - - Parameters - ---------- - index_name: str - """ - self._index_name: str - - self.index_name = index_name - - @property - def index_name(self) -> "str": - """Gets the index_name of this GsaOrphanedSearchIndex. - - Returns - ------- - str - The index_name of this GsaOrphanedSearchIndex. - """ - return self._index_name - - @index_name.setter - def index_name(self, index_name: "str") -> None: - """Sets the index_name of this GsaOrphanedSearchIndex. - - Parameters - ---------- - index_name: str - The index_name of this GsaOrphanedSearchIndex. - """ - # Field is not nullable - if index_name is None: - raise ValueError("Invalid value for 'index_name', must not be 'None'") - # Field is required - if index_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'index_name', must not be 'Unset'") - self._index_name = index_name - - @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, GsaOrphanedSearchIndex): - 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/v2026r1/models/gsa_orphaned_search_indexes_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_indexes_info.py deleted file mode 100644 index 409e2560..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_orphaned_search_indexes_info.py +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaOrphanedSearchIndexesInfo(ModelBase): - """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] = { - "disk_space_used_in_bytes": "int", - "orphaned_search_indexes": "list[GsaOrphanedSearchIndex]", - } - - attribute_map: dict[str, str] = { - "disk_space_used_in_bytes": "diskSpaceUsedInBytes", - "orphaned_search_indexes": "orphanedSearchIndexes", - } - - subtype_mapping: dict[str, str] = { - "orphanedSearchIndexes": "GsaOrphanedSearchIndex", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - disk_space_used_in_bytes: "int", - orphaned_search_indexes: "list[GsaOrphanedSearchIndex]", - ) -> None: - """GsaOrphanedSearchIndexesInfo - a model defined in Swagger - - Parameters - ---------- - disk_space_used_in_bytes: int - orphaned_search_indexes: list[GsaOrphanedSearchIndex] - """ - self._orphaned_search_indexes: list[GsaOrphanedSearchIndex] - self._disk_space_used_in_bytes: int - - self.orphaned_search_indexes = orphaned_search_indexes - self.disk_space_used_in_bytes = disk_space_used_in_bytes - - @property - def orphaned_search_indexes(self) -> "list[GsaOrphanedSearchIndex]": - """Gets the orphaned_search_indexes of this GsaOrphanedSearchIndexesInfo. - - Returns - ------- - list[GsaOrphanedSearchIndex] - The orphaned_search_indexes of this GsaOrphanedSearchIndexesInfo. - """ - return self._orphaned_search_indexes - - @orphaned_search_indexes.setter - def orphaned_search_indexes( - self, orphaned_search_indexes: "list[GsaOrphanedSearchIndex]" - ) -> None: - """Sets the orphaned_search_indexes of this GsaOrphanedSearchIndexesInfo. - - Parameters - ---------- - orphaned_search_indexes: list[GsaOrphanedSearchIndex] - The orphaned_search_indexes of this GsaOrphanedSearchIndexesInfo. - """ - # Field is not nullable - if orphaned_search_indexes is None: - raise ValueError("Invalid value for 'orphaned_search_indexes', must not be 'None'") - # Field is required - if orphaned_search_indexes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'orphaned_search_indexes', must not be 'Unset'") - self._orphaned_search_indexes = orphaned_search_indexes - - @property - def disk_space_used_in_bytes(self) -> "int": - """Gets the disk_space_used_in_bytes of this GsaOrphanedSearchIndexesInfo. - - Returns - ------- - int - The disk_space_used_in_bytes of this GsaOrphanedSearchIndexesInfo. - """ - return self._disk_space_used_in_bytes - - @disk_space_used_in_bytes.setter - def disk_space_used_in_bytes(self, disk_space_used_in_bytes: "int") -> None: - """Sets the disk_space_used_in_bytes of this GsaOrphanedSearchIndexesInfo. - - Parameters - ---------- - disk_space_used_in_bytes: int - The disk_space_used_in_bytes of this GsaOrphanedSearchIndexesInfo. - """ - # Field is not nullable - if disk_space_used_in_bytes is None: - raise ValueError("Invalid value for 'disk_space_used_in_bytes', must not be 'None'") - # Field is required - if disk_space_used_in_bytes is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'disk_space_used_in_bytes', must not be 'Unset'") - self._disk_space_used_in_bytes = disk_space_used_in_bytes - - @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, GsaOrphanedSearchIndexesInfo): - 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/v2026r1/models/gsa_parameter_creation_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_creation_exception.py deleted file mode 100644 index 57c5c1e3..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_creation_exception.py +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterCreationException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaParameterErrorDetail]", - "message": "str", - "name": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "message": "message", - "name": "name", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "errors": "GsaParameterErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaParameterErrorDetail] | None | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaParameterCreationException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaParameterErrorDetail] | None, optional - message: str | None, optional - name: str | None, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._errors: list[GsaParameterErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if name is not Unset: - self.name = name - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaParameterCreationException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaParameterCreationException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaParameterCreationException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaParameterCreationException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaParameterCreationException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaParameterCreationException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaParameterCreationException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaParameterCreationException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaParameterCreationException. - - Returns - ------- - str | None | Unset_Type - The name of this GsaParameterCreationException. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaParameterCreationException. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaParameterCreationException. - """ - self._name = name - - @property - def errors(self) -> "list[GsaParameterErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaParameterCreationException. - - Returns - ------- - list[GsaParameterErrorDetail] | None | Unset_Type - The errors of this GsaParameterCreationException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaParameterErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaParameterCreationException. - - Parameters - ---------- - errors: list[GsaParameterErrorDetail] | None | Unset_Type - The errors of this GsaParameterCreationException. - """ - self._errors = errors - - @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, GsaParameterCreationException): - 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/v2026r1/models/gsa_parameter_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_deletion_exception.py index 2e64680c..daffea94 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_deletion_exception.py @@ -61,7 +61,7 @@ class GsaParameterDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaParameterDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaParameterDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaParameterDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaParameterDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaParameterDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaParameterDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_detail.py deleted file mode 100644 index 0642ca9a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_detail.py +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaParameterErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaParameterErrorReason", - } - - discriminator_value_class_map = { - "defaultParameterValueGuid".lower(): "#/components/schemas/GsaDefaultParameterValueGuidParameterErrorDetail", - "defaultParameterValueIndex".lower(): "#/components/schemas/GsaDefaultParameterValueIndexParameterErrorDetail", - "defaultParameterValueIndexWithoutValues".lower(): "#/components/schemas/GsaDefaultParameterValueIndexWithoutValuesParameterErrorDetail", - "defaultParameterValueIndexAndGuid".lower(): "#/components/schemas/GsaDefaultParameterValueIndexAndGuidParameterErrorDetail", - "namedEntity".lower(): "#/components/schemas/GsaNamedEntityParameterErrorDetail", - "noParameterValues".lower(): "#/components/schemas/GsaNoParameterValuesParameterErrorDetail", - "noSuchUnit".lower(): "#/components/schemas/GsaNoSuchUnitParameterErrorDetail", - "numericRestrictedInterpolation".lower(): "#/components/schemas/GsaNumericRestrictedInterpolationParameterErrorDetail", - "parameterType".lower(): "#/components/schemas/GsaParameterTypeParameterErrorDetail", - "parameterValue".lower(): "#/components/schemas/GsaParameterValueParameterErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason", - ) -> None: - """GsaParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - """ - self._message: str - self._reason: GsaParameterErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaParameterErrorDetail. - - Returns - ------- - str - The message of this GsaParameterErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaParameterErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaParameterErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaParameterErrorReason": - """Gets the reason of this GsaParameterErrorDetail. - - Returns - ------- - GsaParameterErrorReason - The reason of this GsaParameterErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaParameterErrorReason") -> None: - """Sets the reason of this GsaParameterErrorDetail. - - Parameters - ---------- - reason: GsaParameterErrorReason - The reason of this GsaParameterErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaParameterErrorDetail): - 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/v2026r1/models/gsa_parameter_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_reason.py deleted file mode 100644 index 38c41ecb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_error_reason.py +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaParameterErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - DEFAULTPARAMETERVALUEGUID = "defaultParameterValueGuid" - DEFAULTPARAMETERVALUEINDEX = "defaultParameterValueIndex" - DEFAULTPARAMETERVALUEINDEXANDGUID = "defaultParameterValueIndexAndGuid" - DEFAULTPARAMETERVALUEINDEXWITHOUTVALUES = "defaultParameterValueIndexWithoutValues" - NAMEDENTITY = "namedEntity" - NOPARAMETERVALUES = "noParameterValues" - NOSUCHUNIT = "noSuchUnit" - NUMERICRESTRICTEDINTERPOLATION = "numericRestrictedInterpolation" - PARAMETERTYPE = "parameterType" - PARAMETERVALUE = "parameterValue" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_type_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_type_parameter_error_detail.py deleted file mode 100644 index 5ccf1243..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_type_parameter_error_detail.py +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterTypeParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "new_parameter_type": "GsaParameterType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "new_parameter_type": "newParameterType", - } - - subtype_mapping: dict[str, str] = { - "newParameterType": "GsaParameterType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.PARAMETERTYPE, - new_parameter_type: "GsaParameterType | Unset_Type" = Unset, - ) -> None: - """GsaParameterTypeParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - new_parameter_type: GsaParameterType, optional - """ - super().__init__(message=message, reason=reason) - self._new_parameter_type: GsaParameterType | Unset_Type = Unset - - if new_parameter_type is not Unset: - self.new_parameter_type = new_parameter_type - - @property - def new_parameter_type(self) -> "GsaParameterType | Unset_Type": - """Gets the new_parameter_type of this GsaParameterTypeParameterErrorDetail. - - Returns - ------- - GsaParameterType | Unset_Type - The new_parameter_type of this GsaParameterTypeParameterErrorDetail. - """ - return self._new_parameter_type - - @new_parameter_type.setter - def new_parameter_type(self, new_parameter_type: "GsaParameterType | Unset_Type") -> None: - """Sets the new_parameter_type of this GsaParameterTypeParameterErrorDetail. - - Parameters - ---------- - new_parameter_type: GsaParameterType | Unset_Type - The new_parameter_type of this GsaParameterTypeParameterErrorDetail. - """ - # Field is not nullable - if new_parameter_type is None: - raise ValueError("Invalid value for 'new_parameter_type', must not be 'None'") - self._new_parameter_type = new_parameter_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, GsaParameterTypeParameterErrorDetail): - 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/v2026r1/models/gsa_parameter_update_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_update_exception.py deleted file mode 100644 index ab8d0993..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_update_exception.py +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterUpdateException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaParameterErrorDetail]", - "message": "str", - "parameter_guid": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "message": "message", - "parameter_guid": "parameterGuid", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "errors": "GsaParameterErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaParameterErrorDetail] | None | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - parameter_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaParameterUpdateException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaParameterErrorDetail] | None, optional - message: str | None, optional - parameter_guid: str, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._parameter_guid: str | Unset_Type = Unset - self._errors: list[GsaParameterErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if parameter_guid is not Unset: - self.parameter_guid = parameter_guid - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaParameterUpdateException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaParameterUpdateException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaParameterUpdateException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaParameterUpdateException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaParameterUpdateException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaParameterUpdateException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaParameterUpdateException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaParameterUpdateException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def parameter_guid(self) -> "str | Unset_Type": - """Gets the parameter_guid of this GsaParameterUpdateException. - - Returns - ------- - str | Unset_Type - The parameter_guid of this GsaParameterUpdateException. - """ - return self._parameter_guid - - @parameter_guid.setter - def parameter_guid(self, parameter_guid: "str | Unset_Type") -> None: - """Sets the parameter_guid of this GsaParameterUpdateException. - - Parameters - ---------- - parameter_guid: str | Unset_Type - The parameter_guid of this GsaParameterUpdateException. - """ - # Field is not nullable - if parameter_guid is None: - raise ValueError("Invalid value for 'parameter_guid', must not be 'None'") - self._parameter_guid = parameter_guid - - @property - def errors(self) -> "list[GsaParameterErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaParameterUpdateException. - - Returns - ------- - list[GsaParameterErrorDetail] | None | Unset_Type - The errors of this GsaParameterUpdateException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaParameterErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaParameterUpdateException. - - Parameters - ---------- - errors: list[GsaParameterErrorDetail] | None | Unset_Type - The errors of this GsaParameterUpdateException. - """ - self._errors = errors - - @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, GsaParameterUpdateException): - 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/v2026r1/models/gsa_parameter_value_creation_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_creation_exception.py deleted file mode 100644 index 9d7d8085..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_creation_exception.py +++ /dev/null @@ -1,267 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterValueCreationException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaParameterValueErrorDetail]", - "message": "str", - "name": "str", - "parameter_guid": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "message": "message", - "name": "name", - "parameter_guid": "parameterGuid", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "errors": "GsaParameterValueErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - parameter_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaParameterValueCreationException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaParameterValueErrorDetail] | None, optional - message: str | None, optional - name: str | None, optional - parameter_guid: str, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._name: str | None | Unset_Type = Unset - self._parameter_guid: str | Unset_Type = Unset - self._errors: list[GsaParameterValueErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if name is not Unset: - self.name = name - if parameter_guid is not Unset: - self.parameter_guid = parameter_guid - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaParameterValueCreationException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaParameterValueCreationException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaParameterValueCreationException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaParameterValueCreationException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaParameterValueCreationException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaParameterValueCreationException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaParameterValueCreationException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaParameterValueCreationException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaParameterValueCreationException. - - Returns - ------- - str | None | Unset_Type - The name of this GsaParameterValueCreationException. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaParameterValueCreationException. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaParameterValueCreationException. - """ - self._name = name - - @property - def parameter_guid(self) -> "str | Unset_Type": - """Gets the parameter_guid of this GsaParameterValueCreationException. - - Returns - ------- - str | Unset_Type - The parameter_guid of this GsaParameterValueCreationException. - """ - return self._parameter_guid - - @parameter_guid.setter - def parameter_guid(self, parameter_guid: "str | Unset_Type") -> None: - """Sets the parameter_guid of this GsaParameterValueCreationException. - - Parameters - ---------- - parameter_guid: str | Unset_Type - The parameter_guid of this GsaParameterValueCreationException. - """ - # Field is not nullable - if parameter_guid is None: - raise ValueError("Invalid value for 'parameter_guid', must not be 'None'") - self._parameter_guid = parameter_guid - - @property - def errors(self) -> "list[GsaParameterValueErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaParameterValueCreationException. - - Returns - ------- - list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueCreationException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaParameterValueCreationException. - - Parameters - ---------- - errors: list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueCreationException. - """ - self._errors = errors - - @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, GsaParameterValueCreationException): - 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/v2026r1/models/gsa_parameter_value_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_deletion_exception.py index 58db1fc0..4723cb24 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_deletion_exception.py @@ -61,7 +61,7 @@ class GsaParameterValueDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaParameterValueDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaParameterValueDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaParameterValueDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaParameterValueDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaParameterValueDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaParameterValueDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_detail.py deleted file mode 100644 index 8ff7e5be..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_detail.py +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterValueErrorDetail(ModelBase): - """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_class_map: dict[str, str] - They key is discriminator value and the value is associated subtype. - discriminator: Optional[str] - Name of the property used as discriminator for subtypes. - """ - swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = { - "reason": "GsaParameterValueErrorReason", - } - - discriminator_value_class_map = { - "inUse".lower(): "#/components/schemas/GsaInUseParameterValueErrorDetail", - "logScaleNegative".lower(): "#/components/schemas/GsaLogScaleNegativeParameterValueErrorDetail", - "namedEntity".lower(): "#/components/schemas/GsaNamedEntityParameterValueErrorDetail", - "nameWhitespace".lower(): "#/components/schemas/GsaNameWhitespaceParameterValueErrorDetail", - "parameterValueType".lower(): "#/components/schemas/GsaParameterValueTypeParameterValueErrorDetail", - "valueNotProvided".lower(): "#/components/schemas/GsaValueNotProvidedParameterValueErrorDetail", - } - - discriminator: Optional[str] = "reason" - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason", - ) -> None: - """GsaParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - """ - self._message: str - self._reason: GsaParameterValueErrorReason - - self.message = message - self.reason = reason - - @property - def message(self) -> "str": - """Gets the message of this GsaParameterValueErrorDetail. - - Returns - ------- - str - The message of this GsaParameterValueErrorDetail. - """ - return self._message - - @message.setter - def message(self, message: "str") -> None: - """Sets the message of this GsaParameterValueErrorDetail. - - Parameters - ---------- - message: str - The message of this GsaParameterValueErrorDetail. - """ - # Field is not nullable - if message is None: - raise ValueError("Invalid value for 'message', must not be 'None'") - # Field is required - if message is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'message', must not be 'Unset'") - self._message = message - - @property - def reason(self) -> "GsaParameterValueErrorReason": - """Gets the reason of this GsaParameterValueErrorDetail. - - Returns - ------- - GsaParameterValueErrorReason - The reason of this GsaParameterValueErrorDetail. - """ - return self._reason - - @reason.setter - def reason(self, reason: "GsaParameterValueErrorReason") -> None: - """Sets the reason of this GsaParameterValueErrorDetail. - - Parameters - ---------- - reason: GsaParameterValueErrorReason - The reason of this GsaParameterValueErrorDetail. - """ - # Field is not nullable - if reason is None: - raise ValueError("Invalid value for 'reason', must not be 'None'") - # Field is required - if reason is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'reason', must not be 'Unset'") - self._reason = reason - - @classmethod - def get_real_child_model(cls, data: dict[str, str]) -> str: - """Returns the real base class as determined by the discriminator - - Parameters - ---------- - data: ModelBase - Object representing a subclass of this class - """ - discriminator_value = str(data[cls._get_discriminator_field_name()]).lower() - # The actual class name is not available in swagger-codegen, - # so we have to extract it from the JSON reference - return cls.discriminator_value_class_map[discriminator_value].rsplit("/", 1)[-1] - - @classmethod - def _get_discriminator_field_name(cls) -> str: - assert cls.discriminator - name_tokens = cls.discriminator.split("_") - later_tokens = [element.capitalize() for element in name_tokens[1:]] - return "".join([name_tokens[0], *later_tokens]) - - 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, GsaParameterValueErrorDetail): - 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/v2026r1/models/gsa_parameter_value_error_reason.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_reason.py deleted file mode 100644 index aa96a953..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_error_reason.py +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaParameterValueErrorReason(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - INUSE = "inUse" - LOGSCALENEGATIVE = "logScaleNegative" - NAMEDENTITY = "namedEntity" - NAMEWHITESPACE = "nameWhitespace" - PARAMETERVALUETYPE = "parameterValueType" - VALUENOTPROVIDED = "valueNotProvided" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_parameter_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_parameter_error_detail.py deleted file mode 100644 index 0fbf9883..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_parameter_error_detail.py +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_detail import ( # noqa: F401 - GsaParameterErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_error_reason import ( - GsaParameterErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterValueParameterErrorDetail(GsaParameterErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterErrorReason", - "errors": "list[GsaParameterValueErrorDetail]", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "errors": "errors", - } - - subtype_mapping: dict[str, str] = { - "errors": "GsaParameterValueErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterErrorReason" = GsaParameterErrorReason.PARAMETERVALUE, - errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type" = Unset, - ) -> None: - """GsaParameterValueParameterErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterErrorReason - errors: list[GsaParameterValueErrorDetail] | None, optional - """ - super().__init__(message=message, reason=reason) - self._errors: list[GsaParameterValueErrorDetail] | None | Unset_Type = Unset - - if errors is not Unset: - self.errors = errors - - @property - def errors(self) -> "list[GsaParameterValueErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaParameterValueParameterErrorDetail. - - Returns - ------- - list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueParameterErrorDetail. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaParameterValueParameterErrorDetail. - - Parameters - ---------- - errors: list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueParameterErrorDetail. - """ - self._errors = errors - - @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, GsaParameterValueParameterErrorDetail): - 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/v2026r1/models/gsa_parameter_value_type_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_type_parameter_value_error_detail.py deleted file mode 100644 index a371386e..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_type_parameter_value_error_detail.py +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterValueTypeParameterValueErrorDetail(GsaParameterValueErrorDetail): - """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] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - "parameter_type": "GsaParameterType", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "parameter_type": "parameterType", - } - - subtype_mapping: dict[str, str] = { - "parameterType": "GsaParameterType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.PARAMETERVALUETYPE, - parameter_type: "GsaParameterType | Unset_Type" = Unset, - ) -> None: - """GsaParameterValueTypeParameterValueErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaParameterValueErrorReason - parameter_type: GsaParameterType, optional - """ - super().__init__(message=message, reason=reason) - self._parameter_type: GsaParameterType | Unset_Type = Unset - - if parameter_type is not Unset: - self.parameter_type = parameter_type - - @property - def parameter_type(self) -> "GsaParameterType | Unset_Type": - """Gets the parameter_type of this GsaParameterValueTypeParameterValueErrorDetail. - - Returns - ------- - GsaParameterType | Unset_Type - The parameter_type of this GsaParameterValueTypeParameterValueErrorDetail. - """ - return self._parameter_type - - @parameter_type.setter - def parameter_type(self, parameter_type: "GsaParameterType | Unset_Type") -> None: - """Sets the parameter_type of this GsaParameterValueTypeParameterValueErrorDetail. - - Parameters - ---------- - parameter_type: GsaParameterType | Unset_Type - The parameter_type of this GsaParameterValueTypeParameterValueErrorDetail. - """ - # Field is not nullable - if parameter_type is None: - raise ValueError("Invalid value for 'parameter_type', must not be 'None'") - self._parameter_type = parameter_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, GsaParameterValueTypeParameterValueErrorDetail): - 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/v2026r1/models/gsa_parameter_value_update_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_update_exception.py deleted file mode 100644 index 186b7d64..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_update_exception.py +++ /dev/null @@ -1,270 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaParameterValueUpdateException(ModelBase): - """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] = { - "code": "GsaErrorCode", - "errors": "list[GsaParameterValueErrorDetail]", - "message": "str", - "parameter_guid": "str", - "parameter_value_guid": "str", - } - - attribute_map: dict[str, str] = { - "code": "code", - "errors": "errors", - "message": "message", - "parameter_guid": "parameterGuid", - "parameter_value_guid": "parameterValueGuid", - } - - subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", - "errors": "GsaParameterValueErrorDetail", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - code: "GsaErrorCode | Unset_Type" = Unset, - errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type" = Unset, - message: "str | None | Unset_Type" = Unset, - parameter_guid: "str | Unset_Type" = Unset, - parameter_value_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaParameterValueUpdateException - a model defined in Swagger - - Parameters - ---------- - code: GsaErrorCode, optional - errors: list[GsaParameterValueErrorDetail] | None, optional - message: str | None, optional - parameter_guid: str, optional - parameter_value_guid: str, optional - """ - self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset - self._parameter_value_guid: str | Unset_Type = Unset - self._parameter_guid: str | Unset_Type = Unset - self._errors: list[GsaParameterValueErrorDetail] | None | Unset_Type = Unset - - if message is not Unset: - self.message = message - if code is not Unset: - self.code = code - if parameter_value_guid is not Unset: - self.parameter_value_guid = parameter_value_guid - if parameter_guid is not Unset: - self.parameter_guid = parameter_guid - if errors is not Unset: - self.errors = errors - - @property - def message(self) -> "str | None | Unset_Type": - """Gets the message of this GsaParameterValueUpdateException. - - Returns - ------- - str | None | Unset_Type - The message of this GsaParameterValueUpdateException. - """ - return self._message - - @message.setter - def message(self, message: "str | None | Unset_Type") -> None: - """Sets the message of this GsaParameterValueUpdateException. - - Parameters - ---------- - message: str | None | Unset_Type - The message of this GsaParameterValueUpdateException. - """ - self._message = message - - @property - def code(self) -> "GsaErrorCode | Unset_Type": - """Gets the code of this GsaParameterValueUpdateException. - - Returns - ------- - GsaErrorCode | Unset_Type - The code of this GsaParameterValueUpdateException. - """ - return self._code - - @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: - """Sets the code of this GsaParameterValueUpdateException. - - Parameters - ---------- - code: GsaErrorCode | Unset_Type - The code of this GsaParameterValueUpdateException. - """ - # Field is not nullable - if code is None: - raise ValueError("Invalid value for 'code', must not be 'None'") - self._code = code - - @property - def parameter_value_guid(self) -> "str | Unset_Type": - """Gets the parameter_value_guid of this GsaParameterValueUpdateException. - - Returns - ------- - str | Unset_Type - The parameter_value_guid of this GsaParameterValueUpdateException. - """ - return self._parameter_value_guid - - @parameter_value_guid.setter - def parameter_value_guid(self, parameter_value_guid: "str | Unset_Type") -> None: - """Sets the parameter_value_guid of this GsaParameterValueUpdateException. - - Parameters - ---------- - parameter_value_guid: str | Unset_Type - The parameter_value_guid of this GsaParameterValueUpdateException. - """ - # Field is not nullable - if parameter_value_guid is None: - raise ValueError("Invalid value for 'parameter_value_guid', must not be 'None'") - self._parameter_value_guid = parameter_value_guid - - @property - def parameter_guid(self) -> "str | Unset_Type": - """Gets the parameter_guid of this GsaParameterValueUpdateException. - - Returns - ------- - str | Unset_Type - The parameter_guid of this GsaParameterValueUpdateException. - """ - return self._parameter_guid - - @parameter_guid.setter - def parameter_guid(self, parameter_guid: "str | Unset_Type") -> None: - """Sets the parameter_guid of this GsaParameterValueUpdateException. - - Parameters - ---------- - parameter_guid: str | Unset_Type - The parameter_guid of this GsaParameterValueUpdateException. - """ - # Field is not nullable - if parameter_guid is None: - raise ValueError("Invalid value for 'parameter_guid', must not be 'None'") - self._parameter_guid = parameter_guid - - @property - def errors(self) -> "list[GsaParameterValueErrorDetail] | None | Unset_Type": - """Gets the errors of this GsaParameterValueUpdateException. - - Returns - ------- - list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueUpdateException. - """ - return self._errors - - @errors.setter - def errors(self, errors: "list[GsaParameterValueErrorDetail] | None | Unset_Type") -> None: - """Sets the errors of this GsaParameterValueUpdateException. - - Parameters - ---------- - errors: list[GsaParameterValueErrorDetail] | None | Unset_Type - The errors of this GsaParameterValueUpdateException. - """ - self._errors = errors - - @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, GsaParameterValueUpdateException): - 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/v2026r1/models/gsa_parameter_value_used_by_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_used_by_type.py deleted file mode 100644 index f7e5f5b9..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_parameter_value_used_by_type.py +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaParameterValueUsedByType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - FUNCTIONALDATADEFAULT = "functionalDataDefault" - MULTIVALUEDPOINTDATA = "multiValuedPointData" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py index b3c33f97..4a563ec1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_picture_attribute.py @@ -69,7 +69,6 @@ class GsaPictureAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -84,7 +83,6 @@ class GsaPictureAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -105,7 +103,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.PICTURE, @@ -122,7 +119,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -136,7 +132,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py index 9d47ed54..6491c4d8 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_point_attribute.py @@ -71,7 +71,6 @@ class GsaPointAttribute(GsaAttribute): "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", "is_multi_valued": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -89,7 +88,6 @@ class GsaPointAttribute(GsaAttribute): "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", "is_multi_valued": "isMultiValued", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -116,7 +114,6 @@ def __init__( info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", is_multi_valued: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.POINT, @@ -136,7 +133,6 @@ def __init__( info: GsaAttributeInfo is_hidden_from_search_criteria: bool is_multi_valued: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -151,7 +147,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py index 6f764c96..4445f78f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute.py @@ -70,12 +70,10 @@ class GsaQueryAttribute(ModelBase): "display_names": "dict(str, str)", "expressions": "list[GsaQuerySlimNamedEntity]", "guid": "str", - "help_path": "str", "info": "GsaQueryAttributeInfo", "is_functional_range": "bool", "is_hidden_from_search_criteria": "bool", "is_multi_valued": "bool", - "is_protected": "bool", "name": "str", "tabular_columns": "list[GsaQuerySlimNamedEntity]", "target": "GsaQueryTabularAttributeTarget", @@ -93,12 +91,10 @@ class GsaQueryAttribute(ModelBase): "display_names": "displayNames", "expressions": "expressions", "guid": "guid", - "help_path": "helpPath", "info": "info", "is_functional_range": "isFunctionalRange", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", "is_multi_valued": "isMultiValued", - "is_protected": "isProtected", "name": "name", "tabular_columns": "tabularColumns", "target": "target", @@ -135,12 +131,10 @@ def __init__( display_names: "dict[str, str] | None | Unset_Type" = Unset, expressions: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset, guid: "str | None | Unset_Type" = Unset, - help_path: "str | None | Unset_Type" = Unset, info: "GsaQueryAttributeInfo | Unset_Type" = Unset, is_functional_range: "bool | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, is_multi_valued: "bool | None | Unset_Type" = Unset, - is_protected: "bool | None | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, tabular_columns: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset, target: "GsaQueryTabularAttributeTarget | Unset_Type" = Unset, @@ -160,25 +154,21 @@ def __init__( display_names: dict[str, str] | None, optional expressions: list[GsaQuerySlimNamedEntity] | None, optional guid: str | None, optional - help_path: str | None, optional info: GsaQueryAttributeInfo, optional is_functional_range: bool | None, optional is_hidden_from_search_criteria: bool | None, optional is_multi_valued: bool | None, optional - is_protected: bool | None, optional name: str | None, optional tabular_columns: list[GsaQuerySlimNamedEntity] | None, optional target: GsaQueryTabularAttributeTarget, optional type: GsaAttributeType, optional unit: GsaQueryUnit, optional """ - self._is_protected: bool | None | Unset_Type = Unset self._type: GsaAttributeType | Unset_Type = Unset self._default_threshold_type: GsaAttributeThresholdType | Unset_Type = Unset self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset self._is_multi_valued: bool | None | Unset_Type = Unset self._is_functional_range: bool | None | Unset_Type = Unset - self._help_path: str | None | Unset_Type = Unset self._axis_name: GsaQueryAxisName | Unset_Type = Unset self._info: GsaQueryAttributeInfo | Unset_Type = Unset self._unit: GsaQueryUnit | Unset_Type = Unset @@ -193,8 +183,6 @@ def __init__( self._name: str | None | Unset_Type = Unset self._guid: str | None | Unset_Type = Unset - if is_protected is not Unset: - self.is_protected = is_protected if type is not Unset: self.type = type if default_threshold_type is not Unset: @@ -205,8 +193,6 @@ def __init__( self.is_multi_valued = is_multi_valued if is_functional_range is not Unset: self.is_functional_range = is_functional_range - if help_path is not Unset: - self.help_path = help_path if axis_name is not Unset: self.axis_name = axis_name if info is not Unset: @@ -234,28 +220,6 @@ def __init__( if guid is not Unset: self.guid = guid - @property - def is_protected(self) -> "bool | None | Unset_Type": - """Gets the is_protected of this GsaQueryAttribute. - - Returns - ------- - bool | None | Unset_Type - The is_protected of this GsaQueryAttribute. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool | None | Unset_Type") -> None: - """Sets the is_protected of this GsaQueryAttribute. - - Parameters - ---------- - is_protected: bool | None | Unset_Type - The is_protected of this GsaQueryAttribute. - """ - self._is_protected = is_protected - @property def type(self) -> "GsaAttributeType | Unset_Type": """Gets the type of this GsaQueryAttribute. @@ -376,28 +340,6 @@ def is_functional_range(self, is_functional_range: "bool | None | Unset_Type") - """ self._is_functional_range = is_functional_range - @property - def help_path(self) -> "str | None | Unset_Type": - """Gets the help_path of this GsaQueryAttribute. - - Returns - ------- - str | None | Unset_Type - The help_path of this GsaQueryAttribute. - """ - return self._help_path - - @help_path.setter - def help_path(self, help_path: "str | None | Unset_Type") -> None: - """Sets the help_path of this GsaQueryAttribute. - - Parameters - ---------- - help_path: str | None | Unset_Type - The help_path of this GsaQueryAttribute. - """ - self._help_path = help_path - @property def axis_name(self) -> "GsaQueryAxisName | Unset_Type": """Gets the axis_name of this GsaQueryAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py index e7b736cb..e6842920 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_attribute_properties.py @@ -70,12 +70,10 @@ class GsaQueryAttributeProperties(ModelBase): "display_names": "bool", "expressions": "GsaQuerySlimNamedEntityProperties", "guid": "bool", - "help_path": "bool", "info": "GsaQueryAttributeInfoProperties", "is_functional_range": "bool", "is_hidden_from_search_criteria": "bool", "is_multi_valued": "bool", - "is_protected": "bool", "name": "bool", "tabular_columns": "GsaQuerySlimNamedEntityProperties", "target": "GsaQueryTabularAttributeTargetProperties", @@ -93,12 +91,10 @@ class GsaQueryAttributeProperties(ModelBase): "display_names": "displayNames", "expressions": "expressions", "guid": "guid", - "help_path": "helpPath", "info": "info", "is_functional_range": "isFunctionalRange", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", "is_multi_valued": "isMultiValued", - "is_protected": "isProtected", "name": "name", "tabular_columns": "tabularColumns", "target": "target", @@ -133,12 +129,10 @@ def __init__( display_names: "bool | None | Unset_Type" = Unset, expressions: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset, guid: "bool | None | Unset_Type" = Unset, - help_path: "bool | None | Unset_Type" = Unset, info: "GsaQueryAttributeInfoProperties | Unset_Type" = Unset, is_functional_range: "bool | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, is_multi_valued: "bool | None | Unset_Type" = Unset, - is_protected: "bool | None | Unset_Type" = Unset, name: "bool | None | Unset_Type" = Unset, tabular_columns: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset, target: "GsaQueryTabularAttributeTargetProperties | Unset_Type" = Unset, @@ -158,25 +152,21 @@ def __init__( display_names: bool | None, optional expressions: GsaQuerySlimNamedEntityProperties, optional guid: bool | None, optional - help_path: bool | None, optional info: GsaQueryAttributeInfoProperties, optional is_functional_range: bool | None, optional is_hidden_from_search_criteria: bool | None, optional is_multi_valued: bool | None, optional - is_protected: bool | None, optional name: bool | None, optional tabular_columns: GsaQuerySlimNamedEntityProperties, optional target: GsaQueryTabularAttributeTargetProperties, optional type: bool | None, optional unit: GsaQueryUnitProperties, optional """ - self._is_protected: bool | None | Unset_Type = Unset self._type: bool | None | Unset_Type = Unset self._default_threshold_type: bool | None | Unset_Type = Unset self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset self._is_multi_valued: bool | None | Unset_Type = Unset self._is_functional_range: bool | None | Unset_Type = Unset - self._help_path: bool | None | Unset_Type = Unset self._axis_name: GsaQueryAxisNameProperties | Unset_Type = Unset self._info: GsaQueryAttributeInfoProperties | Unset_Type = Unset self._unit: GsaQueryUnitProperties | Unset_Type = Unset @@ -191,8 +181,6 @@ def __init__( self._name: bool | None | Unset_Type = Unset self._guid: bool | None | Unset_Type = Unset - if is_protected is not Unset: - self.is_protected = is_protected if type is not Unset: self.type = type if default_threshold_type is not Unset: @@ -203,8 +191,6 @@ def __init__( self.is_multi_valued = is_multi_valued if is_functional_range is not Unset: self.is_functional_range = is_functional_range - if help_path is not Unset: - self.help_path = help_path if axis_name is not Unset: self.axis_name = axis_name if info is not Unset: @@ -232,28 +218,6 @@ def __init__( if guid is not Unset: self.guid = guid - @property - def is_protected(self) -> "bool | None | Unset_Type": - """Gets the is_protected of this GsaQueryAttributeProperties. - - Returns - ------- - bool | None | Unset_Type - The is_protected of this GsaQueryAttributeProperties. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool | None | Unset_Type") -> None: - """Sets the is_protected of this GsaQueryAttributeProperties. - - Parameters - ---------- - is_protected: bool | None | Unset_Type - The is_protected of this GsaQueryAttributeProperties. - """ - self._is_protected = is_protected - @property def type(self) -> "bool | None | Unset_Type": """Gets the type of this GsaQueryAttributeProperties. @@ -368,28 +332,6 @@ def is_functional_range(self, is_functional_range: "bool | None | Unset_Type") - """ self._is_functional_range = is_functional_range - @property - def help_path(self) -> "bool | None | Unset_Type": - """Gets the help_path of this GsaQueryAttributeProperties. - - Returns - ------- - bool | None | Unset_Type - The help_path of this GsaQueryAttributeProperties. - """ - return self._help_path - - @help_path.setter - def help_path(self, help_path: "bool | None | Unset_Type") -> None: - """Sets the help_path of this GsaQueryAttributeProperties. - - Parameters - ---------- - help_path: bool | None | Unset_Type - The help_path of this GsaQueryAttributeProperties. - """ - self._help_path = help_path - @property def axis_name(self) -> "GsaQueryAxisNameProperties | Unset_Type": """Gets the axis_name of this GsaQueryAttributeProperties. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type.py index d1395575..91005810 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type.py @@ -64,7 +64,6 @@ class GsaQueryDiscreteType(ModelBase): "discrete_values": "list[GsaQuerySlimNamedEntity]", "guid": "str", "is_ordered": "bool", - "is_protected": "bool", "name": "str", } @@ -72,7 +71,6 @@ class GsaQueryDiscreteType(ModelBase): "discrete_values": "discreteValues", "guid": "guid", "is_ordered": "isOrdered", - "is_protected": "isProtected", "name": "name", } @@ -88,7 +86,6 @@ def __init__( discrete_values: "list[GsaQuerySlimNamedEntity] | None | Unset_Type" = Unset, guid: "str | None | Unset_Type" = Unset, is_ordered: "bool | None | Unset_Type" = Unset, - is_protected: "bool | None | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, ) -> None: """GsaQueryDiscreteType - a model defined in Swagger @@ -98,17 +95,13 @@ def __init__( discrete_values: list[GsaQuerySlimNamedEntity] | None, optional guid: str | None, optional is_ordered: bool | None, optional - is_protected: bool | None, optional name: str | None, optional """ - self._is_protected: bool | None | Unset_Type = Unset self._discrete_values: list[GsaQuerySlimNamedEntity] | None | Unset_Type = Unset self._is_ordered: bool | None | Unset_Type = Unset self._name: str | None | Unset_Type = Unset self._guid: str | None | Unset_Type = Unset - if is_protected is not Unset: - self.is_protected = is_protected if discrete_values is not Unset: self.discrete_values = discrete_values if is_ordered is not Unset: @@ -118,28 +111,6 @@ def __init__( if guid is not Unset: self.guid = guid - @property - def is_protected(self) -> "bool | None | Unset_Type": - """Gets the is_protected of this GsaQueryDiscreteType. - - Returns - ------- - bool | None | Unset_Type - The is_protected of this GsaQueryDiscreteType. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool | None | Unset_Type") -> None: - """Sets the is_protected of this GsaQueryDiscreteType. - - Parameters - ---------- - is_protected: bool | None | Unset_Type - The is_protected of this GsaQueryDiscreteType. - """ - self._is_protected = is_protected - @property def discrete_values(self) -> "list[GsaQuerySlimNamedEntity] | None | Unset_Type": """Gets the discrete_values of this GsaQueryDiscreteType. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type_properties.py index 8c8d123b..cd74a40f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type_properties.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_query_discrete_type_properties.py @@ -64,7 +64,6 @@ class GsaQueryDiscreteTypeProperties(ModelBase): "discrete_values": "GsaQuerySlimNamedEntityProperties", "guid": "bool", "is_ordered": "bool", - "is_protected": "bool", "name": "bool", } @@ -72,7 +71,6 @@ class GsaQueryDiscreteTypeProperties(ModelBase): "discrete_values": "discreteValues", "guid": "guid", "is_ordered": "isOrdered", - "is_protected": "isProtected", "name": "name", } @@ -88,7 +86,6 @@ def __init__( discrete_values: "GsaQuerySlimNamedEntityProperties | Unset_Type" = Unset, guid: "bool | None | Unset_Type" = Unset, is_ordered: "bool | None | Unset_Type" = Unset, - is_protected: "bool | None | Unset_Type" = Unset, name: "bool | None | Unset_Type" = Unset, ) -> None: """GsaQueryDiscreteTypeProperties - a model defined in Swagger @@ -98,17 +95,13 @@ def __init__( discrete_values: GsaQuerySlimNamedEntityProperties, optional guid: bool | None, optional is_ordered: bool | None, optional - is_protected: bool | None, optional name: bool | None, optional """ - self._is_protected: bool | None | Unset_Type = Unset self._discrete_values: GsaQuerySlimNamedEntityProperties | Unset_Type = Unset self._is_ordered: bool | None | Unset_Type = Unset self._name: bool | None | Unset_Type = Unset self._guid: bool | None | Unset_Type = Unset - if is_protected is not Unset: - self.is_protected = is_protected if discrete_values is not Unset: self.discrete_values = discrete_values if is_ordered is not Unset: @@ -118,28 +111,6 @@ def __init__( if guid is not Unset: self.guid = guid - @property - def is_protected(self) -> "bool | None | Unset_Type": - """Gets the is_protected of this GsaQueryDiscreteTypeProperties. - - Returns - ------- - bool | None | Unset_Type - The is_protected of this GsaQueryDiscreteTypeProperties. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool | None | Unset_Type") -> None: - """Sets the is_protected of this GsaQueryDiscreteTypeProperties. - - Parameters - ---------- - is_protected: bool | None | Unset_Type - The is_protected of this GsaQueryDiscreteTypeProperties. - """ - self._is_protected = is_protected - @property def discrete_values(self) -> "GsaQuerySlimNamedEntityProperties | Unset_Type": """Gets the discrete_values of this GsaQueryDiscreteTypeProperties. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py index 063d6635..ea6e696e 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_range_attribute.py @@ -69,7 +69,6 @@ class GsaRangeAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -85,7 +84,6 @@ class GsaRangeAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -109,7 +107,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType" = GsaAttributeType.RANGE, @@ -127,7 +124,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -142,7 +138,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_and_attribute_selection_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_and_attribute_selection_type.py deleted file mode 100644 index 47d84d12..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_and_attribute_selection_type.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaRecordAndAttributeSelectionType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - POS_0 = 0 - POS_1 = 1 - POS_2 = 2 diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_user_capabilities.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_capabilities.py similarity index 86% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_user_capabilities.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_capabilities.py index 570aa3ba..e0e4d20c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_user_capabilities.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_capabilities.py @@ -42,7 +42,7 @@ from . import * -class GsaRecordUserCapabilities(ModelBase): +class GsaRecordCapabilities(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -92,7 +92,7 @@ def __init__( can_withdraw: "bool", can_write: "bool", ) -> None: - """GsaRecordUserCapabilities - a model defined in Swagger + """GsaRecordCapabilities - a model defined in Swagger Parameters ---------- @@ -119,25 +119,25 @@ def __init__( @property def can_write(self) -> "bool": - """Gets the can_write of this GsaRecordUserCapabilities. + """Gets the can_write of this GsaRecordCapabilities. True if the current user has write permission for this record version, and is in write mode. Write permission is required to edit record properties, and to perform version control actions. Returns ------- bool - The can_write of this GsaRecordUserCapabilities. + The can_write of this GsaRecordCapabilities. """ return self._can_write @can_write.setter def can_write(self, can_write: "bool") -> None: - """Sets the can_write of this GsaRecordUserCapabilities. + """Sets the can_write of this GsaRecordCapabilities. True if the current user has write permission for this record version, and is in write mode. Write permission is required to edit record properties, and to perform version control actions. Parameters ---------- can_write: bool - The can_write of this GsaRecordUserCapabilities. + The can_write of this GsaRecordCapabilities. """ # Field is not nullable if can_write is None: @@ -149,25 +149,25 @@ def can_write(self, can_write: "bool") -> None: @property def can_modify(self) -> "bool": - """Gets the can_modify of this GsaRecordUserCapabilities. + """Gets the can_modify of this GsaRecordCapabilities. True if the current user can modify this record version, e.g. edit record properties. The user needs write permission, and if the table is version controlled, the record must be unreleased. Returns ------- bool - The can_modify of this GsaRecordUserCapabilities. + The can_modify of this GsaRecordCapabilities. """ return self._can_modify @can_modify.setter def can_modify(self, can_modify: "bool") -> None: - """Sets the can_modify of this GsaRecordUserCapabilities. + """Sets the can_modify of this GsaRecordCapabilities. True if the current user can modify this record version, e.g. edit record properties. The user needs write permission, and if the table is version controlled, the record must be unreleased. Parameters ---------- can_modify: bool - The can_modify of this GsaRecordUserCapabilities. + The can_modify of this GsaRecordCapabilities. """ # Field is not nullable if can_modify is None: @@ -179,25 +179,25 @@ def can_modify(self, can_modify: "bool") -> None: @property def can_release(self) -> "bool": - """Gets the can_release of this GsaRecordUserCapabilities. + """Gets the can_release of this GsaRecordCapabilities. True if the current user can release this record version. Returns ------- bool - The can_release of this GsaRecordUserCapabilities. + The can_release of this GsaRecordCapabilities. """ return self._can_release @can_release.setter def can_release(self, can_release: "bool") -> None: - """Sets the can_release of this GsaRecordUserCapabilities. + """Sets the can_release of this GsaRecordCapabilities. True if the current user can release this record version. Parameters ---------- can_release: bool - The can_release of this GsaRecordUserCapabilities. + The can_release of this GsaRecordCapabilities. """ # Field is not nullable if can_release is None: @@ -209,25 +209,25 @@ def can_release(self, can_release: "bool") -> None: @property def can_get_modifiable_version(self) -> "bool": - """Gets the can_get_modifiable_version of this GsaRecordUserCapabilities. + """Gets the can_get_modifiable_version of this GsaRecordCapabilities. True if the current user can get a modifiable version of this record version (gets the latest modifiable record version, or creates a new one if none exists). Returns ------- bool - The can_get_modifiable_version of this GsaRecordUserCapabilities. + The can_get_modifiable_version of this GsaRecordCapabilities. """ return self._can_get_modifiable_version @can_get_modifiable_version.setter def can_get_modifiable_version(self, can_get_modifiable_version: "bool") -> None: - """Sets the can_get_modifiable_version of this GsaRecordUserCapabilities. + """Sets the can_get_modifiable_version of this GsaRecordCapabilities. True if the current user can get a modifiable version of this record version (gets the latest modifiable record version, or creates a new one if none exists). Parameters ---------- can_get_modifiable_version: bool - The can_get_modifiable_version of this GsaRecordUserCapabilities. + The can_get_modifiable_version of this GsaRecordCapabilities. """ # Field is not nullable if can_get_modifiable_version is None: @@ -239,25 +239,25 @@ def can_get_modifiable_version(self, can_get_modifiable_version: "bool") -> None @property def can_withdraw(self) -> "bool": - """Gets the can_withdraw of this GsaRecordUserCapabilities. + """Gets the can_withdraw of this GsaRecordCapabilities. True if the current user can withdraw this record version. Returns ------- bool - The can_withdraw of this GsaRecordUserCapabilities. + The can_withdraw of this GsaRecordCapabilities. """ return self._can_withdraw @can_withdraw.setter def can_withdraw(self, can_withdraw: "bool") -> None: - """Sets the can_withdraw of this GsaRecordUserCapabilities. + """Sets the can_withdraw of this GsaRecordCapabilities. True if the current user can withdraw this record version. Parameters ---------- can_withdraw: bool - The can_withdraw of this GsaRecordUserCapabilities. + The can_withdraw of this GsaRecordCapabilities. """ # Field is not nullable if can_withdraw is None: @@ -269,25 +269,25 @@ def can_withdraw(self, can_withdraw: "bool") -> None: @property def can_delete(self) -> "bool": - """Gets the can_delete of this GsaRecordUserCapabilities. + """Gets the can_delete of this GsaRecordCapabilities. True if the current user can delete this record version. Returns ------- bool - The can_delete of this GsaRecordUserCapabilities. + The can_delete of this GsaRecordCapabilities. """ return self._can_delete @can_delete.setter def can_delete(self, can_delete: "bool") -> None: - """Sets the can_delete of this GsaRecordUserCapabilities. + """Sets the can_delete of this GsaRecordCapabilities. True if the current user can delete this record version. Parameters ---------- can_delete: bool - The can_delete of this GsaRecordUserCapabilities. + The can_delete of this GsaRecordCapabilities. """ # Field is not nullable if can_delete is None: @@ -319,7 +319,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaRecordUserCapabilities): + if not isinstance(other, GsaRecordCapabilities): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_copy_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_copy_exception.py index e140fcdb..14278fda 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_copy_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_copy_exception.py @@ -61,7 +61,7 @@ class GsaRecordHistoryCopyException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaRecordHistoryCopyException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaErrorDetail", } @@ -82,7 +82,7 @@ class GsaRecordHistoryCopyException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaRecordHistoryCopyException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaRecordHistoryCopyException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaRecordHistoryCopyException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaRecordHistoryCopyException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_move_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_move_exception.py index b8c0d5ea..bb9cdcc1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_move_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_history_move_exception.py @@ -61,7 +61,7 @@ class GsaRecordHistoryMoveException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaRecordHistoryMoveException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaErrorDetail", } @@ -82,7 +82,7 @@ class GsaRecordHistoryMoveException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaRecordHistoryMoveException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaRecordHistoryMoveException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaRecordHistoryMoveException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaRecordHistoryMoveException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py index ecfcfc22..4ddf3802 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group.py @@ -91,7 +91,7 @@ class GsaRecordLinkGroup(ModelBase): discriminator_value_class_map = { "static".lower(): "#/components/schemas/GsaStaticRecordLinkGroup", - "smart".lower(): "#/components/schemas/GsaSmartRecordLinkGroup", + "dynamic".lower(): "#/components/schemas/GsaDynamicRecordLinkGroup", "crossDatabase".lower(): "#/components/schemas/GsaCrossDatabaseRecordLinkGroup", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group_type.py index a2822475..5bb90ceb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_link_group_type.py @@ -43,5 +43,5 @@ class GsaRecordLinkGroupType(Enum): Allowed Enum values """ STATIC = "static" - SMART = "smart" + DYNAMIC = "dynamic" CROSSDATABASE = "crossDatabase" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_version.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_version.py index b0d68027..cbf8bc63 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_version.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_record_version.py @@ -61,6 +61,7 @@ class GsaRecordVersion(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { + "capabilities": "GsaRecordCapabilities", "created_by_user": "str", "created_date": "datetime", "database_key": "str", @@ -73,13 +74,13 @@ class GsaRecordVersion(ModelBase): "record_type": "GsaRecordType", "short_name": "str", "table": "GsaSlimTable", - "user_capabilities": "GsaRecordUserCapabilities", "version_number": "int", "version_state": "GsaVersionState", "released_date": "datetime", } attribute_map: dict[str, str] = { + "capabilities": "capabilities", "created_by_user": "createdByUser", "created_date": "createdDate", "database_key": "databaseKey", @@ -92,7 +93,6 @@ class GsaRecordVersion(ModelBase): "record_type": "recordType", "short_name": "shortName", "table": "table", - "user_capabilities": "userCapabilities", "version_number": "versionNumber", "version_state": "versionState", "released_date": "releasedDate", @@ -103,7 +103,7 @@ class GsaRecordVersion(ModelBase): "table": "GsaSlimTable", "recordType": "GsaRecordType", "recordColor": "GsaRecordColor", - "userCapabilities": "GsaRecordUserCapabilities", + "capabilities": "GsaRecordCapabilities", "versionState": "GsaVersionState", } @@ -112,6 +112,7 @@ class GsaRecordVersion(ModelBase): def __init__( self, *, + capabilities: "GsaRecordCapabilities", created_by_user: "str", created_date: "datetime", database_key: "str", @@ -124,7 +125,6 @@ def __init__( record_type: "GsaRecordType", short_name: "str", table: "GsaSlimTable", - user_capabilities: "GsaRecordUserCapabilities", version_number: "int", version_state: "GsaVersionState", released_date: "datetime | None | Unset_Type" = Unset, @@ -133,6 +133,7 @@ def __init__( Parameters ---------- + capabilities: GsaRecordCapabilities created_by_user: str created_date: datetime database_key: str @@ -145,7 +146,6 @@ def __init__( record_type: GsaRecordType short_name: str table: GsaSlimTable - user_capabilities: GsaRecordUserCapabilities version_number: int version_state: GsaVersionState released_date: datetime | None, optional @@ -161,7 +161,7 @@ def __init__( self._released_date: datetime | None | Unset_Type = Unset self._short_name: str self._record_color: GsaRecordColor - self._user_capabilities: GsaRecordUserCapabilities + self._capabilities: GsaRecordCapabilities self._version_number: int self._version_state: GsaVersionState self._name: str @@ -179,7 +179,7 @@ def __init__( self.released_date = released_date self.short_name = short_name self.record_color = record_color - self.user_capabilities = user_capabilities + self.capabilities = capabilities self.version_number = version_number self.version_state = version_state self.name = name @@ -488,32 +488,32 @@ def record_color(self, record_color: "GsaRecordColor") -> None: self._record_color = record_color @property - def user_capabilities(self) -> "GsaRecordUserCapabilities": - """Gets the user_capabilities of this GsaRecordVersion. + def capabilities(self) -> "GsaRecordCapabilities": + """Gets the capabilities of this GsaRecordVersion. Returns ------- - GsaRecordUserCapabilities - The user_capabilities of this GsaRecordVersion. + GsaRecordCapabilities + The capabilities of this GsaRecordVersion. """ - return self._user_capabilities + return self._capabilities - @user_capabilities.setter - def user_capabilities(self, user_capabilities: "GsaRecordUserCapabilities") -> None: - """Sets the user_capabilities of this GsaRecordVersion. + @capabilities.setter + def capabilities(self, capabilities: "GsaRecordCapabilities") -> None: + """Sets the capabilities of this GsaRecordVersion. Parameters ---------- - user_capabilities: GsaRecordUserCapabilities - The user_capabilities of this GsaRecordVersion. + capabilities: GsaRecordCapabilities + The capabilities of this GsaRecordVersion. """ # Field is not nullable - if user_capabilities is None: - raise ValueError("Invalid value for 'user_capabilities', must not be 'None'") + if capabilities is None: + raise ValueError("Invalid value for 'capabilities', must not be 'None'") # Field is required - if user_capabilities is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'user_capabilities', must not be 'Unset'") - self._user_capabilities = user_capabilities + if capabilities is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'capabilities', must not be 'Unset'") + self._capabilities = capabilities @property def version_number(self) -> "int": diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_referenced_by_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_referenced_by_type.py index 459c77b9..de5ef39b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_referenced_by_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_referenced_by_type.py @@ -44,7 +44,7 @@ class GsaReferencedByType(Enum): """ EXPRESSION = "expression" VERSIONCONTROLLEDDATA = "versionControlledData" - SMARTLINKGROUP = "smartLinkGroup" + DYNAMICLINKGROUP = "dynamicLinkGroup" TABULARATTRIBUTE = "tabularAttribute" XYCHARTTEMPLATE = "xyChartTemplate" SEARCHMASK = "searchMask" @@ -52,5 +52,3 @@ class GsaReferencedByType(Enum): ATTRIBUTE = "attribute" DATA = "data" DEFAULTPARAMETERVALUE = "defaultParameterValue" - FUNCTIONALDATADEFAULT = "functionalDataDefault" - MULTIVALUEDPOINTDATA = "multiValuedPointData" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_register_update_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_register_update_request.py deleted file mode 100644 index c08cedcc..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_register_update_request.py +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRegisterUpdateRequest(ModelBase): - """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] = { - "apply_options": "GsaApplyOptions", - "header": "GsaDataUpdateHeader", - } - - attribute_map: dict[str, str] = { - "apply_options": "applyOptions", - "header": "header", - } - - subtype_mapping: dict[str, str] = { - "header": "GsaDataUpdateHeader", - "applyOptions": "GsaApplyOptions", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - apply_options: "GsaApplyOptions | Unset_Type" = Unset, - header: "GsaDataUpdateHeader | Unset_Type" = Unset, - ) -> None: - """GsaRegisterUpdateRequest - a model defined in Swagger - - Parameters - ---------- - apply_options: GsaApplyOptions, optional - header: GsaDataUpdateHeader, optional - """ - self._header: GsaDataUpdateHeader | Unset_Type = Unset - self._apply_options: GsaApplyOptions | Unset_Type = Unset - - if header is not Unset: - self.header = header - if apply_options is not Unset: - self.apply_options = apply_options - - @property - def header(self) -> "GsaDataUpdateHeader | Unset_Type": - """Gets the header of this GsaRegisterUpdateRequest. - - Returns - ------- - GsaDataUpdateHeader | Unset_Type - The header of this GsaRegisterUpdateRequest. - """ - return self._header - - @header.setter - def header(self, header: "GsaDataUpdateHeader | Unset_Type") -> None: - """Sets the header of this GsaRegisterUpdateRequest. - - Parameters - ---------- - header: GsaDataUpdateHeader | Unset_Type - The header of this GsaRegisterUpdateRequest. - """ - # Field is not nullable - if header is None: - raise ValueError("Invalid value for 'header', must not be 'None'") - self._header = header - - @property - def apply_options(self) -> "GsaApplyOptions | Unset_Type": - """Gets the apply_options of this GsaRegisterUpdateRequest. - - Returns - ------- - GsaApplyOptions | Unset_Type - The apply_options of this GsaRegisterUpdateRequest. - """ - return self._apply_options - - @apply_options.setter - def apply_options(self, apply_options: "GsaApplyOptions | Unset_Type") -> None: - """Sets the apply_options of this GsaRegisterUpdateRequest. - - Parameters - ---------- - apply_options: GsaApplyOptions | Unset_Type - The apply_options of this GsaRegisterUpdateRequest. - """ - # Field is not nullable - if apply_options is None: - raise ValueError("Invalid value for 'apply_options', must not be 'None'") - self._apply_options = apply_options - - @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, GsaRegisterUpdateRequest): - 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/v2026r1/models/gsa_release_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_record_version_control_exception.py index 85c7a2d8..2bb3af49 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_record_version_control_exception.py @@ -61,7 +61,7 @@ class GsaReleaseRecordVersionControlException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaReleaseRecordVersionControlException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -82,7 +82,7 @@ class GsaReleaseRecordVersionControlException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaVersionControlErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaVersionControlErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaVersionControlErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaReleaseRecordVersionControlException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaReleaseRecordVersionControlException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaReleaseRecordVersionControlException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaReleaseRecordVersionControlException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_table_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_table_version_control_exception.py index 331f9c94..1e8cd940 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_table_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_release_table_version_control_exception.py @@ -61,7 +61,7 @@ class GsaReleaseTableVersionControlException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaReleaseTableVersionControlException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -82,7 +82,7 @@ class GsaReleaseTableVersionControlException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaVersionControlErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaVersionControlErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaVersionControlErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaReleaseTableVersionControlException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaReleaseTableVersionControlException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaReleaseTableVersionControlException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaReleaseTableVersionControlException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_info.py deleted file mode 100644 index cb1653f6..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_info.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaResolveLinkTargetsInfo(ModelBase): - """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] = { - "resolved_link_targets": "list[GsaResolvedLinkTarget]", - } - - attribute_map: dict[str, str] = { - "resolved_link_targets": "resolvedLinkTargets", - } - - subtype_mapping: dict[str, str] = { - "resolvedLinkTargets": "GsaResolvedLinkTarget", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - resolved_link_targets: "list[GsaResolvedLinkTarget]", - ) -> None: - """GsaResolveLinkTargetsInfo - a model defined in Swagger - - Parameters - ---------- - resolved_link_targets: list[GsaResolvedLinkTarget] - """ - self._resolved_link_targets: list[GsaResolvedLinkTarget] - - self.resolved_link_targets = resolved_link_targets - - @property - def resolved_link_targets(self) -> "list[GsaResolvedLinkTarget]": - """Gets the resolved_link_targets of this GsaResolveLinkTargetsInfo. - - Returns - ------- - list[GsaResolvedLinkTarget] - The resolved_link_targets of this GsaResolveLinkTargetsInfo. - """ - return self._resolved_link_targets - - @resolved_link_targets.setter - def resolved_link_targets(self, resolved_link_targets: "list[GsaResolvedLinkTarget]") -> None: - """Sets the resolved_link_targets of this GsaResolveLinkTargetsInfo. - - Parameters - ---------- - resolved_link_targets: list[GsaResolvedLinkTarget] - The resolved_link_targets of this GsaResolveLinkTargetsInfo. - """ - # Field is not nullable - if resolved_link_targets is None: - raise ValueError("Invalid value for 'resolved_link_targets', must not be 'None'") - # Field is required - if resolved_link_targets is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'resolved_link_targets', must not be 'Unset'") - self._resolved_link_targets = resolved_link_targets - - @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, GsaResolveLinkTargetsInfo): - 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/v2026r1/models/gsa_resolve_link_targets_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_request.py deleted file mode 100644 index eb7143b5..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolve_link_targets_request.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaResolveLinkTargetsRequest(ModelBase): - """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] = { - "link_targets": "list[GsaLinkTarget]", - } - - attribute_map: dict[str, str] = { - "link_targets": "linkTargets", - } - - subtype_mapping: dict[str, str] = { - "linkTargets": "GsaLinkTarget", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - link_targets: "list[GsaLinkTarget]", - ) -> None: - """GsaResolveLinkTargetsRequest - a model defined in Swagger - - Parameters - ---------- - link_targets: list[GsaLinkTarget] - """ - self._link_targets: list[GsaLinkTarget] - - self.link_targets = link_targets - - @property - def link_targets(self) -> "list[GsaLinkTarget]": - """Gets the link_targets of this GsaResolveLinkTargetsRequest. - - Returns - ------- - list[GsaLinkTarget] - The link_targets of this GsaResolveLinkTargetsRequest. - """ - return self._link_targets - - @link_targets.setter - def link_targets(self, link_targets: "list[GsaLinkTarget]") -> None: - """Sets the link_targets of this GsaResolveLinkTargetsRequest. - - Parameters - ---------- - link_targets: list[GsaLinkTarget] - The link_targets of this GsaResolveLinkTargetsRequest. - """ - # Field is not nullable - if link_targets is None: - raise ValueError("Invalid value for 'link_targets', must not be 'None'") - # Field is required - if link_targets is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'link_targets', must not be 'Unset'") - self._link_targets = link_targets - - @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, GsaResolveLinkTargetsRequest): - 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/v2026r1/models/gsa_link.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link.py similarity index 75% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link.py index 4ed27e78..748283b1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_link.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link.py @@ -42,7 +42,7 @@ from . import * -class GsaLink(ModelBase): +class GsaResolvedLink(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -63,10 +63,11 @@ class GsaLink(ModelBase): swagger_types: dict[str, str] = { "display_names": "dict(str, str)", "guid": "str", - "link_info": "GsaLinkInfo", + "link_info": "GsaResolvedLinkInfo", "name": "str", "reverse_name": "str", "type": "GsaLinkAttributeType", + "identity": "int", "reverse_display_names": "dict(str, str)", } @@ -77,12 +78,13 @@ class GsaLink(ModelBase): "name": "name", "reverse_name": "reverseName", "type": "type", + "identity": "identity", "reverse_display_names": "reverseDisplayNames", } subtype_mapping: dict[str, str] = { "type": "GsaLinkAttributeType", - "linkInfo": "GsaLinkInfo", + "linkInfo": "GsaResolvedLinkInfo", } discriminator: Optional[str] = None @@ -92,32 +94,37 @@ def __init__( *, display_names: "dict[str, str]", guid: "str", - link_info: "GsaLinkInfo", + link_info: "GsaResolvedLinkInfo", name: "str", reverse_name: "str", type: "GsaLinkAttributeType", + identity: "int | None | Unset_Type" = Unset, reverse_display_names: "dict[str, str] | None | Unset_Type" = Unset, ) -> None: - """GsaLink - a model defined in Swagger + """GsaResolvedLink - a model defined in Swagger Parameters ---------- display_names: dict[str, str] guid: str - link_info: GsaLinkInfo + link_info: GsaResolvedLinkInfo name: str reverse_name: str type: GsaLinkAttributeType + identity: int | None, optional reverse_display_names: dict[str, str] | None, optional """ + self._identity: int | None | Unset_Type = Unset self._type: GsaLinkAttributeType self._reverse_name: str self._reverse_display_names: dict[str, str] | None | Unset_Type = Unset - self._link_info: GsaLinkInfo + self._link_info: GsaResolvedLinkInfo self._display_names: dict[str, str] self._name: str self._guid: str + if identity is not Unset: + self.identity = identity self.type = type self.reverse_name = reverse_name if reverse_display_names is not Unset: @@ -127,25 +134,47 @@ def __init__( self.name = name self.guid = guid + @property + def identity(self) -> "int | None | Unset_Type": + """Gets the identity of this GsaResolvedLink. + + Returns + ------- + int | None | Unset_Type + The identity of this GsaResolvedLink. + """ + return self._identity + + @identity.setter + def identity(self, identity: "int | None | Unset_Type") -> None: + """Sets the identity of this GsaResolvedLink. + + Parameters + ---------- + identity: int | None | Unset_Type + The identity of this GsaResolvedLink. + """ + self._identity = identity + @property def type(self) -> "GsaLinkAttributeType": - """Gets the type of this GsaLink. + """Gets the type of this GsaResolvedLink. Returns ------- GsaLinkAttributeType - The type of this GsaLink. + The type of this GsaResolvedLink. """ return self._type @type.setter def type(self, type: "GsaLinkAttributeType") -> None: - """Sets the type of this GsaLink. + """Sets the type of this GsaResolvedLink. Parameters ---------- type: GsaLinkAttributeType - The type of this GsaLink. + The type of this GsaResolvedLink. """ # Field is not nullable if type is None: @@ -157,23 +186,23 @@ def type(self, type: "GsaLinkAttributeType") -> None: @property def reverse_name(self) -> "str": - """Gets the reverse_name of this GsaLink. + """Gets the reverse_name of this GsaResolvedLink. Returns ------- str - The reverse_name of this GsaLink. + The reverse_name of this GsaResolvedLink. """ return self._reverse_name @reverse_name.setter def reverse_name(self, reverse_name: "str") -> None: - """Sets the reverse_name of this GsaLink. + """Sets the reverse_name of this GsaResolvedLink. Parameters ---------- reverse_name: str - The reverse_name of this GsaLink. + The reverse_name of this GsaResolvedLink. """ # Field is not nullable if reverse_name is None: @@ -185,12 +214,12 @@ def reverse_name(self, reverse_name: "str") -> None: @property def reverse_display_names(self) -> "dict[str, str] | None | Unset_Type": - """Gets the reverse_display_names of this GsaLink. + """Gets the reverse_display_names of this GsaResolvedLink. Returns ------- dict[str, str] | None | Unset_Type - The reverse_display_names of this GsaLink. + The reverse_display_names of this GsaResolvedLink. """ return self._reverse_display_names @@ -198,34 +227,34 @@ def reverse_display_names(self) -> "dict[str, str] | None | Unset_Type": def reverse_display_names( self, reverse_display_names: "dict[str, str] | None | Unset_Type" ) -> None: - """Sets the reverse_display_names of this GsaLink. + """Sets the reverse_display_names of this GsaResolvedLink. Parameters ---------- reverse_display_names: dict[str, str] | None | Unset_Type - The reverse_display_names of this GsaLink. + The reverse_display_names of this GsaResolvedLink. """ self._reverse_display_names = reverse_display_names @property - def link_info(self) -> "GsaLinkInfo": - """Gets the link_info of this GsaLink. + def link_info(self) -> "GsaResolvedLinkInfo": + """Gets the link_info of this GsaResolvedLink. Returns ------- - GsaLinkInfo - The link_info of this GsaLink. + GsaResolvedLinkInfo + The link_info of this GsaResolvedLink. """ return self._link_info @link_info.setter - def link_info(self, link_info: "GsaLinkInfo") -> None: - """Sets the link_info of this GsaLink. + def link_info(self, link_info: "GsaResolvedLinkInfo") -> None: + """Sets the link_info of this GsaResolvedLink. Parameters ---------- - link_info: GsaLinkInfo - The link_info of this GsaLink. + link_info: GsaResolvedLinkInfo + The link_info of this GsaResolvedLink. """ # Field is not nullable if link_info is None: @@ -237,23 +266,23 @@ def link_info(self, link_info: "GsaLinkInfo") -> None: @property def display_names(self) -> "dict[str, str]": - """Gets the display_names of this GsaLink. + """Gets the display_names of this GsaResolvedLink. Returns ------- dict[str, str] - The display_names of this GsaLink. + The display_names of this GsaResolvedLink. """ return self._display_names @display_names.setter def display_names(self, display_names: "dict[str, str]") -> None: - """Sets the display_names of this GsaLink. + """Sets the display_names of this GsaResolvedLink. Parameters ---------- display_names: dict[str, str] - The display_names of this GsaLink. + The display_names of this GsaResolvedLink. """ # Field is not nullable if display_names is None: @@ -265,23 +294,23 @@ def display_names(self, display_names: "dict[str, str]") -> None: @property def name(self) -> "str": - """Gets the name of this GsaLink. + """Gets the name of this GsaResolvedLink. Returns ------- str - The name of this GsaLink. + The name of this GsaResolvedLink. """ return self._name @name.setter def name(self, name: "str") -> None: - """Sets the name of this GsaLink. + """Sets the name of this GsaResolvedLink. Parameters ---------- name: str - The name of this GsaLink. + The name of this GsaResolvedLink. """ # Field is not nullable if name is None: @@ -293,23 +322,23 @@ def name(self, name: "str") -> None: @property def guid(self) -> "str": - """Gets the guid of this GsaLink. + """Gets the guid of this GsaResolvedLink. Returns ------- str - The guid of this GsaLink. + The guid of this GsaResolvedLink. """ return self._guid @guid.setter def guid(self, guid: "str") -> None: - """Sets the guid of this GsaLink. + """Sets the guid of this GsaResolvedLink. Parameters ---------- guid: str - The guid of this GsaLink. + The guid of this GsaResolvedLink. """ # Field is not nullable if guid is None: @@ -341,7 +370,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaLink): + if not isinstance(other, GsaResolvedLink): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_info.py similarity index 60% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_info.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_info.py index dda1ff40..1645fd3f 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_activity_log_entries_info.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_info.py @@ -42,7 +42,7 @@ from . import * -class GsaActivityLogEntriesInfo(ModelBase): +class GsaResolvedLinkInfo(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -61,18 +61,18 @@ class GsaActivityLogEntriesInfo(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "entries": "list[GsaActivityLogEntry]", - "links": "GsaPaginationLinks", + "link_source": "GsaResolvedLinkTarget", + "link_target": "GsaResolvedLinkTarget", } attribute_map: dict[str, str] = { - "entries": "entries", - "links": "links", + "link_source": "linkSource", + "link_target": "linkTarget", } subtype_mapping: dict[str, str] = { - "entries": "GsaActivityLogEntry", - "links": "GsaPaginationLinks", + "linkSource": "GsaResolvedLinkTarget", + "linkTarget": "GsaResolvedLinkTarget", } discriminator: Optional[str] = None @@ -80,77 +80,77 @@ class GsaActivityLogEntriesInfo(ModelBase): def __init__( self, *, - entries: "list[GsaActivityLogEntry]", - links: "GsaPaginationLinks", + link_source: "GsaResolvedLinkTarget", + link_target: "GsaResolvedLinkTarget", ) -> None: - """GsaActivityLogEntriesInfo - a model defined in Swagger + """GsaResolvedLinkInfo - a model defined in Swagger Parameters ---------- - entries: list[GsaActivityLogEntry] - links: GsaPaginationLinks + link_source: GsaResolvedLinkTarget + link_target: GsaResolvedLinkTarget """ - self._entries: list[GsaActivityLogEntry] - self._links: GsaPaginationLinks + self._link_source: GsaResolvedLinkTarget + self._link_target: GsaResolvedLinkTarget - self.entries = entries - self.links = links + self.link_source = link_source + self.link_target = link_target @property - def entries(self) -> "list[GsaActivityLogEntry]": - """Gets the entries of this GsaActivityLogEntriesInfo. + def link_source(self) -> "GsaResolvedLinkTarget": + """Gets the link_source of this GsaResolvedLinkInfo. Returns ------- - list[GsaActivityLogEntry] - The entries of this GsaActivityLogEntriesInfo. + GsaResolvedLinkTarget + The link_source of this GsaResolvedLinkInfo. """ - return self._entries + return self._link_source - @entries.setter - def entries(self, entries: "list[GsaActivityLogEntry]") -> None: - """Sets the entries of this GsaActivityLogEntriesInfo. + @link_source.setter + def link_source(self, link_source: "GsaResolvedLinkTarget") -> None: + """Sets the link_source of this GsaResolvedLinkInfo. Parameters ---------- - entries: list[GsaActivityLogEntry] - The entries of this GsaActivityLogEntriesInfo. + link_source: GsaResolvedLinkTarget + The link_source of this GsaResolvedLinkInfo. """ # Field is not nullable - if entries is None: - raise ValueError("Invalid value for 'entries', must not be 'None'") + if link_source is None: + raise ValueError("Invalid value for 'link_source', must not be 'None'") # Field is required - if entries is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'entries', must not be 'Unset'") - self._entries = entries + if link_source is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'link_source', must not be 'Unset'") + self._link_source = link_source @property - def links(self) -> "GsaPaginationLinks": - """Gets the links of this GsaActivityLogEntriesInfo. + def link_target(self) -> "GsaResolvedLinkTarget": + """Gets the link_target of this GsaResolvedLinkInfo. Returns ------- - GsaPaginationLinks - The links of this GsaActivityLogEntriesInfo. + GsaResolvedLinkTarget + The link_target of this GsaResolvedLinkInfo. """ - return self._links + return self._link_target - @links.setter - def links(self, links: "GsaPaginationLinks") -> None: - """Sets the links of this GsaActivityLogEntriesInfo. + @link_target.setter + def link_target(self, link_target: "GsaResolvedLinkTarget") -> None: + """Sets the link_target of this GsaResolvedLinkInfo. Parameters ---------- - links: GsaPaginationLinks - The links of this GsaActivityLogEntriesInfo. + link_target: GsaResolvedLinkTarget + The link_target of this GsaResolvedLinkInfo. """ # Field is not nullable - if links is None: - raise ValueError("Invalid value for 'links', must not be 'None'") + if link_target is None: + raise ValueError("Invalid value for 'link_target', must not be 'None'") # Field is required - if links is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'links', must not be 'Unset'") - self._links = links + if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'link_target', must not be 'Unset'") + self._link_target = link_target @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -174,7 +174,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaActivityLogEntriesInfo): + if not isinstance(other, GsaResolvedLinkInfo): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_target.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_target.py index 8fdc08bd..89b3e840 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_target.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_resolved_link_target.py @@ -61,96 +61,127 @@ class GsaResolvedLinkTarget(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "link_target": "GsaLinkTarget", - "tables": "list[GsaSlimTable]", + "database_guid": "str", + "database_version_guid": "str", + "table_guid": "str", } attribute_map: dict[str, str] = { - "link_target": "linkTarget", - "tables": "tables", + "database_guid": "databaseGuid", + "database_version_guid": "databaseVersionGuid", + "table_guid": "tableGuid", } - subtype_mapping: dict[str, str] = { - "linkTarget": "GsaLinkTarget", - "tables": "GsaSlimTable", - } + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None def __init__( self, *, - link_target: "GsaLinkTarget", - tables: "list[GsaSlimTable]", + database_guid: "str", + database_version_guid: "str", + table_guid: "str", ) -> None: """GsaResolvedLinkTarget - a model defined in Swagger Parameters ---------- - link_target: GsaLinkTarget - tables: list[GsaSlimTable] + database_guid: str + database_version_guid: str + table_guid: str + """ + self._database_guid: str + self._database_version_guid: str + self._table_guid: str + + self.database_guid = database_guid + self.database_version_guid = database_version_guid + self.table_guid = table_guid + + @property + def database_guid(self) -> "str": + """Gets the database_guid of this GsaResolvedLinkTarget. + + Returns + ------- + str + The database_guid of this GsaResolvedLinkTarget. """ - self._link_target: GsaLinkTarget - self._tables: list[GsaSlimTable] + return self._database_guid + + @database_guid.setter + def database_guid(self, database_guid: "str") -> None: + """Sets the database_guid of this GsaResolvedLinkTarget. - self.link_target = link_target - self.tables = tables + Parameters + ---------- + database_guid: str + The database_guid of this GsaResolvedLinkTarget. + """ + # Field is not nullable + if database_guid is None: + raise ValueError("Invalid value for 'database_guid', must not be 'None'") + # Field is required + if database_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'database_guid', must not be 'Unset'") + self._database_guid = database_guid @property - def link_target(self) -> "GsaLinkTarget": - """Gets the link_target of this GsaResolvedLinkTarget. + def database_version_guid(self) -> "str": + """Gets the database_version_guid of this GsaResolvedLinkTarget. Returns ------- - GsaLinkTarget - The link_target of this GsaResolvedLinkTarget. + str + The database_version_guid of this GsaResolvedLinkTarget. """ - return self._link_target + return self._database_version_guid - @link_target.setter - def link_target(self, link_target: "GsaLinkTarget") -> None: - """Sets the link_target of this GsaResolvedLinkTarget. + @database_version_guid.setter + def database_version_guid(self, database_version_guid: "str") -> None: + """Sets the database_version_guid of this GsaResolvedLinkTarget. Parameters ---------- - link_target: GsaLinkTarget - The link_target of this GsaResolvedLinkTarget. + database_version_guid: str + The database_version_guid of this GsaResolvedLinkTarget. """ # Field is not nullable - if link_target is None: - raise ValueError("Invalid value for 'link_target', must not be 'None'") + if database_version_guid is None: + raise ValueError("Invalid value for 'database_version_guid', must not be 'None'") # Field is required - if link_target is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'link_target', must not be 'Unset'") - self._link_target = link_target + if database_version_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'database_version_guid', must not be 'Unset'") + self._database_version_guid = database_version_guid @property - def tables(self) -> "list[GsaSlimTable]": - """Gets the tables of this GsaResolvedLinkTarget. + def table_guid(self) -> "str": + """Gets the table_guid of this GsaResolvedLinkTarget. Returns ------- - list[GsaSlimTable] - The tables of this GsaResolvedLinkTarget. + str + The table_guid of this GsaResolvedLinkTarget. """ - return self._tables + return self._table_guid - @tables.setter - def tables(self, tables: "list[GsaSlimTable]") -> None: - """Sets the tables of this GsaResolvedLinkTarget. + @table_guid.setter + def table_guid(self, table_guid: "str") -> None: + """Sets the table_guid of this GsaResolvedLinkTarget. Parameters ---------- - tables: list[GsaSlimTable] - The tables of this GsaResolvedLinkTarget. + table_guid: str + The table_guid of this GsaResolvedLinkTarget. """ # Field is not nullable - if tables is None: - raise ValueError("Invalid value for 'tables', must not be 'None'") + if table_guid is None: + raise ValueError("Invalid value for 'table_guid', must not be 'None'") # Field is required - if tables is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'tables', must not be 'Unset'") - self._tables = tables + if table_guid is Unset: # type: ignore[comparison-overlap, unused-ignore] + raise ValueError("Invalid value for 'table_guid', must not be 'Unset'") + self._table_guid = table_guid @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_potential_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_potential_request.py deleted file mode 100644 index b550c1be..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_potential_request.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRetargetPotentialRequest(ModelBase): - """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] = { - "target_database_keys": "list[str]", - } - - attribute_map: dict[str, str] = { - "target_database_keys": "targetDatabaseKeys", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - target_database_keys: "list[str]", - ) -> None: - """GsaRetargetPotentialRequest - a model defined in Swagger - - Parameters - ---------- - target_database_keys: list[str] - """ - self._target_database_keys: list[str] - - self.target_database_keys = target_database_keys - - @property - def target_database_keys(self) -> "list[str]": - """Gets the target_database_keys of this GsaRetargetPotentialRequest. - List of database keys to check for retargeting potential. - - Returns - ------- - list[str] - The target_database_keys of this GsaRetargetPotentialRequest. - """ - return self._target_database_keys - - @target_database_keys.setter - def target_database_keys(self, target_database_keys: "list[str]") -> None: - """Sets the target_database_keys of this GsaRetargetPotentialRequest. - List of database keys to check for retargeting potential. - - Parameters - ---------- - target_database_keys: list[str] - The target_database_keys of this GsaRetargetPotentialRequest. - """ - # Field is not nullable - if target_database_keys is None: - raise ValueError("Invalid value for 'target_database_keys', must not be 'None'") - # Field is required - if target_database_keys is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'target_database_keys', must not be 'Unset'") - self._target_database_keys = target_database_keys - - @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, GsaRetargetPotentialRequest): - 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/v2026r1/models/gsa_retarget_request.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_request.py deleted file mode 100644 index b61bc02a..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_request.py +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRetargetRequest(ModelBase): - """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] = { - "new_target_database_key": "str", - "previous_target_database_key": "str", - } - - attribute_map: dict[str, str] = { - "new_target_database_key": "newTargetDatabaseKey", - "previous_target_database_key": "previousTargetDatabaseKey", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - new_target_database_key: "str", - previous_target_database_key: "str", - ) -> None: - """GsaRetargetRequest - a model defined in Swagger - - Parameters - ---------- - new_target_database_key: str - previous_target_database_key: str - """ - self._previous_target_database_key: str - self._new_target_database_key: str - - self.previous_target_database_key = previous_target_database_key - self.new_target_database_key = new_target_database_key - - @property - def previous_target_database_key(self) -> "str": - """Gets the previous_target_database_key of this GsaRetargetRequest. - Database key that the tabular attributes were targeting before the operation. - - Returns - ------- - str - The previous_target_database_key of this GsaRetargetRequest. - """ - return self._previous_target_database_key - - @previous_target_database_key.setter - def previous_target_database_key(self, previous_target_database_key: "str") -> None: - """Sets the previous_target_database_key of this GsaRetargetRequest. - Database key that the tabular attributes were targeting before the operation. - - Parameters - ---------- - previous_target_database_key: str - The previous_target_database_key of this GsaRetargetRequest. - """ - # Field is not nullable - if previous_target_database_key is None: - raise ValueError("Invalid value for 'previous_target_database_key', must not be 'None'") - # Field is required - if previous_target_database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'previous_target_database_key', must not be 'Unset'" - ) - self._previous_target_database_key = previous_target_database_key - - @property - def new_target_database_key(self) -> "str": - """Gets the new_target_database_key of this GsaRetargetRequest. - Database key that the tabular attributes will target after the operation. - - Returns - ------- - str - The new_target_database_key of this GsaRetargetRequest. - """ - return self._new_target_database_key - - @new_target_database_key.setter - def new_target_database_key(self, new_target_database_key: "str") -> None: - """Sets the new_target_database_key of this GsaRetargetRequest. - Database key that the tabular attributes will target after the operation. - - Parameters - ---------- - new_target_database_key: str - The new_target_database_key of this GsaRetargetRequest. - """ - # Field is not nullable - if new_target_database_key is None: - raise ValueError("Invalid value for 'new_target_database_key', must not be 'None'") - # Field is required - if new_target_database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'new_target_database_key', must not be 'Unset'") - self._new_target_database_key = new_target_database_key - - @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, GsaRetargetRequest): - 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/v2026r1/models/gsa_retarget_result.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result.py deleted file mode 100644 index 42ab9d3f..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result.py +++ /dev/null @@ -1,257 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRetargetResult(ModelBase): - """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] = { - "attribute_name": "str", - "result": "GsaRetargetResultType", - "source_database_key": "str", - "table_name": "str", - } - - attribute_map: dict[str, str] = { - "attribute_name": "attributeName", - "result": "result", - "source_database_key": "sourceDatabaseKey", - "table_name": "tableName", - } - - subtype_mapping: dict[str, str] = { - "result": "GsaRetargetResultType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - attribute_name: "str", - result: "GsaRetargetResultType", - source_database_key: "str", - table_name: "str", - ) -> None: - """GsaRetargetResult - a model defined in Swagger - - Parameters - ---------- - attribute_name: str - result: GsaRetargetResultType - source_database_key: str - table_name: str - """ - self._source_database_key: str - self._table_name: str - self._attribute_name: str - self._result: GsaRetargetResultType - - self.source_database_key = source_database_key - self.table_name = table_name - self.attribute_name = attribute_name - self.result = result - - @property - def source_database_key(self) -> "str": - """Gets the source_database_key of this GsaRetargetResult. - Database key of the source database - the one holding the tabular attribute that was retargeted. - - Returns - ------- - str - The source_database_key of this GsaRetargetResult. - """ - return self._source_database_key - - @source_database_key.setter - def source_database_key(self, source_database_key: "str") -> None: - """Sets the source_database_key of this GsaRetargetResult. - Database key of the source database - the one holding the tabular attribute that was retargeted. - - Parameters - ---------- - source_database_key: str - The source_database_key of this GsaRetargetResult. - """ - # Field is not nullable - if source_database_key is None: - raise ValueError("Invalid value for 'source_database_key', must not be 'None'") - # Field is required - if source_database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'source_database_key', must not be 'Unset'") - self._source_database_key = source_database_key - - @property - def table_name(self) -> "str": - """Gets the table_name of this GsaRetargetResult. - Table name of the source table - the one holding the tabular attribute that was retargeted. - - Returns - ------- - str - The table_name of this GsaRetargetResult. - """ - return self._table_name - - @table_name.setter - def table_name(self, table_name: "str") -> None: - """Sets the table_name of this GsaRetargetResult. - Table name of the source table - the one holding the tabular attribute that was retargeted. - - Parameters - ---------- - table_name: str - The table_name of this GsaRetargetResult. - """ - # Field is not nullable - if table_name is None: - raise ValueError("Invalid value for 'table_name', must not be 'None'") - # Field is required - if table_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table_name', must not be 'Unset'") - self._table_name = table_name - - @property - def attribute_name(self) -> "str": - """Gets the attribute_name of this GsaRetargetResult. - Name of the tabular attribute that was retargeted. - - Returns - ------- - str - The attribute_name of this GsaRetargetResult. - """ - return self._attribute_name - - @attribute_name.setter - def attribute_name(self, attribute_name: "str") -> None: - """Sets the attribute_name of this GsaRetargetResult. - Name of the tabular attribute that was retargeted. - - Parameters - ---------- - attribute_name: str - The attribute_name of this GsaRetargetResult. - """ - # Field is not nullable - if attribute_name is None: - raise ValueError("Invalid value for 'attribute_name', must not be 'None'") - # Field is required - if attribute_name is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'attribute_name', must not be 'Unset'") - self._attribute_name = attribute_name - - @property - def result(self) -> "GsaRetargetResultType": - """Gets the result of this GsaRetargetResult. - - Returns - ------- - GsaRetargetResultType - The result of this GsaRetargetResult. - """ - return self._result - - @result.setter - def result(self, result: "GsaRetargetResultType") -> None: - """Sets the result of this GsaRetargetResult. - - Parameters - ---------- - result: GsaRetargetResultType - The result of this GsaRetargetResult. - """ - # Field is not nullable - if result is None: - raise ValueError("Invalid value for 'result', must not be 'None'") - # Field is required - if result is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'result', must not be 'Unset'") - self._result = result - - @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, GsaRetargetResult): - 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/v2026r1/models/gsa_retarget_result_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result_type.py deleted file mode 100644 index b56aef4b..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_result_type.py +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaRetargetResultType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - SUCCESS = "success" - TABLENOTFOUND = "tableNotFound" - LINKINGATTRIBUTENOTFOUND = "linkingAttributeNotFound" - COLUMNMISSING = "columnMissing" - MISSINGADMINPERMISSIONS = "missingAdminPermissions" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_results_info.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_results_info.py deleted file mode 100644 index 016f599e..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_retarget_results_info.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRetargetResultsInfo(ModelBase): - """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] = { - "results": "list[GsaRetargetResult]", - } - - attribute_map: dict[str, str] = { - "results": "results", - } - - subtype_mapping: dict[str, str] = { - "results": "GsaRetargetResult", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - results: "list[GsaRetargetResult]", - ) -> None: - """GsaRetargetResultsInfo - a model defined in Swagger - - Parameters - ---------- - results: list[GsaRetargetResult] - """ - self._results: list[GsaRetargetResult] - - self.results = results - - @property - def results(self) -> "list[GsaRetargetResult]": - """Gets the results of this GsaRetargetResultsInfo. - - Returns - ------- - list[GsaRetargetResult] - The results of this GsaRetargetResultsInfo. - """ - return self._results - - @results.setter - def results(self, results: "list[GsaRetargetResult]") -> None: - """Sets the results of this GsaRetargetResultsInfo. - - Parameters - ---------- - results: list[GsaRetargetResult] - The results of this GsaRetargetResultsInfo. - """ - # Field is not nullable - if results is None: - raise ValueError("Invalid value for 'results', must not be 'None'") - # Field is required - if results is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'results', must not be 'Unset'") - self._results = results - - @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, GsaRetargetResultsInfo): - 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/v2026r1/models/gsa_root_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_root_folder_move_error_detail.py deleted file mode 100644 index 4c9ec3c6..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_root_folder_move_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_detail import ( # noqa: F401 - GsaFolderMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_reason import ( - GsaFolderMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaRootFolderMoveErrorDetail(GsaFolderMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderMoveErrorReason" = GsaFolderMoveErrorReason.ROOT, - ) -> None: - """GsaRootFolderMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderMoveErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaRootFolderMoveErrorDetail): - 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/v2026r1/models/gsa_same_parent_file_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_file_move_error_detail.py deleted file mode 100644 index c7e9380e..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_file_move_error_detail.py +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_detail import ( # noqa: F401 - GsaFileMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_file_move_error_reason import ( - GsaFileMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaSameParentFileMoveErrorDetail(GsaFileMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFileMoveErrorReason", - "new_parent_folder_guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "new_parent_folder_guid": "newParentFolderGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFileMoveErrorReason" = GsaFileMoveErrorReason.SAMEPARENT, - new_parent_folder_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaSameParentFileMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFileMoveErrorReason - new_parent_folder_guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._new_parent_folder_guid: str | Unset_Type = Unset - - if new_parent_folder_guid is not Unset: - self.new_parent_folder_guid = new_parent_folder_guid - - @property - def new_parent_folder_guid(self) -> "str | Unset_Type": - """Gets the new_parent_folder_guid of this GsaSameParentFileMoveErrorDetail. - - Returns - ------- - str | Unset_Type - The new_parent_folder_guid of this GsaSameParentFileMoveErrorDetail. - """ - return self._new_parent_folder_guid - - @new_parent_folder_guid.setter - def new_parent_folder_guid(self, new_parent_folder_guid: "str | Unset_Type") -> None: - """Sets the new_parent_folder_guid of this GsaSameParentFileMoveErrorDetail. - - Parameters - ---------- - new_parent_folder_guid: str | Unset_Type - The new_parent_folder_guid of this GsaSameParentFileMoveErrorDetail. - """ - # Field is not nullable - if new_parent_folder_guid is None: - raise ValueError("Invalid value for 'new_parent_folder_guid', must not be 'None'") - self._new_parent_folder_guid = new_parent_folder_guid - - @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, GsaSameParentFileMoveErrorDetail): - 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/v2026r1/models/gsa_same_parent_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_folder_move_error_detail.py deleted file mode 100644 index 0fe4fafc..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_same_parent_folder_move_error_detail.py +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_detail import ( # noqa: F401 - GsaFolderMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_reason import ( - GsaFolderMoveErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaSameParentFolderMoveErrorDetail(GsaFolderMoveErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", - "new_parent_folder_guid": "str", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "new_parent_folder_guid": "newParentFolderGuid", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderMoveErrorReason" = GsaFolderMoveErrorReason.SAMEPARENT, - new_parent_folder_guid: "str | Unset_Type" = Unset, - ) -> None: - """GsaSameParentFolderMoveErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderMoveErrorReason - new_parent_folder_guid: str, optional - """ - super().__init__(message=message, reason=reason) - self._new_parent_folder_guid: str | Unset_Type = Unset - - if new_parent_folder_guid is not Unset: - self.new_parent_folder_guid = new_parent_folder_guid - - @property - def new_parent_folder_guid(self) -> "str | Unset_Type": - """Gets the new_parent_folder_guid of this GsaSameParentFolderMoveErrorDetail. - - Returns - ------- - str | Unset_Type - The new_parent_folder_guid of this GsaSameParentFolderMoveErrorDetail. - """ - return self._new_parent_folder_guid - - @new_parent_folder_guid.setter - def new_parent_folder_guid(self, new_parent_folder_guid: "str | Unset_Type") -> None: - """Sets the new_parent_folder_guid of this GsaSameParentFolderMoveErrorDetail. - - Parameters - ---------- - new_parent_folder_guid: str | Unset_Type - The new_parent_folder_guid of this GsaSameParentFolderMoveErrorDetail. - """ - # Field is not nullable - if new_parent_folder_guid is None: - raise ValueError("Invalid value for 'new_parent_folder_guid', must not be 'None'") - self._new_parent_folder_guid = new_parent_folder_guid - - @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, GsaSameParentFolderMoveErrorDetail): - 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/v2026r1/models/gsa_data_update_token.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_save_search_request.py similarity index 64% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_token.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_save_search_request.py index 0a217112..20f0c0b2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_data_update_token.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_save_search_request.py @@ -42,7 +42,7 @@ from . import * -class GsaDataUpdateToken(ModelBase): +class GsaSaveSearchRequest(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -61,86 +61,88 @@ class GsaDataUpdateToken(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "database_key": "str", - "guid": "str", + "detail": "GsaSearchDetail", + "search_config": "str", } attribute_map: dict[str, str] = { - "database_key": "databaseKey", - "guid": "guid", + "detail": "detail", + "search_config": "searchConfig", } - subtype_mapping: dict[str, str] = {} + subtype_mapping: dict[str, str] = { + "detail": "GsaSearchDetail", + } discriminator: Optional[str] = None def __init__( self, *, - database_key: "str | None | Unset_Type" = Unset, - guid: "str | Unset_Type" = Unset, + detail: "GsaSearchDetail | Unset_Type" = Unset, + search_config: "str | None | Unset_Type" = Unset, ) -> None: - """GsaDataUpdateToken - a model defined in Swagger + """GsaSaveSearchRequest - a model defined in Swagger Parameters ---------- - database_key: str | None, optional - guid: str, optional + detail: GsaSearchDetail, optional + search_config: str | None, optional """ - self._guid: str | Unset_Type = Unset - self._database_key: str | None | Unset_Type = Unset + self._search_config: str | None | Unset_Type = Unset + self._detail: GsaSearchDetail | Unset_Type = Unset - if guid is not Unset: - self.guid = guid - if database_key is not Unset: - self.database_key = database_key + if search_config is not Unset: + self.search_config = search_config + if detail is not Unset: + self.detail = detail @property - def guid(self) -> "str | Unset_Type": - """Gets the guid of this GsaDataUpdateToken. + def search_config(self) -> "str | None | Unset_Type": + """Gets the search_config of this GsaSaveSearchRequest. Returns ------- - str | Unset_Type - The guid of this GsaDataUpdateToken. + str | None | Unset_Type + The search_config of this GsaSaveSearchRequest. """ - return self._guid + return self._search_config - @guid.setter - def guid(self, guid: "str | Unset_Type") -> None: - """Sets the guid of this GsaDataUpdateToken. + @search_config.setter + def search_config(self, search_config: "str | None | Unset_Type") -> None: + """Sets the search_config of this GsaSaveSearchRequest. Parameters ---------- - guid: str | Unset_Type - The guid of this GsaDataUpdateToken. + search_config: str | None | Unset_Type + The search_config of this GsaSaveSearchRequest. """ - # Field is not nullable - if guid is None: - raise ValueError("Invalid value for 'guid', must not be 'None'") - self._guid = guid + self._search_config = search_config @property - def database_key(self) -> "str | None | Unset_Type": - """Gets the database_key of this GsaDataUpdateToken. + def detail(self) -> "GsaSearchDetail | Unset_Type": + """Gets the detail of this GsaSaveSearchRequest. Returns ------- - str | None | Unset_Type - The database_key of this GsaDataUpdateToken. + GsaSearchDetail | Unset_Type + The detail of this GsaSaveSearchRequest. """ - return self._database_key + return self._detail - @database_key.setter - def database_key(self, database_key: "str | None | Unset_Type") -> None: - """Sets the database_key of this GsaDataUpdateToken. + @detail.setter + def detail(self, detail: "GsaSearchDetail | Unset_Type") -> None: + """Sets the detail of this GsaSaveSearchRequest. Parameters ---------- - database_key: str | None | Unset_Type - The database_key of this GsaDataUpdateToken. + detail: GsaSearchDetail | Unset_Type + The detail of this GsaSaveSearchRequest. """ - self._database_key = database_key + # Field is not nullable + if detail is None: + raise ValueError("Invalid value for 'detail', must not be 'None'") + self._detail = detail @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -164,7 +166,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaDataUpdateToken): + if not isinstance(other, GsaSaveSearchRequest): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_already_exists_folder_move_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_detail.py similarity index 58% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_already_exists_folder_move_error_detail.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_detail.py index eabd0250..fecdf7d4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_folder_already_exists_folder_move_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_search_detail.py @@ -33,13 +33,6 @@ import re # noqa: F401 from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_detail import ( # noqa: F401 - GsaFolderMoveErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_move_error_reason import ( - GsaFolderMoveErrorReason, -) - from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: @@ -49,7 +42,7 @@ from . import * -class GsaFolderAlreadyExistsFolderMoveErrorDetail(GsaFolderMoveErrorDetail): +class GsaSearchDetail(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -68,17 +61,17 @@ class GsaFolderAlreadyExistsFolderMoveErrorDetail(GsaFolderMoveErrorDetail): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaFolderMoveErrorReason", + "criteria": "str", + "description": "str", "name": "str", - "new_parent_folder_guid": "str", + "notes": "str", } attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", + "criteria": "criteria", + "description": "description", "name": "name", - "new_parent_folder_guid": "newParentFolderGuid", + "notes": "notes", } subtype_mapping: dict[str, str] = {} @@ -88,75 +81,121 @@ class GsaFolderAlreadyExistsFolderMoveErrorDetail(GsaFolderMoveErrorDetail): def __init__( self, *, - message: "str", - reason: "GsaFolderMoveErrorReason" = GsaFolderMoveErrorReason.FOLDERALREADYEXISTS, + criteria: "str | None | Unset_Type" = Unset, + description: "str | None | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, - new_parent_folder_guid: "str | Unset_Type" = Unset, + notes: "str | None | Unset_Type" = Unset, ) -> None: - """GsaFolderAlreadyExistsFolderMoveErrorDetail - a model defined in Swagger + """GsaSearchDetail - a model defined in Swagger Parameters ---------- - message: str - reason: GsaFolderMoveErrorReason + criteria: str | None, optional + description: str | None, optional name: str | None, optional - new_parent_folder_guid: str, optional + notes: str | None, optional """ - super().__init__(message=message, reason=reason) self._name: str | None | Unset_Type = Unset - self._new_parent_folder_guid: str | Unset_Type = Unset + self._description: str | None | Unset_Type = Unset + self._notes: str | None | Unset_Type = Unset + self._criteria: str | None | Unset_Type = Unset if name is not Unset: self.name = name - if new_parent_folder_guid is not Unset: - self.new_parent_folder_guid = new_parent_folder_guid + if description is not Unset: + self.description = description + if notes is not Unset: + self.notes = notes + if criteria is not Unset: + self.criteria = criteria @property def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + """Gets the name of this GsaSearchDetail. Returns ------- str | None | Unset_Type - The name of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + The name of this GsaSearchDetail. """ return self._name @name.setter def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + """Sets the name of this GsaSearchDetail. Parameters ---------- name: str | None | Unset_Type - The name of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + The name of this GsaSearchDetail. """ self._name = name @property - def new_parent_folder_guid(self) -> "str | Unset_Type": - """Gets the new_parent_folder_guid of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + def description(self) -> "str | None | Unset_Type": + """Gets the description of this GsaSearchDetail. + + Returns + ------- + str | None | Unset_Type + The description of this GsaSearchDetail. + """ + return self._description + + @description.setter + def description(self, description: "str | None | Unset_Type") -> None: + """Sets the description of this GsaSearchDetail. + + Parameters + ---------- + description: str | None | Unset_Type + The description of this GsaSearchDetail. + """ + self._description = description + + @property + def notes(self) -> "str | None | Unset_Type": + """Gets the notes of this GsaSearchDetail. Returns ------- - str | Unset_Type - The new_parent_folder_guid of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + str | None | Unset_Type + The notes of this GsaSearchDetail. + """ + return self._notes + + @notes.setter + def notes(self, notes: "str | None | Unset_Type") -> None: + """Sets the notes of this GsaSearchDetail. + + Parameters + ---------- + notes: str | None | Unset_Type + The notes of this GsaSearchDetail. + """ + self._notes = notes + + @property + def criteria(self) -> "str | None | Unset_Type": + """Gets the criteria of this GsaSearchDetail. + + Returns + ------- + str | None | Unset_Type + The criteria of this GsaSearchDetail. """ - return self._new_parent_folder_guid + return self._criteria - @new_parent_folder_guid.setter - def new_parent_folder_guid(self, new_parent_folder_guid: "str | Unset_Type") -> None: - """Sets the new_parent_folder_guid of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + @criteria.setter + def criteria(self, criteria: "str | None | Unset_Type") -> None: + """Sets the criteria of this GsaSearchDetail. Parameters ---------- - new_parent_folder_guid: str | Unset_Type - The new_parent_folder_guid of this GsaFolderAlreadyExistsFolderMoveErrorDetail. + criteria: str | None | Unset_Type + The criteria of this GsaSearchDetail. """ - # Field is not nullable - if new_parent_folder_guid is None: - raise ValueError("Invalid value for 'new_parent_folder_guid', must not be 'None'") - self._new_parent_folder_guid = new_parent_folder_guid + self._criteria = criteria @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -180,7 +219,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaFolderAlreadyExistsFolderMoveErrorDetail): + if not isinstance(other, GsaSearchDetail): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_selection_search.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_selection_search.py new file mode 100644 index 00000000..2211fb34 --- /dev/null +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_selection_search.py @@ -0,0 +1,454 @@ +# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. +# SPDX-License-Identifier: MIT +# +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +""" +MI Server API + +No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import re # noqa: F401 +from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 + +from . import ModelBase, Unset, Unset_Type + +if TYPE_CHECKING: + from datetime import datetime + import pathlib + + from . import * + + +class GsaSelectionSearch(ModelBase): + """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] = { + "created_timestamp": "datetime", + "created_user_or_group": "GsaUserOrGroup", + "criteria": "str", + "current_user_access_info": "dict(str, dict(str, bool))", + "description": "str", + "explore_config": "str", + "last_modified_timestamp": "datetime", + "last_modified_user_or_group": "GsaUserOrGroup", + "name": "str", + "notes": "str", + "search_identifier": "str", + } + + attribute_map: dict[str, str] = { + "created_timestamp": "createdTimestamp", + "created_user_or_group": "createdUserOrGroup", + "criteria": "criteria", + "current_user_access_info": "currentUserAccessInfo", + "description": "description", + "explore_config": "exploreConfig", + "last_modified_timestamp": "lastModifiedTimestamp", + "last_modified_user_or_group": "lastModifiedUserOrGroup", + "name": "name", + "notes": "notes", + "search_identifier": "searchIdentifier", + } + + subtype_mapping: dict[str, str] = { + "createdUserOrGroup": "GsaUserOrGroup", + "lastModifiedUserOrGroup": "GsaUserOrGroup", + } + + discriminator: Optional[str] = None + + def __init__( + self, + *, + created_timestamp: "datetime | Unset_Type" = Unset, + created_user_or_group: "GsaUserOrGroup | Unset_Type" = Unset, + criteria: "str | None | Unset_Type" = Unset, + current_user_access_info: "dict[str, dict[str, bool]] | None | Unset_Type" = Unset, + description: "str | None | Unset_Type" = Unset, + explore_config: "str | None | Unset_Type" = Unset, + last_modified_timestamp: "datetime | Unset_Type" = Unset, + last_modified_user_or_group: "GsaUserOrGroup | Unset_Type" = Unset, + name: "str | None | Unset_Type" = Unset, + notes: "str | None | Unset_Type" = Unset, + search_identifier: "str | Unset_Type" = Unset, + ) -> None: + """GsaSelectionSearch - a model defined in Swagger + + Parameters + ---------- + created_timestamp: datetime, optional + created_user_or_group: GsaUserOrGroup, optional + criteria: str | None, optional + current_user_access_info: dict[str, dict[str, bool]] | None, optional + description: str | None, optional + explore_config: str | None, optional + last_modified_timestamp: datetime, optional + last_modified_user_or_group: GsaUserOrGroup, optional + name: str | None, optional + notes: str | None, optional + search_identifier: str, optional + """ + self._search_identifier: str | Unset_Type = Unset + self._name: str | None | Unset_Type = Unset + self._description: str | None | Unset_Type = Unset + self._notes: str | None | Unset_Type = Unset + self._current_user_access_info: dict[str, dict[str, bool]] | None | Unset_Type = Unset + self._criteria: str | None | Unset_Type = Unset + self._explore_config: str | None | Unset_Type = Unset + self._created_timestamp: datetime | Unset_Type = Unset + self._created_user_or_group: GsaUserOrGroup | Unset_Type = Unset + self._last_modified_timestamp: datetime | Unset_Type = Unset + self._last_modified_user_or_group: GsaUserOrGroup | Unset_Type = Unset + + if search_identifier is not Unset: + self.search_identifier = search_identifier + if name is not Unset: + self.name = name + if description is not Unset: + self.description = description + if notes is not Unset: + self.notes = notes + if current_user_access_info is not Unset: + self.current_user_access_info = current_user_access_info + if criteria is not Unset: + self.criteria = criteria + if explore_config is not Unset: + self.explore_config = explore_config + if created_timestamp is not Unset: + self.created_timestamp = created_timestamp + if created_user_or_group is not Unset: + self.created_user_or_group = created_user_or_group + if last_modified_timestamp is not Unset: + self.last_modified_timestamp = last_modified_timestamp + if last_modified_user_or_group is not Unset: + self.last_modified_user_or_group = last_modified_user_or_group + + @property + def search_identifier(self) -> "str | Unset_Type": + """Gets the search_identifier of this GsaSelectionSearch. + + Returns + ------- + str | Unset_Type + The search_identifier of this GsaSelectionSearch. + """ + return self._search_identifier + + @search_identifier.setter + def search_identifier(self, search_identifier: "str | Unset_Type") -> None: + """Sets the search_identifier of this GsaSelectionSearch. + + Parameters + ---------- + search_identifier: str | Unset_Type + The search_identifier of this GsaSelectionSearch. + """ + # Field is not nullable + if search_identifier is None: + raise ValueError("Invalid value for 'search_identifier', must not be 'None'") + self._search_identifier = search_identifier + + @property + def name(self) -> "str | None | Unset_Type": + """Gets the name of this GsaSelectionSearch. + + Returns + ------- + str | None | Unset_Type + The name of this GsaSelectionSearch. + """ + return self._name + + @name.setter + def name(self, name: "str | None | Unset_Type") -> None: + """Sets the name of this GsaSelectionSearch. + + Parameters + ---------- + name: str | None | Unset_Type + The name of this GsaSelectionSearch. + """ + self._name = name + + @property + def description(self) -> "str | None | Unset_Type": + """Gets the description of this GsaSelectionSearch. + + Returns + ------- + str | None | Unset_Type + The description of this GsaSelectionSearch. + """ + return self._description + + @description.setter + def description(self, description: "str | None | Unset_Type") -> None: + """Sets the description of this GsaSelectionSearch. + + Parameters + ---------- + description: str | None | Unset_Type + The description of this GsaSelectionSearch. + """ + self._description = description + + @property + def notes(self) -> "str | None | Unset_Type": + """Gets the notes of this GsaSelectionSearch. + + Returns + ------- + str | None | Unset_Type + The notes of this GsaSelectionSearch. + """ + return self._notes + + @notes.setter + def notes(self, notes: "str | None | Unset_Type") -> None: + """Sets the notes of this GsaSelectionSearch. + + Parameters + ---------- + notes: str | None | Unset_Type + The notes of this GsaSelectionSearch. + """ + self._notes = notes + + @property + def current_user_access_info(self) -> "dict[str, dict[str, bool]] | None | Unset_Type": + """Gets the current_user_access_info of this GsaSelectionSearch. + + Returns + ------- + dict[str, dict[str, bool]] | None | Unset_Type + The current_user_access_info of this GsaSelectionSearch. + """ + return self._current_user_access_info + + @current_user_access_info.setter + def current_user_access_info( + self, current_user_access_info: "dict[str, dict[str, bool]] | None | Unset_Type" + ) -> None: + """Sets the current_user_access_info of this GsaSelectionSearch. + + Parameters + ---------- + current_user_access_info: dict[str, dict[str, bool]] | None | Unset_Type + The current_user_access_info of this GsaSelectionSearch. + """ + self._current_user_access_info = current_user_access_info + + @property + def criteria(self) -> "str | None | Unset_Type": + """Gets the criteria of this GsaSelectionSearch. + + Returns + ------- + str | None | Unset_Type + The criteria of this GsaSelectionSearch. + """ + return self._criteria + + @criteria.setter + def criteria(self, criteria: "str | None | Unset_Type") -> None: + """Sets the criteria of this GsaSelectionSearch. + + Parameters + ---------- + criteria: str | None | Unset_Type + The criteria of this GsaSelectionSearch. + """ + self._criteria = criteria + + @property + def explore_config(self) -> "str | None | Unset_Type": + """Gets the explore_config of this GsaSelectionSearch. + + Returns + ------- + str | None | Unset_Type + The explore_config of this GsaSelectionSearch. + """ + return self._explore_config + + @explore_config.setter + def explore_config(self, explore_config: "str | None | Unset_Type") -> None: + """Sets the explore_config of this GsaSelectionSearch. + + Parameters + ---------- + explore_config: str | None | Unset_Type + The explore_config of this GsaSelectionSearch. + """ + self._explore_config = explore_config + + @property + def created_timestamp(self) -> "datetime | Unset_Type": + """Gets the created_timestamp of this GsaSelectionSearch. + + Returns + ------- + datetime | Unset_Type + The created_timestamp of this GsaSelectionSearch. + """ + return self._created_timestamp + + @created_timestamp.setter + def created_timestamp(self, created_timestamp: "datetime | Unset_Type") -> None: + """Sets the created_timestamp of this GsaSelectionSearch. + + Parameters + ---------- + created_timestamp: datetime | Unset_Type + The created_timestamp of this GsaSelectionSearch. + """ + # Field is not nullable + if created_timestamp is None: + raise ValueError("Invalid value for 'created_timestamp', must not be 'None'") + self._created_timestamp = created_timestamp + + @property + def created_user_or_group(self) -> "GsaUserOrGroup | Unset_Type": + """Gets the created_user_or_group of this GsaSelectionSearch. + + Returns + ------- + GsaUserOrGroup | Unset_Type + The created_user_or_group of this GsaSelectionSearch. + """ + return self._created_user_or_group + + @created_user_or_group.setter + def created_user_or_group(self, created_user_or_group: "GsaUserOrGroup | Unset_Type") -> None: + """Sets the created_user_or_group of this GsaSelectionSearch. + + Parameters + ---------- + created_user_or_group: GsaUserOrGroup | Unset_Type + The created_user_or_group of this GsaSelectionSearch. + """ + # Field is not nullable + if created_user_or_group is None: + raise ValueError("Invalid value for 'created_user_or_group', must not be 'None'") + self._created_user_or_group = created_user_or_group + + @property + def last_modified_timestamp(self) -> "datetime | Unset_Type": + """Gets the last_modified_timestamp of this GsaSelectionSearch. + + Returns + ------- + datetime | Unset_Type + The last_modified_timestamp of this GsaSelectionSearch. + """ + return self._last_modified_timestamp + + @last_modified_timestamp.setter + def last_modified_timestamp(self, last_modified_timestamp: "datetime | Unset_Type") -> None: + """Sets the last_modified_timestamp of this GsaSelectionSearch. + + Parameters + ---------- + last_modified_timestamp: datetime | Unset_Type + The last_modified_timestamp of this GsaSelectionSearch. + """ + # Field is not nullable + if last_modified_timestamp is None: + raise ValueError("Invalid value for 'last_modified_timestamp', must not be 'None'") + self._last_modified_timestamp = last_modified_timestamp + + @property + def last_modified_user_or_group(self) -> "GsaUserOrGroup | Unset_Type": + """Gets the last_modified_user_or_group of this GsaSelectionSearch. + + Returns + ------- + GsaUserOrGroup | Unset_Type + The last_modified_user_or_group of this GsaSelectionSearch. + """ + return self._last_modified_user_or_group + + @last_modified_user_or_group.setter + def last_modified_user_or_group( + self, last_modified_user_or_group: "GsaUserOrGroup | Unset_Type" + ) -> None: + """Sets the last_modified_user_or_group of this GsaSelectionSearch. + + Parameters + ---------- + last_modified_user_or_group: GsaUserOrGroup | Unset_Type + The last_modified_user_or_group of this GsaSelectionSearch. + """ + # 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'") + self._last_modified_user_or_group = last_modified_user_or_group + + @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, GsaSelectionSearch): + 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/v2026r1/models/gsa_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py index bb7f3195..ba68df41 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_short_text_attribute.py @@ -69,7 +69,6 @@ class GsaShortTextAttribute(GsaAttribute): "guid": "str", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "is_unique": "bool", "name": "str", "table": "GsaSlimEntity", @@ -86,7 +85,6 @@ class GsaShortTextAttribute(GsaAttribute): "guid": "guid", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "is_unique": "isUnique", "name": "name", "table": "table", @@ -111,7 +109,6 @@ def __init__( guid: "str", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", is_unique: "bool", name: "str", table: "GsaSlimEntity", @@ -130,7 +127,6 @@ def __init__( guid: str info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool is_unique: bool name: str table: GsaSlimEntity @@ -146,7 +142,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py index f6649eca..11bf6226 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute.py @@ -64,7 +64,6 @@ class GsaSlimAttribute(ModelBase): "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "type": "GsaAttributeType", @@ -75,7 +74,6 @@ class GsaSlimAttribute(ModelBase): "display_names": "displayNames", "guid": "guid", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "type": "type", @@ -96,7 +94,6 @@ def __init__( display_names: "dict[str, str]", guid: "str", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", type: "GsaAttributeType", @@ -109,7 +106,6 @@ def __init__( display_names: dict[str, str] guid: str is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity type: GsaAttributeType @@ -118,7 +114,6 @@ def __init__( self._type: GsaAttributeType self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset self._is_hidden_from_search_criteria: bool - self._is_protected: bool self._table: GsaSlimEntity self._display_names: dict[str, str] self._name: str @@ -128,7 +123,6 @@ def __init__( if about_attribute is not Unset: self.about_attribute = about_attribute self.is_hidden_from_search_criteria = is_hidden_from_search_criteria - self.is_protected = is_protected self.table = table self.display_names = display_names self.name = name @@ -221,36 +215,6 @@ def is_hidden_from_search_criteria(self, is_hidden_from_search_criteria: "bool") ) self._is_hidden_from_search_criteria = is_hidden_from_search_criteria - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaSlimAttribute. - If true, the attribute is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaSlimAttribute. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaSlimAttribute. - If true, the attribute is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaSlimAttribute. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - @property def table(self) -> "GsaSlimEntity": """Gets the table of this GsaSlimAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py deleted file mode 100644 index 7b7e6e28..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_attribute_with_help_path.py +++ /dev/null @@ -1,424 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaSlimAttributeWithHelpPath(ModelBase): - """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] = { - "display_names": "dict(str, str)", - "guid": "str", - "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", - "name": "str", - "table": "GsaSlimEntity", - "type": "GsaAttributeType", - "about_attribute": "GsaSlimTypedAttribute", - "help_path": "str", - } - - attribute_map: dict[str, str] = { - "display_names": "displayNames", - "guid": "guid", - "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", - "name": "name", - "table": "table", - "type": "type", - "about_attribute": "aboutAttribute", - "help_path": "helpPath", - } - - subtype_mapping: dict[str, str] = { - "type": "GsaAttributeType", - "aboutAttribute": "GsaSlimTypedAttribute", - "table": "GsaSlimEntity", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - display_names: "dict[str, str]", - guid: "str", - is_hidden_from_search_criteria: "bool", - is_protected: "bool", - name: "str", - table: "GsaSlimEntity", - type: "GsaAttributeType", - about_attribute: "GsaSlimTypedAttribute | Unset_Type" = Unset, - help_path: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaSlimAttributeWithHelpPath - a model defined in Swagger - - Parameters - ---------- - display_names: dict[str, str] - guid: str - is_hidden_from_search_criteria: bool - is_protected: bool - name: str - table: GsaSlimEntity - type: GsaAttributeType - about_attribute: GsaSlimTypedAttribute, optional - help_path: str | None, optional - """ - self._help_path: str | None | Unset_Type = Unset - self._type: GsaAttributeType - self._about_attribute: GsaSlimTypedAttribute | Unset_Type = Unset - self._is_hidden_from_search_criteria: bool - self._is_protected: bool - self._table: GsaSlimEntity - self._display_names: dict[str, str] - self._name: str - self._guid: str - - if help_path is not Unset: - self.help_path = help_path - self.type = type - if about_attribute is not Unset: - self.about_attribute = about_attribute - self.is_hidden_from_search_criteria = is_hidden_from_search_criteria - self.is_protected = is_protected - self.table = table - self.display_names = display_names - self.name = name - self.guid = guid - - @property - def help_path(self) -> "str | None | Unset_Type": - """Gets the help_path of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - str | None | Unset_Type - The help_path of this GsaSlimAttributeWithHelpPath. - """ - return self._help_path - - @help_path.setter - def help_path(self, help_path: "str | None | Unset_Type") -> None: - """Sets the help_path of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - help_path: str | None | Unset_Type - The help_path of this GsaSlimAttributeWithHelpPath. - """ - self._help_path = help_path - - @property - def type(self) -> "GsaAttributeType": - """Gets the type of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - GsaAttributeType - The type of this GsaSlimAttributeWithHelpPath. - """ - return self._type - - @type.setter - def type(self, type: "GsaAttributeType") -> None: - """Sets the type of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - type: GsaAttributeType - The type of this GsaSlimAttributeWithHelpPath. - """ - # 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 - - @property - def about_attribute(self) -> "GsaSlimTypedAttribute | Unset_Type": - """Gets the about_attribute of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - GsaSlimTypedAttribute | Unset_Type - The about_attribute of this GsaSlimAttributeWithHelpPath. - """ - return self._about_attribute - - @about_attribute.setter - def about_attribute(self, about_attribute: "GsaSlimTypedAttribute | Unset_Type") -> None: - """Sets the about_attribute of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - about_attribute: GsaSlimTypedAttribute | Unset_Type - The about_attribute of this GsaSlimAttributeWithHelpPath. - """ - # Field is not nullable - if about_attribute is None: - raise ValueError("Invalid value for 'about_attribute', must not be 'None'") - self._about_attribute = about_attribute - - @property - def is_hidden_from_search_criteria(self) -> "bool": - """Gets the is_hidden_from_search_criteria of this GsaSlimAttributeWithHelpPath. - If true, the attribute should not be shown in search UIs. It will still be included in text searches. - - Returns - ------- - bool - The is_hidden_from_search_criteria of this GsaSlimAttributeWithHelpPath. - """ - return self._is_hidden_from_search_criteria - - @is_hidden_from_search_criteria.setter - def is_hidden_from_search_criteria(self, is_hidden_from_search_criteria: "bool") -> None: - """Sets the is_hidden_from_search_criteria of this GsaSlimAttributeWithHelpPath. - If true, the attribute should not be shown in search UIs. It will still be included in text searches. - - Parameters - ---------- - is_hidden_from_search_criteria: bool - The is_hidden_from_search_criteria of this GsaSlimAttributeWithHelpPath. - """ - # Field is not nullable - if is_hidden_from_search_criteria is None: - raise ValueError( - "Invalid value for 'is_hidden_from_search_criteria', must not be 'None'" - ) - # Field is required - if is_hidden_from_search_criteria is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError( - "Invalid value for 'is_hidden_from_search_criteria', must not be 'Unset'" - ) - self._is_hidden_from_search_criteria = is_hidden_from_search_criteria - - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaSlimAttributeWithHelpPath. - If true, the attribute is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaSlimAttributeWithHelpPath. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaSlimAttributeWithHelpPath. - If true, the attribute is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaSlimAttributeWithHelpPath. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - - @property - def table(self) -> "GsaSlimEntity": - """Gets the table of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - GsaSlimEntity - The table of this GsaSlimAttributeWithHelpPath. - """ - return self._table - - @table.setter - def table(self, table: "GsaSlimEntity") -> None: - """Sets the table of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - table: GsaSlimEntity - The table of this GsaSlimAttributeWithHelpPath. - """ - # Field is not nullable - if table is None: - raise ValueError("Invalid value for 'table', must not be 'None'") - # Field is required - if table is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'table', must not be 'Unset'") - self._table = table - - @property - def display_names(self) -> "dict[str, str]": - """Gets the display_names of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - dict[str, str] - The display_names of this GsaSlimAttributeWithHelpPath. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "dict[str, str]") -> None: - """Sets the display_names of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - display_names: dict[str, str] - The display_names of this GsaSlimAttributeWithHelpPath. - """ - # Field is not nullable - if display_names is None: - raise ValueError("Invalid value for 'display_names', must not be 'None'") - # Field is required - if display_names is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'display_names', must not be 'Unset'") - self._display_names = display_names - - @property - def name(self) -> "str": - """Gets the name of this GsaSlimAttributeWithHelpPath. - - Returns - ------- - str - The name of this GsaSlimAttributeWithHelpPath. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - name: str - The name of this GsaSlimAttributeWithHelpPath. - """ - # 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 GsaSlimAttributeWithHelpPath. - - Returns - ------- - str - The guid of this GsaSlimAttributeWithHelpPath. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str") -> None: - """Sets the guid of this GsaSlimAttributeWithHelpPath. - - Parameters - ---------- - guid: str - The guid of this GsaSlimAttributeWithHelpPath. - """ - # 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. - - 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, GsaSlimAttributeWithHelpPath): - 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/v2026r1/models/gsa_slim_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_database.py index 2099f68b..4295ab92 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_database.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_database.py @@ -65,13 +65,10 @@ class GsaSlimDatabase(ModelBase): "is_read_only": "bool", "key": "str", "status": "GsaDatabaseStatus", - "user_capabilities": "GsaDatabaseUserCapabilities", - "configuration_details": "GsaConfigurationDetails", "guid": "str", "index_in_sync": "bool", "index_out_of_date_duration": "str", "index_up_to_date": "bool", - "issues": "GsaDatabaseIssues", "name": "str", "schema_version": "str", "version_guid": "str", @@ -82,13 +79,10 @@ class GsaSlimDatabase(ModelBase): "is_read_only": "isReadOnly", "key": "key", "status": "status", - "user_capabilities": "userCapabilities", - "configuration_details": "configurationDetails", "guid": "guid", "index_in_sync": "indexInSync", "index_out_of_date_duration": "indexOutOfDateDuration", "index_up_to_date": "indexUpToDate", - "issues": "issues", "name": "name", "schema_version": "schemaVersion", "version_guid": "versionGuid", @@ -96,9 +90,6 @@ class GsaSlimDatabase(ModelBase): subtype_mapping: dict[str, str] = { "status": "GsaDatabaseStatus", - "userCapabilities": "GsaDatabaseUserCapabilities", - "configurationDetails": "GsaConfigurationDetails", - "issues": "GsaDatabaseIssues", } discriminator: Optional[str] = None @@ -110,13 +101,10 @@ def __init__( is_read_only: "bool", key: "str", status: "GsaDatabaseStatus", - user_capabilities: "GsaDatabaseUserCapabilities", - configuration_details: "GsaConfigurationDetails | Unset_Type" = Unset, guid: "str | None | Unset_Type" = Unset, index_in_sync: "bool | None | Unset_Type" = Unset, index_out_of_date_duration: "str | None | Unset_Type" = Unset, index_up_to_date: "bool | None | Unset_Type" = Unset, - issues: "GsaDatabaseIssues | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, schema_version: "str | None | Unset_Type" = Unset, version_guid: "str | None | Unset_Type" = Unset, @@ -129,13 +117,10 @@ def __init__( is_read_only: bool key: str status: GsaDatabaseStatus - user_capabilities: GsaDatabaseUserCapabilities - configuration_details: GsaConfigurationDetails, optional guid: str | None, optional index_in_sync: bool | None, optional index_out_of_date_duration: str | None, optional index_up_to_date: bool | None, optional - issues: GsaDatabaseIssues, optional name: str | None, optional schema_version: str | None, optional version_guid: str | None, optional @@ -151,9 +136,6 @@ def __init__( self._index_up_to_date: bool | None | Unset_Type = Unset self._index_out_of_date_duration: str | None | Unset_Type = Unset self._schema_version: str | None | Unset_Type = Unset - self._user_capabilities: GsaDatabaseUserCapabilities - self._configuration_details: GsaConfigurationDetails | Unset_Type = Unset - self._issues: GsaDatabaseIssues | Unset_Type = Unset self.key = key self.status = status @@ -173,11 +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.user_capabilities = user_capabilities - if configuration_details is not Unset: - self.configuration_details = configuration_details - if issues is not Unset: - self.issues = issues @property def key(self) -> "str": @@ -447,86 +424,6 @@ def schema_version(self, schema_version: "str | None | Unset_Type") -> None: """ self._schema_version = schema_version - @property - def user_capabilities(self) -> "GsaDatabaseUserCapabilities": - """Gets the user_capabilities of this GsaSlimDatabase. - - Returns - ------- - GsaDatabaseUserCapabilities - The user_capabilities of this GsaSlimDatabase. - """ - return self._user_capabilities - - @user_capabilities.setter - def user_capabilities(self, user_capabilities: "GsaDatabaseUserCapabilities") -> None: - """Sets the user_capabilities of this GsaSlimDatabase. - - Parameters - ---------- - user_capabilities: GsaDatabaseUserCapabilities - The user_capabilities of this GsaSlimDatabase. - """ - # Field is not nullable - if user_capabilities is None: - raise ValueError("Invalid value for 'user_capabilities', must not be 'None'") - # Field is required - if user_capabilities is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'user_capabilities', must not be 'Unset'") - self._user_capabilities = user_capabilities - - @property - def configuration_details(self) -> "GsaConfigurationDetails | Unset_Type": - """Gets the configuration_details of this GsaSlimDatabase. - - Returns - ------- - GsaConfigurationDetails | Unset_Type - The configuration_details of this GsaSlimDatabase. - """ - return self._configuration_details - - @configuration_details.setter - def configuration_details( - self, configuration_details: "GsaConfigurationDetails | Unset_Type" - ) -> None: - """Sets the configuration_details of this GsaSlimDatabase. - - Parameters - ---------- - configuration_details: GsaConfigurationDetails | Unset_Type - The configuration_details of this GsaSlimDatabase. - """ - # Field is not nullable - if configuration_details is None: - raise ValueError("Invalid value for 'configuration_details', must not be 'None'") - self._configuration_details = configuration_details - - @property - def issues(self) -> "GsaDatabaseIssues | Unset_Type": - """Gets the issues of this GsaSlimDatabase. - - Returns - ------- - GsaDatabaseIssues | Unset_Type - The issues of this GsaSlimDatabase. - """ - return self._issues - - @issues.setter - def issues(self, issues: "GsaDatabaseIssues | Unset_Type") -> None: - """Sets the issues of this GsaSlimDatabase. - - Parameters - ---------- - issues: GsaDatabaseIssues | Unset_Type - The issues of this GsaSlimDatabase. - """ - # Field is not nullable - if issues is None: - raise ValueError("Invalid value for 'issues', must not be 'None'") - self._issues = issues - @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/v2026r1/models/gsa_slim_discrete_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_discrete_type.py index d36068af..bddd55ab 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_discrete_type.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_discrete_type.py @@ -63,14 +63,12 @@ class GsaSlimDiscreteType(ModelBase): swagger_types: dict[str, str] = { "guid": "str", "is_ordered": "bool", - "is_protected": "bool", "name": "str", } attribute_map: dict[str, str] = { "guid": "guid", "is_ordered": "isOrdered", - "is_protected": "isProtected", "name": "name", } @@ -83,7 +81,6 @@ def __init__( *, guid: "str", is_ordered: "bool", - is_protected: "bool", name: "str", ) -> None: """GsaSlimDiscreteType - a model defined in Swagger @@ -92,16 +89,13 @@ def __init__( ---------- guid: str is_ordered: bool - is_protected: bool name: str """ self._is_ordered: bool - self._is_protected: bool self._name: str self._guid: str self.is_ordered = is_ordered - self.is_protected = is_protected self.name = name self.guid = guid @@ -133,36 +127,6 @@ def is_ordered(self, is_ordered: "bool") -> None: raise ValueError("Invalid value for 'is_ordered', must not be 'Unset'") self._is_ordered = is_ordered - @property - def is_protected(self) -> "bool": - """Gets the is_protected of this GsaSlimDiscreteType. - If true, the discrete type is protected from all changes. - - Returns - ------- - bool - The is_protected of this GsaSlimDiscreteType. - """ - return self._is_protected - - @is_protected.setter - def is_protected(self, is_protected: "bool") -> None: - """Sets the is_protected of this GsaSlimDiscreteType. - If true, the discrete type is protected from all changes. - - Parameters - ---------- - is_protected: bool - The is_protected of this GsaSlimDiscreteType. - """ - # Field is not nullable - if is_protected is None: - raise ValueError("Invalid value for 'is_protected', must not be 'None'") - # Field is required - if is_protected is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'is_protected', must not be 'Unset'") - self._is_protected = is_protected - @property def name(self) -> "str": """Gets the name of this GsaSlimDiscreteType. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py deleted file mode 100644 index 9df7d446..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_parameter_with_help_path.py +++ /dev/null @@ -1,280 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaSlimParameterWithHelpPath(ModelBase): - """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] = { - "display_names": "dict(str, str)", - "guid": "str", - "name": "str", - "type": "GsaParameterType", - "help_path": "str", - } - - attribute_map: dict[str, str] = { - "display_names": "displayNames", - "guid": "guid", - "name": "name", - "type": "type", - "help_path": "helpPath", - } - - subtype_mapping: dict[str, str] = { - "type": "GsaParameterType", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - display_names: "dict[str, str]", - guid: "str", - name: "str", - type: "GsaParameterType", - help_path: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaSlimParameterWithHelpPath - a model defined in Swagger - - Parameters - ---------- - display_names: dict[str, str] - guid: str - name: str - type: GsaParameterType - help_path: str | None, optional - """ - self._help_path: str | None | Unset_Type = Unset - self._type: GsaParameterType - self._display_names: dict[str, str] - self._name: str - self._guid: str - - if help_path is not Unset: - self.help_path = help_path - self.type = type - self.display_names = display_names - self.name = name - self.guid = guid - - @property - def help_path(self) -> "str | None | Unset_Type": - """Gets the help_path of this GsaSlimParameterWithHelpPath. - - Returns - ------- - str | None | Unset_Type - The help_path of this GsaSlimParameterWithHelpPath. - """ - return self._help_path - - @help_path.setter - def help_path(self, help_path: "str | None | Unset_Type") -> None: - """Sets the help_path of this GsaSlimParameterWithHelpPath. - - Parameters - ---------- - help_path: str | None | Unset_Type - The help_path of this GsaSlimParameterWithHelpPath. - """ - self._help_path = help_path - - @property - def type(self) -> "GsaParameterType": - """Gets the type of this GsaSlimParameterWithHelpPath. - - Returns - ------- - GsaParameterType - The type of this GsaSlimParameterWithHelpPath. - """ - return self._type - - @type.setter - def type(self, type: "GsaParameterType") -> None: - """Sets the type of this GsaSlimParameterWithHelpPath. - - Parameters - ---------- - type: GsaParameterType - The type of this GsaSlimParameterWithHelpPath. - """ - # 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 - - @property - def display_names(self) -> "dict[str, str]": - """Gets the display_names of this GsaSlimParameterWithHelpPath. - - Returns - ------- - dict[str, str] - The display_names of this GsaSlimParameterWithHelpPath. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "dict[str, str]") -> None: - """Sets the display_names of this GsaSlimParameterWithHelpPath. - - Parameters - ---------- - display_names: dict[str, str] - The display_names of this GsaSlimParameterWithHelpPath. - """ - # Field is not nullable - if display_names is None: - raise ValueError("Invalid value for 'display_names', must not be 'None'") - # Field is required - if display_names is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'display_names', must not be 'Unset'") - self._display_names = display_names - - @property - def name(self) -> "str": - """Gets the name of this GsaSlimParameterWithHelpPath. - - Returns - ------- - str - The name of this GsaSlimParameterWithHelpPath. - """ - return self._name - - @name.setter - def name(self, name: "str") -> None: - """Sets the name of this GsaSlimParameterWithHelpPath. - - Parameters - ---------- - name: str - The name of this GsaSlimParameterWithHelpPath. - """ - # 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 GsaSlimParameterWithHelpPath. - - Returns - ------- - str - The guid of this GsaSlimParameterWithHelpPath. - """ - return self._guid - - @guid.setter - def guid(self, guid: "str") -> None: - """Sets the guid of this GsaSlimParameterWithHelpPath. - - Parameters - ---------- - guid: str - The guid of this GsaSlimParameterWithHelpPath. - """ - # 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. - - 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, GsaSlimParameterWithHelpPath): - 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/v2026r1/models/gsa_slim_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_table.py index 7d32f413..4b5bdec2 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_slim_table.py @@ -61,7 +61,6 @@ class GsaSlimTable(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "database_key": "str", "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_browse": "bool", @@ -72,7 +71,6 @@ class GsaSlimTable(ModelBase): } attribute_map: dict[str, str] = { - "database_key": "databaseKey", "display_names": "displayNames", "guid": "guid", "is_hidden_from_browse": "isHiddenFromBrowse", @@ -89,7 +87,6 @@ class GsaSlimTable(ModelBase): def __init__( self, *, - database_key: "str", display_names: "dict[str, str]", guid: "str", is_hidden_from_browse: "bool", @@ -102,7 +99,6 @@ def __init__( Parameters ---------- - database_key: str display_names: dict[str, str] guid: str is_hidden_from_browse: bool @@ -111,7 +107,6 @@ def __init__( name: str table_types: list[str] """ - self._database_key: str self._is_hidden_from_browse: bool self._is_hidden_from_search: bool self._is_versioned: bool @@ -120,7 +115,6 @@ def __init__( self._name: str self._guid: str - self.database_key = database_key self.is_hidden_from_browse = is_hidden_from_browse self.is_hidden_from_search = is_hidden_from_search self.is_versioned = is_versioned @@ -129,34 +123,6 @@ def __init__( self.name = name self.guid = guid - @property - def database_key(self) -> "str": - """Gets the database_key of this GsaSlimTable. - - Returns - ------- - str - The database_key of this GsaSlimTable. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str") -> None: - """Sets the database_key of this GsaSlimTable. - - Parameters - ---------- - database_key: str - The database_key of this GsaSlimTable. - """ - # Field is not nullable - if database_key is None: - raise ValueError("Invalid value for 'database_key', must not be 'None'") - # Field is required - if database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'database_key', must not be 'Unset'") - self._database_key = database_key - @property def is_hidden_from_browse(self) -> "bool": """Gets the is_hidden_from_browse of this GsaSlimTable. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_support_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_support_properties.py deleted file mode 100644 index 9d5cf01d..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_support_properties.py +++ /dev/null @@ -1,258 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaSupportProperties(ModelBase): - """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] = { - "email": "str", - "licensing_contact_detail": "str", - "name": "str", - "telephone": "str", - "website": "str", - } - - attribute_map: dict[str, str] = { - "email": "email", - "licensing_contact_detail": "licensingContactDetail", - "name": "name", - "telephone": "telephone", - "website": "website", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - email: "str | None | Unset_Type" = Unset, - licensing_contact_detail: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - telephone: "str | None | Unset_Type" = Unset, - website: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaSupportProperties - a model defined in Swagger - - Parameters - ---------- - email: str | None, optional - licensing_contact_detail: str | None, optional - name: str | None, optional - telephone: str | None, optional - website: str | None, optional - """ - self._name: str | None | Unset_Type = Unset - self._email: str | None | Unset_Type = Unset - self._telephone: str | None | Unset_Type = Unset - self._website: str | None | Unset_Type = Unset - self._licensing_contact_detail: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - if email is not Unset: - self.email = email - if telephone is not Unset: - self.telephone = telephone - if website is not Unset: - self.website = website - if licensing_contact_detail is not Unset: - self.licensing_contact_detail = licensing_contact_detail - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaSupportProperties. - - Returns - ------- - str | None | Unset_Type - The name of this GsaSupportProperties. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaSupportProperties. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaSupportProperties. - """ - self._name = name - - @property - def email(self) -> "str | None | Unset_Type": - """Gets the email of this GsaSupportProperties. - - Returns - ------- - str | None | Unset_Type - The email of this GsaSupportProperties. - """ - return self._email - - @email.setter - def email(self, email: "str | None | Unset_Type") -> None: - """Sets the email of this GsaSupportProperties. - - Parameters - ---------- - email: str | None | Unset_Type - The email of this GsaSupportProperties. - """ - self._email = email - - @property - def telephone(self) -> "str | None | Unset_Type": - """Gets the telephone of this GsaSupportProperties. - - Returns - ------- - str | None | Unset_Type - The telephone of this GsaSupportProperties. - """ - return self._telephone - - @telephone.setter - def telephone(self, telephone: "str | None | Unset_Type") -> None: - """Sets the telephone of this GsaSupportProperties. - - Parameters - ---------- - telephone: str | None | Unset_Type - The telephone of this GsaSupportProperties. - """ - self._telephone = telephone - - @property - def website(self) -> "str | None | Unset_Type": - """Gets the website of this GsaSupportProperties. - - Returns - ------- - str | None | Unset_Type - The website of this GsaSupportProperties. - """ - return self._website - - @website.setter - def website(self, website: "str | None | Unset_Type") -> None: - """Sets the website of this GsaSupportProperties. - - Parameters - ---------- - website: str | None | Unset_Type - The website of this GsaSupportProperties. - """ - self._website = website - - @property - def licensing_contact_detail(self) -> "str | None | Unset_Type": - """Gets the licensing_contact_detail of this GsaSupportProperties. - - Returns - ------- - str | None | Unset_Type - The licensing_contact_detail of this GsaSupportProperties. - """ - return self._licensing_contact_detail - - @licensing_contact_detail.setter - def licensing_contact_detail(self, licensing_contact_detail: "str | None | Unset_Type") -> None: - """Sets the licensing_contact_detail of this GsaSupportProperties. - - Parameters - ---------- - licensing_contact_detail: str | None | Unset_Type - The licensing_contact_detail of this GsaSupportProperties. - """ - self._licensing_contact_detail = licensing_contact_detail - - @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, GsaSupportProperties): - 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/v2026r1/models/gsa_table.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table.py index a9d9a35e..f7c17bbe 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table.py @@ -61,7 +61,6 @@ class GsaTable(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "database_key": "str", "display_names": "dict(str, str)", "guid": "str", "is_hidden_from_browse": "bool", @@ -77,7 +76,6 @@ class GsaTable(ModelBase): } attribute_map: dict[str, str] = { - "database_key": "databaseKey", "display_names": "displayNames", "guid": "guid", "is_hidden_from_browse": "isHiddenFromBrowse", @@ -105,7 +103,6 @@ class GsaTable(ModelBase): def __init__( self, *, - database_key: "str", display_names: "dict[str, str]", guid: "str", is_hidden_from_browse: "bool", @@ -123,7 +120,6 @@ def __init__( Parameters ---------- - database_key: str display_names: dict[str, str] guid: str is_hidden_from_browse: bool @@ -142,7 +138,6 @@ def __init__( self._default_layout: GsaSlimLayout | Unset_Type = Unset self._layouts: list[GsaSlimLayout] self._version_state: GsaVersionState - self._database_key: str self._is_hidden_from_browse: bool self._is_hidden_from_search: bool self._is_versioned: bool @@ -158,7 +153,6 @@ def __init__( self.default_layout = default_layout self.layouts = layouts self.version_state = version_state - self.database_key = database_key self.is_hidden_from_browse = is_hidden_from_browse self.is_hidden_from_search = is_hidden_from_search self.is_versioned = is_versioned @@ -301,34 +295,6 @@ def version_state(self, version_state: "GsaVersionState") -> None: raise ValueError("Invalid value for 'version_state', must not be 'Unset'") self._version_state = version_state - @property - def database_key(self) -> "str": - """Gets the database_key of this GsaTable. - - Returns - ------- - str - The database_key of this GsaTable. - """ - return self._database_key - - @database_key.setter - def database_key(self, database_key: "str") -> None: - """Sets the database_key of this GsaTable. - - Parameters - ---------- - database_key: str - The database_key of this GsaTable. - """ - # Field is not nullable - if database_key is None: - raise ValueError("Invalid value for 'database_key', must not be 'None'") - # Field is required - if database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'database_key', must not be 'Unset'") - self._database_key = database_key - @property def is_hidden_from_browse(self) -> "bool": """Gets the is_hidden_from_browse of this GsaTable. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table_deletion_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table_deletion_exception.py index 5b1a8092..3f18efe7 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table_deletion_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_table_deletion_exception.py @@ -61,7 +61,7 @@ class GsaTableDeletionException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaDataModificationErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaTableDeletionException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaDataModificationErrorDetail", } @@ -82,7 +82,7 @@ class GsaTableDeletionException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaDataModificationErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaDataModificationErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaDataModificationErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaTableDeletionException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaTableDeletionException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaTableDeletionException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaTableDeletionException. """ # Field is not nullable diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py index cf3af389..c6b6e261 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_tabular_attribute.py @@ -72,7 +72,6 @@ class GsaTabularAttribute(GsaAttribute): "hide_unlinked_rows": "bool", "info": "GsaAttributeInfo", "is_hidden_from_search_criteria": "bool", - "is_protected": "bool", "name": "str", "table": "GsaSlimEntity", "tabular_columns": "list[GsaTabularColumn]", @@ -92,7 +91,6 @@ class GsaTabularAttribute(GsaAttribute): "hide_unlinked_rows": "hideUnlinkedRows", "info": "info", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", - "is_protected": "isProtected", "name": "name", "table": "table", "tabular_columns": "tabularColumns", @@ -121,7 +119,6 @@ def __init__( hide_unlinked_rows: "bool", info: "GsaAttributeInfo", is_hidden_from_search_criteria: "bool", - is_protected: "bool", name: "str", table: "GsaSlimEntity", tabular_columns: "list[GsaTabularColumn]", @@ -143,7 +140,6 @@ def __init__( hide_unlinked_rows: bool info: GsaAttributeInfo is_hidden_from_search_criteria: bool - is_protected: bool name: str table: GsaSlimEntity tabular_columns: list[GsaTabularColumn] @@ -159,7 +155,6 @@ def __init__( guid=guid, info=info, is_hidden_from_search_criteria=is_hidden_from_search_criteria, - is_protected=is_protected, name=name, table=table, type=type, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py index 0c2442dc..54627cb0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_attribute.py @@ -67,7 +67,6 @@ class GsaUpdateAttribute(ModelBase): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -79,7 +78,6 @@ class GsaUpdateAttribute(ModelBase): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -120,7 +118,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -134,7 +131,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -146,7 +142,6 @@ def __init__( self._help_path: str | None | Unset_Type = Unset self._about_attribute: GsaSlimEntity | Unset_Type = Unset self._is_hidden_from_search_criteria: bool | None | Unset_Type = Unset - self._display_names: dict[str, str] | None | Unset_Type = Unset self._name: str | Unset_Type = Unset self._guid: str | Unset_Type = Unset @@ -161,8 +156,6 @@ def __init__( self.about_attribute = about_attribute if is_hidden_from_search_criteria is not Unset: self.is_hidden_from_search_criteria = is_hidden_from_search_criteria - if display_names is not Unset: - self.display_names = display_names if name is not Unset: self.name = name if guid is not Unset: @@ -321,30 +314,6 @@ def is_hidden_from_search_criteria( """ self._is_hidden_from_search_criteria = is_hidden_from_search_criteria - @property - def display_names(self) -> "dict[str, str] | None | Unset_Type": - """Gets the display_names of this GsaUpdateAttribute. - Set a display name for different languages. Supported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\". - - Returns - ------- - dict[str, str] | None | Unset_Type - The display_names of this GsaUpdateAttribute. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "dict[str, str] | None | Unset_Type") -> None: - """Sets the display_names of this GsaUpdateAttribute. - Set a display name for different languages. Supported languages include, but are not limited to, \"en\", \"fr\", \"de\", \"ru\", \"ko\", \"zh-CN\", \"ja\". - - Parameters - ---------- - display_names: dict[str, str] | None | Unset_Type - The display_names of this GsaUpdateAttribute. - """ - self._display_names = display_names - @property def name(self) -> "str | Unset_Type": """Gets the name of this GsaUpdateAttribute. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py index 60f43a24..d63a6203 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_date_time_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdateDateTimeAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_default_database.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_default_database.py deleted file mode 100644 index c2725b29..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_default_database.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateDefaultDatabase(ModelBase): - """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] = { - "default_database_key": "str", - } - - attribute_map: dict[str, str] = { - "default_database_key": "defaultDatabaseKey", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - default_database_key: "str", - ) -> None: - """GsaUpdateDefaultDatabase - a model defined in Swagger - - Parameters - ---------- - default_database_key: str - """ - self._default_database_key: str - - self.default_database_key = default_database_key - - @property - def default_database_key(self) -> "str": - """Gets the default_database_key of this GsaUpdateDefaultDatabase. - - Returns - ------- - str - The default_database_key of this GsaUpdateDefaultDatabase. - """ - return self._default_database_key - - @default_database_key.setter - def default_database_key(self, default_database_key: "str") -> None: - """Sets the default_database_key of this GsaUpdateDefaultDatabase. - - Parameters - ---------- - default_database_key: str - The default_database_key of this GsaUpdateDefaultDatabase. - """ - # Field is not nullable - if default_database_key is None: - raise ValueError("Invalid value for 'default_database_key', must not be 'None'") - # Field is required - if default_database_key is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'default_database_key', must not be 'Unset'") - self._default_database_key = default_database_key - - @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, GsaUpdateDefaultDatabase): - 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/v2026r1/models/gsa_update_discrete_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py index 38f25ea2..b7d56f3b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -83,7 +82,6 @@ class GsaUpdateDiscreteAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -102,7 +100,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -117,7 +114,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -129,7 +125,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py index 47c61048..f8d87705 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_functional_attribute.py @@ -71,7 +71,6 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute): "attribute_parameters": "list[GsaUpdateDiscreteFunctionalAttributeParameter]", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -84,7 +83,6 @@ class GsaUpdateDiscreteFunctionalAttribute(GsaUpdateAttribute): "attribute_parameters": "attributeParameters", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -105,7 +103,6 @@ def __init__( attribute_parameters: "list[GsaUpdateDiscreteFunctionalAttributeParameter] | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -120,7 +117,6 @@ def __init__( attribute_parameters: list[GsaUpdateDiscreteFunctionalAttributeParameter], optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -131,7 +127,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py index edb7e2a8..21f0dc10 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_discrete_parameter.py @@ -68,26 +68,20 @@ class GsaUpdateDiscreteParameter(GsaUpdateParameter): swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", - "default_parameter_value_index": "int", "guid": "str", "help_path": "str", "name": "str", - "values": "list[GsaUpdateDiscreteParameterValue]", } attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", - "default_parameter_value_index": "defaultParameterValueIndex", "guid": "guid", "help_path": "helpPath", "name": "name", - "values": "values", } - subtype_mapping: dict[str, str] = { - "values": "GsaUpdateDiscreteParameterValue", - } + subtype_mapping: dict[str, str] = {} discriminator: Optional[str] = None @@ -96,11 +90,9 @@ def __init__( *, type: "GsaParameterType" = GsaParameterType.DISCRETE, default_parameter_value_guid: "str | Unset_Type" = Unset, - default_parameter_value_index: "int | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, name: "str | Unset_Type" = Unset, - values: "list[GsaUpdateDiscreteParameterValue] | Unset_Type" = Unset, ) -> None: """GsaUpdateDiscreteParameter - a model defined in Swagger @@ -108,51 +100,17 @@ def __init__( ---------- type: GsaParameterType default_parameter_value_guid: str, optional - default_parameter_value_index: int, optional guid: str, optional help_path: str | None, optional name: str, optional - values: list[GsaUpdateDiscreteParameterValue], optional """ super().__init__( type=type, default_parameter_value_guid=default_parameter_value_guid, - default_parameter_value_index=default_parameter_value_index, guid=guid, help_path=help_path, name=name, ) - self._values: list[GsaUpdateDiscreteParameterValue] | Unset_Type = Unset - - if values is not Unset: - self.values = values - - @property - def values(self) -> "list[GsaUpdateDiscreteParameterValue] | Unset_Type": - """Gets the values of this GsaUpdateDiscreteParameter. - Update the set of parameter values. Existing parameter values will be matched by GUID. If an existing parameter value is not included, it will be deleted. If a GUID is not provided, or the GUID does not match an existing value, a new value will be created. New values must have a name. - - Returns - ------- - list[GsaUpdateDiscreteParameterValue] | Unset_Type - The values of this GsaUpdateDiscreteParameter. - """ - return self._values - - @values.setter - def values(self, values: "list[GsaUpdateDiscreteParameterValue] | Unset_Type") -> None: - """Sets the values of this GsaUpdateDiscreteParameter. - Update the set of parameter values. Existing parameter values will be matched by GUID. If an existing parameter value is not included, it will be deleted. If a GUID is not provided, or the GUID does not match an existing value, a new value will be created. New values must have a name. - - Parameters - ---------- - values: list[GsaUpdateDiscreteParameterValue] | Unset_Type - The values of this GsaUpdateDiscreteParameter. - """ - # Field is not nullable - if values is None: - raise ValueError("Invalid value for 'values', must not be 'None'") - self._values = values @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names.py deleted file mode 100644 index 1b8dcc91..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names.py +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateDisplayNames(ModelBase): - """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] = { - "display_names": "GsaGrid", - } - - attribute_map: dict[str, str] = { - "display_names": "displayNames", - } - - subtype_mapping: dict[str, str] = { - "displayNames": "GsaGrid", - } - - discriminator: Optional[str] = None - - def __init__( - self, - *, - display_names: "GsaGrid | Unset_Type" = Unset, - ) -> None: - """GsaUpdateDisplayNames - a model defined in Swagger - - Parameters - ---------- - display_names: GsaGrid, optional - """ - self._display_names: GsaGrid | Unset_Type = Unset - - if display_names is not Unset: - self.display_names = display_names - - @property - def display_names(self) -> "GsaGrid | Unset_Type": - """Gets the display_names of this GsaUpdateDisplayNames. - - Returns - ------- - GsaGrid | Unset_Type - The display_names of this GsaUpdateDisplayNames. - """ - return self._display_names - - @display_names.setter - def display_names(self, display_names: "GsaGrid | Unset_Type") -> None: - """Sets the display_names of this GsaUpdateDisplayNames. - - Parameters - ---------- - display_names: GsaGrid | Unset_Type - The display_names of this GsaUpdateDisplayNames. - """ - # Field is not nullable - if display_names is None: - raise ValueError("Invalid value for 'display_names', must not be 'None'") - self._display_names = display_names - - @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, GsaUpdateDisplayNames): - 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/v2026r1/models/gsa_update_display_names_response.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names_response.py deleted file mode 100644 index 906e7173..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_display_names_response.py +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateDisplayNamesResponse(ModelBase): - """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] = { - "number_deleted": "int", - "number_updated": "int", - } - - attribute_map: dict[str, str] = { - "number_deleted": "numberDeleted", - "number_updated": "numberUpdated", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - number_deleted: "int", - number_updated: "int", - ) -> None: - """GsaUpdateDisplayNamesResponse - a model defined in Swagger - - Parameters - ---------- - number_deleted: int - number_updated: int - """ - self._number_updated: int - self._number_deleted: int - - self.number_updated = number_updated - self.number_deleted = number_deleted - - @property - def number_updated(self) -> "int": - """Gets the number_updated of this GsaUpdateDisplayNamesResponse. - - Returns - ------- - int - The number_updated of this GsaUpdateDisplayNamesResponse. - """ - return self._number_updated - - @number_updated.setter - def number_updated(self, number_updated: "int") -> None: - """Sets the number_updated of this GsaUpdateDisplayNamesResponse. - - Parameters - ---------- - number_updated: int - The number_updated of this GsaUpdateDisplayNamesResponse. - """ - # Field is not nullable - if number_updated is None: - raise ValueError("Invalid value for 'number_updated', must not be 'None'") - # Field is required - if number_updated is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'number_updated', must not be 'Unset'") - self._number_updated = number_updated - - @property - def number_deleted(self) -> "int": - """Gets the number_deleted of this GsaUpdateDisplayNamesResponse. - - Returns - ------- - int - The number_deleted of this GsaUpdateDisplayNamesResponse. - """ - return self._number_deleted - - @number_deleted.setter - def number_deleted(self, number_deleted: "int") -> None: - """Sets the number_deleted of this GsaUpdateDisplayNamesResponse. - - Parameters - ---------- - number_deleted: int - The number_deleted of this GsaUpdateDisplayNamesResponse. - """ - # Field is not nullable - if number_deleted is None: - raise ValueError("Invalid value for 'number_deleted', must not be 'None'") - # Field is required - if number_deleted is Unset: # type: ignore[comparison-overlap, unused-ignore] - raise ValueError("Invalid value for 'number_deleted', must not be 'Unset'") - self._number_deleted = number_deleted - - @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, GsaUpdateDisplayNamesResponse): - 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/v2026r1/models/gsa_update_smart_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_dynamic_record_link_group.py similarity index 88% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_dynamic_record_link_group.py index d693f86e..532bbab0 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_smart_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_dynamic_record_link_group.py @@ -49,7 +49,7 @@ from . import * -class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup): +class GsaUpdateDynamicRecordLinkGroup(GsaUpdateRecordLinkGroup): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -97,7 +97,7 @@ class GsaUpdateSmartRecordLinkGroup(GsaUpdateRecordLinkGroup): def __init__( self, *, - type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.SMART, + type: "GsaRecordLinkGroupType" = GsaRecordLinkGroupType.DYNAMIC, attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" = Unset, forbid_orphans: "bool | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, @@ -105,7 +105,7 @@ def __init__( referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" = Unset, reverse_name: "str | Unset_Type" = Unset, ) -> None: - """GsaUpdateSmartRecordLinkGroup - a model defined in Swagger + """GsaUpdateDynamicRecordLinkGroup - a model defined in Swagger Parameters ---------- @@ -131,23 +131,23 @@ def __init__( @property def forbid_orphans(self) -> "bool | Unset_Type": - """Gets the forbid_orphans of this GsaUpdateSmartRecordLinkGroup. + """Gets the forbid_orphans of this GsaUpdateDynamicRecordLinkGroup. Returns ------- bool | Unset_Type - The forbid_orphans of this GsaUpdateSmartRecordLinkGroup. + The forbid_orphans of this GsaUpdateDynamicRecordLinkGroup. """ return self._forbid_orphans @forbid_orphans.setter def forbid_orphans(self, forbid_orphans: "bool | Unset_Type") -> None: - """Sets the forbid_orphans of this GsaUpdateSmartRecordLinkGroup. + """Sets the forbid_orphans of this GsaUpdateDynamicRecordLinkGroup. Parameters ---------- forbid_orphans: bool | Unset_Type - The forbid_orphans of this GsaUpdateSmartRecordLinkGroup. + The forbid_orphans of this GsaUpdateDynamicRecordLinkGroup. """ # Field is not nullable if forbid_orphans is None: @@ -156,12 +156,12 @@ def forbid_orphans(self, forbid_orphans: "bool | Unset_Type") -> None: @property def referential_integrity_model(self) -> "GsaReferentialIntegrityModel | Unset_Type": - """Gets the referential_integrity_model of this GsaUpdateSmartRecordLinkGroup. + """Gets the referential_integrity_model of this GsaUpdateDynamicRecordLinkGroup. Returns ------- GsaReferentialIntegrityModel | Unset_Type - The referential_integrity_model of this GsaUpdateSmartRecordLinkGroup. + The referential_integrity_model of this GsaUpdateDynamicRecordLinkGroup. """ return self._referential_integrity_model @@ -169,12 +169,12 @@ def referential_integrity_model(self) -> "GsaReferentialIntegrityModel | Unset_T def referential_integrity_model( self, referential_integrity_model: "GsaReferentialIntegrityModel | Unset_Type" ) -> None: - """Sets the referential_integrity_model of this GsaUpdateSmartRecordLinkGroup. + """Sets the referential_integrity_model of this GsaUpdateDynamicRecordLinkGroup. Parameters ---------- referential_integrity_model: GsaReferentialIntegrityModel | Unset_Type - The referential_integrity_model of this GsaUpdateSmartRecordLinkGroup. + The referential_integrity_model of this GsaUpdateDynamicRecordLinkGroup. """ # Field is not nullable if referential_integrity_model is None: @@ -183,12 +183,12 @@ def referential_integrity_model( @property def attribute_pairs(self) -> "list[GsaCreateAttributeLinkPair] | Unset_Type": - """Gets the attribute_pairs of this GsaUpdateSmartRecordLinkGroup. + """Gets the attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. Returns ------- list[GsaCreateAttributeLinkPair] | Unset_Type - The attribute_pairs of this GsaUpdateSmartRecordLinkGroup. + The attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. """ return self._attribute_pairs @@ -196,12 +196,12 @@ def attribute_pairs(self) -> "list[GsaCreateAttributeLinkPair] | Unset_Type": def attribute_pairs( self, attribute_pairs: "list[GsaCreateAttributeLinkPair] | Unset_Type" ) -> None: - """Sets the attribute_pairs of this GsaUpdateSmartRecordLinkGroup. + """Sets the attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. Parameters ---------- attribute_pairs: list[GsaCreateAttributeLinkPair] | Unset_Type - The attribute_pairs of this GsaUpdateSmartRecordLinkGroup. + The attribute_pairs of this GsaUpdateDynamicRecordLinkGroup. """ # Field is not nullable if attribute_pairs is None: @@ -230,7 +230,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaUpdateSmartRecordLinkGroup): + if not isinstance(other, GsaUpdateDynamicRecordLinkGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py index 90a707c6..9e741578 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_file_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdateFileAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py index 17066c09..fc872dfc 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_float_functional_attribute.py @@ -71,7 +71,6 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute): "attribute_parameters": "list[GsaUpdateFloatFunctionalAttributeParameter]", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -86,7 +85,6 @@ class GsaUpdateFloatFunctionalAttribute(GsaUpdateAttribute): "attribute_parameters": "attributeParameters", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -110,7 +108,6 @@ def __init__( attribute_parameters: "list[GsaUpdateFloatFunctionalAttributeParameter] | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -127,7 +124,6 @@ def __init__( attribute_parameters: list[GsaUpdateFloatFunctionalAttributeParameter], optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -140,7 +136,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py index 824d86f1..f93c692d 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_hyperlink_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdateHyperlinkAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py index ff31f866..fcee41fb 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_integer_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -83,7 +82,6 @@ class GsaUpdateIntegerAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -102,7 +100,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -117,7 +114,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -129,7 +125,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py index 49d0395c..0961e1db 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_logical_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdateLogicalAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py index 7ecf03cf..e163503a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_long_text_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdateLongTextAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py index e99f0960..9c347ff6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_maths_functional_attribute.py @@ -75,7 +75,6 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute): "axis_name": "GsaUpdateAxisName", "default_content": "GsaUpdateMathsContent", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "expressions": "list[GsaSlimEntity]", "guid": "str", "help_path": "str", @@ -95,7 +94,6 @@ class GsaUpdateMathsFunctionalAttribute(GsaUpdateAttribute): "axis_name": "axisName", "default_content": "defaultContent", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "expressions": "expressions", "guid": "guid", "help_path": "helpPath", @@ -126,7 +124,6 @@ def __init__( axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_content: "GsaUpdateMathsContent | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, expressions: "list[GsaSlimEntity] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, @@ -148,7 +145,6 @@ def __init__( axis_name: GsaUpdateAxisName, optional default_content: GsaUpdateMathsContent, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional expressions: list[GsaSlimEntity] | None, optional guid: str, optional help_path: str | None, optional @@ -162,7 +158,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_notification_user.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_notification_user.py deleted file mode 100644 index 7d335872..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_notification_user.py +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateNotificationUser(ModelBase): - """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] = { - "email_address": "str", - } - - attribute_map: dict[str, str] = { - "email_address": "emailAddress", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - email_address: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaUpdateNotificationUser - a model defined in Swagger - - Parameters - ---------- - email_address: str | None, optional - """ - self._email_address: str | None | Unset_Type = Unset - - if email_address is not Unset: - self.email_address = email_address - - @property - def email_address(self) -> "str | None | Unset_Type": - """Gets the email_address of this GsaUpdateNotificationUser. - - Returns - ------- - str | None | Unset_Type - The email_address of this GsaUpdateNotificationUser. - """ - return self._email_address - - @email_address.setter - def email_address(self, email_address: "str | None | Unset_Type") -> None: - """Sets the email_address of this GsaUpdateNotificationUser. - - Parameters - ---------- - email_address: str | None | Unset_Type - The email_address of this GsaUpdateNotificationUser. - """ - self._email_address = email_address - - @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, GsaUpdateNotificationUser): - 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/v2026r1/models/gsa_update_numeric_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py index 9ff4b145..adc2e9f6 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_numeric_parameter.py @@ -68,32 +68,27 @@ class GsaUpdateNumericParameter(GsaUpdateParameter): swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", - "default_parameter_value_index": "int", "guid": "str", "help_path": "str", "interpolation_type": "GsaParameterInterpolationType", "name": "str", "scale_type": "GsaParameterScaleType", "unit": "GsaSlimEntity", - "values": "list[GsaUpdateNumericParameterValue]", } attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", - "default_parameter_value_index": "defaultParameterValueIndex", "guid": "guid", "help_path": "helpPath", "interpolation_type": "interpolationType", "name": "name", "scale_type": "scaleType", "unit": "unit", - "values": "values", } subtype_mapping: dict[str, str] = { "unit": "GsaSlimEntity", - "values": "GsaUpdateNumericParameterValue", "interpolationType": "GsaParameterInterpolationType", "scaleType": "GsaParameterScaleType", } @@ -105,14 +100,12 @@ def __init__( *, type: "GsaParameterType" = GsaParameterType.NUMERIC, default_parameter_value_guid: "str | Unset_Type" = Unset, - default_parameter_value_index: "int | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, interpolation_type: "GsaParameterInterpolationType | Unset_Type" = Unset, name: "str | Unset_Type" = Unset, scale_type: "GsaParameterScaleType | Unset_Type" = Unset, unit: "GsaSlimEntity | Unset_Type" = Unset, - values: "list[GsaUpdateNumericParameterValue] | Unset_Type" = Unset, ) -> None: """GsaUpdateNumericParameter - a model defined in Swagger @@ -120,32 +113,26 @@ def __init__( ---------- type: GsaParameterType default_parameter_value_guid: str, optional - default_parameter_value_index: int, optional guid: str, optional help_path: str | None, optional interpolation_type: GsaParameterInterpolationType, optional name: str, optional scale_type: GsaParameterScaleType, optional unit: GsaSlimEntity, optional - values: list[GsaUpdateNumericParameterValue], optional """ super().__init__( type=type, default_parameter_value_guid=default_parameter_value_guid, - default_parameter_value_index=default_parameter_value_index, guid=guid, help_path=help_path, name=name, ) self._unit: GsaSlimEntity | Unset_Type = Unset - self._values: list[GsaUpdateNumericParameterValue] | Unset_Type = Unset self._interpolation_type: GsaParameterInterpolationType | Unset_Type = Unset self._scale_type: GsaParameterScaleType | Unset_Type = Unset if unit is not Unset: self.unit = unit - if values is not Unset: - self.values = values if interpolation_type is not Unset: self.interpolation_type = interpolation_type if scale_type is not Unset: @@ -176,33 +163,6 @@ def unit(self, unit: "GsaSlimEntity | Unset_Type") -> None: raise ValueError("Invalid value for 'unit', must not be 'None'") self._unit = unit - @property - def values(self) -> "list[GsaUpdateNumericParameterValue] | Unset_Type": - """Gets the values of this GsaUpdateNumericParameter. - Update the set of parameter values. Existing parameter values will be matched by GUID. If an existing parameter value is not included, it will be deleted. If a GUID is not provided, or the GUID does not match an existing value, a new value will be created. New values must have a value. - - Returns - ------- - list[GsaUpdateNumericParameterValue] | Unset_Type - The values of this GsaUpdateNumericParameter. - """ - return self._values - - @values.setter - def values(self, values: "list[GsaUpdateNumericParameterValue] | Unset_Type") -> None: - """Sets the values of this GsaUpdateNumericParameter. - Update the set of parameter values. Existing parameter values will be matched by GUID. If an existing parameter value is not included, it will be deleted. If a GUID is not provided, or the GUID does not match an existing value, a new value will be created. New values must have a value. - - Parameters - ---------- - values: list[GsaUpdateNumericParameterValue] | Unset_Type - The values of this GsaUpdateNumericParameter. - """ - # Field is not nullable - if values is None: - raise ValueError("Invalid value for 'values', must not be 'None'") - self._values = values - @property def interpolation_type(self) -> "GsaParameterInterpolationType | Unset_Type": """Gets the interpolation_type of this GsaUpdateNumericParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py index 294a5ba6..5f9f17f1 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_parameter.py @@ -65,7 +65,6 @@ class GsaUpdateParameter(ModelBase): swagger_types: dict[str, str] = { "type": "GsaParameterType", "default_parameter_value_guid": "str", - "default_parameter_value_index": "int", "guid": "str", "help_path": "str", "name": "str", @@ -74,7 +73,6 @@ class GsaUpdateParameter(ModelBase): attribute_map: dict[str, str] = { "type": "type", "default_parameter_value_guid": "defaultParameterValueGuid", - "default_parameter_value_index": "defaultParameterValueIndex", "guid": "guid", "help_path": "helpPath", "name": "name", @@ -96,7 +94,6 @@ def __init__( *, type: "GsaParameterType", default_parameter_value_guid: "str | Unset_Type" = Unset, - default_parameter_value_index: "int | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, name: "str | Unset_Type" = Unset, @@ -107,7 +104,6 @@ def __init__( ---------- type: GsaParameterType default_parameter_value_guid: str, optional - default_parameter_value_index: int, optional guid: str, optional help_path: str | None, optional name: str, optional @@ -115,7 +111,6 @@ def __init__( self._type: GsaParameterType self._help_path: str | None | Unset_Type = Unset self._default_parameter_value_guid: str | Unset_Type = Unset - self._default_parameter_value_index: int | Unset_Type = Unset self._name: str | Unset_Type = Unset self._guid: str | Unset_Type = Unset @@ -124,8 +119,6 @@ def __init__( self.help_path = help_path if default_parameter_value_guid is not Unset: self.default_parameter_value_guid = default_parameter_value_guid - if default_parameter_value_index is not Unset: - self.default_parameter_value_index = default_parameter_value_index if name is not Unset: self.name = name if guid is not Unset: @@ -184,7 +177,6 @@ def help_path(self, help_path: "str | None | Unset_Type") -> None: @property def default_parameter_value_guid(self) -> "str | Unset_Type": """Gets the default_parameter_value_guid of this GsaUpdateParameter. - Use to set the default value when the parameter value GUID is known. Returns ------- @@ -198,7 +190,6 @@ def default_parameter_value_guid( self, default_parameter_value_guid: "str | Unset_Type" ) -> None: """Sets the default_parameter_value_guid of this GsaUpdateParameter. - Use to set the default value when the parameter value GUID is known. Parameters ---------- @@ -210,37 +201,6 @@ def default_parameter_value_guid( raise ValueError("Invalid value for 'default_parameter_value_guid', must not be 'None'") self._default_parameter_value_guid = default_parameter_value_guid - @property - def default_parameter_value_index(self) -> "int | Unset_Type": - """Gets the default_parameter_value_index of this GsaUpdateParameter. - Use to set the default value when also updating parameter values, if the parameter value GUID is not known. For example when creating a new parameter value. - - Returns - ------- - int | Unset_Type - The default_parameter_value_index of this GsaUpdateParameter. - """ - return self._default_parameter_value_index - - @default_parameter_value_index.setter - def default_parameter_value_index( - self, default_parameter_value_index: "int | Unset_Type" - ) -> None: - """Sets the default_parameter_value_index of this GsaUpdateParameter. - Use to set the default value when also updating parameter values, if the parameter value GUID is not known. For example when creating a new parameter value. - - Parameters - ---------- - default_parameter_value_index: int | Unset_Type - The default_parameter_value_index of this GsaUpdateParameter. - """ - # Field is not nullable - if default_parameter_value_index is None: - raise ValueError( - "Invalid value for 'default_parameter_value_index', must not be 'None'" - ) - self._default_parameter_value_index = default_parameter_value_index - @property def name(self) -> "str | Unset_Type": """Gets the name of this GsaUpdateParameter. diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py index 1acaa81b..4c270f7b 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_picture_attribute.py @@ -70,7 +70,6 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -82,7 +81,6 @@ class GsaUpdatePictureAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -100,7 +98,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -114,7 +111,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -125,7 +121,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py index f68869d4..f0c16886 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_point_attribute.py @@ -71,7 +71,6 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute): "attribute_parameters": "list[GsaSlimEntity]", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -86,7 +85,6 @@ class GsaUpdatePointAttribute(GsaUpdateAttribute): "attribute_parameters": "attributeParameters", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -110,7 +108,6 @@ def __init__( attribute_parameters: "list[GsaSlimEntity] | None | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -127,7 +124,6 @@ def __init__( attribute_parameters: list[GsaSlimEntity] | None, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -140,7 +136,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py index f4bc4603..30a5fa3a 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_range_attribute.py @@ -70,7 +70,6 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute): "about_attribute": "GsaSlimEntity", "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -83,7 +82,6 @@ class GsaUpdateRangeAttribute(GsaUpdateAttribute): "about_attribute": "aboutAttribute", "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -104,7 +102,6 @@ def __init__( about_attribute: "GsaSlimEntity | Unset_Type" = Unset, axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -119,7 +116,6 @@ def __init__( about_attribute: GsaSlimEntity, optional axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -131,7 +127,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py index 4397c1c7..c4c30dac 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_record_link_group.py @@ -82,7 +82,7 @@ class GsaUpdateRecordLinkGroup(ModelBase): discriminator_value_class_map = { "static".lower(): "#/components/schemas/GsaUpdateStaticRecordLinkGroup", - "smart".lower(): "#/components/schemas/GsaUpdateSmartRecordLinkGroup", + "dynamic".lower(): "#/components/schemas/GsaUpdateDynamicRecordLinkGroup", "crossDatabase".lower(): "#/components/schemas/GsaUpdateCrossDatabaseRecordLinkGroup", } diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_root_folder_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_root_folder_error_detail.py deleted file mode 100644 index 836aa1aa..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_root_folder_error_detail.py +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_detail import ( # noqa: F401 - GsaFolderErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_folder_error_reason import ( - GsaFolderErrorReason, -) - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateRootFolderErrorDetail(GsaFolderErrorDetail): - """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] = { - "message": "str", - "reason": "GsaFolderErrorReason", - } - - attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - message: "str", - reason: "GsaFolderErrorReason" = GsaFolderErrorReason.UPDATEROOT, - ) -> None: - """GsaUpdateRootFolderErrorDetail - a model defined in Swagger - - Parameters - ---------- - message: str - reason: GsaFolderErrorReason - """ - super().__init__(message=message, reason=reason) - - @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, GsaUpdateRootFolderErrorDetail): - 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/v2026r1/models/gsa_update_run_status.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_run_status.py deleted file mode 100644 index cb7ae999..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_run_status.py +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaUpdateRunStatus(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - POS_0 = 0 - POS_1 = 1 - POS_2 = 2 - POS_3 = 3 - POS_4 = 4 - POS_5 = 5 - POS_6 = 6 - POS_7 = 7 - POS_8 = 8 - POS_9 = 9 - POS_10 = 10 - POS_11 = 11 - POS_12 = 12 - POS_13 = 13 - POS_14 = 14 - POS_15 = 15 diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py index f5844fec..6b33dac4 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_short_text_attribute.py @@ -71,7 +71,6 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute): "axis_name": "GsaUpdateAxisName", "data_rule": "GsaSlimEntity", "default_threshold_type": "GsaAttributeThresholdType", - "display_names": "dict(str, str)", "guid": "str", "help_path": "str", "is_hidden_from_search_criteria": "bool", @@ -85,7 +84,6 @@ class GsaUpdateShortTextAttribute(GsaUpdateAttribute): "axis_name": "axisName", "data_rule": "dataRule", "default_threshold_type": "defaultThresholdType", - "display_names": "displayNames", "guid": "guid", "help_path": "helpPath", "is_hidden_from_search_criteria": "isHiddenFromSearchCriteria", @@ -107,7 +105,6 @@ def __init__( axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, data_rule: "GsaSlimEntity | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, is_hidden_from_search_criteria: "bool | None | Unset_Type" = Unset, @@ -123,7 +120,6 @@ def __init__( axis_name: GsaUpdateAxisName, optional data_rule: GsaSlimEntity, optional default_threshold_type: GsaAttributeThresholdType, optional - display_names: dict[str, str] | None, optional guid: str, optional help_path: str | None, optional is_hidden_from_search_criteria: bool | None, optional @@ -135,7 +131,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_support_properties.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_support_properties.py deleted file mode 100644 index d95bfd07..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_support_properties.py +++ /dev/null @@ -1,258 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import re # noqa: F401 -from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 - -from . import ModelBase, Unset, Unset_Type - -if TYPE_CHECKING: - from datetime import datetime - import pathlib - - from . import * - - -class GsaUpdateSupportProperties(ModelBase): - """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] = { - "email": "str", - "licensing_contact_detail": "str", - "name": "str", - "telephone": "str", - "website": "str", - } - - attribute_map: dict[str, str] = { - "email": "email", - "licensing_contact_detail": "licensingContactDetail", - "name": "name", - "telephone": "telephone", - "website": "website", - } - - subtype_mapping: dict[str, str] = {} - - discriminator: Optional[str] = None - - def __init__( - self, - *, - email: "str | None | Unset_Type" = Unset, - licensing_contact_detail: "str | None | Unset_Type" = Unset, - name: "str | None | Unset_Type" = Unset, - telephone: "str | None | Unset_Type" = Unset, - website: "str | None | Unset_Type" = Unset, - ) -> None: - """GsaUpdateSupportProperties - a model defined in Swagger - - Parameters - ---------- - email: str | None, optional - licensing_contact_detail: str | None, optional - name: str | None, optional - telephone: str | None, optional - website: str | None, optional - """ - self._name: str | None | Unset_Type = Unset - self._email: str | None | Unset_Type = Unset - self._telephone: str | None | Unset_Type = Unset - self._website: str | None | Unset_Type = Unset - self._licensing_contact_detail: str | None | Unset_Type = Unset - - if name is not Unset: - self.name = name - if email is not Unset: - self.email = email - if telephone is not Unset: - self.telephone = telephone - if website is not Unset: - self.website = website - if licensing_contact_detail is not Unset: - self.licensing_contact_detail = licensing_contact_detail - - @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaUpdateSupportProperties. - - Returns - ------- - str | None | Unset_Type - The name of this GsaUpdateSupportProperties. - """ - return self._name - - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaUpdateSupportProperties. - - Parameters - ---------- - name: str | None | Unset_Type - The name of this GsaUpdateSupportProperties. - """ - self._name = name - - @property - def email(self) -> "str | None | Unset_Type": - """Gets the email of this GsaUpdateSupportProperties. - - Returns - ------- - str | None | Unset_Type - The email of this GsaUpdateSupportProperties. - """ - return self._email - - @email.setter - def email(self, email: "str | None | Unset_Type") -> None: - """Sets the email of this GsaUpdateSupportProperties. - - Parameters - ---------- - email: str | None | Unset_Type - The email of this GsaUpdateSupportProperties. - """ - self._email = email - - @property - def telephone(self) -> "str | None | Unset_Type": - """Gets the telephone of this GsaUpdateSupportProperties. - - Returns - ------- - str | None | Unset_Type - The telephone of this GsaUpdateSupportProperties. - """ - return self._telephone - - @telephone.setter - def telephone(self, telephone: "str | None | Unset_Type") -> None: - """Sets the telephone of this GsaUpdateSupportProperties. - - Parameters - ---------- - telephone: str | None | Unset_Type - The telephone of this GsaUpdateSupportProperties. - """ - self._telephone = telephone - - @property - def website(self) -> "str | None | Unset_Type": - """Gets the website of this GsaUpdateSupportProperties. - - Returns - ------- - str | None | Unset_Type - The website of this GsaUpdateSupportProperties. - """ - return self._website - - @website.setter - def website(self, website: "str | None | Unset_Type") -> None: - """Sets the website of this GsaUpdateSupportProperties. - - Parameters - ---------- - website: str | None | Unset_Type - The website of this GsaUpdateSupportProperties. - """ - self._website = website - - @property - def licensing_contact_detail(self) -> "str | None | Unset_Type": - """Gets the licensing_contact_detail of this GsaUpdateSupportProperties. - - Returns - ------- - str | None | Unset_Type - The licensing_contact_detail of this GsaUpdateSupportProperties. - """ - return self._licensing_contact_detail - - @licensing_contact_detail.setter - def licensing_contact_detail(self, licensing_contact_detail: "str | None | Unset_Type") -> None: - """Sets the licensing_contact_detail of this GsaUpdateSupportProperties. - - Parameters - ---------- - licensing_contact_detail: str | None | Unset_Type - The licensing_contact_detail of this GsaUpdateSupportProperties. - """ - self._licensing_contact_detail = licensing_contact_detail - - @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, GsaUpdateSupportProperties): - 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/v2026r1/models/gsa_update_tabular_attribute.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py index e83aea60..5287aebf 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_update_tabular_attribute.py @@ -71,7 +71,6 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute): "axis_name": "GsaUpdateAxisName", "default_threshold_type": "GsaAttributeThresholdType", "display_full_table": "bool", - "display_names": "dict(str, str)", "display_summary_row_inline": "bool", "guid": "str", "help_path": "str", @@ -88,7 +87,6 @@ class GsaUpdateTabularAttribute(GsaUpdateAttribute): "axis_name": "axisName", "default_threshold_type": "defaultThresholdType", "display_full_table": "displayFullTable", - "display_names": "displayNames", "display_summary_row_inline": "displaySummaryRowInline", "guid": "guid", "help_path": "helpPath", @@ -114,7 +112,6 @@ def __init__( axis_name: "GsaUpdateAxisName | Unset_Type" = Unset, default_threshold_type: "GsaAttributeThresholdType | Unset_Type" = Unset, display_full_table: "bool | Unset_Type" = Unset, - display_names: "dict[str, str] | None | Unset_Type" = Unset, display_summary_row_inline: "bool | Unset_Type" = Unset, guid: "str | Unset_Type" = Unset, help_path: "str | None | Unset_Type" = Unset, @@ -133,7 +130,6 @@ def __init__( axis_name: GsaUpdateAxisName, optional default_threshold_type: GsaAttributeThresholdType, optional display_full_table: bool, optional - display_names: dict[str, str] | None, optional display_summary_row_inline: bool, optional guid: str, optional help_path: str | None, optional @@ -148,7 +144,6 @@ def __init__( about_attribute=about_attribute, axis_name=axis_name, default_threshold_type=default_threshold_type, - display_names=display_names, guid=guid, help_path=help_path, is_hidden_from_search_criteria=is_hidden_from_search_criteria, diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_usage_data_modification_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_usage_data_modification_error_detail.py index 85df9932..a16c9f69 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_usage_data_modification_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_usage_data_modification_error_detail.py @@ -88,7 +88,7 @@ class GsaUsageDataModificationErrorDetail(GsaDataModificationErrorDetail): discriminator_value_class_map = { "expression".lower(): "#/components/schemas/GsaExpressionUsageDataModificationErrorDetail", "versionControlledData".lower(): "#/components/schemas/GsaVersionControlledDataUsageDataModificationErrorDetail", - "smartLinkGroup".lower(): "#/components/schemas/GsaSmartLinkGroupUsageDataModificationErrorDetail", + "dynamicLinkGroup".lower(): "#/components/schemas/GsaDynamicLinkGroupUsageDataModificationErrorDetail", "tabularAttribute".lower(): "#/components/schemas/GsaTabularAttributeUsageDataModificationErrorDetail", "xyChartTemplate".lower(): "#/components/schemas/GsaXYChartTemplateUsageDataModificationErrorDetail", "searchMask".lower(): "#/components/schemas/GsaSearchMaskUsageDataModificationErrorDetail", @@ -96,8 +96,6 @@ class GsaUsageDataModificationErrorDetail(GsaDataModificationErrorDetail): "attribute".lower(): "#/components/schemas/GsaAttributeUsageDataModificationErrorDetail", "data".lower(): "#/components/schemas/GsaDataUsageDataModificationErrorDetail", "defaultParameterValue".lower(): "#/components/schemas/GsaDefaultParameterValueUsageDataModificationErrorDetail", - "functionalDataDefault".lower(): "#/components/schemas/GsaFunctionalDataDefaultUsageDataModificationErrorDetail", - "multiValuedPointData".lower(): "#/components/schemas/GsaMultiValuedPointDataUsageDataModificationErrorDetail", } discriminator: Optional[str] = "referenced_by_type" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_value_not_provided_parameter_value_error_detail.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_user_or_group.py similarity index 65% rename from ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_value_not_provided_parameter_value_error_detail.py rename to ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_user_or_group.py index 9d94e4a0..ae950d52 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_value_not_provided_parameter_value_error_detail.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_user_or_group.py @@ -33,13 +33,6 @@ import re # noqa: F401 from typing import TYPE_CHECKING, Any, BinaryIO, Optional # noqa: F401 -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_detail import ( # noqa: F401 - GsaParameterValueErrorDetail, -) -from ansys.grantami.serverapi_openapi.v2026r1.models.gsa_parameter_value_error_reason import ( - GsaParameterValueErrorReason, -) - from . import ModelBase, Unset, Unset_Type if TYPE_CHECKING: @@ -49,7 +42,7 @@ from . import * -class GsaValueNotProvidedParameterValueErrorDetail(GsaParameterValueErrorDetail): +class GsaUserOrGroup(ModelBase): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -68,16 +61,14 @@ class GsaValueNotProvidedParameterValueErrorDetail(GsaParameterValueErrorDetail) Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "message": "str", - "reason": "GsaParameterValueErrorReason", - "guid": "str", + "display_name": "str", + "identifier": "str", "name": "str", } attribute_map: dict[str, str] = { - "message": "message", - "reason": "reason", - "guid": "guid", + "display_name": "displayName", + "identifier": "identifier", "name": "name", } @@ -88,72 +79,97 @@ class GsaValueNotProvidedParameterValueErrorDetail(GsaParameterValueErrorDetail) def __init__( self, *, - message: "str", - reason: "GsaParameterValueErrorReason" = GsaParameterValueErrorReason.VALUENOTPROVIDED, - guid: "str | None | Unset_Type" = Unset, + display_name: "str | None | Unset_Type" = Unset, + identifier: "str | Unset_Type" = Unset, name: "str | None | Unset_Type" = Unset, ) -> None: - """GsaValueNotProvidedParameterValueErrorDetail - a model defined in Swagger + """GsaUserOrGroup - a model defined in Swagger Parameters ---------- - message: str - reason: GsaParameterValueErrorReason - guid: str | None, optional + display_name: str | None, optional + identifier: str, optional name: str | None, optional """ - super().__init__(message=message, reason=reason) + self._identifier: str | Unset_Type = Unset + self._display_name: str | None | Unset_Type = Unset self._name: str | None | Unset_Type = Unset - self._guid: str | None | Unset_Type = Unset + if identifier is not Unset: + self.identifier = identifier + if display_name is not Unset: + self.display_name = display_name if name is not Unset: self.name = name - if guid is not Unset: - self.guid = guid @property - def name(self) -> "str | None | Unset_Type": - """Gets the name of this GsaValueNotProvidedParameterValueErrorDetail. + def identifier(self) -> "str | Unset_Type": + """Gets the identifier of this GsaUserOrGroup. + + Returns + ------- + str | Unset_Type + The identifier of this GsaUserOrGroup. + """ + return self._identifier + + @identifier.setter + def identifier(self, identifier: "str | Unset_Type") -> None: + """Sets the identifier of this GsaUserOrGroup. + + Parameters + ---------- + identifier: str | Unset_Type + The identifier of this GsaUserOrGroup. + """ + # Field is not nullable + if identifier is None: + raise ValueError("Invalid value for 'identifier', must not be 'None'") + self._identifier = identifier + + @property + def display_name(self) -> "str | None | Unset_Type": + """Gets the display_name of this GsaUserOrGroup. Returns ------- str | None | Unset_Type - The name of this GsaValueNotProvidedParameterValueErrorDetail. + The display_name of this GsaUserOrGroup. """ - return self._name + return self._display_name - @name.setter - def name(self, name: "str | None | Unset_Type") -> None: - """Sets the name of this GsaValueNotProvidedParameterValueErrorDetail. + @display_name.setter + def display_name(self, display_name: "str | None | Unset_Type") -> None: + """Sets the display_name of this GsaUserOrGroup. Parameters ---------- - name: str | None | Unset_Type - The name of this GsaValueNotProvidedParameterValueErrorDetail. + display_name: str | None | Unset_Type + The display_name of this GsaUserOrGroup. """ - self._name = name + self._display_name = display_name @property - def guid(self) -> "str | None | Unset_Type": - """Gets the guid of this GsaValueNotProvidedParameterValueErrorDetail. + def name(self) -> "str | None | Unset_Type": + """Gets the name of this GsaUserOrGroup. Returns ------- str | None | Unset_Type - The guid of this GsaValueNotProvidedParameterValueErrorDetail. + The name of this GsaUserOrGroup. """ - return self._guid + return self._name - @guid.setter - def guid(self, guid: "str | None | Unset_Type") -> None: - """Sets the guid of this GsaValueNotProvidedParameterValueErrorDetail. + @name.setter + def name(self, name: "str | None | Unset_Type") -> None: + """Sets the name of this GsaUserOrGroup. Parameters ---------- - guid: str | None | Unset_Type - The guid of this GsaValueNotProvidedParameterValueErrorDetail. + name: str | None | Unset_Type + The name of this GsaUserOrGroup. """ - self._guid = guid + self._name = name @classmethod def get_real_child_model(cls, data: dict[str, str]) -> str: @@ -177,7 +193,7 @@ def __repr__(self) -> str: def __eq__(self, other: Any) -> bool: """Returns true if both objects are equal""" - if not isinstance(other, GsaValueNotProvidedParameterValueErrorDetail): + if not isinstance(other, GsaUserOrGroup): return False return self.__dict__ == other.__dict__ diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_watch_type.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_watch_type.py deleted file mode 100644 index f535d9bb..00000000 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_watch_type.py +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates. -# SPDX-License-Identifier: MIT -# -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -""" -MI Server API - -No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from enum import Enum - - -class GsaWatchType(Enum): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Allowed Enum values - """ - TABLE = "table" - RECORDHISTORY = "recordHistory" - DATUM = "datum" diff --git a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_withdraw_record_version_control_exception.py b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_withdraw_record_version_control_exception.py index 666b1222..991fc62c 100644 --- a/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_withdraw_record_version_control_exception.py +++ b/ansys-grantami-serverapi-openapi/src/ansys/grantami/serverapi_openapi/v2026r1/models/gsa_withdraw_record_version_control_exception.py @@ -61,7 +61,7 @@ class GsaWithdrawRecordVersionControlException(ModelBase): Name of the property used as discriminator for subtypes. """ swagger_types: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "list[GsaVersionControlErrorDetail]", "message": "str", } @@ -73,7 +73,7 @@ class GsaWithdrawRecordVersionControlException(ModelBase): } subtype_mapping: dict[str, str] = { - "code": "GsaErrorCode", + "code": "SystemNetHttpStatusCode", "errors": "GsaVersionControlErrorDetail", } @@ -82,7 +82,7 @@ class GsaWithdrawRecordVersionControlException(ModelBase): def __init__( self, *, - code: "GsaErrorCode | Unset_Type" = Unset, + code: "SystemNetHttpStatusCode | Unset_Type" = Unset, errors: "list[GsaVersionControlErrorDetail] | None | Unset_Type" = Unset, message: "str | None | Unset_Type" = Unset, ) -> None: @@ -90,12 +90,12 @@ def __init__( Parameters ---------- - code: GsaErrorCode, optional + code: SystemNetHttpStatusCode, optional errors: list[GsaVersionControlErrorDetail] | None, optional message: str | None, optional """ self._message: str | None | Unset_Type = Unset - self._code: GsaErrorCode | Unset_Type = Unset + self._code: SystemNetHttpStatusCode | Unset_Type = Unset self._errors: list[GsaVersionControlErrorDetail] | None | Unset_Type = Unset if message is not Unset: @@ -128,23 +128,23 @@ def message(self, message: "str | None | Unset_Type") -> None: self._message = message @property - def code(self) -> "GsaErrorCode | Unset_Type": + def code(self) -> "SystemNetHttpStatusCode | Unset_Type": """Gets the code of this GsaWithdrawRecordVersionControlException. Returns ------- - GsaErrorCode | Unset_Type + SystemNetHttpStatusCode | Unset_Type The code of this GsaWithdrawRecordVersionControlException. """ return self._code @code.setter - def code(self, code: "GsaErrorCode | Unset_Type") -> None: + def code(self, code: "SystemNetHttpStatusCode | Unset_Type") -> None: """Sets the code of this GsaWithdrawRecordVersionControlException. Parameters ---------- - code: GsaErrorCode | Unset_Type + code: SystemNetHttpStatusCode | Unset_Type The code of this GsaWithdrawRecordVersionControlException. """ # Field is not nullable