diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d77ab2c..0447efb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [26.6.0] - 2026-07-08 + +### Added +- **API spec:** `graphiant_api_docs_v26.6.0.json` +- **Public VIF (PVIF) gateway:** **`GET`/`POST /v1/pvif`**, **`GET`/`PUT`/`DELETE /v1/pvif/{id}`**, **`GET /v1/pvif/{id}/details`**, **`GET /v1/pvif/summary`**; models **`V1Pvif*`** and **`ManaV2PublicVifGateway*`** (centralized/decentralized NAT, consumer LAN devices, NAT prefix strategy, write request) +- **Assurance AI adoption:** **`POST /v2/assurance/ai-adoption-summary`**, **`POST /v2/assurance/create-ai-adoption-approve-entry`**, **`POST /v2/assurance/read-ai-adoption-approve-entries`**, **`POST /v2/assurance/update-ai-adoption-approve-entry`**, **`POST /v2/assurance/delete-ai-adoption-approve-entry`**, **`POST /v2/assurance/get-app-names`**; models **`AssuranceApprovedAppEntry`**, **`AssuranceApprovedAppEntryRequest`**, **`AssuranceKpiMetric`**, **`AssuranceTopLevelKpi`**, **`AssuranceUserDefinition`**, **`AssuranceWhatWidget`**, **`AssuranceWhenWidget`**, **`AssuranceWhereWidget`**, and related **`V2AssuranceAiAdoption*`** / **`V2AssuranceGetAppNames*`** types +- **LAN segment public interfaces:** **`GET /v1/lan-segments/interfaces/public`** with **`V1LanSegmentsInterfacesPublicGetResponse`**, **`ManaV2LanSegmentPublicInterfaceEntry`**, **`ManaV2LanSegmentPublicInterfacesLists`** +- **Region gateways:** **`GET /v1/regions/{regionId}/gateways`** with **`V1RegionsRegionIdGatewaysGetResponse`**, **`ManaV2IPsecGatewayPeersConfig`**, **`ManaV2IPsecGatewayRemotePeer`** +- **ZTAgent agents:** **`GET /v1/ztagent/agents`** with **`V1ZtagentAgentsGetResponse`** and **`ConcealAgent`** +- **Mana:** **`ManaV2ZeroTrustConsumptionSummary`** + +### Changed +- **Version:** Package **26.6.0**; OpenAPI bundle **`graphiant_api_docs_v26.6.0.json`** (replaces **26.5.0** bundle in-repo). +- **Schemas / docs (updated):** **`AssuranceAppNameRecord`**, **`ManaV2GuestConsumerSiteToSiteVpnConfig`**, **`ManaV2SiteDeviceSummary`**, **`UpgradeRollout`**, **`V1EnterpriseAllocationGetResponse`**, **`V1GatewaysReferenceConsumerGetResponse`**, **`DefaultApi`**, README, and generated **`docs/`** model pages. +- **SDK (generated):** Refreshed **`default_api`**, model exports, and **`docs/`** to match the **26.6.0** spec. + +### Removed +- **API spec:** removed **`graphiant_api_docs_v26.5.0.json`** (superseded by **26.6.0** bundle). + ## [26.5.0] - 2026-06-10 ### Added diff --git a/Makefile b/Makefile index 76ee8e52..92165597 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ install: ## test: Run pytest with coverage test: - pytest --cov=graphiant_sdk --cov-report=term --cov-report=xml + python -m pytest --cov=graphiant_sdk --cov-report=term --cov-report=xml ## lint: Run flake8 on hand-written files only (generated files excluded via .flake8) lint: diff --git a/README.md b/README.md index f48e15a5..ac125977 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ More product and platform context: [Graphiant Docs](https://docs.graphiant.com). | **Automation** | [Graphiant Automation](https://docs.graphiant.com/docs/automation) | | **REST API** | [Graphiant Portal REST API](https://docs.graphiant.com/docs/graphiant-portal-rest-api) | | **Method index (repo)** | [DefaultApi.md](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/docs/DefaultApi.md) | -| **OpenAPI bundle (this build)** | [`api/graphiant_api_docs_v26.5.0.json`](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/api/graphiant_api_docs_v26.5.0.json) — source for generated paths and models | +| **OpenAPI bundle (this build)** | [`api/graphiant_api_docs_v26.6.0.json`](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/api/graphiant_api_docs_v26.6.0.json) — source for generated paths and models | | **Model docs (`*.md`)** | [`docs/`](https://github.com/Graphiant-Inc/graphiant-sdk-python/tree/main/docs) (same names as Python classes, e.g. `V1EdgesSummaryGetResponse.md`) | | **PyPI** | [graphiant-sdk](https://pypi.org/project/graphiant-sdk) | | **Changelog** | [CHANGELOG.md](https://github.com/Graphiant-Inc/graphiant-sdk-python/blob/main/CHANGELOG.md) | @@ -425,7 +425,7 @@ def get_device_info(api, bearer_token, device_id): - Python 3.10+ (3.13 recommended) - Git -- OpenAPI Generator (for code generation) — `brew install openapi-generator` +- OpenAPI Generator **>= 7.23.0** (for code generation) — `brew install openapi-generator` or `npm install -g @openapitools/openapi-generator-cli` ### CI/CD Workflows @@ -477,12 +477,12 @@ To regenerate the SDK from the latest API specification: make generate # Or run the script directly (supports OPENAPI_SPEC override) -OPENAPI_SPEC=api/graphiant_api_docs_v26.5.0.json bash scripts/generate.sh +OPENAPI_SPEC=api/graphiant_api_docs_v26.6.0.json bash scripts/generate.sh ``` -`scripts/generate.sh` wraps the full `openapi-generator-cli generate` invocation. It auto-detects `openapi-generator` (Homebrew) or `openapi-generator-cli` (npm), reads the current version from `pyproject.toml`, and passes `--git-user-id`/`--git-repo-id` so generated docs never contain `GIT_USER_ID` placeholders. +`scripts/generate.sh` wraps the full `openapi-generator-cli generate` invocation (requires OpenAPI Generator **>= 7.23.0**). It auto-detects `openapi-generator` (Homebrew) or `openapi-generator-cli` (npm), reads the current version from `pyproject.toml`, and passes `--git-user-id`/`--git-repo-id` so generated docs never contain `GIT_USER_ID` placeholders. -> **Note:** Download the latest API bundle from the Graphiant portal under **Support Hub** → **Developer Tools** and place it in `api/`. The versioned JSON bundle (`api/graphiant_api_docs_v26.5.0.json`) is the snapshot used for this release; `api/openapi.yaml` is the primary YAML spec. Hand-written files listed in `.openapi-generator-ignore` (`graphiant_cli/`, `graphiant_sdk/api_client.py`, `configuration.py`, etc.) are never overwritten by the generator. +> **Note:** Download the latest API bundle from the Graphiant portal under **Support Hub** → **Developer Tools** and place it in `api/`. The versioned JSON bundle (`api/graphiant_api_docs_v26.6.0.json`) is the snapshot used for this release; `api/openapi.yaml` is the primary YAML spec. Hand-written files listed in `.openapi-generator-ignore` (`graphiant_cli/`, `graphiant_sdk/api_client.py`, `configuration.py`, etc.) are never overwritten by the generator. ### Testing @@ -498,7 +498,7 @@ pytest tests/ --cov=graphiant_sdk --cov-report=html ### Source of truth (this release) -Operations and schemas are generated from **`api/graphiant_api_docs_v26.5.0.json`** (in `api/` and bundled in the PyPI wheel). For a newer portal/API, download the current bundle (Support Hub → Developer Tools) and diff paths before relying on URLs here. +Operations and schemas are generated from **`api/graphiant_api_docs_v26.6.0.json`** (in `api/` and bundled in the PyPI wheel). For a newer portal/API, download the current bundle (Support Hub → Developer Tools) and diff paths before relying on URLs here. | How to explore | Where | |----------------|-------| @@ -529,7 +529,7 @@ REST query parameters use **camelCase** in URLs (`enterpriseId`). Generated Pyth | **`V1GlobalSummaryPostRequest`**, **`V1GlobalSummaryPostResponse`** | **`POST /v1/global/summary`** | | **`V2ParentalertlistPostRequest`**, **`V2ParentalertlistPostResponse`** | **`POST /v2/parentalertlist`** | -### Sample HTTP endpoints (from `graphiant_api_docs_v26.5.0.json`) +### Sample HTTP endpoints (from `graphiant_api_docs_v26.6.0.json`) The API surface is large; this table lists **real** paths from the bundled spec. For the full set, use **`graphiant api list`** or **`DefaultApi.md`**. diff --git a/SECURITY.md b/SECURITY.md index 5defe3d1..ca6643a3 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,8 +6,9 @@ We actively support the following versions with security updates: | Version | Supported | Notes | | ------- | ------------------ | ---------------------------------------- | -| 26.5.x | :white_check_mark: | Current stable release (latest: **26.5.0**) | -| 26.4.x | :white_check_mark: | Previous release line (latest: **26.4.0**) | +| 26.6.x | :white_check_mark: | Current stable release (latest: **26.6.0**) | +| 26.5.x | :white_check_mark: | Previous release line (latest: **26.5.0**) | +| 26.4.x | :white_check_mark: | Older supported release (latest: **26.4.0**) | | 26.3.x | :white_check_mark: | Older supported release (latest: **26.3.3**) | | 26.2.x | :white_check_mark: | Older supported release | | 26.1.x | :white_check_mark: | Older supported release | @@ -276,4 +277,4 @@ For security concerns, please contact: **security@graphiant.com** --- -**Last Updated**: 2026-06-10 +**Last Updated**: 2026-07-08 diff --git a/api/graphiant_api_docs_v26.5.0.json b/api/graphiant_api_docs_v26.6.0.json old mode 100755 new mode 100644 similarity index 97% rename from api/graphiant_api_docs_v26.5.0.json rename to api/graphiant_api_docs_v26.6.0.json index 04c1bbd9..282d8f11 --- a/api/graphiant_api_docs_v26.5.0.json +++ b/api/graphiant_api_docs_v26.6.0.json @@ -1979,6 +1979,10 @@ "format": "int64", "example": 1234567891011 }, + "appAiTag": { + "type": "string", + "example": "ENUM_VALUE" + }, "appId": { "type": "integer", "format": "int64", @@ -3556,6 +3560,357 @@ }, "additionalProperties": false }, + "v2AssuranceAiAdoptionSummaryPostRequest": { + "type": "object", + "properties": { + "timeWindow": { + "$ref": "#/components/schemas/assuranceTimeWindow" + }, + "userListSize": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "list size of user list in where widget (required)" + } + }, + "additionalProperties": false, + "required": [ + "timeWindow", + "userListSize" + ] + }, + "v2AssuranceAiAdoptionSummaryPostResponse": { + "type": "object", + "properties": { + "topLevelKpi": { + "$ref": "#/components/schemas/assuranceTopLevelKpi" + }, + "whatWidget": { + "$ref": "#/components/schemas/assuranceWhatWidget" + }, + "whenWidget": { + "$ref": "#/components/schemas/assuranceWhenWidget" + }, + "whereWidget": { + "$ref": "#/components/schemas/assuranceWhereWidget" + } + }, + "additionalProperties": false + }, + "assuranceTopLevelKpi": { + "type": "object", + "properties": { + "dataTransferredKbpsMetric": { + "$ref": "#/components/schemas/assuranceKpiMetric" + }, + "shadowAiToolsMetric": { + "$ref": "#/components/schemas/assuranceKpiMetric" + }, + "toolsMetric": { + "$ref": "#/components/schemas/assuranceKpiMetric" + }, + "usersMetric": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "additionalProperties": false + }, + "assuranceKpiMetric": { + "type": "object", + "properties": { + "delta": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "delta value for the metric" + }, + "name": { + "type": "string", + "example": "example string", + "description": "name of the metric" + }, + "percent": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "AI adoption percent for the metric" + }, + "tag": { + "type": "string", + "example": "ENUM_VALUE", + "description": "AI adoption tag for the metric" + }, + "value": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "metric value (required)" + } + }, + "additionalProperties": false + }, + "assuranceWhatWidget": { + "type": "object", + "properties": { + "bubbleCategories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "topToolsByActiveUsers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "topToolsByDataTransferred": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + } + }, + "additionalProperties": false + }, + "assuranceWhenWidget": { + "type": "object", + "properties": { + "dayOfWeek": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "hourOfDay": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "monthlyActiveUsers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "monthlyBandwidthTransferred": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + } + }, + "additionalProperties": false + }, + "assuranceWhereWidget": { + "type": "object", + "properties": { + "topSitesByUsers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + }, + "topUsersByDataTransferred": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceUserDefinition" + } + }, + "topVrfsByUsers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceKpiMetric" + } + } + }, + "additionalProperties": false + }, + "assuranceUserDefinition": { + "type": "object", + "properties": { + "dataSent": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "data sent by the user (required)" + }, + "managed": { + "type": "boolean", + "example": true, + "description": "whether the user is managed (required)" + }, + "sessionsDay": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "daily sessions for the user (required)" + }, + "user": { + "type": "string", + "example": "example string", + "description": "user identifier (required)" + }, + "vrf": { + "type": "string", + "example": "example string", + "description": "VRF associated with the user (required)" + } + }, + "additionalProperties": false + }, + "v2AssuranceCreateAiAdoptionApproveEntryPostRequest": { + "type": "object", + "properties": { + "approvedAppEntry": { + "$ref": "#/components/schemas/assuranceApprovedAppEntryRequest" + } + }, + "additionalProperties": false, + "required": [ + "approvedAppEntry" + ] + }, + "assuranceApprovedAppEntryRequest": { + "type": "object", + "properties": { + "appName": { + "type": "string", + "example": "example string", + "description": "app name to approve (required)" + }, + "domain": { + "type": "string", + "example": "example string", + "description": "app name to approve" + }, + "id": { + "type": "string", + "example": "example string", + "description": "approved app entry identifier" + }, + "tagRequested": { + "type": "string", + "example": "ENUM_VALUE", + "description": "resulting tag, approved or shadow (required)" + } + }, + "additionalProperties": false, + "required": [ + "appName", + "tagRequested" + ] + }, + "v2AssuranceCreateAiAdoptionApproveEntryPostResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "example string", + "description": "identifier of the created approved app entry (required)" + } + }, + "additionalProperties": false + }, + "v2AssuranceUpdateAiAdoptionApproveEntryPostRequest": { + "type": "object", + "properties": { + "approvedAppEntry": { + "$ref": "#/components/schemas/assuranceApprovedAppEntryRequest" + } + }, + "additionalProperties": false, + "required": [ + "approvedAppEntry" + ] + }, + "v2AssuranceUpdateAiAdoptionApproveEntryPostResponse": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v2AssuranceDeleteAiAdoptionApproveEntryDeleteResponse": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v2AssuranceReadAiAdoptionApproveEntriesGetResponse": { + "type": "object", + "properties": { + "approvedAppList": { + "type": "array", + "items": { + "$ref": "#/components/schemas/assuranceApprovedAppEntry" + } + } + }, + "additionalProperties": false + }, + "assuranceApprovedAppEntry": { + "type": "object", + "properties": { + "activeUsers": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "number of active users (required)" + }, + "category": { + "type": "string", + "example": "example string", + "description": "approved AI tool category (required)" + }, + "dataSentKbps": { + "type": "number", + "format": "double", + "example": 123.45, + "description": "data sent in kbps (required)" + }, + "id": { + "type": "string", + "example": "example string", + "description": "approved app entry identifier (required)" + }, + "tool": { + "type": "string", + "example": "example string", + "description": "approved AI tool name (required)" + } + }, + "additionalProperties": false + }, + "v2AssuranceGetAppNamesPostRequest": { + "type": "object", + "properties": { + "tags": { + "type": "array", + "items": { + "type": "string", + "example": "ENUM_VALUE", + "description": "app name type to fetch (required)" + } + } + }, + "additionalProperties": false, + "required": [ + "tags" + ] + }, + "v2AssuranceGetAppNamesPostResponse": { + "type": "object", + "properties": { + "appNames": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "app names returned (required)" + } + } + }, + "additionalProperties": false + }, "v1AuditLogsPostRequest": { "type": "object", "properties": { @@ -4221,6 +4576,53 @@ }, "additionalProperties": false }, + "v1ZtagentAgentsGetResponse": { + "type": "object", + "properties": { + "agents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/concealAgent" + } + }, + "count": { + "type": "integer", + "format": "int32", + "example": 123 + } + }, + "additionalProperties": false + }, + "concealAgent": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "example": "example string" + }, + "disabled": { + "type": "boolean", + "example": true + }, + "id": { + "type": "string", + "example": "example string" + }, + "identifier": { + "type": "string", + "example": "example string" + }, + "lastCheckin": { + "type": "string", + "example": "example string" + }, + "machine": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, "v1DevicesDeviceIdJobsJobIdGetResponse": { "type": "object", "properties": { @@ -20014,6 +20416,9 @@ "ipsecGatewayDetails": { "$ref": "#/components/schemas/manaV2IPsecGatewayDetails" }, + "ipsecGatewayPeers": { + "$ref": "#/components/schemas/manaV2IPsecGatewayPeersConfig" + }, "regionId": { "type": "integer", "format": "int32", @@ -20091,6 +20496,74 @@ }, "additionalProperties": false }, + "manaV2IPsecGatewayPeersConfig": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "example string", + "description": "Name of the IPsec gateway service" + }, + "remotePeers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2IPsecGatewayRemotePeer" + } + }, + "routing": { + "$ref": "#/components/schemas/manaV2IpsecRoutingConfig" + } + }, + "additionalProperties": false + }, + "manaV2IPsecGatewayRemotePeer": { + "type": "object", + "properties": { + "destinationAddress": { + "type": "string", + "example": "example string" + }, + "ikeInitiator": { + "type": "boolean", + "example": true, + "description": "When true, Graphiant initiates IKE for this peer" + }, + "mtu": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "name": { + "type": "string", + "example": "example string", + "description": "Optional display name or label for this peer; used when generating tunnel names" + }, + "remoteIkePeerIdentity": { + "type": "string", + "example": "example string", + "description": "IKE identity of the remote peer" + }, + "tcpMss": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + }, + "tunnel1": { + "$ref": "#/components/schemas/manaV2IPsecGatewayTunnelDetails" + }, + "tunnel2": { + "$ref": "#/components/schemas/manaV2IPsecGatewayTunnelDetails" + }, + "vpnProfile": { + "type": "string", + "example": "example string", + "description": "Enterprise IPsec VPN profile name for this peer" + } + }, + "additionalProperties": false + }, "v1ExtranetsB2bPeeringConsumerMatchIdPostResponse": { "type": "object", "properties": { @@ -20857,73 +21330,67 @@ }, "additionalProperties": false }, - "v1ExtranetPublicVifPostRequest": { + "v1PvifPostRequest": { "type": "object", "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicy" - }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicy" - }, - "serviceName": { - "type": "string", - "example": "example string" + "advertisement": { + "$ref": "#/components/schemas/manaV2SiteInformation" }, - "type": { - "type": "string", - "example": "ENUM_VALUE", - "description": "Type of the service whether it is application or peering (required)" - } - }, - "additionalProperties": false, - "required": [ - "consumerPolicy", - "producerPolicy", - "type" - ] - }, - "manaV2PublicVifConsumerPolicy": { - "type": "object", - "properties": { - "lanSegments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerLanSegment" + "consumerLanSegments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayConsumerLanDevices" } }, - "sites": { - "$ref": "#/components/schemas/manaV2SiteInformation" - } - }, - "additionalProperties": false, - "required": [ - "lanSegments", - "sites" - ] - }, - "manaV2PublicVifConsumerLanSegment": { - "type": "object", - "properties": { - "allowedPrefixes": { + "coveringPrefixes": { "type": "array", "items": { "type": "string", "example": "example string", - "description": "Allowed prefixes for the Lan Segment (required)" + "description": "Prefixes monitored for this service; empty means 0.0.0.0/0" } }, - "serviceLanSegment": { + "gatewayBgpNeighbors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2BgpNeighborConfig" + } + }, + "lanSegmentId": { "type": "integer", "format": "int64", "example": 1234567891011, - "description": "LAN segment ID for the service (required)" + "description": "Producer LAN segment (VRF) on gateway appliances (required)" + }, + "natPrefixStrategy": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayNatPrefixStrategy" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Graphiant region for gateway appliances (required)" + }, + "serviceName": { + "type": "string", + "example": "example string", + "description": "Service display name (required)" + }, + "storageProvider": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Storage provider; each gateway appliance must match region and provider (required)" } }, "additionalProperties": false, "required": [ - "allowedPrefixes", - "serviceLanSegment" + "consumerLanSegments", + "gatewayBgpNeighbors", + "lanSegmentId", + "natPrefixStrategy", + "regionId", + "serviceName", + "storageProvider" ] }, "manaV2SiteInformation": { @@ -20948,393 +21415,340 @@ }, "additionalProperties": false }, - "manaV2PublicVifProducerPolicy": { + "manaV2PublicVifGatewayConsumerLanDevices": { "type": "object", "properties": { - "devices": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/manaV2PublicVifDevice" - } - }, - "profiles": { + "consumerPrefixes": { "type": "array", "items": { - "$ref": "#/components/schemas/manaV2ApplicationProfile" + "type": "string", + "example": "example string", + "description": "Allow prefixes for this consumer LAN; empty means 0.0.0.0/0" } - }, - "serviceLanSegment": { - "type": "integer", - "format": "int64", - "example": 1234567891011, - "description": "LAN segment ID for the service (required)" - }, - "serviceName": { - "type": "string", - "example": "example string", - "description": "Public VIF service name (local_extranet_producer_service.name)" - }, - "sites": { - "$ref": "#/components/schemas/manaV2SiteInformation" - }, - "sla": { - "$ref": "#/components/schemas/manaV2SlaInformation" - }, - "vifs": { - "$ref": "#/components/schemas/manaV2PublicVif" } }, - "additionalProperties": false, - "required": [ - "devices", - "serviceLanSegment", - "sites", - "vifs" - ] + "additionalProperties": false }, - "manaV2PublicVifDevice": { + "manaV2PublicVifGatewayNatPrefixStrategy": { "type": "object", "properties": { - "consumerBurstSize": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0, - "description": "Maximum Burst size per device (required)" + "centralized": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayCentralizedNat" }, - "consumerBwSite": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0, - "description": "Maximum Bandwidth allocation per device (required)" - }, - "natPools": { - "type": "array", - "items": { - "type": "string", - "example": "example string", - "description": "NAT details for the service prefixes (required)" - } + "decentralized": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayDecentralizedPrefixes" } }, - "additionalProperties": false, - "required": [ - "consumerBurstSize", - "consumerBwSite", - "natPools" - ] + "additionalProperties": false }, - "manaV2PublicVif": { + "manaV2PublicVifGatewayCentralizedNat": { "type": "object", "properties": { - "coveringPrefixes": { - "$ref": "#/components/schemas/manaV2PublicVifDynamic" - }, - "fixedPrefixes": { - "$ref": "#/components/schemas/manaV2PublicVifFixed" - }, - "type": { - "type": "string", - "example": "ENUM_VALUE", - "description": "Type of Public VIF dynamic/fixed (required)" + "consumerPrefix": { + "type": "object", + "additionalProperties": { + "type": "string", + "example": "example string" + } } }, "additionalProperties": false, "required": [ - "coveringPrefixes", - "fixedPrefixes", - "type" + "consumerPrefix" ] }, - "manaV2PublicVifDynamic": { + "manaV2PublicVifGatewayDecentralizedPrefixes": { "type": "object", "properties": { - "entries": { - "type": "array", - "items": { + "prefixes": { + "type": "object", + "additionalProperties": { "type": "string", "example": "example string" } } }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "prefixes" + ] }, - "manaV2PublicVifFixed": { + "v1PvifPostResponse": { "type": "object", "properties": { - "entries": { + "advertiseAllSites": { + "type": "boolean", + "example": true, + "description": "True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists" + }, + "advertisement": { + "$ref": "#/components/schemas/manaV2SiteInformation" + }, + "consumerLanSegments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayConsumerLanDevices" + } + }, + "coveringPrefixes": { "type": "array", "items": { - "$ref": "#/components/schemas/manaV2PublicVifFixedNat" + "type": "string", + "example": "example string", + "description": "Prefixes monitored for this service" } - } - }, - "additionalProperties": false - }, - "manaV2PublicVifFixedNat": { - "type": "object", - "properties": { - "outsideNatPrefix": { - "type": "string", - "example": "example string" }, - "servicePrefix": { - "type": "string", - "example": "example string" - } - }, - "additionalProperties": false - }, - "v1ExtranetPublicVifPostResponse": { - "type": "object", - "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicyResponse" + "gatewayBgpNeighbors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2BgpNeighbor" + } }, "id": { "type": "integer", "format": "int64", - "example": 1234567891011 + "example": 1234567891011, + "description": "Producer service id" }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicyResponse" + "lanSegmentId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Producer LAN segment (VRF) id" + }, + "natPrefixStrategy": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayNatPrefixStrategy" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Graphiant region for gateway appliances" }, "serviceName": { "type": "string", - "example": "example string" + "example": "example string", + "description": "Service display name" }, - "type": { + "storageProvider": { "type": "string", - "example": "ENUM_VALUE" + "example": "ENUM_VALUE", + "description": "Storage provider for gateway appliances" } }, "additionalProperties": false }, - "manaV2PublicVifConsumerPolicyResponse": { + "v1PvifIdPutRequest": { "type": "object", "properties": { - "consumerServiceId": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - }, - "lanSegments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerLanSegmentResponse" - } - }, - "sites": { - "$ref": "#/components/schemas/manaV2SiteInformation" + "configuration": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayWriteRequest" } }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "configuration" + ] }, - "manaV2PublicVifConsumerLanSegmentResponse": { + "manaV2PublicVifGatewayWriteRequest": { "type": "object", "properties": { - "allowedPrefixes": { + "advertisement": { + "$ref": "#/components/schemas/manaV2SiteInformation" + }, + "consumerLanSegments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayConsumerLanDevices" + } + }, + "coveringPrefixes": { "type": "array", "items": { "type": "string", "example": "example string", - "description": "Allowed prefixes for the Lan Segment" + "description": "Prefixes monitored for this service; empty means 0.0.0.0/0" } }, - "outboundSecurityRules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2SecurityPolicyRule" + "gatewayBgpNeighbors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2BgpNeighborConfig" } }, - "serviceLanSegment": { + "lanSegmentId": { "type": "integer", "format": "int64", "example": 1234567891011, - "description": "LAN segment ID for the service" + "description": "Producer LAN segment (VRF) on gateway appliances (required)" }, - "trafficRules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2TrafficPolicyRule" - } + "natPrefixStrategy": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayNatPrefixStrategy" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Graphiant region for gateway appliances (required)" + }, + "serviceName": { + "type": "string", + "example": "example string", + "description": "Service display name (required)" + }, + "storageProvider": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Storage provider; each gateway appliance must match region and provider (required)" } }, - "additionalProperties": false + "additionalProperties": false, + "required": [ + "consumerLanSegments", + "gatewayBgpNeighbors", + "lanSegmentId", + "natPrefixStrategy", + "regionId", + "serviceName", + "storageProvider" + ] }, - "manaV2PublicVifProducerPolicyResponse": { + "v1PvifIdPutResponse": { "type": "object", "properties": { - "devices": { + "advertiseAllSites": { + "type": "boolean", + "example": true, + "description": "True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists" + }, + "advertisement": { + "$ref": "#/components/schemas/manaV2SiteInformation" + }, + "consumerLanSegments": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/manaV2PublicVifDevice" + "$ref": "#/components/schemas/manaV2PublicVifGatewayConsumerLanDevices" } }, - "inboundSecurityRules": { + "coveringPrefixes": { "type": "array", "items": { - "$ref": "#/components/schemas/manaV2SecurityPolicyRule" + "type": "string", + "example": "example string", + "description": "Prefixes monitored for this service" } }, - "profiles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2ApplicationProfile" + "gatewayBgpNeighbors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2BgpNeighbor" } }, - "serviceLanSegment": { + "id": { "type": "integer", "format": "int64", "example": 1234567891011, - "description": "LAN segment ID for the service" - }, - "serviceName": { - "type": "string", - "example": "example string", - "description": "Public VIF service name (local_extranet_producer_service.name)" - }, - "sites": { - "$ref": "#/components/schemas/manaV2SiteInformation" - }, - "sla": { - "$ref": "#/components/schemas/manaV2SlaInformation" - }, - "trafficRules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/manaV2TrafficPolicyRule" - } - }, - "vifs": { - "$ref": "#/components/schemas/manaV2PublicVif" - } - }, - "additionalProperties": false - }, - "v1ExtranetPublicVifIdPutRequest": { - "type": "object", - "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicy" - }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicy" - } - }, - "additionalProperties": false, - "required": [ - "producerPolicy" - ] - }, - "v1ExtranetPublicVifIdPutResponse": { - "type": "object", - "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicyResponse" + "description": "Producer service id" }, - "id": { + "lanSegmentId": { "type": "integer", "format": "int64", - "example": 1234567891011 + "example": 1234567891011, + "description": "Producer LAN segment (VRF) id" }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicyResponse" + "natPrefixStrategy": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayNatPrefixStrategy" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Graphiant region for gateway appliances" }, "serviceName": { "type": "string", - "example": "example string" + "example": "example string", + "description": "Service display name" }, - "type": { + "storageProvider": { "type": "string", - "example": "ENUM_VALUE" + "example": "ENUM_VALUE", + "description": "Storage provider for gateway appliances" } }, "additionalProperties": false }, - "v1ExtranetPublicVifIdDeleteResponse": { + "v1PvifIdDeleteResponse": { "type": "object", "properties": {}, "additionalProperties": false }, - "v1ExtranetPublicVifIdGetResponse": { + "v1PvifIdDetailsGetResponse": { "type": "object", "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicyResponse" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicyResponse" - }, - "serviceName": { - "type": "string", - "example": "example string" + "advertiseAllSites": { + "type": "boolean", + "example": true, + "description": "True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists" }, - "type": { - "type": "string", - "example": "ENUM_VALUE" - } - }, - "additionalProperties": false - }, - "v1ExtranetPublicVifCheckPostRequest": { - "type": "object", - "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicy" + "advertisement": { + "$ref": "#/components/schemas/manaV2SiteInformation" }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicy" + "consumerLanSegments": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayConsumerLanDevices" + } }, - "serviceName": { - "type": "string", - "example": "example string" + "coveringPrefixes": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Prefixes monitored for this service" + } }, - "type": { - "type": "string", - "example": "ENUM_VALUE", - "description": "Type of the service whether it is application or peering (required)" - } - }, - "additionalProperties": false, - "required": [ - "consumerPolicy", - "producerPolicy", - "type" - ] - }, - "v1ExtranetPublicVifCheckPostResponse": { - "type": "object", - "properties": { - "consumerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifConsumerPolicyResponse" + "gatewayBgpNeighbors": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2BgpNeighbor" + } }, "id": { "type": "integer", "format": "int64", - "example": 1234567891011 + "example": 1234567891011, + "description": "Producer service id" + }, + "lanSegmentId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Producer LAN segment (VRF) id" }, - "producerPolicy": { - "$ref": "#/components/schemas/manaV2PublicVifProducerPolicyResponse" + "natPrefixStrategy": { + "$ref": "#/components/schemas/manaV2PublicVifGatewayNatPrefixStrategy" + }, + "regionId": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Graphiant region for gateway appliances" }, "serviceName": { "type": "string", - "example": "example string" + "example": "example string", + "description": "Service display name" }, - "type": { + "storageProvider": { "type": "string", - "example": "ENUM_VALUE" + "example": "ENUM_VALUE", + "description": "Storage provider for gateway appliances" } }, "additionalProperties": false }, - "v1ExtranetPublicVifGetResponse": { + "v1PvifSummaryGetResponse": { "type": "object", "properties": { "summary": { @@ -22146,6 +22560,71 @@ "hostname": { "type": "string", "example": "example string" + }, + "siteId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + }, + "additionalProperties": false + }, + "v1LanSegmentsInterfacesPublicGetResponse": { + "type": "object", + "properties": { + "lanSegmentIds": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/manaV2LanSegmentPublicInterfacesLists" + } + } + }, + "additionalProperties": false + }, + "manaV2LanSegmentPublicInterfacesLists": { + "type": "object", + "properties": { + "privateInterfaces": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2LanSegmentPublicInterfaceEntry" + } + }, + "publicInterfaces": { + "type": "array", + "items": { + "$ref": "#/components/schemas/manaV2LanSegmentPublicInterfaceEntry" + } + } + }, + "additionalProperties": false + }, + "manaV2LanSegmentPublicInterfaceEntry": { + "type": "object", + "properties": { + "interfaceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "network.interface id (required)" + }, + "ipv4Addresses": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "IPv4 host/prefix strings from interface_ip_address (non-stale rows)" + } + }, + "name": { + "type": "string", + "example": "example string", + "description": "Device interface name (BGP local_interface uses this) (required)" + }, + "storageProvider": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Interface storage provider (cloud provider for gateway LAN interfaces)" } }, "additionalProperties": false @@ -22162,6 +22641,33 @@ }, "additionalProperties": false }, + "v1RegionsRegionIdGatewaysGetResponse": { + "type": "object", + "properties": { + "gateways": { + "type": "array", + "items": { + "$ref": "#/components/schemas/v1RegionsRegionIdGatewaysGetResponseGateway" + } + } + }, + "additionalProperties": false + }, + "v1RegionsRegionIdGatewaysGetResponseGateway": { + "type": "object", + "properties": { + "deviceId": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "hostname": { + "type": "string", + "example": "example string" + } + }, + "additionalProperties": false + }, "v1LanSegmentsGetResponse": { "type": "object", "properties": { @@ -23129,6 +23635,9 @@ "properties": { "ipsecGatewayDetails": { "$ref": "#/components/schemas/manaV2IPsecGatewayDetails" + }, + "ipsecGatewayPeers": { + "$ref": "#/components/schemas/manaV2IPsecGatewayPeersConfig" } }, "additionalProperties": false @@ -24440,6 +24949,9 @@ "items": { "$ref": "#/components/schemas/manaV2RegionalAllocation" } + }, + "zeroTrustSummary": { + "$ref": "#/components/schemas/manaV2ZeroTrustConsumptionSummary" } }, "additionalProperties": false @@ -24706,6 +25218,18 @@ }, "additionalProperties": false }, + "manaV2ZeroTrustConsumptionSummary": { + "type": "object", + "properties": { + "userAgentCredits": { + "type": "number", + "format": "float", + "example": 12.34, + "description": "Number of devices that have been installed with the zero trust agent" + } + }, + "additionalProperties": false + }, "v1EnterpriseConfigurationPutRequest": { "type": "object", "properties": { @@ -33425,6 +33949,11 @@ }, "rolloutConfig": { "$ref": "#/components/schemas/upgradeRolloutConfig" + }, + "status": { + "type": "string", + "example": "idle", + "description": "Status of the upgrade rollout group" } }, "additionalProperties": false @@ -35289,7 +35818,49 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssistantGetConversationsPostRequest" + "$ref": "#/components/schemas/v2AssistantGetConversationsPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssistantGetConversationsPostResponse" + } + } + } + } + } + } + }, + "/v2/assistant/update-conversation-name": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssistantUpdateConversationNamePostRequest" } } } @@ -35300,7 +35871,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssistantGetConversationsPostResponse" + "$ref": "#/components/schemas/v2AssistantUpdateConversationNamePostResponse" } } } @@ -35308,7 +35879,7 @@ } } }, - "/v2/assistant/update-conversation-name": { + "/v2/assurance/create-ai-adoption-approve-entry": { "post": { "security": [ { @@ -35331,7 +35902,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssistantUpdateConversationNamePostRequest" + "$ref": "#/components/schemas/v2AssuranceCreateAiAdoptionApproveEntryPostRequest" } } } @@ -35342,7 +35913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssistantUpdateConversationNamePostResponse" + "$ref": "#/components/schemas/v2AssuranceCreateAiAdoptionApproveEntryPostResponse" } } } @@ -35476,6 +36047,56 @@ } } }, + "/v2/assurance/delete-ai-adoption-approve-entry": { + "delete": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "idList", + "in": "query", + "description": "list of approved app entry identifiers to delete", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + }, + "example": [ + "example" + ] + }, + "style": "form", + "explode": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceDeleteAiAdoptionApproveEntryDeleteResponse" + } + } + } + } + } + } + }, "/v2/assurance/deleteclassifiedapplication": { "delete": { "security": [ @@ -35633,6 +36254,90 @@ } } }, + "/v2/assurance/ai-adoption-summary": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceAiAdoptionSummaryPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceAiAdoptionSummaryPostResponse" + } + } + } + } + } + } + }, + "/v2/assurance/get-app-names": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceGetAppNamesPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceGetAppNamesPostResponse" + } + } + } + } + } + } + }, "/v2/assurance/applicationprofilesummary": { "post": { "security": [ @@ -36234,7 +36939,133 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologyOverviewPostRequest" + "$ref": "#/components/schemas/v2AssuranceTopologyOverviewPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceTopologyOverviewPostResponse" + } + } + } + } + } + } + }, + "/v2/assurance/topology-region-summary": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceTopologyRegionSummaryPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceTopologyRegionSummaryPostResponse" + } + } + } + } + } + } + }, + "/v2/assurance/topology-site-summaries": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceTopologySiteSummariesPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceTopologySiteSummariesPostResponse" + } + } + } + } + } + } + }, + "/v2/assurance/unclassifiedapplicationprofilesummary": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceUnclassifiedapplicationprofilesummaryPostRequest" } } } @@ -36245,7 +37076,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologyOverviewPostResponse" + "$ref": "#/components/schemas/v2AssuranceUnclassifiedapplicationprofilesummaryPostResponse" } } } @@ -36253,8 +37084,8 @@ } } }, - "/v2/assurance/topology-region-summary": { - "post": { + "/v2/assurance/read-ai-adoption-approve-entries": { + "get": { "security": [ { "jwtAuth": [] @@ -36271,23 +37102,13 @@ "description": "Bearer token. Format: Bearer " } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologyRegionSummaryPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologyRegionSummaryPostResponse" + "$ref": "#/components/schemas/v2AssuranceReadAiAdoptionApproveEntriesGetResponse" } } } @@ -36295,8 +37116,8 @@ } } }, - "/v2/assurance/topology-site-summaries": { - "post": { + "/v2/assurance/read-dnsproxy-list": { + "get": { "security": [ { "jwtAuth": [] @@ -36313,23 +37134,13 @@ "description": "Bearer token. Format: Bearer " } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologySiteSummariesPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceTopologySiteSummariesPostResponse" + "$ref": "#/components/schemas/v2AssuranceReadDnsproxyListGetResponse" } } } @@ -36337,8 +37148,8 @@ } } }, - "/v2/assurance/unclassifiedapplicationprofilesummary": { - "post": { + "/v2/assurance/read-user-report-list": { + "get": { "security": [ { "jwtAuth": [] @@ -36355,23 +37166,13 @@ "description": "Bearer token. Format: Bearer " } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v2AssuranceUnclassifiedapplicationprofilesummaryPostRequest" - } - } - } - }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceUnclassifiedapplicationprofilesummaryPostResponse" + "$ref": "#/components/schemas/v2AssuranceReadUserReportListGetResponse" } } } @@ -36379,8 +37180,8 @@ } } }, - "/v2/assurance/read-dnsproxy-list": { - "get": { + "/v2/assurance/update-ai-adoption-approve-entry": { + "post": { "security": [ { "jwtAuth": [] @@ -36397,45 +37198,23 @@ "description": "Bearer token. Format: Bearer " } ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v2AssuranceReadDnsproxyListGetResponse" - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2AssuranceUpdateAiAdoptionApproveEntryPostRequest" } } } - } - } - }, - "/v2/assurance/read-user-report-list": { - "get": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } - ], + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v2AssuranceReadUserReportListGetResponse" + "$ref": "#/components/schemas/v2AssuranceUpdateAiAdoptionApproveEntryPostResponse" } } } @@ -36653,6 +37432,149 @@ } } }, + "/v1/ztagent/agents": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "createdDateEnd", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "createdDateStart", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "endpoints", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + }, + "example": [ + "example" + ] + }, + "style": "form", + "explode": true + }, + { + "name": "hostname", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "limit", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "example": 123 + } + }, + { + "name": "machineId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "example": 123 + } + }, + { + "name": "tenantId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "updatedDateEnd", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "updatedDateStart", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1ZtagentAgentsGetResponse" + } + } + } + } + }, + "description": "List Conceal agents (devices) with pagination and filters." + } + }, "/v1/ztagent/bindings": { "get": { "security": [ @@ -40738,49 +41660,6 @@ } } }, - "/v1/extranet-public-vif/check": { - "post": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifCheckPostRequest" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifCheckPostResponse" - } - } - } - } - }, - "description": "Check Public Vif service" - } - }, "/v1/global/config": { "patch": { "security": [ @@ -41827,7 +42706,7 @@ "description": "Get a list of lan-segments under the currently logged in enterprise" } }, - "/v1/extranet-public-vif": { + "/v1/pvif": { "post": { "security": [ { @@ -41850,7 +42729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifPostRequest" + "$ref": "#/components/schemas/v1PvifPostRequest" } } } @@ -41861,44 +42740,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifPostResponse" + "$ref": "#/components/schemas/v1PvifPostResponse" } } } } }, - "description": "Create Public Vif service" - }, - "get": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifGetResponse" - } - } - } - } - }, - "description": "Get Public Vif summary" + "description": "Create a gateway Public VIF service" } }, "/v1/policy/route-tag-sets": { @@ -43393,7 +44241,7 @@ "description": "Delete a lan-segment" } }, - "/v1/extranet-public-vif/{id}": { + "/v1/pvif/{id}": { "delete": { "security": [ { @@ -43414,49 +44262,7 @@ "name": "id", "in": "path", "required": true, - "description": "", - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifIdDeleteResponse" - } - } - } - } - }, - "description": "Delete Public Vif service" - }, - "get": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - }, - { - "name": "id", - "in": "path", - "required": true, - "description": "Public VIF producer policy", + "description": "Producer service id", "schema": { "type": "integer", "format": "int64", @@ -43470,13 +44276,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifIdGetResponse" + "$ref": "#/components/schemas/v1PvifIdDeleteResponse" } } } } }, - "description": "Get Public Vif service" + "description": "Delete a gateway Public VIF service" }, "put": { "security": [ @@ -43498,7 +44304,7 @@ "name": "id", "in": "path", "required": true, - "description": "Public VIF producer service id", + "description": "Producer service id", "schema": { "type": "integer", "format": "int64", @@ -43511,7 +44317,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifIdPutRequest" + "$ref": "#/components/schemas/v1PvifIdPutRequest" } } } @@ -43522,13 +44328,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1ExtranetPublicVifIdPutResponse" + "$ref": "#/components/schemas/v1PvifIdPutResponse" } } } } }, - "description": "Update Public Vif service" + "description": "Update a gateway Public VIF service" } }, "/v1/policy/route-tag-sets/{id}": { @@ -46008,6 +46814,60 @@ } } }, + "/v1/regions/{regionId}/gateways": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "regionId", + "in": "path", + "required": true, + "description": "Graphiant region id", + "schema": { + "type": "integer", + "format": "int32", + "example": 123 + } + }, + { + "name": "storageProvider", + "in": "query", + "description": "Storage provider; only gateways with a LAN interface for this provider are returned", + "required": true, + "schema": { + "type": "string", + "example": "ENUM_VALUE" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1RegionsRegionIdGatewaysGetResponse" + } + } + } + } + }, + "description": "List gateway appliances in a region with at least one LAN interface for the given storage provider" + } + }, "/v1/gateways/summary": { "get": { "security": [ @@ -47405,6 +48265,50 @@ "description": "Get a list of lan-segment devices under the currently logged in enterprise" } }, + "/v1/lan-segments/interfaces/public": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "query", + "description": "device id", + "required": true, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1LanSegmentsInterfacesPublicGetResponse" + } + } + } + } + }, + "description": "Per LAN segment (VRF) on a device: interfaces split by globally routable IPv4 (for Public VIF / BGP)" + } + }, "/v1/msp/managed-enterprise-contract-info": { "get": { "security": [ @@ -47557,6 +48461,83 @@ "description": "Get all domain categories from the DPI engine" } }, + "/v1/pvif/{id}/details": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "id", + "in": "path", + "required": true, + "description": "Producer service id", + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1PvifIdDetailsGetResponse" + } + } + } + } + }, + "description": "Get a gateway Public VIF service" + } + }, + "/v1/pvif/summary": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1PvifSummaryGetResponse" + } + } + } + } + }, + "description": "List gateway Public VIF services" + } + }, "/v1/gateways/reference-consumer": { "get": { "security": [ @@ -48141,6 +49122,56 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "deviceId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + }, + { + "name": "deviceIds", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + }, + "example": [ + 0 + ] + }, + "style": "form", + "explode": true + }, + { + "name": "filter", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "gatewayCloudProvider", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "ENUM_VALUE" + } } ], "responses": { diff --git a/docs/AssuranceAppNameRecord.md b/docs/AssuranceAppNameRecord.md index 4e430604..1b344343 100644 --- a/docs/AssuranceAppNameRecord.md +++ b/docs/AssuranceAppNameRecord.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **affected_regions** | **int** | | [optional] **affected_sites** | **int** | | [optional] **affected_vrfs** | **int** | | [optional] +**app_ai_tag** | **str** | | [optional] **app_id** | **int** | | [optional] **app_id_records** | [**List[AssuranceAppIdRecord]**](AssuranceAppIdRecord.md) | | [optional] **app_name** | **str** | | [optional] diff --git a/docs/AssuranceApprovedAppEntry.md b/docs/AssuranceApprovedAppEntry.md new file mode 100644 index 00000000..01503dc1 --- /dev/null +++ b/docs/AssuranceApprovedAppEntry.md @@ -0,0 +1,33 @@ +# AssuranceApprovedAppEntry + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active_users** | **int** | number of active users (required) | [optional] +**category** | **str** | approved AI tool category (required) | [optional] +**data_sent_kbps** | **float** | data sent in kbps (required) | [optional] +**id** | **str** | approved app entry identifier (required) | [optional] +**tool** | **str** | approved AI tool name (required) | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_approved_app_entry import AssuranceApprovedAppEntry + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceApprovedAppEntry from a JSON string +assurance_approved_app_entry_instance = AssuranceApprovedAppEntry.from_json(json) +# print the JSON string representation of the object +print(AssuranceApprovedAppEntry.to_json()) + +# convert the object into a dict +assurance_approved_app_entry_dict = assurance_approved_app_entry_instance.to_dict() +# create an instance of AssuranceApprovedAppEntry from a dict +assurance_approved_app_entry_from_dict = AssuranceApprovedAppEntry.from_dict(assurance_approved_app_entry_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceApprovedAppEntryRequest.md b/docs/AssuranceApprovedAppEntryRequest.md new file mode 100644 index 00000000..a59c4b46 --- /dev/null +++ b/docs/AssuranceApprovedAppEntryRequest.md @@ -0,0 +1,32 @@ +# AssuranceApprovedAppEntryRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**app_name** | **str** | app name to approve (required) | +**domain** | **str** | app name to approve | [optional] +**id** | **str** | approved app entry identifier | [optional] +**tag_requested** | **str** | resulting tag, approved or shadow (required) | + +## Example + +```python +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceApprovedAppEntryRequest from a JSON string +assurance_approved_app_entry_request_instance = AssuranceApprovedAppEntryRequest.from_json(json) +# print the JSON string representation of the object +print(AssuranceApprovedAppEntryRequest.to_json()) + +# convert the object into a dict +assurance_approved_app_entry_request_dict = assurance_approved_app_entry_request_instance.to_dict() +# create an instance of AssuranceApprovedAppEntryRequest from a dict +assurance_approved_app_entry_request_from_dict = AssuranceApprovedAppEntryRequest.from_dict(assurance_approved_app_entry_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceKpiMetric.md b/docs/AssuranceKpiMetric.md new file mode 100644 index 00000000..1e0c7fa3 --- /dev/null +++ b/docs/AssuranceKpiMetric.md @@ -0,0 +1,33 @@ +# AssuranceKpiMetric + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**delta** | **float** | delta value for the metric | [optional] +**name** | **str** | name of the metric | [optional] +**percent** | **float** | AI adoption percent for the metric | [optional] +**tag** | **str** | AI adoption tag for the metric | [optional] +**value** | **float** | metric value (required) | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceKpiMetric from a JSON string +assurance_kpi_metric_instance = AssuranceKpiMetric.from_json(json) +# print the JSON string representation of the object +print(AssuranceKpiMetric.to_json()) + +# convert the object into a dict +assurance_kpi_metric_dict = assurance_kpi_metric_instance.to_dict() +# create an instance of AssuranceKpiMetric from a dict +assurance_kpi_metric_from_dict = AssuranceKpiMetric.from_dict(assurance_kpi_metric_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceTopLevelKpi.md b/docs/AssuranceTopLevelKpi.md new file mode 100644 index 00000000..1cc83811 --- /dev/null +++ b/docs/AssuranceTopLevelKpi.md @@ -0,0 +1,32 @@ +# AssuranceTopLevelKpi + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_transferred_kbps_metric** | [**AssuranceKpiMetric**](AssuranceKpiMetric.md) | | [optional] +**shadow_ai_tools_metric** | [**AssuranceKpiMetric**](AssuranceKpiMetric.md) | | [optional] +**tools_metric** | [**AssuranceKpiMetric**](AssuranceKpiMetric.md) | | [optional] +**users_metric** | [**AssuranceKpiMetric**](AssuranceKpiMetric.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_top_level_kpi import AssuranceTopLevelKpi + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceTopLevelKpi from a JSON string +assurance_top_level_kpi_instance = AssuranceTopLevelKpi.from_json(json) +# print the JSON string representation of the object +print(AssuranceTopLevelKpi.to_json()) + +# convert the object into a dict +assurance_top_level_kpi_dict = assurance_top_level_kpi_instance.to_dict() +# create an instance of AssuranceTopLevelKpi from a dict +assurance_top_level_kpi_from_dict = AssuranceTopLevelKpi.from_dict(assurance_top_level_kpi_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceUserDefinition.md b/docs/AssuranceUserDefinition.md new file mode 100644 index 00000000..0ea6c64f --- /dev/null +++ b/docs/AssuranceUserDefinition.md @@ -0,0 +1,33 @@ +# AssuranceUserDefinition + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data_sent** | **float** | data sent by the user (required) | [optional] +**managed** | **bool** | whether the user is managed (required) | [optional] +**sessions_day** | **float** | daily sessions for the user (required) | [optional] +**user** | **str** | user identifier (required) | [optional] +**vrf** | **str** | VRF associated with the user (required) | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_user_definition import AssuranceUserDefinition + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceUserDefinition from a JSON string +assurance_user_definition_instance = AssuranceUserDefinition.from_json(json) +# print the JSON string representation of the object +print(AssuranceUserDefinition.to_json()) + +# convert the object into a dict +assurance_user_definition_dict = assurance_user_definition_instance.to_dict() +# create an instance of AssuranceUserDefinition from a dict +assurance_user_definition_from_dict = AssuranceUserDefinition.from_dict(assurance_user_definition_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceWhatWidget.md b/docs/AssuranceWhatWidget.md new file mode 100644 index 00000000..01ae8227 --- /dev/null +++ b/docs/AssuranceWhatWidget.md @@ -0,0 +1,31 @@ +# AssuranceWhatWidget + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bubble_categories** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**top_tools_by_active_users** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**top_tools_by_data_transferred** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_what_widget import AssuranceWhatWidget + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceWhatWidget from a JSON string +assurance_what_widget_instance = AssuranceWhatWidget.from_json(json) +# print the JSON string representation of the object +print(AssuranceWhatWidget.to_json()) + +# convert the object into a dict +assurance_what_widget_dict = assurance_what_widget_instance.to_dict() +# create an instance of AssuranceWhatWidget from a dict +assurance_what_widget_from_dict = AssuranceWhatWidget.from_dict(assurance_what_widget_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceWhenWidget.md b/docs/AssuranceWhenWidget.md new file mode 100644 index 00000000..21ef664a --- /dev/null +++ b/docs/AssuranceWhenWidget.md @@ -0,0 +1,32 @@ +# AssuranceWhenWidget + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**day_of_week** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**hour_of_day** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**monthly_active_users** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**monthly_bandwidth_transferred** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_when_widget import AssuranceWhenWidget + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceWhenWidget from a JSON string +assurance_when_widget_instance = AssuranceWhenWidget.from_json(json) +# print the JSON string representation of the object +print(AssuranceWhenWidget.to_json()) + +# convert the object into a dict +assurance_when_widget_dict = assurance_when_widget_instance.to_dict() +# create an instance of AssuranceWhenWidget from a dict +assurance_when_widget_from_dict = AssuranceWhenWidget.from_dict(assurance_when_widget_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssuranceWhereWidget.md b/docs/AssuranceWhereWidget.md new file mode 100644 index 00000000..b12c34d6 --- /dev/null +++ b/docs/AssuranceWhereWidget.md @@ -0,0 +1,31 @@ +# AssuranceWhereWidget + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**top_sites_by_users** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] +**top_users_by_data_transferred** | [**List[AssuranceUserDefinition]**](AssuranceUserDefinition.md) | | [optional] +**top_vrfs_by_users** | [**List[AssuranceKpiMetric]**](AssuranceKpiMetric.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.assurance_where_widget import AssuranceWhereWidget + +# TODO update the JSON string below +json = "{}" +# create an instance of AssuranceWhereWidget from a JSON string +assurance_where_widget_instance = AssuranceWhereWidget.from_json(json) +# print the JSON string representation of the object +print(AssuranceWhereWidget.to_json()) + +# convert the object into a dict +assurance_where_widget_dict = assurance_where_widget_instance.to_dict() +# create an instance of AssuranceWhereWidget from a dict +assurance_where_widget_from_dict = AssuranceWhereWidget.from_dict(assurance_where_widget_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ConcealAgent.md b/docs/ConcealAgent.md new file mode 100644 index 00000000..ca2f4930 --- /dev/null +++ b/docs/ConcealAgent.md @@ -0,0 +1,34 @@ +# ConcealAgent + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_at** | **str** | | [optional] +**disabled** | **bool** | | [optional] +**id** | **str** | | [optional] +**identifier** | **str** | | [optional] +**last_checkin** | **str** | | [optional] +**machine** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.conceal_agent import ConcealAgent + +# TODO update the JSON string below +json = "{}" +# create an instance of ConcealAgent from a JSON string +conceal_agent_instance = ConcealAgent.from_json(json) +# print the JSON string representation of the object +print(ConcealAgent.to_json()) + +# convert the object into a dict +conceal_agent_dict = conceal_agent_instance.to_dict() +# create an instance of ConcealAgent from a dict +conceal_agent_from_dict = ConcealAgent.from_dict(conceal_agent_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 5c751091..2aa8012b 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -189,12 +189,6 @@ Method | HTTP request | Description [**v1_extranet_b2b_monitoring_peering_service_service_customer_list_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_service_customer_list_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/service-customer-list | [**v1_extranet_b2b_monitoring_peering_service_service_health_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_service_health_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/service-health | [**v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post**](DefaultApi.md#v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post) | **POST** /v1/extranet-b2b-monitoring/peering-service/service-overtime-consumption | -[**v1_extranet_public_vif_check_post**](DefaultApi.md#v1_extranet_public_vif_check_post) | **POST** /v1/extranet-public-vif/check | -[**v1_extranet_public_vif_get**](DefaultApi.md#v1_extranet_public_vif_get) | **GET** /v1/extranet-public-vif | -[**v1_extranet_public_vif_id_delete**](DefaultApi.md#v1_extranet_public_vif_id_delete) | **DELETE** /v1/extranet-public-vif/{id} | -[**v1_extranet_public_vif_id_get**](DefaultApi.md#v1_extranet_public_vif_id_get) | **GET** /v1/extranet-public-vif/{id} | -[**v1_extranet_public_vif_id_put**](DefaultApi.md#v1_extranet_public_vif_id_put) | **PUT** /v1/extranet-public-vif/{id} | -[**v1_extranet_public_vif_post**](DefaultApi.md#v1_extranet_public_vif_post) | **POST** /v1/extranet-public-vif | [**v1_extranet_sites_usage_top_post**](DefaultApi.md#v1_extranet_sites_usage_top_post) | **POST** /v1/extranet/sites-usage/top | [**v1_extranets_b2b_consumer_device_status_id_get**](DefaultApi.md#v1_extranets_b2b_consumer_device_status_id_get) | **GET** /v1/extranets-b2b/consumer-device-status/{id} | [**v1_extranets_b2b_consumer_id_delete**](DefaultApi.md#v1_extranets_b2b_consumer_id_delete) | **DELETE** /v1/extranets-b2b/consumer/{id} | @@ -322,6 +316,7 @@ Method | HTTP request | Description [**v1_groups_root_get**](DefaultApi.md#v1_groups_root_get) | **GET** /v1/groups/root | [**v1_invitation_email_post**](DefaultApi.md#v1_invitation_email_post) | **POST** /v1/invitation/email | [**v1_lan_segments_get**](DefaultApi.md#v1_lan_segments_get) | **GET** /v1/lan-segments | +[**v1_lan_segments_interfaces_public_get**](DefaultApi.md#v1_lan_segments_interfaces_public_get) | **GET** /v1/lan-segments/interfaces/public | [**v1_lldp_interface_id_neighbors_get**](DefaultApi.md#v1_lldp_interface_id_neighbors_get) | **GET** /v1/lldp/{interfaceId}/neighbors | [**v1_lldp_interface_id_summary_get**](DefaultApi.md#v1_lldp_interface_id_summary_get) | **GET** /v1/lldp/{interfaceId}/summary | [**v1_lldp_interface_id_vendors_get**](DefaultApi.md#v1_lldp_interface_id_vendors_get) | **GET** /v1/lldp/{interfaceId}/vendors | @@ -339,8 +334,14 @@ Method | HTTP request | Description [**v1_policy_route_tag_sets_tags_get**](DefaultApi.md#v1_policy_route_tag_sets_tags_get) | **GET** /v1/policy/route-tag-sets/tags | [**v1_policy_route_tag_sets_tags_summary_get**](DefaultApi.md#v1_policy_route_tag_sets_tags_summary_get) | **GET** /v1/policy/route-tag-sets/tags-summary | [**v1_presharedkey_get**](DefaultApi.md#v1_presharedkey_get) | **GET** /v1/presharedkey | +[**v1_pvif_id_delete**](DefaultApi.md#v1_pvif_id_delete) | **DELETE** /v1/pvif/{id} | +[**v1_pvif_id_details_get**](DefaultApi.md#v1_pvif_id_details_get) | **GET** /v1/pvif/{id}/details | +[**v1_pvif_id_put**](DefaultApi.md#v1_pvif_id_put) | **PUT** /v1/pvif/{id} | +[**v1_pvif_post**](DefaultApi.md#v1_pvif_post) | **POST** /v1/pvif | +[**v1_pvif_summary_get**](DefaultApi.md#v1_pvif_summary_get) | **GET** /v1/pvif/summary | [**v1_qos_circuit_profiles_get**](DefaultApi.md#v1_qos_circuit_profiles_get) | **GET** /v1/qos/circuit-profiles | [**v1_regions_get**](DefaultApi.md#v1_regions_get) | **GET** /v1/regions | +[**v1_regions_region_id_gateways_get**](DefaultApi.md#v1_regions_region_id_gateways_get) | **GET** /v1/regions/{regionId}/gateways | [**v1_search_get**](DefaultApi.md#v1_search_get) | **GET** /v1/search | [**v1_site_details_sitelists_post**](DefaultApi.md#v1_site_details_sitelists_post) | **POST** /v1/site/details/sitelists | [**v1_site_id_details_interfaces_get**](DefaultApi.md#v1_site_id_details_interfaces_get) | **GET** /v1/site/{id}/details/interfaces | @@ -388,6 +389,7 @@ Method | HTTP request | Description [**v1_users_put**](DefaultApi.md#v1_users_put) | **PUT** /v1/users | [**v1_version_post**](DefaultApi.md#v1_version_post) | **POST** /v1/version | [**v1_zones_get**](DefaultApi.md#v1_zones_get) | **GET** /v1/zones | +[**v1_ztagent_agents_get**](DefaultApi.md#v1_ztagent_agents_get) | **GET** /v1/ztagent/agents | [**v1_ztagent_bindings_get**](DefaultApi.md#v1_ztagent_bindings_get) | **GET** /v1/ztagent/bindings | [**v1_ztagent_bindings_put**](DefaultApi.md#v1_ztagent_bindings_put) | **PUT** /v1/ztagent/bindings | [**v2_ack_createupdate_post**](DefaultApi.md#v2_ack_createupdate_post) | **POST** /v2/ack/createupdate | @@ -407,6 +409,7 @@ Method | HTTP request | Description [**v2_assistant_get_conversations_post**](DefaultApi.md#v2_assistant_get_conversations_post) | **POST** /v2/assistant/get-conversations | [**v2_assistant_update_conversation_name_post**](DefaultApi.md#v2_assistant_update_conversation_name_post) | **POST** /v2/assistant/update-conversation-name | [**v2_assistant_version_post**](DefaultApi.md#v2_assistant_version_post) | **POST** /v2/assistant/version | +[**v2_assurance_ai_adoption_summary_post**](DefaultApi.md#v2_assurance_ai_adoption_summary_post) | **POST** /v2/assurance/ai-adoption-summary | [**v2_assurance_applicationdetailsbyname_post**](DefaultApi.md#v2_assurance_applicationdetailsbyname_post) | **POST** /v2/assurance/applicationdetailsbyname | [**v2_assurance_applicationprofilesummary_post**](DefaultApi.md#v2_assurance_applicationprofilesummary_post) | **POST** /v2/assurance/applicationprofilesummary | [**v2_assurance_bucket_app_servers_post**](DefaultApi.md#v2_assurance_bucket_app_servers_post) | **POST** /v2/assurance/bucket-app-servers | @@ -414,15 +417,19 @@ Method | HTTP request | Description [**v2_assurance_bucket_services_post**](DefaultApi.md#v2_assurance_bucket_services_post) | **POST** /v2/assurance/bucket-services | [**v2_assurance_bucket_topologies_post**](DefaultApi.md#v2_assurance_bucket_topologies_post) | **POST** /v2/assurance/bucket-topologies | [**v2_assurance_bucketdetails_post**](DefaultApi.md#v2_assurance_bucketdetails_post) | **POST** /v2/assurance/bucketdetails | +[**v2_assurance_create_ai_adoption_approve_entry_post**](DefaultApi.md#v2_assurance_create_ai_adoption_approve_entry_post) | **POST** /v2/assurance/create-ai-adoption-approve-entry | [**v2_assurance_create_dnsproxy_entry_post**](DefaultApi.md#v2_assurance_create_dnsproxy_entry_post) | **POST** /v2/assurance/create-dnsproxy-entry | [**v2_assurance_create_user_report_post**](DefaultApi.md#v2_assurance_create_user_report_post) | **POST** /v2/assurance/create-user-report | [**v2_assurance_createclassifiedapplication_post**](DefaultApi.md#v2_assurance_createclassifiedapplication_post) | **POST** /v2/assurance/createclassifiedapplication | +[**v2_assurance_delete_ai_adoption_approve_entry_delete**](DefaultApi.md#v2_assurance_delete_ai_adoption_approve_entry_delete) | **DELETE** /v2/assurance/delete-ai-adoption-approve-entry | [**v2_assurance_delete_dnsproxy_entry_delete**](DefaultApi.md#v2_assurance_delete_dnsproxy_entry_delete) | **DELETE** /v2/assurance/delete-dnsproxy-entry | [**v2_assurance_delete_user_report_delete**](DefaultApi.md#v2_assurance_delete_user_report_delete) | **DELETE** /v2/assurance/delete-user-report | [**v2_assurance_deleteclassifiedapplication_delete**](DefaultApi.md#v2_assurance_deleteclassifiedapplication_delete) | **DELETE** /v2/assurance/deleteclassifiedapplication | [**v2_assurance_download_user_report_get**](DefaultApi.md#v2_assurance_download_user_report_get) | **GET** /v2/assurance/download-user-report | [**v2_assurance_enterprisesummary_post**](DefaultApi.md#v2_assurance_enterprisesummary_post) | **POST** /v2/assurance/enterprisesummary | +[**v2_assurance_get_app_names_post**](DefaultApi.md#v2_assurance_get_app_names_post) | **POST** /v2/assurance/get-app-names | [**v2_assurance_getclassifiedapplicationlist_get**](DefaultApi.md#v2_assurance_getclassifiedapplicationlist_get) | **GET** /v2/assurance/getclassifiedapplicationlist | +[**v2_assurance_read_ai_adoption_approve_entries_get**](DefaultApi.md#v2_assurance_read_ai_adoption_approve_entries_get) | **GET** /v2/assurance/read-ai-adoption-approve-entries | [**v2_assurance_read_dnsproxy_list_get**](DefaultApi.md#v2_assurance_read_dnsproxy_list_get) | **GET** /v2/assurance/read-dnsproxy-list | [**v2_assurance_read_user_report_list_get**](DefaultApi.md#v2_assurance_read_user_report_list_get) | **GET** /v2/assurance/read-user-report-list | [**v2_assurance_scoredetails_post**](DefaultApi.md#v2_assurance_scoredetails_post) | **POST** /v2/assurance/scoredetails | @@ -434,6 +441,7 @@ Method | HTTP request | Description [**v2_assurance_topology_region_summary_post**](DefaultApi.md#v2_assurance_topology_region_summary_post) | **POST** /v2/assurance/topology-region-summary | [**v2_assurance_topology_site_summaries_post**](DefaultApi.md#v2_assurance_topology_site_summaries_post) | **POST** /v2/assurance/topology-site-summaries | [**v2_assurance_unclassifiedapplicationprofilesummary_post**](DefaultApi.md#v2_assurance_unclassifiedapplicationprofilesummary_post) | **POST** /v2/assurance/unclassifiedapplicationprofilesummary | +[**v2_assurance_update_ai_adoption_approve_entry_post**](DefaultApi.md#v2_assurance_update_ai_adoption_approve_entry_post) | **POST** /v2/assurance/update-ai-adoption-approve-entry | [**v2_assurance_update_dnsproxy_entry_post**](DefaultApi.md#v2_assurance_update_dnsproxy_entry_post) | **POST** /v2/assurance/update-dnsproxy-entry | [**v2_assurance_updateclassifiedapplication_post**](DefaultApi.md#v2_assurance_updateclassifiedapplication_post) | **POST** /v2/assurance/updateclassifiedapplication | [**v2_audit_logs_post**](DefaultApi.md#v2_audit_logs_post) | **POST** /v2/audit/logs | @@ -14909,10 +14917,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_check_post** -> V1ExtranetPublicVifCheckPostResponse v1_extranet_public_vif_check_post(authorization, v1_extranet_public_vif_check_post_request) +# **v1_extranet_sites_usage_top_post** +> V1ExtranetSitesUsageTopPostResponse v1_extranet_sites_usage_top_post(authorization, v1_extranet_sites_usage_top_post_request) -Check Public Vif service +Get extranet service top sites usage stats ### Example @@ -14920,8 +14928,8 @@ Check Public Vif service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_public_vif_check_post_request import V1ExtranetPublicVifCheckPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_check_post_response import V1ExtranetPublicVifCheckPostResponse +from graphiant_sdk.models.v1_extranet_sites_usage_top_post_request import V1ExtranetSitesUsageTopPostRequest +from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response import V1ExtranetSitesUsageTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14947,14 +14955,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranet_public_vif_check_post_request = graphiant_sdk.V1ExtranetPublicVifCheckPostRequest() # V1ExtranetPublicVifCheckPostRequest | + v1_extranet_sites_usage_top_post_request = graphiant_sdk.V1ExtranetSitesUsageTopPostRequest() # V1ExtranetSitesUsageTopPostRequest | try: - api_response = api_instance.v1_extranet_public_vif_check_post(authorization, v1_extranet_public_vif_check_post_request) - print("The response of DefaultApi->v1_extranet_public_vif_check_post:\n") + api_response = api_instance.v1_extranet_sites_usage_top_post(authorization, v1_extranet_sites_usage_top_post_request) + print("The response of DefaultApi->v1_extranet_sites_usage_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_check_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranet_sites_usage_top_post: %s\n" % e) ``` @@ -14965,11 +14973,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_public_vif_check_post_request** | [**V1ExtranetPublicVifCheckPostRequest**](V1ExtranetPublicVifCheckPostRequest.md)| | + **v1_extranet_sites_usage_top_post_request** | [**V1ExtranetSitesUsageTopPostRequest**](V1ExtranetSitesUsageTopPostRequest.md)| | ### Return type -[**V1ExtranetPublicVifCheckPostResponse**](V1ExtranetPublicVifCheckPostResponse.md) +[**V1ExtranetSitesUsageTopPostResponse**](V1ExtranetSitesUsageTopPostResponse.md) ### Authorization @@ -14988,10 +14996,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_get** -> V1ExtranetPublicVifGetResponse v1_extranet_public_vif_get(authorization) +# **v1_extranets_b2b_consumer_device_status_id_get** +> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse v1_extranets_b2b_consumer_device_status_id_get(authorization, id) -Get Public Vif summary +Get B2B extranet consumer status ### Example @@ -14999,7 +15007,7 @@ Get Public Vif summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_public_vif_get_response import V1ExtranetPublicVifGetResponse +from graphiant_sdk.models.v1_extranets_b2b_consumer_device_status_id_get_response import V1ExtranetsB2bConsumerDeviceStatusIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15025,13 +15033,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_public_vif_get(authorization) - print("The response of DefaultApi->v1_extranet_public_vif_get:\n") + api_response = api_instance.v1_extranets_b2b_consumer_device_status_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_consumer_device_status_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_device_status_id_get: %s\n" % e) ``` @@ -15042,10 +15051,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | ### Return type -[**V1ExtranetPublicVifGetResponse**](V1ExtranetPublicVifGetResponse.md) +[**V1ExtranetsB2bConsumerDeviceStatusIdGetResponse**](V1ExtranetsB2bConsumerDeviceStatusIdGetResponse.md) ### Authorization @@ -15064,10 +15074,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_id_delete** -> object v1_extranet_public_vif_id_delete(authorization, id) +# **v1_extranets_b2b_consumer_id_delete** +> object v1_extranets_b2b_consumer_id_delete(authorization, id) -Delete Public Vif service +Delete a B2B extranet consumer ### Example @@ -15103,11 +15113,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_public_vif_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranet_public_vif_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_consumer_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_consumer_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_id_delete: %s\n" % e) ``` @@ -15141,10 +15151,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_id_get** -> V1ExtranetPublicVifIdGetResponse v1_extranet_public_vif_id_get(authorization, id) +# **v1_extranets_b2b_consumer_id_get** +> V1ExtranetsB2bConsumerIdGetResponse v1_extranets_b2b_consumer_id_get(authorization, id) -Get Public Vif service +Get a B2B extranet consumer ### Example @@ -15152,7 +15162,7 @@ Get Public Vif service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_public_vif_id_get_response import V1ExtranetPublicVifIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_consumer_id_get_response import V1ExtranetsB2bConsumerIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15178,14 +15188,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | Public VIF producer policy + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_public_vif_id_get(authorization, id) - print("The response of DefaultApi->v1_extranet_public_vif_id_get:\n") + api_response = api_instance.v1_extranets_b2b_consumer_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_consumer_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_id_get: %s\n" % e) ``` @@ -15196,11 +15206,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Public VIF producer policy | + **id** | **int**| | ### Return type -[**V1ExtranetPublicVifIdGetResponse**](V1ExtranetPublicVifIdGetResponse.md) +[**V1ExtranetsB2bConsumerIdGetResponse**](V1ExtranetsB2bConsumerIdGetResponse.md) ### Authorization @@ -15219,10 +15229,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_id_put** -> V1ExtranetPublicVifIdPutResponse v1_extranet_public_vif_id_put(authorization, id, v1_extranet_public_vif_id_put_request) +# **v1_extranets_b2b_consumer_post** +> V1ExtranetsB2bConsumerPostResponse v1_extranets_b2b_consumer_post(authorization, v1_extranets_b2b_consumer_post_request) -Update Public Vif service +Create a new B2B extranet consumer ### Example @@ -15230,8 +15240,8 @@ Update Public Vif service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_public_vif_id_put_request import V1ExtranetPublicVifIdPutRequest -from graphiant_sdk.models.v1_extranet_public_vif_id_put_response import V1ExtranetPublicVifIdPutResponse +from graphiant_sdk.models.v1_extranets_b2b_consumer_post_request import V1ExtranetsB2bConsumerPostRequest +from graphiant_sdk.models.v1_extranets_b2b_consumer_post_response import V1ExtranetsB2bConsumerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15257,15 +15267,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | Public VIF producer service id - v1_extranet_public_vif_id_put_request = graphiant_sdk.V1ExtranetPublicVifIdPutRequest() # V1ExtranetPublicVifIdPutRequest | + v1_extranets_b2b_consumer_post_request = graphiant_sdk.V1ExtranetsB2bConsumerPostRequest() # V1ExtranetsB2bConsumerPostRequest | try: - api_response = api_instance.v1_extranet_public_vif_id_put(authorization, id, v1_extranet_public_vif_id_put_request) - print("The response of DefaultApi->v1_extranet_public_vif_id_put:\n") + api_response = api_instance.v1_extranets_b2b_consumer_post(authorization, v1_extranets_b2b_consumer_post_request) + print("The response of DefaultApi->v1_extranets_b2b_consumer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_post: %s\n" % e) ``` @@ -15276,12 +15285,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Public VIF producer service id | - **v1_extranet_public_vif_id_put_request** | [**V1ExtranetPublicVifIdPutRequest**](V1ExtranetPublicVifIdPutRequest.md)| | + **v1_extranets_b2b_consumer_post_request** | [**V1ExtranetsB2bConsumerPostRequest**](V1ExtranetsB2bConsumerPostRequest.md)| | ### Return type -[**V1ExtranetPublicVifIdPutResponse**](V1ExtranetPublicVifIdPutResponse.md) +[**V1ExtranetsB2bConsumerPostResponse**](V1ExtranetsB2bConsumerPostResponse.md) ### Authorization @@ -15300,10 +15308,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_public_vif_post** -> V1ExtranetPublicVifPostResponse v1_extranet_public_vif_post(authorization, v1_extranet_public_vif_post_request) +# **v1_extranets_b2b_consumer_summary_get** +> V1ExtranetsB2bConsumerSummaryGetResponse v1_extranets_b2b_consumer_summary_get(authorization) -Create Public Vif service +Get B2B extranet consumers summary ### Example @@ -15311,8 +15319,7 @@ Create Public Vif service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_public_vif_post_request import V1ExtranetPublicVifPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_post_response import V1ExtranetPublicVifPostResponse +from graphiant_sdk.models.v1_extranets_b2b_consumer_summary_get_response import V1ExtranetsB2bConsumerSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15338,14 +15345,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranet_public_vif_post_request = graphiant_sdk.V1ExtranetPublicVifPostRequest() # V1ExtranetPublicVifPostRequest | try: - api_response = api_instance.v1_extranet_public_vif_post(authorization, v1_extranet_public_vif_post_request) - print("The response of DefaultApi->v1_extranet_public_vif_post:\n") + api_response = api_instance.v1_extranets_b2b_consumer_summary_get(authorization) + print("The response of DefaultApi->v1_extranets_b2b_consumer_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_public_vif_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_summary_get: %s\n" % e) ``` @@ -15356,11 +15362,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_public_vif_post_request** | [**V1ExtranetPublicVifPostRequest**](V1ExtranetPublicVifPostRequest.md)| | ### Return type -[**V1ExtranetPublicVifPostResponse**](V1ExtranetPublicVifPostResponse.md) +[**V1ExtranetsB2bConsumerSummaryGetResponse**](V1ExtranetsB2bConsumerSummaryGetResponse.md) ### Authorization @@ -15368,7 +15373,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -15379,10 +15384,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranet_sites_usage_top_post** -> V1ExtranetSitesUsageTopPostResponse v1_extranet_sites_usage_top_post(authorization, v1_extranet_sites_usage_top_post_request) +# **v1_extranets_b2b_customer_id_delete** +> object v1_extranets_b2b_customer_id_delete(authorization, id) -Get extranet service top sites usage stats +Delete a B2B extranet customer ### Example @@ -15390,8 +15395,6 @@ Get extranet service top sites usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranet_sites_usage_top_post_request import V1ExtranetSitesUsageTopPostRequest -from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response import V1ExtranetSitesUsageTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15417,14 +15420,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranet_sites_usage_top_post_request = graphiant_sdk.V1ExtranetSitesUsageTopPostRequest() # V1ExtranetSitesUsageTopPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranet_sites_usage_top_post(authorization, v1_extranet_sites_usage_top_post_request) - print("The response of DefaultApi->v1_extranet_sites_usage_top_post:\n") + api_response = api_instance.v1_extranets_b2b_customer_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_customer_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranet_sites_usage_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_customer_id_delete: %s\n" % e) ``` @@ -15435,11 +15438,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranet_sites_usage_top_post_request** | [**V1ExtranetSitesUsageTopPostRequest**](V1ExtranetSitesUsageTopPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetSitesUsageTopPostResponse**](V1ExtranetSitesUsageTopPostResponse.md) +**object** ### Authorization @@ -15447,7 +15450,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -15458,10 +15461,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_consumer_device_status_id_get** -> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse v1_extranets_b2b_consumer_device_status_id_get(authorization, id) +# **v1_extranets_b2b_customer_info_id_get** +> V1ExtranetsB2bCustomerInfoIdGetResponse v1_extranets_b2b_customer_info_id_get(authorization, id) -Get B2B extranet consumer status +Get B2B extranet application customer ### Example @@ -15469,7 +15472,7 @@ Get B2B extranet consumer status ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_consumer_device_status_id_get_response import V1ExtranetsB2bConsumerDeviceStatusIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_customer_info_id_get_response import V1ExtranetsB2bCustomerInfoIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15498,11 +15501,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_consumer_device_status_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_consumer_device_status_id_get:\n") + api_response = api_instance.v1_extranets_b2b_customer_info_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_customer_info_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_device_status_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_customer_info_id_get: %s\n" % e) ``` @@ -15517,7 +15520,7 @@ Name | Type | Description | Notes ### Return type -[**V1ExtranetsB2bConsumerDeviceStatusIdGetResponse**](V1ExtranetsB2bConsumerDeviceStatusIdGetResponse.md) +[**V1ExtranetsB2bCustomerInfoIdGetResponse**](V1ExtranetsB2bCustomerInfoIdGetResponse.md) ### Authorization @@ -15536,10 +15539,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_consumer_id_delete** -> object v1_extranets_b2b_consumer_id_delete(authorization, id) +# **v1_extranets_b2b_general_customers_summary_get** +> V1ExtranetsB2bGeneralCustomersSummaryGetResponse v1_extranets_b2b_general_customers_summary_get(authorization) -Delete a B2B extranet consumer +Get summary for a B2B extranet peering services customers ### Example @@ -15547,6 +15550,7 @@ Delete a B2B extranet consumer ```python import graphiant_sdk +from graphiant_sdk.models.v1_extranets_b2b_general_customers_summary_get_response import V1ExtranetsB2bGeneralCustomersSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15572,14 +15576,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_consumer_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_consumer_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_general_customers_summary_get(authorization) + print("The response of DefaultApi->v1_extranets_b2b_general_customers_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_general_customers_summary_get: %s\n" % e) ``` @@ -15590,11 +15593,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | ### Return type -**object** +[**V1ExtranetsB2bGeneralCustomersSummaryGetResponse**](V1ExtranetsB2bGeneralCustomersSummaryGetResponse.md) ### Authorization @@ -15613,10 +15615,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_consumer_id_get** -> V1ExtranetsB2bConsumerIdGetResponse v1_extranets_b2b_consumer_id_get(authorization, id) +# **v1_extranets_b2b_general_services_summary_get** +> V1ExtranetsB2bGeneralServicesSummaryGetResponse v1_extranets_b2b_general_services_summary_get(authorization) -Get a B2B extranet consumer +Get a summary for all the B2B extranet services ### Example @@ -15624,7 +15626,7 @@ Get a B2B extranet consumer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_consumer_id_get_response import V1ExtranetsB2bConsumerIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_general_services_summary_get_response import V1ExtranetsB2bGeneralServicesSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15650,14 +15652,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_consumer_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_consumer_id_get:\n") + api_response = api_instance.v1_extranets_b2b_general_services_summary_get(authorization) + print("The response of DefaultApi->v1_extranets_b2b_general_services_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_general_services_summary_get: %s\n" % e) ``` @@ -15668,11 +15669,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | ### Return type -[**V1ExtranetsB2bConsumerIdGetResponse**](V1ExtranetsB2bConsumerIdGetResponse.md) +[**V1ExtranetsB2bGeneralServicesSummaryGetResponse**](V1ExtranetsB2bGeneralServicesSummaryGetResponse.md) ### Authorization @@ -15691,10 +15691,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_consumer_post** -> V1ExtranetsB2bConsumerPostResponse v1_extranets_b2b_consumer_post(authorization, v1_extranets_b2b_consumer_post_request) +# **v1_extranets_b2b_id_customer_post** +> V1ExtranetsB2bIdCustomerPostResponse v1_extranets_b2b_id_customer_post(authorization, id, v1_extranets_b2b_id_customer_post_request) -Create a new B2B extranet consumer +Create B2B extranet application customer invite ### Example @@ -15702,8 +15702,8 @@ Create a new B2B extranet consumer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_consumer_post_request import V1ExtranetsB2bConsumerPostRequest -from graphiant_sdk.models.v1_extranets_b2b_consumer_post_response import V1ExtranetsB2bConsumerPostResponse +from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_request import V1ExtranetsB2bIdCustomerPostRequest +from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_response import V1ExtranetsB2bIdCustomerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15729,14 +15729,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_consumer_post_request = graphiant_sdk.V1ExtranetsB2bConsumerPostRequest() # V1ExtranetsB2bConsumerPostRequest | + id = 1234567891011 # int | Service ID of the application customer is invited to + v1_extranets_b2b_id_customer_post_request = graphiant_sdk.V1ExtranetsB2bIdCustomerPostRequest() # V1ExtranetsB2bIdCustomerPostRequest | try: - api_response = api_instance.v1_extranets_b2b_consumer_post(authorization, v1_extranets_b2b_consumer_post_request) - print("The response of DefaultApi->v1_extranets_b2b_consumer_post:\n") + api_response = api_instance.v1_extranets_b2b_id_customer_post(authorization, id, v1_extranets_b2b_id_customer_post_request) + print("The response of DefaultApi->v1_extranets_b2b_id_customer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_id_customer_post: %s\n" % e) ``` @@ -15747,11 +15748,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_consumer_post_request** | [**V1ExtranetsB2bConsumerPostRequest**](V1ExtranetsB2bConsumerPostRequest.md)| | + **id** | **int**| Service ID of the application customer is invited to | + **v1_extranets_b2b_id_customer_post_request** | [**V1ExtranetsB2bIdCustomerPostRequest**](V1ExtranetsB2bIdCustomerPostRequest.md)| | ### Return type -[**V1ExtranetsB2bConsumerPostResponse**](V1ExtranetsB2bConsumerPostResponse.md) +[**V1ExtranetsB2bIdCustomerPostResponse**](V1ExtranetsB2bIdCustomerPostResponse.md) ### Authorization @@ -15770,10 +15772,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_consumer_summary_get** -> V1ExtranetsB2bConsumerSummaryGetResponse v1_extranets_b2b_consumer_summary_get(authorization) +# **v1_extranets_b2b_id_customer_summary_get** +> V1ExtranetsB2bIdCustomerSummaryGetResponse v1_extranets_b2b_id_customer_summary_get(authorization, id) -Get B2B extranet consumers summary +Get B2B extranet application customers summary ### Example @@ -15781,7 +15783,7 @@ Get B2B extranet consumers summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_consumer_summary_get_response import V1ExtranetsB2bConsumerSummaryGetResponse +from graphiant_sdk.models.v1_extranets_b2b_id_customer_summary_get_response import V1ExtranetsB2bIdCustomerSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15807,13 +15809,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_consumer_summary_get(authorization) - print("The response of DefaultApi->v1_extranets_b2b_consumer_summary_get:\n") + api_response = api_instance.v1_extranets_b2b_id_customer_summary_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_id_customer_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_consumer_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_id_customer_summary_get: %s\n" % e) ``` @@ -15824,10 +15827,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | ### Return type -[**V1ExtranetsB2bConsumerSummaryGetResponse**](V1ExtranetsB2bConsumerSummaryGetResponse.md) +[**V1ExtranetsB2bIdCustomerSummaryGetResponse**](V1ExtranetsB2bIdCustomerSummaryGetResponse.md) ### Authorization @@ -15846,10 +15850,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_customer_id_delete** -> object v1_extranets_b2b_customer_id_delete(authorization, id) +# **v1_extranets_b2b_id_delete** +> object v1_extranets_b2b_id_delete(authorization, id) -Delete a B2B extranet customer +Delete a B2B extranet producer ### Example @@ -15882,14 +15886,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the producer service to be deleted try: - api_response = api_instance.v1_extranets_b2b_customer_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_customer_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_customer_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_id_delete: %s\n" % e) ``` @@ -15900,7 +15904,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the producer service to be deleted | ### Return type @@ -15923,10 +15927,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_customer_info_id_get** -> V1ExtranetsB2bCustomerInfoIdGetResponse v1_extranets_b2b_customer_info_id_get(authorization, id) +# **v1_extranets_b2b_id_producer_get** +> V1ExtranetsB2bIdProducerGetResponse v1_extranets_b2b_id_producer_get(authorization, id, type=type) -Get B2B extranet application customer +Get a B2B extranet producer ### Example @@ -15934,7 +15938,7 @@ Get B2B extranet application customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_customer_info_id_get_response import V1ExtranetsB2bCustomerInfoIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_response import V1ExtranetsB2bIdProducerGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15961,13 +15965,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer id = 1234567891011 # int | + type = 'ENUM_VALUE' # str | (optional) try: - api_response = api_instance.v1_extranets_b2b_customer_info_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_customer_info_id_get:\n") + api_response = api_instance.v1_extranets_b2b_id_producer_get(authorization, id, type=type) + print("The response of DefaultApi->v1_extranets_b2b_id_producer_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_customer_info_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_id_producer_get: %s\n" % e) ``` @@ -15979,10 +15984,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **id** | **int**| | + **type** | **str**| | [optional] ### Return type -[**V1ExtranetsB2bCustomerInfoIdGetResponse**](V1ExtranetsB2bCustomerInfoIdGetResponse.md) +[**V1ExtranetsB2bIdProducerGetResponse**](V1ExtranetsB2bIdProducerGetResponse.md) ### Authorization @@ -16001,10 +16007,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_general_customers_summary_get** -> V1ExtranetsB2bGeneralCustomersSummaryGetResponse v1_extranets_b2b_general_customers_summary_get(authorization) +# **v1_extranets_b2b_id_put** +> V1ExtranetsB2bIdPutResponse v1_extranets_b2b_id_put(authorization, id, v1_extranets_b2b_id_put_request) -Get summary for a B2B extranet peering services customers +Update a B2B extranet producer ### Example @@ -16012,7 +16018,8 @@ Get summary for a B2B extranet peering services customers ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_general_customers_summary_get_response import V1ExtranetsB2bGeneralCustomersSummaryGetResponse +from graphiant_sdk.models.v1_extranets_b2b_id_put_request import V1ExtranetsB2bIdPutRequest +from graphiant_sdk.models.v1_extranets_b2b_id_put_response import V1ExtranetsB2bIdPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16038,13 +16045,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | ID of the B2B Application service + v1_extranets_b2b_id_put_request = graphiant_sdk.V1ExtranetsB2bIdPutRequest() # V1ExtranetsB2bIdPutRequest | try: - api_response = api_instance.v1_extranets_b2b_general_customers_summary_get(authorization) - print("The response of DefaultApi->v1_extranets_b2b_general_customers_summary_get:\n") + api_response = api_instance.v1_extranets_b2b_id_put(authorization, id, v1_extranets_b2b_id_put_request) + print("The response of DefaultApi->v1_extranets_b2b_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_general_customers_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_id_put: %s\n" % e) ``` @@ -16055,10 +16064,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| ID of the B2B Application service | + **v1_extranets_b2b_id_put_request** | [**V1ExtranetsB2bIdPutRequest**](V1ExtranetsB2bIdPutRequest.md)| | ### Return type -[**V1ExtranetsB2bGeneralCustomersSummaryGetResponse**](V1ExtranetsB2bGeneralCustomersSummaryGetResponse.md) +[**V1ExtranetsB2bIdPutResponse**](V1ExtranetsB2bIdPutResponse.md) ### Authorization @@ -16066,7 +16077,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -16077,10 +16088,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_general_services_summary_get** -> V1ExtranetsB2bGeneralServicesSummaryGetResponse v1_extranets_b2b_general_services_summary_get(authorization) +# **v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get** +> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get(authorization, customer_id, service_id=service_id) -Get a summary for all the B2B extranet services +Get details of a service subscription for a customer ### Example @@ -16088,7 +16099,7 @@ Get a summary for all the B2B extranet services ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_general_services_summary_get_response import V1ExtranetsB2bGeneralServicesSummaryGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16114,13 +16125,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + customer_id = 1234567891011 # int | + service_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_extranets_b2b_general_services_summary_get(authorization) - print("The response of DefaultApi->v1_extranets_b2b_general_services_summary_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get(authorization, customer_id, service_id=service_id) + print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_general_services_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get: %s\n" % e) ``` @@ -16131,10 +16144,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **customer_id** | **int**| | + **service_id** | **int**| | [optional] ### Return type -[**V1ExtranetsB2bGeneralServicesSummaryGetResponse**](V1ExtranetsB2bGeneralServicesSummaryGetResponse.md) +[**V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse**](V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse.md) ### Authorization @@ -16153,10 +16168,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_id_customer_post** -> V1ExtranetsB2bIdCustomerPostResponse v1_extranets_b2b_id_customer_post(authorization, id, v1_extranets_b2b_id_customer_post_request) +# **v1_extranets_b2b_peering_consumer_id_prefixes_put** +> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse v1_extranets_b2b_peering_consumer_id_prefixes_put(authorization, id, v1_extranets_b2b_peering_consumer_id_prefixes_put_request) -Create B2B extranet application customer invite +Update B2B extranet peering service consumer ### Example @@ -16164,8 +16179,8 @@ Create B2B extranet application customer invite ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_request import V1ExtranetsB2bIdCustomerPostRequest -from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_response import V1ExtranetsB2bIdCustomerPostResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_request import V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_response import V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16191,15 +16206,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | Service ID of the application customer is invited to - v1_extranets_b2b_id_customer_post_request = graphiant_sdk.V1ExtranetsB2bIdCustomerPostRequest() # V1ExtranetsB2bIdCustomerPostRequest | + id = 1234567891011 # int | consumer id + v1_extranets_b2b_peering_consumer_id_prefixes_put_request = graphiant_sdk.V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest() # V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest | try: - api_response = api_instance.v1_extranets_b2b_id_customer_post(authorization, id, v1_extranets_b2b_id_customer_post_request) - print("The response of DefaultApi->v1_extranets_b2b_id_customer_post:\n") + api_response = api_instance.v1_extranets_b2b_peering_consumer_id_prefixes_put(authorization, id, v1_extranets_b2b_peering_consumer_id_prefixes_put_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_id_prefixes_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_id_customer_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_id_prefixes_put: %s\n" % e) ``` @@ -16210,12 +16225,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Service ID of the application customer is invited to | - **v1_extranets_b2b_id_customer_post_request** | [**V1ExtranetsB2bIdCustomerPostRequest**](V1ExtranetsB2bIdCustomerPostRequest.md)| | + **id** | **int**| consumer id | + **v1_extranets_b2b_peering_consumer_id_prefixes_put_request** | [**V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest**](V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest.md)| | ### Return type -[**V1ExtranetsB2bIdCustomerPostResponse**](V1ExtranetsB2bIdCustomerPostResponse.md) +[**V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse**](V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse.md) ### Authorization @@ -16234,10 +16249,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_id_customer_summary_get** -> V1ExtranetsB2bIdCustomerSummaryGetResponse v1_extranets_b2b_id_customer_summary_get(authorization, id) +# **v1_extranets_b2b_peering_consumer_match_id_match_details_get** +> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse v1_extranets_b2b_peering_consumer_match_id_match_details_get(authorization, match_id) -Get B2B extranet application customers summary +Get details of a service match for a customer ### Example @@ -16245,7 +16260,7 @@ Get B2B extranet application customers summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_id_customer_summary_get_response import V1ExtranetsB2bIdCustomerSummaryGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16271,14 +16286,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + match_id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_id_customer_summary_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_id_customer_summary_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_consumer_match_id_match_details_get(authorization, match_id) + print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_match_id_match_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_id_customer_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_match_id_match_details_get: %s\n" % e) ``` @@ -16289,11 +16304,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **match_id** | **int**| | ### Return type -[**V1ExtranetsB2bIdCustomerSummaryGetResponse**](V1ExtranetsB2bIdCustomerSummaryGetResponse.md) +[**V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse**](V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse.md) ### Authorization @@ -16312,10 +16327,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_id_delete** -> object v1_extranets_b2b_id_delete(authorization, id) +# **v1_extranets_b2b_peering_consumer_match_id_post** +> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse v1_extranets_b2b_peering_consumer_match_id_post(authorization, match_id, v1_extranets_b2b_peering_consumer_match_id_post_request) -Delete a B2B extranet producer +Create B2B extranet peering service consumer ### Example @@ -16323,6 +16338,8 @@ Delete a B2B extranet producer ```python import graphiant_sdk +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_response import V1ExtranetsB2bPeeringConsumerMatchIdPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16348,14 +16365,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the producer service to be deleted + match_id = 1234567891011 # int | ID of the match for the customer subscription of the service + v1_extranets_b2b_peering_consumer_match_id_post_request = graphiant_sdk.V1ExtranetsB2bPeeringConsumerMatchIdPostRequest() # V1ExtranetsB2bPeeringConsumerMatchIdPostRequest | try: - api_response = api_instance.v1_extranets_b2b_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_peering_consumer_match_id_post(authorization, match_id, v1_extranets_b2b_peering_consumer_match_id_post_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_match_id_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_match_id_post: %s\n" % e) ``` @@ -16366,11 +16384,90 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the producer service to be deleted | + **match_id** | **int**| ID of the match for the customer subscription of the service | + **v1_extranets_b2b_peering_consumer_match_id_post_request** | [**V1ExtranetsB2bPeeringConsumerMatchIdPostRequest**](V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md)| | ### Return type -**object** +[**V1ExtranetsB2bPeeringConsumerMatchIdPostResponse**](V1ExtranetsB2bPeeringConsumerMatchIdPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_extranets_b2b_peering_customer_id_delete** +> V1ExtranetsB2bPeeringCustomerIdDeleteResponse v1_extranets_b2b_peering_customer_id_delete(authorization, id) + +Delete a B2B extranet peering service customer + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_delete_response import V1ExtranetsB2bPeeringCustomerIdDeleteResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | ID of the peering service customer + + try: + api_response = api_instance.v1_extranets_b2b_peering_customer_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_customer_id_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| ID of the peering service customer | + +### Return type + +[**V1ExtranetsB2bPeeringCustomerIdDeleteResponse**](V1ExtranetsB2bPeeringCustomerIdDeleteResponse.md) ### Authorization @@ -16389,10 +16486,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_id_producer_get** -> V1ExtranetsB2bIdProducerGetResponse v1_extranets_b2b_id_producer_get(authorization, id, type=type) +# **v1_extranets_b2b_peering_customer_id_get** +> V1ExtranetsB2bPeeringCustomerIdGetResponse v1_extranets_b2b_peering_customer_id_get(authorization, id) -Get a B2B extranet producer +Get a B2B extranet peering service customer ### Example @@ -16400,7 +16497,7 @@ Get a B2B extranet producer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_response import V1ExtranetsB2bIdProducerGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_get_response import V1ExtranetsB2bPeeringCustomerIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16426,15 +16523,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | - type = 'ENUM_VALUE' # str | (optional) + id = 1234567891011 # int | ID of the peering service customer try: - api_response = api_instance.v1_extranets_b2b_id_producer_get(authorization, id, type=type) - print("The response of DefaultApi->v1_extranets_b2b_id_producer_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_customer_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_customer_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_id_producer_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_id_get: %s\n" % e) ``` @@ -16445,12 +16541,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | - **type** | **str**| | [optional] + **id** | **int**| ID of the peering service customer | ### Return type -[**V1ExtranetsB2bIdProducerGetResponse**](V1ExtranetsB2bIdProducerGetResponse.md) +[**V1ExtranetsB2bPeeringCustomerIdGetResponse**](V1ExtranetsB2bPeeringCustomerIdGetResponse.md) ### Authorization @@ -16469,10 +16564,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_id_put** -> V1ExtranetsB2bIdPutResponse v1_extranets_b2b_id_put(authorization, id, v1_extranets_b2b_id_put_request) +# **v1_extranets_b2b_peering_customer_post** +> V1ExtranetsB2bPeeringCustomerPostResponse v1_extranets_b2b_peering_customer_post(authorization, v1_extranets_b2b_peering_customer_post_request) -Update a B2B extranet producer +Create a new B2B extranet peering service customer ### Example @@ -16480,8 +16575,8 @@ Update a B2B extranet producer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_id_put_request import V1ExtranetsB2bIdPutRequest -from graphiant_sdk.models.v1_extranets_b2b_id_put_response import V1ExtranetsB2bIdPutResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_request import V1ExtranetsB2bPeeringCustomerPostRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_response import V1ExtranetsB2bPeeringCustomerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16507,15 +16602,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the B2B Application service - v1_extranets_b2b_id_put_request = graphiant_sdk.V1ExtranetsB2bIdPutRequest() # V1ExtranetsB2bIdPutRequest | + v1_extranets_b2b_peering_customer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringCustomerPostRequest() # V1ExtranetsB2bPeeringCustomerPostRequest | try: - api_response = api_instance.v1_extranets_b2b_id_put(authorization, id, v1_extranets_b2b_id_put_request) - print("The response of DefaultApi->v1_extranets_b2b_id_put:\n") + api_response = api_instance.v1_extranets_b2b_peering_customer_post(authorization, v1_extranets_b2b_peering_customer_post_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_customer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_post: %s\n" % e) ``` @@ -16526,12 +16620,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the B2B Application service | - **v1_extranets_b2b_id_put_request** | [**V1ExtranetsB2bIdPutRequest**](V1ExtranetsB2bIdPutRequest.md)| | + **v1_extranets_b2b_peering_customer_post_request** | [**V1ExtranetsB2bPeeringCustomerPostRequest**](V1ExtranetsB2bPeeringCustomerPostRequest.md)| | ### Return type -[**V1ExtranetsB2bIdPutResponse**](V1ExtranetsB2bIdPutResponse.md) +[**V1ExtranetsB2bPeeringCustomerPostResponse**](V1ExtranetsB2bPeeringCustomerPostResponse.md) ### Authorization @@ -16550,10 +16643,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get** -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get(authorization, customer_id, service_id=service_id) +# **v1_extranets_b2b_peering_match_service_to_customer_id_delete** +> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) -Get details of a service subscription for a customer +Unsubscribe a customer from a service ### Example @@ -16561,7 +16654,7 @@ Get details of a service subscription for a customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16587,15 +16680,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - customer_id = 1234567891011 # int | - service_id = 1234567891011 # int | (optional) + id = 1234567891011 # int | ID for the service to customer match to be deleted try: - api_response = api_instance.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get(authorization, customer_id, service_id=service_id) - print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_delete: %s\n" % e) ``` @@ -16606,12 +16698,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **customer_id** | **int**| | - **service_id** | **int**| | [optional] + **id** | **int**| ID for the service to customer match to be deleted | ### Return type -[**V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse**](V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse.md) +[**V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md) ### Authorization @@ -16630,10 +16721,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_consumer_id_prefixes_put** -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse v1_extranets_b2b_peering_consumer_id_prefixes_put(authorization, id, v1_extranets_b2b_peering_consumer_id_prefixes_put_request) +# **v1_extranets_b2b_peering_match_service_to_customer_id_get** +> V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse v1_extranets_b2b_peering_match_service_to_customer_id_get(authorization, id, customer_id) -Update B2B extranet peering service consumer +Get details for a service to customer subscription ### Example @@ -16641,8 +16732,7 @@ Update B2B extranet peering service consumer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_request import V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_prefixes_put_response import V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16668,15 +16758,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | consumer id - v1_extranets_b2b_peering_consumer_id_prefixes_put_request = graphiant_sdk.V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest() # V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest | + id = 1234567891011 # int | Service id for which match details are requested + customer_id = 1234567891011 # int | Customer id try: - api_response = api_instance.v1_extranets_b2b_peering_consumer_id_prefixes_put(authorization, id, v1_extranets_b2b_peering_consumer_id_prefixes_put_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_id_prefixes_put:\n") + api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_get(authorization, id, customer_id) + print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_id_prefixes_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_get: %s\n" % e) ``` @@ -16687,12 +16777,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| consumer id | - **v1_extranets_b2b_peering_consumer_id_prefixes_put_request** | [**V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest**](V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest.md)| | + **id** | **int**| Service id for which match details are requested | + **customer_id** | **int**| Customer id | ### Return type -[**V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse**](V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse.md) +[**V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse.md) ### Authorization @@ -16700,7 +16790,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -16711,10 +16801,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_consumer_match_id_match_details_get** -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse v1_extranets_b2b_peering_consumer_match_id_match_details_get(authorization, match_id) +# **v1_extranets_b2b_peering_match_service_to_customer_post** +> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse v1_extranets_b2b_peering_match_service_to_customer_post(authorization, v1_extranets_b2b_peering_match_service_to_customer_post_request) -Get details of a service match for a customer +Create B2B extranet configuration for matching a service to a customer ### Example @@ -16722,7 +16812,8 @@ Get details of a service match for a customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16748,14 +16839,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - match_id = 1234567891011 # int | + v1_extranets_b2b_peering_match_service_to_customer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest() # V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_consumer_match_id_match_details_get(authorization, match_id) - print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_match_id_match_details_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_post(authorization, v1_extranets_b2b_peering_match_service_to_customer_post_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_match_id_match_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_post: %s\n" % e) ``` @@ -16766,11 +16857,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **match_id** | **int**| | + **v1_extranets_b2b_peering_match_service_to_customer_post_request** | [**V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest**](V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse**](V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse.md) +[**V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse.md) ### Authorization @@ -16778,7 +16869,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -16789,10 +16880,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_consumer_match_id_post** -> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse v1_extranets_b2b_peering_consumer_match_id_post(authorization, match_id, v1_extranets_b2b_peering_consumer_match_id_post_request) +# **v1_extranets_b2b_peering_match_service_to_customer_service_status_put** +> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse v1_extranets_b2b_peering_match_service_to_customer_service_status_put(authorization, v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request) -Create B2B extranet peering service consumer +Pause B2B match service to customer ### Example @@ -16800,8 +16891,8 @@ Create B2B extranet peering service consumer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_response import V1ExtranetsB2bPeeringConsumerMatchIdPostResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16827,15 +16918,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - match_id = 1234567891011 # int | ID of the match for the customer subscription of the service - v1_extranets_b2b_peering_consumer_match_id_post_request = graphiant_sdk.V1ExtranetsB2bPeeringConsumerMatchIdPostRequest() # V1ExtranetsB2bPeeringConsumerMatchIdPostRequest | + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request = graphiant_sdk.V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest() # V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_consumer_match_id_post(authorization, match_id, v1_extranets_b2b_peering_consumer_match_id_post_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_consumer_match_id_post:\n") + api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_service_status_put(authorization, v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_service_status_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_consumer_match_id_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_service_status_put: %s\n" % e) ``` @@ -16846,12 +16936,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **match_id** | **int**| ID of the match for the customer subscription of the service | - **v1_extranets_b2b_peering_consumer_match_id_post_request** | [**V1ExtranetsB2bPeeringConsumerMatchIdPostRequest**](V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md)| | + **v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request** | [**V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest**](V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringConsumerMatchIdPostResponse**](V1ExtranetsB2bPeeringConsumerMatchIdPostResponse.md) +[**V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse.md) ### Authorization @@ -16870,10 +16959,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_customer_id_delete** -> V1ExtranetsB2bPeeringCustomerIdDeleteResponse v1_extranets_b2b_peering_customer_id_delete(authorization, id) +# **v1_extranets_b2b_peering_match_services_summary_id_get** +> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) -Delete a B2B extranet peering service customer +Get B2B extranet services matching customers summary ### Example @@ -16881,7 +16970,7 @@ Delete a B2B extranet peering service customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_delete_response import V1ExtranetsB2bPeeringCustomerIdDeleteResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_services_summary_id_get_response import V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16907,14 +16996,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the peering service customer + id = 1234567891011 # int | ID of the customer try: - api_response = api_instance.v1_extranets_b2b_peering_customer_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_customer_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_match_services_summary_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_services_summary_id_get: %s\n" % e) ``` @@ -16925,11 +17014,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the peering service customer | + **id** | **int**| ID of the customer | ### Return type -[**V1ExtranetsB2bPeeringCustomerIdDeleteResponse**](V1ExtranetsB2bPeeringCustomerIdDeleteResponse.md) +[**V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse**](V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse.md) ### Authorization @@ -16948,10 +17037,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_customer_id_get** -> V1ExtranetsB2bPeeringCustomerIdGetResponse v1_extranets_b2b_peering_customer_id_get(authorization, id) +# **v1_extranets_b2b_peering_producer_id_get** +> V1ExtranetsB2bPeeringProducerIdGetResponse v1_extranets_b2b_peering_producer_id_get(authorization, id) -Get a B2B extranet peering service customer +Get B2B extranet peering service producer ### Example @@ -16959,7 +17048,7 @@ Get a B2B extranet peering service customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_get_response import V1ExtranetsB2bPeeringCustomerIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_get_response import V1ExtranetsB2bPeeringProducerIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16985,14 +17074,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the peering service customer + id = 1234567891011 # int | ID of the service try: - api_response = api_instance.v1_extranets_b2b_peering_customer_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_customer_id_get:\n") + api_response = api_instance.v1_extranets_b2b_peering_producer_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_producer_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_id_get: %s\n" % e) ``` @@ -17003,11 +17092,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the peering service customer | + **id** | **int**| ID of the service | ### Return type -[**V1ExtranetsB2bPeeringCustomerIdGetResponse**](V1ExtranetsB2bPeeringCustomerIdGetResponse.md) +[**V1ExtranetsB2bPeeringProducerIdGetResponse**](V1ExtranetsB2bPeeringProducerIdGetResponse.md) ### Authorization @@ -17026,10 +17115,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_customer_post** -> V1ExtranetsB2bPeeringCustomerPostResponse v1_extranets_b2b_peering_customer_post(authorization, v1_extranets_b2b_peering_customer_post_request) +# **v1_extranets_b2b_peering_producer_id_matching_customers_summary_get** +> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) -Create a new B2B extranet peering service customer +Get B2B extranet customers summary ### Example @@ -17037,8 +17126,7 @@ Create a new B2B extranet peering service customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_request import V1ExtranetsB2bPeeringCustomerPostRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_response import V1ExtranetsB2bPeeringCustomerPostResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_response import V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17064,14 +17152,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_peering_customer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringCustomerPostRequest() # V1ExtranetsB2bPeeringCustomerPostRequest | + id = 1234567891011 # int | ID of the customer try: - api_response = api_instance.v1_extranets_b2b_peering_customer_post(authorization, v1_extranets_b2b_peering_customer_post_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_customer_post:\n") + api_response = api_instance.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_peering_producer_id_matching_customers_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_customer_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_id_matching_customers_summary_get: %s\n" % e) ``` @@ -17082,11 +17170,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_peering_customer_post_request** | [**V1ExtranetsB2bPeeringCustomerPostRequest**](V1ExtranetsB2bPeeringCustomerPostRequest.md)| | + **id** | **int**| ID of the customer | ### Return type -[**V1ExtranetsB2bPeeringCustomerPostResponse**](V1ExtranetsB2bPeeringCustomerPostResponse.md) +[**V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse**](V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse.md) ### Authorization @@ -17094,7 +17182,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -17105,10 +17193,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_match_service_to_customer_id_delete** -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) +# **v1_extranets_b2b_peering_producer_post** +> V1ExtranetsB2bPeeringProducerPostResponse v1_extranets_b2b_peering_producer_post(authorization, v1_extranets_b2b_peering_producer_post_request) -Unsubscribe a customer from a service +Create a new B2B extranet peering service producer ### Example @@ -17116,7 +17204,8 @@ Unsubscribe a customer from a service ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_producer_post_request import V1ExtranetsB2bPeeringProducerPostRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_producer_post_response import V1ExtranetsB2bPeeringProducerPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17142,14 +17231,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID for the service to customer match to be deleted + v1_extranets_b2b_peering_producer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringProducerPostRequest() # V1ExtranetsB2bPeeringProducerPostRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_delete:\n") + api_response = api_instance.v1_extranets_b2b_peering_producer_post(authorization, v1_extranets_b2b_peering_producer_post_request) + print("The response of DefaultApi->v1_extranets_b2b_peering_producer_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_post: %s\n" % e) ``` @@ -17160,11 +17249,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID for the service to customer match to be deleted | + **v1_extranets_b2b_peering_producer_post_request** | [**V1ExtranetsB2bPeeringProducerPostRequest**](V1ExtranetsB2bPeeringProducerPostRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md) +[**V1ExtranetsB2bPeeringProducerPostResponse**](V1ExtranetsB2bPeeringProducerPostResponse.md) ### Authorization @@ -17172,7 +17261,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -17183,10 +17272,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_match_service_to_customer_id_get** -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse v1_extranets_b2b_peering_match_service_to_customer_id_get(authorization, id, customer_id) +# **v1_extranets_b2b_post** +> V1ExtranetsB2bPostResponse v1_extranets_b2b_post(authorization, v1_extranets_b2b_post_request) -Get details for a service to customer subscription +Create a new B2B extranet producer ### Example @@ -17194,7 +17283,8 @@ Get details for a service to customer subscription ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse +from graphiant_sdk.models.v1_extranets_b2b_post_request import V1ExtranetsB2bPostRequest +from graphiant_sdk.models.v1_extranets_b2b_post_response import V1ExtranetsB2bPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17220,15 +17310,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | Service id for which match details are requested - customer_id = 1234567891011 # int | Customer id + v1_extranets_b2b_post_request = graphiant_sdk.V1ExtranetsB2bPostRequest() # V1ExtranetsB2bPostRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_get(authorization, id, customer_id) - print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_get:\n") + api_response = api_instance.v1_extranets_b2b_post(authorization, v1_extranets_b2b_post_request) + print("The response of DefaultApi->v1_extranets_b2b_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_post: %s\n" % e) ``` @@ -17239,12 +17328,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Service id for which match details are requested | - **customer_id** | **int**| Customer id | + **v1_extranets_b2b_post_request** | [**V1ExtranetsB2bPostRequest**](V1ExtranetsB2bPostRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse.md) +[**V1ExtranetsB2bPostResponse**](V1ExtranetsB2bPostResponse.md) ### Authorization @@ -17252,7 +17340,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -17263,10 +17351,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_match_service_to_customer_post** -> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse v1_extranets_b2b_peering_match_service_to_customer_post(authorization, v1_extranets_b2b_peering_match_service_to_customer_post_request) +# **v1_extranets_b2b_producer_device_status_id_get** +> V1ExtranetsB2bProducerDeviceStatusIdGetResponse v1_extranets_b2b_producer_device_status_id_get(authorization, id) -Create B2B extranet configuration for matching a service to a customer +Get B2B extranet producer status ### Example @@ -17274,8 +17362,7 @@ Create B2B extranet configuration for matching a service to a customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse +from graphiant_sdk.models.v1_extranets_b2b_producer_device_status_id_get_response import V1ExtranetsB2bProducerDeviceStatusIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17301,14 +17388,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_peering_match_service_to_customer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest() # V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_post(authorization, v1_extranets_b2b_peering_match_service_to_customer_post_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_post:\n") + api_response = api_instance.v1_extranets_b2b_producer_device_status_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_b2b_producer_device_status_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_producer_device_status_id_get: %s\n" % e) ``` @@ -17319,11 +17406,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_peering_match_service_to_customer_post_request** | [**V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest**](V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse.md) +[**V1ExtranetsB2bProducerDeviceStatusIdGetResponse**](V1ExtranetsB2bProducerDeviceStatusIdGetResponse.md) ### Authorization @@ -17331,7 +17418,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -17342,10 +17429,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_match_service_to_customer_service_status_put** -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse v1_extranets_b2b_peering_match_service_to_customer_service_status_put(authorization, v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request) +# **v1_extranets_b2b_producers_summary_get** +> V1ExtranetsB2bProducersSummaryGetResponse v1_extranets_b2b_producers_summary_get(authorization) -Pause B2B match service to customer +Get B2B extranet producers summary ### Example @@ -17353,8 +17440,7 @@ Pause B2B match service to customer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse +from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_response import V1ExtranetsB2bProducersSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17380,14 +17466,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request = graphiant_sdk.V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest() # V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_service_status_put(authorization, v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_service_status_put:\n") + api_response = api_instance.v1_extranets_b2b_producers_summary_get(authorization) + print("The response of DefaultApi->v1_extranets_b2b_producers_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_service_to_customer_service_status_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_b2b_producers_summary_get: %s\n" % e) ``` @@ -17398,11 +17483,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request** | [**V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest**](V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse.md) +[**V1ExtranetsB2bProducersSummaryGetResponse**](V1ExtranetsB2bProducersSummaryGetResponse.md) ### Authorization @@ -17410,7 +17494,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -17421,10 +17505,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_match_services_summary_id_get** -> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) - -Get B2B extranet services matching customers summary +# **v1_extranets_get** +> V1ExtranetsGetResponse v1_extranets_get(authorization) ### Example @@ -17432,7 +17514,7 @@ Get B2B extranet services matching customers summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_match_services_summary_id_get_response import V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse +from graphiant_sdk.models.v1_extranets_get_response import V1ExtranetsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17458,14 +17540,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the customer try: - api_response = api_instance.v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_match_services_summary_id_get:\n") + api_response = api_instance.v1_extranets_get(authorization) + print("The response of DefaultApi->v1_extranets_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_match_services_summary_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_get: %s\n" % e) ``` @@ -17476,11 +17557,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the customer | ### Return type -[**V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse**](V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse.md) +[**V1ExtranetsGetResponse**](V1ExtranetsGetResponse.md) ### Authorization @@ -17499,10 +17579,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_producer_id_get** -> V1ExtranetsB2bPeeringProducerIdGetResponse v1_extranets_b2b_peering_producer_id_get(authorization, id) - -Get B2B extranet peering service producer +# **v1_extranets_id_apply_post** +> V1ExtranetsIdApplyPostResponse v1_extranets_id_apply_post(authorization, id, v1_extranets_id_apply_post_request) ### Example @@ -17510,7 +17588,8 @@ Get B2B extranet peering service producer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_get_response import V1ExtranetsB2bPeeringProducerIdGetResponse +from graphiant_sdk.models.v1_extranets_id_apply_post_request import V1ExtranetsIdApplyPostRequest +from graphiant_sdk.models.v1_extranets_id_apply_post_response import V1ExtranetsIdApplyPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17536,14 +17615,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the service + id = 1234567891011 # int | + v1_extranets_id_apply_post_request = graphiant_sdk.V1ExtranetsIdApplyPostRequest() # V1ExtranetsIdApplyPostRequest | try: - api_response = api_instance.v1_extranets_b2b_peering_producer_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_producer_id_get:\n") + api_response = api_instance.v1_extranets_id_apply_post(authorization, id, v1_extranets_id_apply_post_request) + print("The response of DefaultApi->v1_extranets_id_apply_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_id_apply_post: %s\n" % e) ``` @@ -17554,11 +17634,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the service | + **id** | **int**| | + **v1_extranets_id_apply_post_request** | [**V1ExtranetsIdApplyPostRequest**](V1ExtranetsIdApplyPostRequest.md)| | ### Return type -[**V1ExtranetsB2bPeeringProducerIdGetResponse**](V1ExtranetsB2bPeeringProducerIdGetResponse.md) +[**V1ExtranetsIdApplyPostResponse**](V1ExtranetsIdApplyPostResponse.md) ### Authorization @@ -17566,21 +17647,19 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**202** | Accepted | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_producer_id_matching_customers_summary_get** -> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) - -Get B2B extranet customers summary +# **v1_extranets_id_delete** +> V1ExtranetsIdDeleteResponse v1_extranets_id_delete(authorization, id) ### Example @@ -17588,7 +17667,7 @@ Get B2B extranet customers summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_response import V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse +from graphiant_sdk.models.v1_extranets_id_delete_response import V1ExtranetsIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17614,14 +17693,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | ID of the customer + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_peering_producer_id_matching_customers_summary_get:\n") + api_response = api_instance.v1_extranets_id_delete(authorization, id) + print("The response of DefaultApi->v1_extranets_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_id_matching_customers_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_id_delete: %s\n" % e) ``` @@ -17632,11 +17711,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| ID of the customer | + **id** | **int**| | ### Return type -[**V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse**](V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse.md) +[**V1ExtranetsIdDeleteResponse**](V1ExtranetsIdDeleteResponse.md) ### Authorization @@ -17655,10 +17734,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_peering_producer_post** -> V1ExtranetsB2bPeeringProducerPostResponse v1_extranets_b2b_peering_producer_post(authorization, v1_extranets_b2b_peering_producer_post_request) - -Create a new B2B extranet peering service producer +# **v1_extranets_id_get** +> V1ExtranetsIdGetResponse v1_extranets_id_get(authorization, id) ### Example @@ -17666,8 +17743,7 @@ Create a new B2B extranet peering service producer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_peering_producer_post_request import V1ExtranetsB2bPeeringProducerPostRequest -from graphiant_sdk.models.v1_extranets_b2b_peering_producer_post_response import V1ExtranetsB2bPeeringProducerPostResponse +from graphiant_sdk.models.v1_extranets_id_get_response import V1ExtranetsIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17693,14 +17769,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_peering_producer_post_request = graphiant_sdk.V1ExtranetsB2bPeeringProducerPostRequest() # V1ExtranetsB2bPeeringProducerPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_peering_producer_post(authorization, v1_extranets_b2b_peering_producer_post_request) - print("The response of DefaultApi->v1_extranets_b2b_peering_producer_post:\n") + api_response = api_instance.v1_extranets_id_get(authorization, id) + print("The response of DefaultApi->v1_extranets_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_peering_producer_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_id_get: %s\n" % e) ``` @@ -17711,11 +17787,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_peering_producer_post_request** | [**V1ExtranetsB2bPeeringProducerPostRequest**](V1ExtranetsB2bPeeringProducerPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetsB2bPeeringProducerPostResponse**](V1ExtranetsB2bPeeringProducerPostResponse.md) +[**V1ExtranetsIdGetResponse**](V1ExtranetsIdGetResponse.md) ### Authorization @@ -17723,7 +17799,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -17734,10 +17810,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_post** -> V1ExtranetsB2bPostResponse v1_extranets_b2b_post(authorization, v1_extranets_b2b_post_request) - -Create a new B2B extranet producer +# **v1_extranets_id_put** +> V1ExtranetsIdPutResponse v1_extranets_id_put(authorization, id, v1_extranets_id_put_request) ### Example @@ -17745,8 +17819,8 @@ Create a new B2B extranet producer ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_post_request import V1ExtranetsB2bPostRequest -from graphiant_sdk.models.v1_extranets_b2b_post_response import V1ExtranetsB2bPostResponse +from graphiant_sdk.models.v1_extranets_id_put_request import V1ExtranetsIdPutRequest +from graphiant_sdk.models.v1_extranets_id_put_response import V1ExtranetsIdPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17772,14 +17846,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_b2b_post_request = graphiant_sdk.V1ExtranetsB2bPostRequest() # V1ExtranetsB2bPostRequest | + id = 1234567891011 # int | + v1_extranets_id_put_request = graphiant_sdk.V1ExtranetsIdPutRequest() # V1ExtranetsIdPutRequest | try: - api_response = api_instance.v1_extranets_b2b_post(authorization, v1_extranets_b2b_post_request) - print("The response of DefaultApi->v1_extranets_b2b_post:\n") + api_response = api_instance.v1_extranets_id_put(authorization, id, v1_extranets_id_put_request) + print("The response of DefaultApi->v1_extranets_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_id_put: %s\n" % e) ``` @@ -17790,11 +17865,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_b2b_post_request** | [**V1ExtranetsB2bPostRequest**](V1ExtranetsB2bPostRequest.md)| | + **id** | **int**| | + **v1_extranets_id_put_request** | [**V1ExtranetsIdPutRequest**](V1ExtranetsIdPutRequest.md)| | ### Return type -[**V1ExtranetsB2bPostResponse**](V1ExtranetsB2bPostResponse.md) +[**V1ExtranetsIdPutResponse**](V1ExtranetsIdPutResponse.md) ### Authorization @@ -17813,10 +17889,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_producer_device_status_id_get** -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse v1_extranets_b2b_producer_device_status_id_get(authorization, id) - -Get B2B extranet producer status +# **v1_extranets_id_status_get** +> V1ExtranetsIdStatusGetResponse v1_extranets_id_status_get(authorization, id) ### Example @@ -17824,7 +17898,7 @@ Get B2B extranet producer status ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_producer_device_status_id_get_response import V1ExtranetsB2bProducerDeviceStatusIdGetResponse +from graphiant_sdk.models.v1_extranets_id_status_get_response import V1ExtranetsIdStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17853,11 +17927,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_b2b_producer_device_status_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_b2b_producer_device_status_id_get:\n") + api_response = api_instance.v1_extranets_id_status_get(authorization, id) + print("The response of DefaultApi->v1_extranets_id_status_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_producer_device_status_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_id_status_get: %s\n" % e) ``` @@ -17872,7 +17946,7 @@ Name | Type | Description | Notes ### Return type -[**V1ExtranetsB2bProducerDeviceStatusIdGetResponse**](V1ExtranetsB2bProducerDeviceStatusIdGetResponse.md) +[**V1ExtranetsIdStatusGetResponse**](V1ExtranetsIdStatusGetResponse.md) ### Authorization @@ -17891,10 +17965,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_b2b_producers_summary_get** -> V1ExtranetsB2bProducersSummaryGetResponse v1_extranets_b2b_producers_summary_get(authorization) - -Get B2B extranet producers summary +# **v1_extranets_monitoring_lan_segments_get** +> V1ExtranetsMonitoringLanSegmentsGetResponse v1_extranets_monitoring_lan_segments_get(authorization, id=id, is_provider=is_provider) ### Example @@ -17902,7 +17974,7 @@ Get B2B extranet producers summary ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_response import V1ExtranetsB2bProducersSummaryGetResponse +from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response import V1ExtranetsMonitoringLanSegmentsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -17928,13 +18000,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 800 # int | Extranet Service Id (optional) + is_provider = true # bool | (optional) try: - api_response = api_instance.v1_extranets_b2b_producers_summary_get(authorization) - print("The response of DefaultApi->v1_extranets_b2b_producers_summary_get:\n") + api_response = api_instance.v1_extranets_monitoring_lan_segments_get(authorization, id=id, is_provider=is_provider) + print("The response of DefaultApi->v1_extranets_monitoring_lan_segments_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_b2b_producers_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_monitoring_lan_segments_get: %s\n" % e) ``` @@ -17945,10 +18019,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Extranet Service Id | [optional] + **is_provider** | **bool**| | [optional] ### Return type -[**V1ExtranetsB2bProducersSummaryGetResponse**](V1ExtranetsB2bProducersSummaryGetResponse.md) +[**V1ExtranetsMonitoringLanSegmentsGetResponse**](V1ExtranetsMonitoringLanSegmentsGetResponse.md) ### Authorization @@ -17967,8 +18043,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_get** -> V1ExtranetsGetResponse v1_extranets_get(authorization) +# **v1_extranets_monitoring_nat_usage_get** +> V1ExtranetsMonitoringNatUsageGetResponse v1_extranets_monitoring_nat_usage_get(authorization, id) ### Example @@ -17976,7 +18052,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_get_response import V1ExtranetsGetResponse +from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response import V1ExtranetsMonitoringNatUsageGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18002,13 +18078,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 800 # int | Extranet Service Id try: - api_response = api_instance.v1_extranets_get(authorization) - print("The response of DefaultApi->v1_extranets_get:\n") + api_response = api_instance.v1_extranets_monitoring_nat_usage_get(authorization, id) + print("The response of DefaultApi->v1_extranets_monitoring_nat_usage_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_monitoring_nat_usage_get: %s\n" % e) ``` @@ -18019,10 +18096,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Extranet Service Id | ### Return type -[**V1ExtranetsGetResponse**](V1ExtranetsGetResponse.md) +[**V1ExtranetsMonitoringNatUsageGetResponse**](V1ExtranetsMonitoringNatUsageGetResponse.md) ### Authorization @@ -18041,87 +18119,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_id_apply_post** -> V1ExtranetsIdApplyPostResponse v1_extranets_id_apply_post(authorization, id, v1_extranets_id_apply_post_request) - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_extranets_id_apply_post_request import V1ExtranetsIdApplyPostRequest -from graphiant_sdk.models.v1_extranets_id_apply_post_response import V1ExtranetsIdApplyPostResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | - v1_extranets_id_apply_post_request = graphiant_sdk.V1ExtranetsIdApplyPostRequest() # V1ExtranetsIdApplyPostRequest | - - try: - api_response = api_instance.v1_extranets_id_apply_post(authorization, id, v1_extranets_id_apply_post_request) - print("The response of DefaultApi->v1_extranets_id_apply_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_id_apply_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | - **v1_extranets_id_apply_post_request** | [**V1ExtranetsIdApplyPostRequest**](V1ExtranetsIdApplyPostRequest.md)| | - -### Return type - -[**V1ExtranetsIdApplyPostResponse**](V1ExtranetsIdApplyPostResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | Accepted | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **v1_extranets_monitoring_traffic_security_policy_post** +> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse v1_extranets_monitoring_traffic_security_policy_post(authorization, v1_extranets_monitoring_traffic_security_policy_post_request) -# **v1_extranets_id_delete** -> V1ExtranetsIdDeleteResponse v1_extranets_id_delete(authorization, id) +Get lists of traffic and security policies ### Example @@ -18129,7 +18130,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_id_delete_response import V1ExtranetsIdDeleteResponse +from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_request import V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest +from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_response import V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18155,14 +18157,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_extranets_monitoring_traffic_security_policy_post_request = graphiant_sdk.V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest() # V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest | try: - api_response = api_instance.v1_extranets_id_delete(authorization, id) - print("The response of DefaultApi->v1_extranets_id_delete:\n") + api_response = api_instance.v1_extranets_monitoring_traffic_security_policy_post(authorization, v1_extranets_monitoring_traffic_security_policy_post_request) + print("The response of DefaultApi->v1_extranets_monitoring_traffic_security_policy_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_monitoring_traffic_security_policy_post: %s\n" % e) ``` @@ -18173,11 +18175,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_extranets_monitoring_traffic_security_policy_post_request** | [**V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest**](V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest.md)| | ### Return type -[**V1ExtranetsIdDeleteResponse**](V1ExtranetsIdDeleteResponse.md) +[**V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse**](V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse.md) ### Authorization @@ -18185,7 +18187,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -18196,8 +18198,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_id_get** -> V1ExtranetsIdGetResponse v1_extranets_id_get(authorization, id) +# **v1_extranets_post** +> V1ExtranetsPostResponse v1_extranets_post(authorization, v1_extranets_post_request) ### Example @@ -18205,7 +18207,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_id_get_response import V1ExtranetsIdGetResponse +from graphiant_sdk.models.v1_extranets_post_request import V1ExtranetsPostRequest +from graphiant_sdk.models.v1_extranets_post_response import V1ExtranetsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18231,14 +18234,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_extranets_post_request = graphiant_sdk.V1ExtranetsPostRequest() # V1ExtranetsPostRequest | try: - api_response = api_instance.v1_extranets_id_get(authorization, id) - print("The response of DefaultApi->v1_extranets_id_get:\n") + api_response = api_instance.v1_extranets_post(authorization, v1_extranets_post_request) + print("The response of DefaultApi->v1_extranets_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_post: %s\n" % e) ``` @@ -18249,11 +18252,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_extranets_post_request** | [**V1ExtranetsPostRequest**](V1ExtranetsPostRequest.md)| | ### Return type -[**V1ExtranetsIdGetResponse**](V1ExtranetsIdGetResponse.md) +[**V1ExtranetsPostResponse**](V1ExtranetsPostResponse.md) ### Authorization @@ -18261,7 +18264,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -18272,8 +18275,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_id_put** -> V1ExtranetsIdPutResponse v1_extranets_id_put(authorization, id, v1_extranets_id_put_request) +# **v1_extranets_resolve_policy_target_post** +> V1ExtranetsResolvePolicyTargetPostResponse v1_extranets_resolve_policy_target_post(authorization, v1_extranets_resolve_policy_target_post_request) ### Example @@ -18281,8 +18284,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_id_put_request import V1ExtranetsIdPutRequest -from graphiant_sdk.models.v1_extranets_id_put_response import V1ExtranetsIdPutResponse +from graphiant_sdk.models.v1_extranets_resolve_policy_target_post_request import V1ExtranetsResolvePolicyTargetPostRequest +from graphiant_sdk.models.v1_extranets_resolve_policy_target_post_response import V1ExtranetsResolvePolicyTargetPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18308,15 +18311,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | - v1_extranets_id_put_request = graphiant_sdk.V1ExtranetsIdPutRequest() # V1ExtranetsIdPutRequest | + v1_extranets_resolve_policy_target_post_request = graphiant_sdk.V1ExtranetsResolvePolicyTargetPostRequest() # V1ExtranetsResolvePolicyTargetPostRequest | try: - api_response = api_instance.v1_extranets_id_put(authorization, id, v1_extranets_id_put_request) - print("The response of DefaultApi->v1_extranets_id_put:\n") + api_response = api_instance.v1_extranets_resolve_policy_target_post(authorization, v1_extranets_resolve_policy_target_post_request) + print("The response of DefaultApi->v1_extranets_resolve_policy_target_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_resolve_policy_target_post: %s\n" % e) ``` @@ -18327,12 +18329,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | - **v1_extranets_id_put_request** | [**V1ExtranetsIdPutRequest**](V1ExtranetsIdPutRequest.md)| | + **v1_extranets_resolve_policy_target_post_request** | [**V1ExtranetsResolvePolicyTargetPostRequest**](V1ExtranetsResolvePolicyTargetPostRequest.md)| | ### Return type -[**V1ExtranetsIdPutResponse**](V1ExtranetsIdPutResponse.md) +[**V1ExtranetsResolvePolicyTargetPostResponse**](V1ExtranetsResolvePolicyTargetPostResponse.md) ### Authorization @@ -18351,8 +18352,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_id_status_get** -> V1ExtranetsIdStatusGetResponse v1_extranets_id_status_get(authorization, id) +# **v1_extranets_source_segments_post** +> V1ExtranetsSourceSegmentsPostResponse v1_extranets_source_segments_post(authorization, v1_extranets_source_segments_post_request) ### Example @@ -18360,7 +18361,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_id_status_get_response import V1ExtranetsIdStatusGetResponse +from graphiant_sdk.models.v1_extranets_source_segments_post_request import V1ExtranetsSourceSegmentsPostRequest +from graphiant_sdk.models.v1_extranets_source_segments_post_response import V1ExtranetsSourceSegmentsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18386,14 +18388,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_extranets_source_segments_post_request = graphiant_sdk.V1ExtranetsSourceSegmentsPostRequest() # V1ExtranetsSourceSegmentsPostRequest | try: - api_response = api_instance.v1_extranets_id_status_get(authorization, id) - print("The response of DefaultApi->v1_extranets_id_status_get:\n") + api_response = api_instance.v1_extranets_source_segments_post(authorization, v1_extranets_source_segments_post_request) + print("The response of DefaultApi->v1_extranets_source_segments_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_id_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_extranets_source_segments_post: %s\n" % e) ``` @@ -18404,11 +18406,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_extranets_source_segments_post_request** | [**V1ExtranetsSourceSegmentsPostRequest**](V1ExtranetsSourceSegmentsPostRequest.md)| | ### Return type -[**V1ExtranetsIdStatusGetResponse**](V1ExtranetsIdStatusGetResponse.md) +[**V1ExtranetsSourceSegmentsPostResponse**](V1ExtranetsSourceSegmentsPostResponse.md) ### Authorization @@ -18416,7 +18418,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -18427,8 +18429,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_monitoring_lan_segments_get** -> V1ExtranetsMonitoringLanSegmentsGetResponse v1_extranets_monitoring_lan_segments_get(authorization, id=id, is_provider=is_provider) +# **v1_flows_flow_table_post** +> V1FlowsFlowTablePostResponse v1_flows_flow_table_post(authorization, v1_flows_flow_table_post_request) + +Get flow table for the app on the device ### Example @@ -18436,7 +18440,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response import V1ExtranetsMonitoringLanSegmentsGetResponse +from graphiant_sdk.models.v1_flows_flow_table_post_request import V1FlowsFlowTablePostRequest +from graphiant_sdk.models.v1_flows_flow_table_post_response import V1FlowsFlowTablePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18462,15 +18467,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 800 # int | Extranet Service Id (optional) - is_provider = true # bool | (optional) + v1_flows_flow_table_post_request = graphiant_sdk.V1FlowsFlowTablePostRequest() # V1FlowsFlowTablePostRequest | try: - api_response = api_instance.v1_extranets_monitoring_lan_segments_get(authorization, id=id, is_provider=is_provider) - print("The response of DefaultApi->v1_extranets_monitoring_lan_segments_get:\n") + api_response = api_instance.v1_flows_flow_table_post(authorization, v1_flows_flow_table_post_request) + print("The response of DefaultApi->v1_flows_flow_table_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_monitoring_lan_segments_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_flows_flow_table_post: %s\n" % e) ``` @@ -18481,12 +18485,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Extranet Service Id | [optional] - **is_provider** | **bool**| | [optional] + **v1_flows_flow_table_post_request** | [**V1FlowsFlowTablePostRequest**](V1FlowsFlowTablePostRequest.md)| | ### Return type -[**V1ExtranetsMonitoringLanSegmentsGetResponse**](V1ExtranetsMonitoringLanSegmentsGetResponse.md) +[**V1FlowsFlowTablePostResponse**](V1FlowsFlowTablePostResponse.md) ### Authorization @@ -18494,7 +18497,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -18505,8 +18508,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_monitoring_nat_usage_get** -> V1ExtranetsMonitoringNatUsageGetResponse v1_extranets_monitoring_nat_usage_get(authorization, id) +# **v1_flows_topology_post** +> V1FlowsTopologyPostResponse v1_flows_topology_post(authorization, v1_flows_topology_post_request) + +Get flow based node and circuit topology for the device ### Example @@ -18514,7 +18519,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response import V1ExtranetsMonitoringNatUsageGetResponse +from graphiant_sdk.models.v1_flows_topology_post_request import V1FlowsTopologyPostRequest +from graphiant_sdk.models.v1_flows_topology_post_response import V1FlowsTopologyPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18540,14 +18546,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 800 # int | Extranet Service Id + v1_flows_topology_post_request = graphiant_sdk.V1FlowsTopologyPostRequest() # V1FlowsTopologyPostRequest | try: - api_response = api_instance.v1_extranets_monitoring_nat_usage_get(authorization, id) - print("The response of DefaultApi->v1_extranets_monitoring_nat_usage_get:\n") + api_response = api_instance.v1_flows_topology_post(authorization, v1_flows_topology_post_request) + print("The response of DefaultApi->v1_flows_topology_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_monitoring_nat_usage_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_flows_topology_post: %s\n" % e) ``` @@ -18558,11 +18564,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Extranet Service Id | + **v1_flows_topology_post_request** | [**V1FlowsTopologyPostRequest**](V1FlowsTopologyPostRequest.md)| | ### Return type -[**V1ExtranetsMonitoringNatUsageGetResponse**](V1ExtranetsMonitoringNatUsageGetResponse.md) +[**V1FlowsTopologyPostResponse**](V1FlowsTopologyPostResponse.md) ### Authorization @@ -18570,7 +18576,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -18581,10 +18587,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_monitoring_traffic_security_policy_post** -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse v1_extranets_monitoring_traffic_security_policy_post(authorization, v1_extranets_monitoring_traffic_security_policy_post_request) - -Get lists of traffic and security policies +# **v1_gateways_delete** +> object v1_gateways_delete(authorization, id=id) ### Example @@ -18592,8 +18596,6 @@ Get lists of traffic and security policies ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_request import V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest -from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_response import V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18619,14 +18621,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_monitoring_traffic_security_policy_post_request = graphiant_sdk.V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest() # V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest | + id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_extranets_monitoring_traffic_security_policy_post(authorization, v1_extranets_monitoring_traffic_security_policy_post_request) - print("The response of DefaultApi->v1_extranets_monitoring_traffic_security_policy_post:\n") + api_response = api_instance.v1_gateways_delete(authorization, id=id) + print("The response of DefaultApi->v1_gateways_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_monitoring_traffic_security_policy_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_delete: %s\n" % e) ``` @@ -18637,11 +18639,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_monitoring_traffic_security_policy_post_request** | [**V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest**](V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest.md)| | + **id** | **int**| | [optional] ### Return type -[**V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse**](V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse.md) +**object** ### Authorization @@ -18649,7 +18651,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -18660,8 +18662,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_post** -> V1ExtranetsPostResponse v1_extranets_post(authorization, v1_extranets_post_request) +# **v1_gateways_guest_consumer_match_id_get** +> V1GatewaysGuestConsumerMatchIdGetResponse v1_gateways_guest_consumer_match_id_get(authorization, match_id, email=email) + +Get Site to Site VPN information for a non-Graphiant guest consumer by their email ### Example @@ -18669,8 +18673,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_post_request import V1ExtranetsPostRequest -from graphiant_sdk.models.v1_extranets_post_response import V1ExtranetsPostResponse +from graphiant_sdk.models.v1_gateways_guest_consumer_match_id_get_response import V1GatewaysGuestConsumerMatchIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18696,14 +18699,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_post_request = graphiant_sdk.V1ExtranetsPostRequest() # V1ExtranetsPostRequest | + match_id = 1234567891011 # int | + email = 'example string' # str | (optional) try: - api_response = api_instance.v1_extranets_post(authorization, v1_extranets_post_request) - print("The response of DefaultApi->v1_extranets_post:\n") + api_response = api_instance.v1_gateways_guest_consumer_match_id_get(authorization, match_id, email=email) + print("The response of DefaultApi->v1_gateways_guest_consumer_match_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_guest_consumer_match_id_get: %s\n" % e) ``` @@ -18714,11 +18718,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_post_request** | [**V1ExtranetsPostRequest**](V1ExtranetsPostRequest.md)| | + **match_id** | **int**| | + **email** | **str**| | [optional] ### Return type -[**V1ExtranetsPostResponse**](V1ExtranetsPostResponse.md) +[**V1GatewaysGuestConsumerMatchIdGetResponse**](V1GatewaysGuestConsumerMatchIdGetResponse.md) ### Authorization @@ -18726,7 +18731,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -18737,8 +18742,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_resolve_policy_target_post** -> V1ExtranetsResolvePolicyTargetPostResponse v1_extranets_resolve_policy_target_post(authorization, v1_extranets_resolve_policy_target_post_request) +# **v1_gateways_id_details_get** +> V1GatewaysIdDetailsGetResponse v1_gateways_id_details_get(authorization, id) ### Example @@ -18746,8 +18751,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_resolve_policy_target_post_request import V1ExtranetsResolvePolicyTargetPostRequest -from graphiant_sdk.models.v1_extranets_resolve_policy_target_post_response import V1ExtranetsResolvePolicyTargetPostResponse +from graphiant_sdk.models.v1_gateways_id_details_get_response import V1GatewaysIdDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18773,14 +18777,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_resolve_policy_target_post_request = graphiant_sdk.V1ExtranetsResolvePolicyTargetPostRequest() # V1ExtranetsResolvePolicyTargetPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_extranets_resolve_policy_target_post(authorization, v1_extranets_resolve_policy_target_post_request) - print("The response of DefaultApi->v1_extranets_resolve_policy_target_post:\n") + api_response = api_instance.v1_gateways_id_details_get(authorization, id) + print("The response of DefaultApi->v1_gateways_id_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_resolve_policy_target_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_id_details_get: %s\n" % e) ``` @@ -18791,11 +18795,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_resolve_policy_target_post_request** | [**V1ExtranetsResolvePolicyTargetPostRequest**](V1ExtranetsResolvePolicyTargetPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1ExtranetsResolvePolicyTargetPostResponse**](V1ExtranetsResolvePolicyTargetPostResponse.md) +[**V1GatewaysIdDetailsGetResponse**](V1GatewaysIdDetailsGetResponse.md) ### Authorization @@ -18803,7 +18807,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -18814,8 +18818,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_extranets_source_segments_post** -> V1ExtranetsSourceSegmentsPostResponse v1_extranets_source_segments_post(authorization, v1_extranets_source_segments_post_request) +# **v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get** +> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get(authorization, region_id, vrf_id, address_family=address_family) + +Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway ### Example @@ -18823,8 +18829,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_extranets_source_segments_post_request import V1ExtranetsSourceSegmentsPostRequest -from graphiant_sdk.models.v1_extranets_source_segments_post_response import V1ExtranetsSourceSegmentsPostResponse +from graphiant_sdk.models.v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_response import V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18850,14 +18855,16 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_extranets_source_segments_post_request = graphiant_sdk.V1ExtranetsSourceSegmentsPostRequest() # V1ExtranetsSourceSegmentsPostRequest | + region_id = 123 # int | + vrf_id = 1234567891011 # int | + address_family = 'example string' # str | (optional) try: - api_response = api_instance.v1_extranets_source_segments_post(authorization, v1_extranets_source_segments_post_request) - print("The response of DefaultApi->v1_extranets_source_segments_post:\n") + api_response = api_instance.v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get(authorization, region_id, vrf_id, address_family=address_family) + print("The response of DefaultApi->v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_extranets_source_segments_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get: %s\n" % e) ``` @@ -18868,11 +18875,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_extranets_source_segments_post_request** | [**V1ExtranetsSourceSegmentsPostRequest**](V1ExtranetsSourceSegmentsPostRequest.md)| | + **region_id** | **int**| | + **vrf_id** | **int**| | + **address_family** | **str**| | [optional] ### Return type -[**V1ExtranetsSourceSegmentsPostResponse**](V1ExtranetsSourceSegmentsPostResponse.md) +[**V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse**](V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse.md) ### Authorization @@ -18880,7 +18889,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -18891,10 +18900,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_flows_flow_table_post** -> V1FlowsFlowTablePostResponse v1_flows_flow_table_post(authorization, v1_flows_flow_table_post_request) - -Get flow table for the app on the device +# **v1_gateways_post** +> V1GatewaysPostResponse v1_gateways_post(authorization, v1_gateways_post_request) ### Example @@ -18902,8 +18909,8 @@ Get flow table for the app on the device ```python import graphiant_sdk -from graphiant_sdk.models.v1_flows_flow_table_post_request import V1FlowsFlowTablePostRequest -from graphiant_sdk.models.v1_flows_flow_table_post_response import V1FlowsFlowTablePostResponse +from graphiant_sdk.models.v1_gateways_post_request import V1GatewaysPostRequest +from graphiant_sdk.models.v1_gateways_post_response import V1GatewaysPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18929,14 +18936,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_flows_flow_table_post_request = graphiant_sdk.V1FlowsFlowTablePostRequest() # V1FlowsFlowTablePostRequest | + v1_gateways_post_request = graphiant_sdk.V1GatewaysPostRequest() # V1GatewaysPostRequest | try: - api_response = api_instance.v1_flows_flow_table_post(authorization, v1_flows_flow_table_post_request) - print("The response of DefaultApi->v1_flows_flow_table_post:\n") + api_response = api_instance.v1_gateways_post(authorization, v1_gateways_post_request) + print("The response of DefaultApi->v1_gateways_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_flows_flow_table_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_post: %s\n" % e) ``` @@ -18947,11 +18954,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_flows_flow_table_post_request** | [**V1FlowsFlowTablePostRequest**](V1FlowsFlowTablePostRequest.md)| | + **v1_gateways_post_request** | [**V1GatewaysPostRequest**](V1GatewaysPostRequest.md)| | ### Return type -[**V1FlowsFlowTablePostResponse**](V1FlowsFlowTablePostResponse.md) +[**V1GatewaysPostResponse**](V1GatewaysPostResponse.md) ### Authorization @@ -18970,10 +18977,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_flows_topology_post** -> V1FlowsTopologyPostResponse v1_flows_topology_post(authorization, v1_flows_topology_post_request) - -Get flow based node and circuit topology for the device +# **v1_gateways_put** +> object v1_gateways_put(authorization, v1_gateways_put_request) ### Example @@ -18981,8 +18986,7 @@ Get flow based node and circuit topology for the device ```python import graphiant_sdk -from graphiant_sdk.models.v1_flows_topology_post_request import V1FlowsTopologyPostRequest -from graphiant_sdk.models.v1_flows_topology_post_response import V1FlowsTopologyPostResponse +from graphiant_sdk.models.v1_gateways_put_request import V1GatewaysPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19008,14 +19012,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_flows_topology_post_request = graphiant_sdk.V1FlowsTopologyPostRequest() # V1FlowsTopologyPostRequest | + v1_gateways_put_request = graphiant_sdk.V1GatewaysPutRequest() # V1GatewaysPutRequest | try: - api_response = api_instance.v1_flows_topology_post(authorization, v1_flows_topology_post_request) - print("The response of DefaultApi->v1_flows_topology_post:\n") + api_response = api_instance.v1_gateways_put(authorization, v1_gateways_put_request) + print("The response of DefaultApi->v1_gateways_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_flows_topology_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_put: %s\n" % e) ``` @@ -19026,11 +19030,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_flows_topology_post_request** | [**V1FlowsTopologyPostRequest**](V1FlowsTopologyPostRequest.md)| | + **v1_gateways_put_request** | [**V1GatewaysPutRequest**](V1GatewaysPutRequest.md)| | ### Return type -[**V1FlowsTopologyPostResponse**](V1FlowsTopologyPostResponse.md) +**object** ### Authorization @@ -19049,8 +19053,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_delete** -> object v1_gateways_delete(authorization, id=id) +# **v1_gateways_reference_consumer_get** +> V1GatewaysReferenceConsumerGetResponse v1_gateways_reference_consumer_get(authorization) + +Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region ### Example @@ -19058,6 +19064,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v1_gateways_reference_consumer_get_response import V1GatewaysReferenceConsumerGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19083,14 +19090,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_gateways_delete(authorization, id=id) - print("The response of DefaultApi->v1_gateways_delete:\n") + api_response = api_instance.v1_gateways_reference_consumer_get(authorization) + print("The response of DefaultApi->v1_gateways_reference_consumer_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_reference_consumer_get: %s\n" % e) ``` @@ -19101,11 +19107,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | [optional] ### Return type -**object** +[**V1GatewaysReferenceConsumerGetResponse**](V1GatewaysReferenceConsumerGetResponse.md) ### Authorization @@ -19124,10 +19129,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_guest_consumer_match_id_get** -> V1GatewaysGuestConsumerMatchIdGetResponse v1_gateways_guest_consumer_match_id_get(authorization, match_id, email=email) - -Get Site to Site VPN information for a non-Graphiant guest consumer by their email +# **v1_gateways_regions_get** +> V1GatewaysRegionsGetResponse v1_gateways_regions_get(authorization) ### Example @@ -19135,7 +19138,7 @@ Get Site to Site VPN information for a non-Graphiant guest consumer by their ema ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_guest_consumer_match_id_get_response import V1GatewaysGuestConsumerMatchIdGetResponse +from graphiant_sdk.models.v1_gateways_regions_get_response import V1GatewaysRegionsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19161,15 +19164,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - match_id = 1234567891011 # int | - email = 'example string' # str | (optional) try: - api_response = api_instance.v1_gateways_guest_consumer_match_id_get(authorization, match_id, email=email) - print("The response of DefaultApi->v1_gateways_guest_consumer_match_id_get:\n") + api_response = api_instance.v1_gateways_regions_get(authorization) + print("The response of DefaultApi->v1_gateways_regions_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_guest_consumer_match_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_regions_get: %s\n" % e) ``` @@ -19180,12 +19181,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **match_id** | **int**| | - **email** | **str**| | [optional] ### Return type -[**V1GatewaysGuestConsumerMatchIdGetResponse**](V1GatewaysGuestConsumerMatchIdGetResponse.md) +[**V1GatewaysRegionsGetResponse**](V1GatewaysRegionsGetResponse.md) ### Authorization @@ -19204,8 +19203,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_id_details_get** -> V1GatewaysIdDetailsGetResponse v1_gateways_id_details_get(authorization, id) +# **v1_gateways_status_post** +> object v1_gateways_status_post(authorization, v1_gateways_status_post_request) ### Example @@ -19213,7 +19212,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_id_details_get_response import V1GatewaysIdDetailsGetResponse +from graphiant_sdk.models.v1_gateways_status_post_request import V1GatewaysStatusPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19239,14 +19238,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_gateways_status_post_request = graphiant_sdk.V1GatewaysStatusPostRequest() # V1GatewaysStatusPostRequest | try: - api_response = api_instance.v1_gateways_id_details_get(authorization, id) - print("The response of DefaultApi->v1_gateways_id_details_get:\n") + api_response = api_instance.v1_gateways_status_post(authorization, v1_gateways_status_post_request) + print("The response of DefaultApi->v1_gateways_status_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_id_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_status_post: %s\n" % e) ``` @@ -19257,11 +19256,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_gateways_status_post_request** | [**V1GatewaysStatusPostRequest**](V1GatewaysStatusPostRequest.md)| | ### Return type -[**V1GatewaysIdDetailsGetResponse**](V1GatewaysIdDetailsGetResponse.md) +**object** ### Authorization @@ -19269,7 +19268,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -19280,10 +19279,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get** -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get(authorization, region_id, vrf_id, address_family=address_family) - -Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway +# **v1_gateways_summary_get** +> V1GatewaysSummaryGetResponse v1_gateways_summary_get(authorization) ### Example @@ -19291,7 +19288,7 @@ Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_response import V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse +from graphiant_sdk.models.v1_gateways_summary_get_response import V1GatewaysSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19317,16 +19314,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - region_id = 123 # int | - vrf_id = 1234567891011 # int | - address_family = 'example string' # str | (optional) try: - api_response = api_instance.v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get(authorization, region_id, vrf_id, address_family=address_family) - print("The response of DefaultApi->v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get:\n") + api_response = api_instance.v1_gateways_summary_get(authorization) + print("The response of DefaultApi->v1_gateways_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_gateways_summary_get: %s\n" % e) ``` @@ -19337,13 +19331,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **region_id** | **int**| | - **vrf_id** | **int**| | - **address_family** | **str**| | [optional] ### Return type -[**V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse**](V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse.md) +[**V1GatewaysSummaryGetResponse**](V1GatewaysSummaryGetResponse.md) ### Authorization @@ -19362,8 +19353,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_post** -> V1GatewaysPostResponse v1_gateways_post(authorization, v1_gateways_post_request) +# **v1_global_apps_app_list_options_get** +> V1GlobalAppsAppListOptionsGetResponse v1_global_apps_app_list_options_get(authorization) + +Gets all apps and categories assignable to an app list for the the current enterprise ### Example @@ -19371,8 +19364,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_post_request import V1GatewaysPostRequest -from graphiant_sdk.models.v1_gateways_post_response import V1GatewaysPostResponse +from graphiant_sdk.models.v1_global_apps_app_list_options_get_response import V1GlobalAppsAppListOptionsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19398,14 +19390,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_gateways_post_request = graphiant_sdk.V1GatewaysPostRequest() # V1GatewaysPostRequest | try: - api_response = api_instance.v1_gateways_post(authorization, v1_gateways_post_request) - print("The response of DefaultApi->v1_gateways_post:\n") + api_response = api_instance.v1_global_apps_app_list_options_get(authorization) + print("The response of DefaultApi->v1_global_apps_app_list_options_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_list_options_get: %s\n" % e) ``` @@ -19416,11 +19407,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_gateways_post_request** | [**V1GatewaysPostRequest**](V1GatewaysPostRequest.md)| | ### Return type -[**V1GatewaysPostResponse**](V1GatewaysPostResponse.md) +[**V1GlobalAppsAppListOptionsGetResponse**](V1GlobalAppsAppListOptionsGetResponse.md) ### Authorization @@ -19428,7 +19418,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -19439,8 +19429,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_put** -> object v1_gateways_put(authorization, v1_gateways_put_request) +# **v1_global_apps_app_lists_app_list_id_delete** +> object v1_global_apps_app_lists_app_list_id_delete(authorization, app_list_id) + +Delete an app list under the current enterprise ### Example @@ -19448,7 +19440,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_put_request import V1GatewaysPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19474,14 +19465,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_gateways_put_request = graphiant_sdk.V1GatewaysPutRequest() # V1GatewaysPutRequest | + app_list_id = 1234567891011 # int | try: - api_response = api_instance.v1_gateways_put(authorization, v1_gateways_put_request) - print("The response of DefaultApi->v1_gateways_put:\n") + api_response = api_instance.v1_global_apps_app_lists_app_list_id_delete(authorization, app_list_id) + print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_delete: %s\n" % e) ``` @@ -19492,7 +19483,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_gateways_put_request** | [**V1GatewaysPutRequest**](V1GatewaysPutRequest.md)| | + **app_list_id** | **int**| | ### Return type @@ -19504,7 +19495,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -19515,10 +19506,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_reference_consumer_get** -> V1GatewaysReferenceConsumerGetResponse v1_gateways_reference_consumer_get(authorization) +# **v1_global_apps_app_lists_app_list_id_details_apps_get** +> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse v1_global_apps_app_lists_app_list_id_details_apps_get(authorization, app_list_id) -Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region +Get all apps that are members of the provided app list ### Example @@ -19526,7 +19517,7 @@ Get the priorly-configured IPSec gateway details for a customer, lan segment, re ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_reference_consumer_get_response import V1GatewaysReferenceConsumerGetResponse +from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_details_apps_get_response import V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19552,13 +19543,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + app_list_id = 1234567891011 # int | try: - api_response = api_instance.v1_gateways_reference_consumer_get(authorization) - print("The response of DefaultApi->v1_gateways_reference_consumer_get:\n") + api_response = api_instance.v1_global_apps_app_lists_app_list_id_details_apps_get(authorization, app_list_id) + print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_details_apps_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_reference_consumer_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_details_apps_get: %s\n" % e) ``` @@ -19569,10 +19561,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **app_list_id** | **int**| | ### Return type -[**V1GatewaysReferenceConsumerGetResponse**](V1GatewaysReferenceConsumerGetResponse.md) +[**V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse**](V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse.md) ### Authorization @@ -19591,8 +19584,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_regions_get** -> V1GatewaysRegionsGetResponse v1_gateways_regions_get(authorization) +# **v1_global_apps_app_lists_app_list_id_get** +> V1GlobalAppsAppListsAppListIdGetResponse v1_global_apps_app_lists_app_list_id_get(authorization, app_list_id) + +Get the configuration for an app list under the current enterprise ### Example @@ -19600,7 +19595,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_regions_get_response import V1GatewaysRegionsGetResponse +from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_get_response import V1GlobalAppsAppListsAppListIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19626,13 +19621,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + app_list_id = 1234567891011 # int | try: - api_response = api_instance.v1_gateways_regions_get(authorization) - print("The response of DefaultApi->v1_gateways_regions_get:\n") + api_response = api_instance.v1_global_apps_app_lists_app_list_id_get(authorization, app_list_id) + print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_regions_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_get: %s\n" % e) ``` @@ -19643,10 +19639,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **app_list_id** | **int**| | ### Return type -[**V1GatewaysRegionsGetResponse**](V1GatewaysRegionsGetResponse.md) +[**V1GlobalAppsAppListsAppListIdGetResponse**](V1GlobalAppsAppListsAppListIdGetResponse.md) ### Authorization @@ -19665,8 +19662,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_status_post** -> object v1_gateways_status_post(authorization, v1_gateways_status_post_request) +# **v1_global_apps_app_lists_app_list_id_put** +> object v1_global_apps_app_lists_app_list_id_put(authorization, app_list_id, v1_global_apps_app_lists_app_list_id_put_request) + +Overwrite the configuration for an app list under the current enterprise ### Example @@ -19674,7 +19673,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_gateways_status_post_request import V1GatewaysStatusPostRequest +from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_put_request import V1GlobalAppsAppListsAppListIdPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19700,14 +19699,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_gateways_status_post_request = graphiant_sdk.V1GatewaysStatusPostRequest() # V1GatewaysStatusPostRequest | + app_list_id = 1234567891011 # int | + v1_global_apps_app_lists_app_list_id_put_request = graphiant_sdk.V1GlobalAppsAppListsAppListIdPutRequest() # V1GlobalAppsAppListsAppListIdPutRequest | try: - api_response = api_instance.v1_gateways_status_post(authorization, v1_gateways_status_post_request) - print("The response of DefaultApi->v1_gateways_status_post:\n") + api_response = api_instance.v1_global_apps_app_lists_app_list_id_put(authorization, app_list_id, v1_global_apps_app_lists_app_list_id_put_request) + print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_status_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_put: %s\n" % e) ``` @@ -19718,7 +19718,8 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_gateways_status_post_request** | [**V1GatewaysStatusPostRequest**](V1GatewaysStatusPostRequest.md)| | + **app_list_id** | **int**| | + **v1_global_apps_app_lists_app_list_id_put_request** | [**V1GlobalAppsAppListsAppListIdPutRequest**](V1GlobalAppsAppListsAppListIdPutRequest.md)| | ### Return type @@ -19741,84 +19742,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_gateways_summary_get** -> V1GatewaysSummaryGetResponse v1_gateways_summary_get(authorization) - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_gateways_summary_get_response import V1GatewaysSummaryGetResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - - try: - api_response = api_instance.v1_gateways_summary_get(authorization) - print("The response of DefaultApi->v1_gateways_summary_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v1_gateways_summary_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - -### Return type - -[**V1GatewaysSummaryGetResponse**](V1GatewaysSummaryGetResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_global_apps_app_list_options_get** -> V1GlobalAppsAppListOptionsGetResponse v1_global_apps_app_list_options_get(authorization) +# **v1_global_apps_app_lists_get** +> V1GlobalAppsAppListsGetResponse v1_global_apps_app_lists_get(authorization) -Gets all apps and categories assignable to an app list for the the current enterprise +Get all app lists for the current enterprise ### Example @@ -19826,7 +19753,7 @@ Gets all apps and categories assignable to an app list for the the current enter ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_list_options_get_response import V1GlobalAppsAppListOptionsGetResponse +from graphiant_sdk.models.v1_global_apps_app_lists_get_response import V1GlobalAppsAppListsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19854,11 +19781,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_global_apps_app_list_options_get(authorization) - print("The response of DefaultApi->v1_global_apps_app_list_options_get:\n") + api_response = api_instance.v1_global_apps_app_lists_get(authorization) + print("The response of DefaultApi->v1_global_apps_app_lists_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_list_options_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_get: %s\n" % e) ``` @@ -19872,7 +19799,7 @@ Name | Type | Description | Notes ### Return type -[**V1GlobalAppsAppListOptionsGetResponse**](V1GlobalAppsAppListOptionsGetResponse.md) +[**V1GlobalAppsAppListsGetResponse**](V1GlobalAppsAppListsGetResponse.md) ### Authorization @@ -19891,10 +19818,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_app_list_id_delete** -> object v1_global_apps_app_lists_app_list_id_delete(authorization, app_list_id) +# **v1_global_apps_app_lists_post** +> V1GlobalAppsAppListsPostResponse v1_global_apps_app_lists_post(authorization, v1_global_apps_app_lists_post_request) -Delete an app list under the current enterprise +Create an app list under the current enterprise ### Example @@ -19902,6 +19829,8 @@ Delete an app list under the current enterprise ```python import graphiant_sdk +from graphiant_sdk.models.v1_global_apps_app_lists_post_request import V1GlobalAppsAppListsPostRequest +from graphiant_sdk.models.v1_global_apps_app_lists_post_response import V1GlobalAppsAppListsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -19927,14 +19856,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_list_id = 1234567891011 # int | + v1_global_apps_app_lists_post_request = graphiant_sdk.V1GlobalAppsAppListsPostRequest() # V1GlobalAppsAppListsPostRequest | try: - api_response = api_instance.v1_global_apps_app_lists_app_list_id_delete(authorization, app_list_id) - print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_delete:\n") + api_response = api_instance.v1_global_apps_app_lists_post(authorization, v1_global_apps_app_lists_post_request) + print("The response of DefaultApi->v1_global_apps_app_lists_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_app_lists_post: %s\n" % e) ``` @@ -19945,11 +19874,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_list_id** | **int**| | + **v1_global_apps_app_lists_post_request** | [**V1GlobalAppsAppListsPostRequest**](V1GlobalAppsAppListsPostRequest.md)| | ### Return type -**object** +[**V1GlobalAppsAppListsPostResponse**](V1GlobalAppsAppListsPostResponse.md) ### Authorization @@ -19957,7 +19886,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -19968,10 +19897,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_app_list_id_details_apps_get** -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse v1_global_apps_app_lists_app_list_id_details_apps_get(authorization, app_list_id) +# **v1_global_apps_categories_category_id_apps_get** +> V1GlobalAppsCategoriesCategoryIdAppsGetResponse v1_global_apps_categories_category_id_apps_get(authorization, category_id) -Get all apps that are members of the provided app list +Get all Graphiant apps in an app category ### Example @@ -19979,7 +19908,7 @@ Get all apps that are members of the provided app list ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_details_apps_get_response import V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse +from graphiant_sdk.models.v1_global_apps_categories_category_id_apps_get_response import V1GlobalAppsCategoriesCategoryIdAppsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20005,14 +19934,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_list_id = 1234567891011 # int | + category_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_app_lists_app_list_id_details_apps_get(authorization, app_list_id) - print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_details_apps_get:\n") + api_response = api_instance.v1_global_apps_categories_category_id_apps_get(authorization, category_id) + print("The response of DefaultApi->v1_global_apps_categories_category_id_apps_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_details_apps_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_categories_category_id_apps_get: %s\n" % e) ``` @@ -20023,11 +19952,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_list_id** | **int**| | + **category_id** | **int**| | ### Return type -[**V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse**](V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse.md) +[**V1GlobalAppsCategoriesCategoryIdAppsGetResponse**](V1GlobalAppsCategoriesCategoryIdAppsGetResponse.md) ### Authorization @@ -20046,10 +19975,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_app_list_id_get** -> V1GlobalAppsAppListsAppListIdGetResponse v1_global_apps_app_lists_app_list_id_get(authorization, app_list_id) +# **v1_global_apps_categories_get** +> V1GlobalAppsCategoriesGetResponse v1_global_apps_categories_get(authorization) -Get the configuration for an app list under the current enterprise +Get all app categories holding Graphiant apps ### Example @@ -20057,7 +19986,7 @@ Get the configuration for an app list under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_get_response import V1GlobalAppsAppListsAppListIdGetResponse +from graphiant_sdk.models.v1_global_apps_categories_get_response import V1GlobalAppsCategoriesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20083,14 +20012,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_list_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_app_lists_app_list_id_get(authorization, app_list_id) - print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_get:\n") + api_response = api_instance.v1_global_apps_categories_get(authorization) + print("The response of DefaultApi->v1_global_apps_categories_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_categories_get: %s\n" % e) ``` @@ -20101,11 +20029,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_list_id** | **int**| | ### Return type -[**V1GlobalAppsAppListsAppListIdGetResponse**](V1GlobalAppsAppListsAppListIdGetResponse.md) +[**V1GlobalAppsCategoriesGetResponse**](V1GlobalAppsCategoriesGetResponse.md) ### Authorization @@ -20124,10 +20051,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_app_list_id_put** -> object v1_global_apps_app_lists_app_list_id_put(authorization, app_list_id, v1_global_apps_app_lists_app_list_id_put_request) +# **v1_global_apps_custom_app_id_delete** +> object v1_global_apps_custom_app_id_delete(authorization, app_id) -Overwrite the configuration for an app list under the current enterprise +Delete a global app under the current enterprise ### Example @@ -20135,7 +20062,6 @@ Overwrite the configuration for an app list under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_lists_app_list_id_put_request import V1GlobalAppsAppListsAppListIdPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20161,15 +20087,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_list_id = 1234567891011 # int | - v1_global_apps_app_lists_app_list_id_put_request = graphiant_sdk.V1GlobalAppsAppListsAppListIdPutRequest() # V1GlobalAppsAppListsAppListIdPutRequest | + app_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_app_lists_app_list_id_put(authorization, app_list_id, v1_global_apps_app_lists_app_list_id_put_request) - print("The response of DefaultApi->v1_global_apps_app_lists_app_list_id_put:\n") + api_response = api_instance.v1_global_apps_custom_app_id_delete(authorization, app_id) + print("The response of DefaultApi->v1_global_apps_custom_app_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_app_list_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_delete: %s\n" % e) ``` @@ -20180,8 +20105,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_list_id** | **int**| | - **v1_global_apps_app_lists_app_list_id_put_request** | [**V1GlobalAppsAppListsAppListIdPutRequest**](V1GlobalAppsAppListsAppListIdPutRequest.md)| | + **app_id** | **int**| | ### Return type @@ -20193,7 +20117,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -20204,10 +20128,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_get** -> V1GlobalAppsAppListsGetResponse v1_global_apps_app_lists_get(authorization) +# **v1_global_apps_custom_app_id_details_app_lists_get** +> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse v1_global_apps_custom_app_id_details_app_lists_get(authorization, app_id) -Get all app lists for the current enterprise +Get all app lists that contain the relevant global app ### Example @@ -20215,7 +20139,7 @@ Get all app lists for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_lists_get_response import V1GlobalAppsAppListsGetResponse +from graphiant_sdk.models.v1_global_apps_custom_app_id_details_app_lists_get_response import V1GlobalAppsCustomAppIdDetailsAppListsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20241,13 +20165,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + app_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_app_lists_get(authorization) - print("The response of DefaultApi->v1_global_apps_app_lists_get:\n") + api_response = api_instance.v1_global_apps_custom_app_id_details_app_lists_get(authorization, app_id) + print("The response of DefaultApi->v1_global_apps_custom_app_id_details_app_lists_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_details_app_lists_get: %s\n" % e) ``` @@ -20258,10 +20183,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **app_id** | **int**| | ### Return type -[**V1GlobalAppsAppListsGetResponse**](V1GlobalAppsAppListsGetResponse.md) +[**V1GlobalAppsCustomAppIdDetailsAppListsGetResponse**](V1GlobalAppsCustomAppIdDetailsAppListsGetResponse.md) ### Authorization @@ -20280,10 +20206,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_app_lists_post** -> V1GlobalAppsAppListsPostResponse v1_global_apps_app_lists_post(authorization, v1_global_apps_app_lists_post_request) +# **v1_global_apps_custom_app_id_get** +> V1GlobalAppsCustomAppIdGetResponse v1_global_apps_custom_app_id_get(authorization, app_id) -Create an app list under the current enterprise +Get the configuration for a global app under the current enterprise ### Example @@ -20291,8 +20217,7 @@ Create an app list under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_app_lists_post_request import V1GlobalAppsAppListsPostRequest -from graphiant_sdk.models.v1_global_apps_app_lists_post_response import V1GlobalAppsAppListsPostResponse +from graphiant_sdk.models.v1_global_apps_custom_app_id_get_response import V1GlobalAppsCustomAppIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20318,92 +20243,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_apps_app_lists_post_request = graphiant_sdk.V1GlobalAppsAppListsPostRequest() # V1GlobalAppsAppListsPostRequest | - - try: - api_response = api_instance.v1_global_apps_app_lists_post(authorization, v1_global_apps_app_lists_post_request) - print("The response of DefaultApi->v1_global_apps_app_lists_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_app_lists_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_apps_app_lists_post_request** | [**V1GlobalAppsAppListsPostRequest**](V1GlobalAppsAppListsPostRequest.md)| | - -### Return type - -[**V1GlobalAppsAppListsPostResponse**](V1GlobalAppsAppListsPostResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_global_apps_categories_category_id_apps_get** -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse v1_global_apps_categories_category_id_apps_get(authorization, category_id) - -Get all Graphiant apps in an app category - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_categories_category_id_apps_get_response import V1GlobalAppsCategoriesCategoryIdAppsGetResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - category_id = 1234567891011 # int | + app_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_categories_category_id_apps_get(authorization, category_id) - print("The response of DefaultApi->v1_global_apps_categories_category_id_apps_get:\n") + api_response = api_instance.v1_global_apps_custom_app_id_get(authorization, app_id) + print("The response of DefaultApi->v1_global_apps_custom_app_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_categories_category_id_apps_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_get: %s\n" % e) ``` @@ -20414,11 +20261,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **category_id** | **int**| | + **app_id** | **int**| | ### Return type -[**V1GlobalAppsCategoriesCategoryIdAppsGetResponse**](V1GlobalAppsCategoriesCategoryIdAppsGetResponse.md) +[**V1GlobalAppsCustomAppIdGetResponse**](V1GlobalAppsCustomAppIdGetResponse.md) ### Authorization @@ -20437,10 +20284,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_categories_get** -> V1GlobalAppsCategoriesGetResponse v1_global_apps_categories_get(authorization) +# **v1_global_apps_custom_app_id_put** +> object v1_global_apps_custom_app_id_put(authorization, app_id, v1_global_apps_custom_app_id_put_request) -Get all app categories holding Graphiant apps +Overwrite the configuration for a global app under the current enterprise ### Example @@ -20448,7 +20295,7 @@ Get all app categories holding Graphiant apps ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_categories_get_response import V1GlobalAppsCategoriesGetResponse +from graphiant_sdk.models.v1_global_apps_custom_app_id_put_request import V1GlobalAppsCustomAppIdPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20474,13 +20321,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + app_id = 1234567891011 # int | + v1_global_apps_custom_app_id_put_request = graphiant_sdk.V1GlobalAppsCustomAppIdPutRequest() # V1GlobalAppsCustomAppIdPutRequest | try: - api_response = api_instance.v1_global_apps_categories_get(authorization) - print("The response of DefaultApi->v1_global_apps_categories_get:\n") + api_response = api_instance.v1_global_apps_custom_app_id_put(authorization, app_id, v1_global_apps_custom_app_id_put_request) + print("The response of DefaultApi->v1_global_apps_custom_app_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_categories_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_put: %s\n" % e) ``` @@ -20491,10 +20340,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **app_id** | **int**| | + **v1_global_apps_custom_app_id_put_request** | [**V1GlobalAppsCustomAppIdPutRequest**](V1GlobalAppsCustomAppIdPutRequest.md)| | ### Return type -[**V1GlobalAppsCategoriesGetResponse**](V1GlobalAppsCategoriesGetResponse.md) +**object** ### Authorization @@ -20502,7 +20353,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -20513,10 +20364,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_app_id_delete** -> object v1_global_apps_custom_app_id_delete(authorization, app_id) +# **v1_global_apps_custom_get** +> V1GlobalAppsCustomGetResponse v1_global_apps_custom_get(authorization) -Delete a global app under the current enterprise +Get all global apps mapped by the current enterprise ### Example @@ -20524,6 +20375,7 @@ Delete a global app under the current enterprise ```python import graphiant_sdk +from graphiant_sdk.models.v1_global_apps_custom_get_response import V1GlobalAppsCustomGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20549,14 +20401,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_custom_app_id_delete(authorization, app_id) - print("The response of DefaultApi->v1_global_apps_custom_app_id_delete:\n") + api_response = api_instance.v1_global_apps_custom_get(authorization) + print("The response of DefaultApi->v1_global_apps_custom_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_get: %s\n" % e) ``` @@ -20567,11 +20418,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_id** | **int**| | ### Return type -**object** +[**V1GlobalAppsCustomGetResponse**](V1GlobalAppsCustomGetResponse.md) ### Authorization @@ -20590,10 +20440,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_app_id_details_app_lists_get** -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse v1_global_apps_custom_app_id_details_app_lists_get(authorization, app_id) +# **v1_global_apps_custom_post** +> V1GlobalAppsCustomPostResponse v1_global_apps_custom_post(authorization, v1_global_apps_custom_post_request) -Get all app lists that contain the relevant global app +Create a new global app under the current enterprise ### Example @@ -20601,7 +20451,8 @@ Get all app lists that contain the relevant global app ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_custom_app_id_details_app_lists_get_response import V1GlobalAppsCustomAppIdDetailsAppListsGetResponse +from graphiant_sdk.models.v1_global_apps_custom_post_request import V1GlobalAppsCustomPostRequest +from graphiant_sdk.models.v1_global_apps_custom_post_response import V1GlobalAppsCustomPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20627,14 +20478,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_id = 1234567891011 # int | + v1_global_apps_custom_post_request = graphiant_sdk.V1GlobalAppsCustomPostRequest() # V1GlobalAppsCustomPostRequest | try: - api_response = api_instance.v1_global_apps_custom_app_id_details_app_lists_get(authorization, app_id) - print("The response of DefaultApi->v1_global_apps_custom_app_id_details_app_lists_get:\n") + api_response = api_instance.v1_global_apps_custom_post(authorization, v1_global_apps_custom_post_request) + print("The response of DefaultApi->v1_global_apps_custom_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_details_app_lists_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_custom_post: %s\n" % e) ``` @@ -20645,11 +20496,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_id** | **int**| | + **v1_global_apps_custom_post_request** | [**V1GlobalAppsCustomPostRequest**](V1GlobalAppsCustomPostRequest.md)| | ### Return type -[**V1GlobalAppsCustomAppIdDetailsAppListsGetResponse**](V1GlobalAppsCustomAppIdDetailsAppListsGetResponse.md) +[**V1GlobalAppsCustomPostResponse**](V1GlobalAppsCustomPostResponse.md) ### Authorization @@ -20657,7 +20508,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -20668,10 +20519,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_app_id_get** -> V1GlobalAppsCustomAppIdGetResponse v1_global_apps_custom_app_id_get(authorization, app_id) +# **v1_global_apps_graphiant_get** +> V1GlobalAppsGraphiantGetResponse v1_global_apps_graphiant_get(authorization) -Get the configuration for a global app under the current enterprise +Get all apps mapped by Graphiant ### Example @@ -20679,7 +20530,7 @@ Get the configuration for a global app under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_custom_app_id_get_response import V1GlobalAppsCustomAppIdGetResponse +from graphiant_sdk.models.v1_global_apps_graphiant_get_response import V1GlobalAppsGraphiantGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20705,14 +20556,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_apps_custom_app_id_get(authorization, app_id) - print("The response of DefaultApi->v1_global_apps_custom_app_id_get:\n") + api_response = api_instance.v1_global_apps_graphiant_get(authorization) + print("The response of DefaultApi->v1_global_apps_graphiant_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_apps_graphiant_get: %s\n" % e) ``` @@ -20723,11 +20573,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_id** | **int**| | ### Return type -[**V1GlobalAppsCustomAppIdGetResponse**](V1GlobalAppsCustomAppIdGetResponse.md) +[**V1GlobalAppsGraphiantGetResponse**](V1GlobalAppsGraphiantGetResponse.md) ### Authorization @@ -20746,10 +20595,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_app_id_put** -> object v1_global_apps_custom_app_id_put(authorization, app_id, v1_global_apps_custom_app_id_put_request) +# **v1_global_attached_edges_post** +> V1GlobalAttachedEdgesPostResponse v1_global_attached_edges_post(authorization, v1_global_attached_edges_post_request) -Overwrite the configuration for a global app under the current enterprise +Returns attached edges for global object ### Example @@ -20757,7 +20606,8 @@ Overwrite the configuration for a global app under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_custom_app_id_put_request import V1GlobalAppsCustomAppIdPutRequest +from graphiant_sdk.models.v1_global_attached_edges_post_request import V1GlobalAttachedEdgesPostRequest +from graphiant_sdk.models.v1_global_attached_edges_post_response import V1GlobalAttachedEdgesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20783,15 +20633,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - app_id = 1234567891011 # int | - v1_global_apps_custom_app_id_put_request = graphiant_sdk.V1GlobalAppsCustomAppIdPutRequest() # V1GlobalAppsCustomAppIdPutRequest | + v1_global_attached_edges_post_request = graphiant_sdk.V1GlobalAttachedEdgesPostRequest() # V1GlobalAttachedEdgesPostRequest | try: - api_response = api_instance.v1_global_apps_custom_app_id_put(authorization, app_id, v1_global_apps_custom_app_id_put_request) - print("The response of DefaultApi->v1_global_apps_custom_app_id_put:\n") + api_response = api_instance.v1_global_attached_edges_post(authorization, v1_global_attached_edges_post_request) + print("The response of DefaultApi->v1_global_attached_edges_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_app_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_attached_edges_post: %s\n" % e) ``` @@ -20802,12 +20651,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **app_id** | **int**| | - **v1_global_apps_custom_app_id_put_request** | [**V1GlobalAppsCustomAppIdPutRequest**](V1GlobalAppsCustomAppIdPutRequest.md)| | + **v1_global_attached_edges_post_request** | [**V1GlobalAttachedEdgesPostRequest**](V1GlobalAttachedEdgesPostRequest.md)| | ### Return type -**object** +[**V1GlobalAttachedEdgesPostResponse**](V1GlobalAttachedEdgesPostResponse.md) ### Authorization @@ -20826,10 +20674,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_get** -> V1GlobalAppsCustomGetResponse v1_global_apps_custom_get(authorization) +# **v1_global_config_patch** +> V1GlobalConfigPatchResponse v1_global_config_patch(authorization, v1_global_config_patch_request) -Get all global apps mapped by the current enterprise +Update global objects for an enterprise ### Example @@ -20837,7 +20685,8 @@ Get all global apps mapped by the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_custom_get_response import V1GlobalAppsCustomGetResponse +from graphiant_sdk.models.v1_global_config_patch_request import V1GlobalConfigPatchRequest +from graphiant_sdk.models.v1_global_config_patch_response import V1GlobalConfigPatchResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20863,13 +20712,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_global_config_patch_request = graphiant_sdk.V1GlobalConfigPatchRequest() # V1GlobalConfigPatchRequest | try: - api_response = api_instance.v1_global_apps_custom_get(authorization) - print("The response of DefaultApi->v1_global_apps_custom_get:\n") + api_response = api_instance.v1_global_config_patch(authorization, v1_global_config_patch_request) + print("The response of DefaultApi->v1_global_config_patch:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_config_patch: %s\n" % e) ``` @@ -20880,10 +20730,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_global_config_patch_request** | [**V1GlobalConfigPatchRequest**](V1GlobalConfigPatchRequest.md)| | ### Return type -[**V1GlobalAppsCustomGetResponse**](V1GlobalAppsCustomGetResponse.md) +[**V1GlobalConfigPatchResponse**](V1GlobalConfigPatchResponse.md) ### Authorization @@ -20891,7 +20742,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -20902,10 +20753,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_custom_post** -> V1GlobalAppsCustomPostResponse v1_global_apps_custom_post(authorization, v1_global_apps_custom_post_request) +# **v1_global_content_filters_get** +> V1GlobalContentFiltersGetResponse v1_global_content_filters_get(authorization) -Create a new global app under the current enterprise +Get basic details for all content filter under the current enterprise ### Example @@ -20913,8 +20764,7 @@ Create a new global app under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_custom_post_request import V1GlobalAppsCustomPostRequest -from graphiant_sdk.models.v1_global_apps_custom_post_response import V1GlobalAppsCustomPostResponse +from graphiant_sdk.models.v1_global_content_filters_get_response import V1GlobalContentFiltersGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -20940,14 +20790,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_apps_custom_post_request = graphiant_sdk.V1GlobalAppsCustomPostRequest() # V1GlobalAppsCustomPostRequest | try: - api_response = api_instance.v1_global_apps_custom_post(authorization, v1_global_apps_custom_post_request) - print("The response of DefaultApi->v1_global_apps_custom_post:\n") + api_response = api_instance.v1_global_content_filters_get(authorization) + print("The response of DefaultApi->v1_global_content_filters_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_custom_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_content_filters_get: %s\n" % e) ``` @@ -20958,11 +20807,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_apps_custom_post_request** | [**V1GlobalAppsCustomPostRequest**](V1GlobalAppsCustomPostRequest.md)| | ### Return type -[**V1GlobalAppsCustomPostResponse**](V1GlobalAppsCustomPostResponse.md) +[**V1GlobalContentFiltersGetResponse**](V1GlobalContentFiltersGetResponse.md) ### Authorization @@ -20970,7 +20818,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -20981,10 +20829,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_apps_graphiant_get** -> V1GlobalAppsGraphiantGetResponse v1_global_apps_graphiant_get(authorization) +# **v1_global_content_filters_global_content_filter_id_delete** +> object v1_global_content_filters_global_content_filter_id_delete(authorization, global_content_filter_id) -Get all apps mapped by Graphiant +Delete a content filter under the current enterprise ### Example @@ -20992,7 +20840,6 @@ Get all apps mapped by Graphiant ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_apps_graphiant_get_response import V1GlobalAppsGraphiantGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21018,13 +20865,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + global_content_filter_id = 1234567891011 # int | ID of the global content filter to remove. try: - api_response = api_instance.v1_global_apps_graphiant_get(authorization) - print("The response of DefaultApi->v1_global_apps_graphiant_get:\n") + api_response = api_instance.v1_global_content_filters_global_content_filter_id_delete(authorization, global_content_filter_id) + print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_apps_graphiant_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_delete: %s\n" % e) ``` @@ -21035,10 +20883,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **global_content_filter_id** | **int**| ID of the global content filter to remove. | ### Return type -[**V1GlobalAppsGraphiantGetResponse**](V1GlobalAppsGraphiantGetResponse.md) +**object** ### Authorization @@ -21057,10 +20906,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_attached_edges_post** -> V1GlobalAttachedEdgesPostResponse v1_global_attached_edges_post(authorization, v1_global_attached_edges_post_request) +# **v1_global_content_filters_global_content_filter_id_get** +> V1GlobalContentFiltersGlobalContentFilterIdGetResponse v1_global_content_filters_global_content_filter_id_get(authorization, global_content_filter_id) -Returns attached edges for global object +Get the config for a content filter under the current enterprise ### Example @@ -21068,8 +20917,7 @@ Returns attached edges for global object ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_attached_edges_post_request import V1GlobalAttachedEdgesPostRequest -from graphiant_sdk.models.v1_global_attached_edges_post_response import V1GlobalAttachedEdgesPostResponse +from graphiant_sdk.models.v1_global_content_filters_global_content_filter_id_get_response import V1GlobalContentFiltersGlobalContentFilterIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21095,14 +20943,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_attached_edges_post_request = graphiant_sdk.V1GlobalAttachedEdgesPostRequest() # V1GlobalAttachedEdgesPostRequest | + global_content_filter_id = 1234567891011 # int | ID of the global content filter whose configuration should be returned. try: - api_response = api_instance.v1_global_attached_edges_post(authorization, v1_global_attached_edges_post_request) - print("The response of DefaultApi->v1_global_attached_edges_post:\n") + api_response = api_instance.v1_global_content_filters_global_content_filter_id_get(authorization, global_content_filter_id) + print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_attached_edges_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_get: %s\n" % e) ``` @@ -21113,11 +20961,91 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_attached_edges_post_request** | [**V1GlobalAttachedEdgesPostRequest**](V1GlobalAttachedEdgesPostRequest.md)| | + **global_content_filter_id** | **int**| ID of the global content filter whose configuration should be returned. | ### Return type -[**V1GlobalAttachedEdgesPostResponse**](V1GlobalAttachedEdgesPostResponse.md) +[**V1GlobalContentFiltersGlobalContentFilterIdGetResponse**](V1GlobalContentFiltersGlobalContentFilterIdGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_global_content_filters_global_content_filter_id_put** +> object v1_global_content_filters_global_content_filter_id_put(authorization, global_content_filter_id, v1_global_content_filters_global_content_filter_id_put_request) + +Overwrite a pre-existing content filter under the current enterprise + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_global_content_filters_global_content_filter_id_put_request import V1GlobalContentFiltersGlobalContentFilterIdPutRequest +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + global_content_filter_id = 1234567891011 # int | ID of the global content filter to replace with the supplied configuration. + v1_global_content_filters_global_content_filter_id_put_request = graphiant_sdk.V1GlobalContentFiltersGlobalContentFilterIdPutRequest() # V1GlobalContentFiltersGlobalContentFilterIdPutRequest | + + try: + api_response = api_instance.v1_global_content_filters_global_content_filter_id_put(authorization, global_content_filter_id, v1_global_content_filters_global_content_filter_id_put_request) + print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **global_content_filter_id** | **int**| ID of the global content filter to replace with the supplied configuration. | + **v1_global_content_filters_global_content_filter_id_put_request** | [**V1GlobalContentFiltersGlobalContentFilterIdPutRequest**](V1GlobalContentFiltersGlobalContentFilterIdPutRequest.md)| | + +### Return type + +**object** ### Authorization @@ -21136,10 +21064,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_config_patch** -> V1GlobalConfigPatchResponse v1_global_config_patch(authorization, v1_global_config_patch_request) +# **v1_global_content_filters_post** +> V1GlobalContentFiltersPostResponse v1_global_content_filters_post(authorization, v1_global_content_filters_post_request) -Update global objects for an enterprise +Configure a new content filter under the current enterprise ### Example @@ -21147,8 +21075,8 @@ Update global objects for an enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_config_patch_request import V1GlobalConfigPatchRequest -from graphiant_sdk.models.v1_global_config_patch_response import V1GlobalConfigPatchResponse +from graphiant_sdk.models.v1_global_content_filters_post_request import V1GlobalContentFiltersPostRequest +from graphiant_sdk.models.v1_global_content_filters_post_response import V1GlobalContentFiltersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21174,14 +21102,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_config_patch_request = graphiant_sdk.V1GlobalConfigPatchRequest() # V1GlobalConfigPatchRequest | + v1_global_content_filters_post_request = graphiant_sdk.V1GlobalContentFiltersPostRequest() # V1GlobalContentFiltersPostRequest | try: - api_response = api_instance.v1_global_config_patch(authorization, v1_global_config_patch_request) - print("The response of DefaultApi->v1_global_config_patch:\n") + api_response = api_instance.v1_global_content_filters_post(authorization, v1_global_content_filters_post_request) + print("The response of DefaultApi->v1_global_content_filters_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_config_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_content_filters_post: %s\n" % e) ``` @@ -21192,11 +21120,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_config_patch_request** | [**V1GlobalConfigPatchRequest**](V1GlobalConfigPatchRequest.md)| | + **v1_global_content_filters_post_request** | [**V1GlobalContentFiltersPostRequest**](V1GlobalContentFiltersPostRequest.md)| | ### Return type -[**V1GlobalConfigPatchResponse**](V1GlobalConfigPatchResponse.md) +[**V1GlobalContentFiltersPostResponse**](V1GlobalContentFiltersPostResponse.md) ### Authorization @@ -21215,10 +21143,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_content_filters_get** -> V1GlobalContentFiltersGetResponse v1_global_content_filters_get(authorization) +# **v1_global_device_status_get** +> V1GlobalDeviceStatusGetResponse v1_global_device_status_get(authorization, ipfix_exported_id=ipfix_exported_id, ntp_id=ntp_id, prefix_set_id=prefix_set_id, routing_policy_id=routing_policy_id, snmp_id=snmp_id, syslog_server_id=syslog_server_id, traffic_policy_id=traffic_policy_id) -Get basic details for all content filter under the current enterprise +Get status on global collector attached to devices ### Example @@ -21226,7 +21154,7 @@ Get basic details for all content filter under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_content_filters_get_response import V1GlobalContentFiltersGetResponse +from graphiant_sdk.models.v1_global_device_status_get_response import V1GlobalDeviceStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21252,13 +21180,20 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + ipfix_exported_id = 1234567891011 # int | (optional) + ntp_id = 1234567891011 # int | (optional) + prefix_set_id = 1234567891011 # int | (optional) + routing_policy_id = 1234567891011 # int | (optional) + snmp_id = 1234567891011 # int | (optional) + syslog_server_id = 1234567891011 # int | (optional) + traffic_policy_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_content_filters_get(authorization) - print("The response of DefaultApi->v1_global_content_filters_get:\n") + api_response = api_instance.v1_global_device_status_get(authorization, ipfix_exported_id=ipfix_exported_id, ntp_id=ntp_id, prefix_set_id=prefix_set_id, routing_policy_id=routing_policy_id, snmp_id=snmp_id, syslog_server_id=syslog_server_id, traffic_policy_id=traffic_policy_id) + print("The response of DefaultApi->v1_global_device_status_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_content_filters_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_device_status_get: %s\n" % e) ``` @@ -21269,10 +21204,17 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **ipfix_exported_id** | **int**| | [optional] + **ntp_id** | **int**| | [optional] + **prefix_set_id** | **int**| | [optional] + **routing_policy_id** | **int**| | [optional] + **snmp_id** | **int**| | [optional] + **syslog_server_id** | **int**| | [optional] + **traffic_policy_id** | **int**| | [optional] ### Return type -[**V1GlobalContentFiltersGetResponse**](V1GlobalContentFiltersGetResponse.md) +[**V1GlobalDeviceStatusGetResponse**](V1GlobalDeviceStatusGetResponse.md) ### Authorization @@ -21291,10 +21233,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_content_filters_global_content_filter_id_delete** -> object v1_global_content_filters_global_content_filter_id_delete(authorization, global_content_filter_id) +# **v1_global_domain_categories_get** +> V1GlobalDomainCategoriesGetResponse v1_global_domain_categories_get(authorization) -Delete a content filter under the current enterprise +Get all domain categories from the DPI engine ### Example @@ -21302,6 +21244,7 @@ Delete a content filter under the current enterprise ```python import graphiant_sdk +from graphiant_sdk.models.v1_global_domain_categories_get_response import V1GlobalDomainCategoriesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21327,14 +21270,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - global_content_filter_id = 1234567891011 # int | ID of the global content filter to remove. try: - api_response = api_instance.v1_global_content_filters_global_content_filter_id_delete(authorization, global_content_filter_id) - print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_delete:\n") + api_response = api_instance.v1_global_domain_categories_get(authorization) + print("The response of DefaultApi->v1_global_domain_categories_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_domain_categories_get: %s\n" % e) ``` @@ -21345,11 +21287,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **global_content_filter_id** | **int**| ID of the global content filter to remove. | ### Return type -**object** +[**V1GlobalDomainCategoriesGetResponse**](V1GlobalDomainCategoriesGetResponse.md) ### Authorization @@ -21368,10 +21309,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_content_filters_global_content_filter_id_get** -> V1GlobalContentFiltersGlobalContentFilterIdGetResponse v1_global_content_filters_global_content_filter_id_get(authorization, global_content_filter_id) +# **v1_global_ipfix_device_get** +> V1GlobalIpfixDeviceGetResponse v1_global_ipfix_device_get(authorization, device_id=device_id) -Get the config for a content filter under the current enterprise +Get global ipfix exporters objects that failed to attach for a device ### Example @@ -21379,7 +21320,7 @@ Get the config for a content filter under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_content_filters_global_content_filter_id_get_response import V1GlobalContentFiltersGlobalContentFilterIdGetResponse +from graphiant_sdk.models.v1_global_ipfix_device_get_response import V1GlobalIpfixDeviceGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21405,14 +21346,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - global_content_filter_id = 1234567891011 # int | ID of the global content filter whose configuration should be returned. + device_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_content_filters_global_content_filter_id_get(authorization, global_content_filter_id) - print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_get:\n") + api_response = api_instance.v1_global_ipfix_device_get(authorization, device_id=device_id) + print("The response of DefaultApi->v1_global_ipfix_device_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipfix_device_get: %s\n" % e) ``` @@ -21423,11 +21364,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **global_content_filter_id** | **int**| ID of the global content filter whose configuration should be returned. | + **device_id** | **int**| | [optional] ### Return type -[**V1GlobalContentFiltersGlobalContentFilterIdGetResponse**](V1GlobalContentFiltersGlobalContentFilterIdGetResponse.md) +[**V1GlobalIpfixDeviceGetResponse**](V1GlobalIpfixDeviceGetResponse.md) ### Authorization @@ -21446,10 +21387,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_content_filters_global_content_filter_id_put** -> object v1_global_content_filters_global_content_filter_id_put(authorization, global_content_filter_id, v1_global_content_filters_global_content_filter_id_put_request) +# **v1_global_ipfix_post** +> V1GlobalIpfixPostResponse v1_global_ipfix_post(authorization, v1_global_ipfix_post_request) -Overwrite a pre-existing content filter under the current enterprise +Get configured global ipfix exporters ### Example @@ -21457,7 +21398,8 @@ Overwrite a pre-existing content filter under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_content_filters_global_content_filter_id_put_request import V1GlobalContentFiltersGlobalContentFilterIdPutRequest +from graphiant_sdk.models.v1_global_ipfix_post_request import V1GlobalIpfixPostRequest +from graphiant_sdk.models.v1_global_ipfix_post_response import V1GlobalIpfixPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21483,15 +21425,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - global_content_filter_id = 1234567891011 # int | ID of the global content filter to replace with the supplied configuration. - v1_global_content_filters_global_content_filter_id_put_request = graphiant_sdk.V1GlobalContentFiltersGlobalContentFilterIdPutRequest() # V1GlobalContentFiltersGlobalContentFilterIdPutRequest | + v1_global_ipfix_post_request = graphiant_sdk.V1GlobalIpfixPostRequest() # V1GlobalIpfixPostRequest | try: - api_response = api_instance.v1_global_content_filters_global_content_filter_id_put(authorization, global_content_filter_id, v1_global_content_filters_global_content_filter_id_put_request) - print("The response of DefaultApi->v1_global_content_filters_global_content_filter_id_put:\n") + api_response = api_instance.v1_global_ipfix_post(authorization, v1_global_ipfix_post_request) + print("The response of DefaultApi->v1_global_ipfix_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_content_filters_global_content_filter_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipfix_post: %s\n" % e) ``` @@ -21502,12 +21443,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **global_content_filter_id** | **int**| ID of the global content filter to replace with the supplied configuration. | - **v1_global_content_filters_global_content_filter_id_put_request** | [**V1GlobalContentFiltersGlobalContentFilterIdPutRequest**](V1GlobalContentFiltersGlobalContentFilterIdPutRequest.md)| | + **v1_global_ipfix_post_request** | [**V1GlobalIpfixPostRequest**](V1GlobalIpfixPostRequest.md)| | ### Return type -**object** +[**V1GlobalIpfixPostResponse**](V1GlobalIpfixPostResponse.md) ### Authorization @@ -21526,10 +21466,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_content_filters_post** -> V1GlobalContentFiltersPostResponse v1_global_content_filters_post(authorization, v1_global_content_filters_post_request) +# **v1_global_ipfix_site_get** +> V1GlobalIpfixSiteGetResponse v1_global_ipfix_site_get(authorization, site_id=site_id) -Configure a new content filter under the current enterprise +Get configured global ipfix exporters for a site ### Example @@ -21537,8 +21477,7 @@ Configure a new content filter under the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_content_filters_post_request import V1GlobalContentFiltersPostRequest -from graphiant_sdk.models.v1_global_content_filters_post_response import V1GlobalContentFiltersPostResponse +from graphiant_sdk.models.v1_global_ipfix_site_get_response import V1GlobalIpfixSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21564,14 +21503,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_content_filters_post_request = graphiant_sdk.V1GlobalContentFiltersPostRequest() # V1GlobalContentFiltersPostRequest | + site_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_content_filters_post(authorization, v1_global_content_filters_post_request) - print("The response of DefaultApi->v1_global_content_filters_post:\n") + api_response = api_instance.v1_global_ipfix_site_get(authorization, site_id=site_id) + print("The response of DefaultApi->v1_global_ipfix_site_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_content_filters_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipfix_site_get: %s\n" % e) ``` @@ -21582,11 +21521,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_content_filters_post_request** | [**V1GlobalContentFiltersPostRequest**](V1GlobalContentFiltersPostRequest.md)| | + **site_id** | **int**| | [optional] ### Return type -[**V1GlobalContentFiltersPostResponse**](V1GlobalContentFiltersPostResponse.md) +[**V1GlobalIpfixSiteGetResponse**](V1GlobalIpfixSiteGetResponse.md) ### Authorization @@ -21594,7 +21533,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -21605,10 +21544,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_device_status_get** -> V1GlobalDeviceStatusGetResponse v1_global_device_status_get(authorization, ipfix_exported_id=ipfix_exported_id, ntp_id=ntp_id, prefix_set_id=prefix_set_id, routing_policy_id=routing_policy_id, snmp_id=snmp_id, syslog_server_id=syslog_server_id, traffic_policy_id=traffic_policy_id) +# **v1_global_ipsec_profile_get** +> V1GlobalIpsecProfileGetResponse v1_global_ipsec_profile_get(authorization) -Get status on global collector attached to devices +Get all the configured global IPsec Profiles for the current enterprise ### Example @@ -21616,7 +21555,7 @@ Get status on global collector attached to devices ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_device_status_get_response import V1GlobalDeviceStatusGetResponse +from graphiant_sdk.models.v1_global_ipsec_profile_get_response import V1GlobalIpsecProfileGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21642,20 +21581,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - ipfix_exported_id = 1234567891011 # int | (optional) - ntp_id = 1234567891011 # int | (optional) - prefix_set_id = 1234567891011 # int | (optional) - routing_policy_id = 1234567891011 # int | (optional) - snmp_id = 1234567891011 # int | (optional) - syslog_server_id = 1234567891011 # int | (optional) - traffic_policy_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_device_status_get(authorization, ipfix_exported_id=ipfix_exported_id, ntp_id=ntp_id, prefix_set_id=prefix_set_id, routing_policy_id=routing_policy_id, snmp_id=snmp_id, syslog_server_id=syslog_server_id, traffic_policy_id=traffic_policy_id) - print("The response of DefaultApi->v1_global_device_status_get:\n") + api_response = api_instance.v1_global_ipsec_profile_get(authorization) + print("The response of DefaultApi->v1_global_ipsec_profile_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_device_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipsec_profile_get: %s\n" % e) ``` @@ -21666,17 +21598,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **ipfix_exported_id** | **int**| | [optional] - **ntp_id** | **int**| | [optional] - **prefix_set_id** | **int**| | [optional] - **routing_policy_id** | **int**| | [optional] - **snmp_id** | **int**| | [optional] - **syslog_server_id** | **int**| | [optional] - **traffic_policy_id** | **int**| | [optional] ### Return type -[**V1GlobalDeviceStatusGetResponse**](V1GlobalDeviceStatusGetResponse.md) +[**V1GlobalIpsecProfileGetResponse**](V1GlobalIpsecProfileGetResponse.md) ### Authorization @@ -21695,10 +21620,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_domain_categories_get** -> V1GlobalDomainCategoriesGetResponse v1_global_domain_categories_get(authorization) +# **v1_global_ipsec_profile_id_get** +> V1GlobalIpsecProfileIdGetResponse v1_global_ipsec_profile_id_get(authorization, id) -Get all domain categories from the DPI engine +Get details of the configured global IPsec Profiles ### Example @@ -21706,7 +21631,7 @@ Get all domain categories from the DPI engine ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_domain_categories_get_response import V1GlobalDomainCategoriesGetResponse +from graphiant_sdk.models.v1_global_ipsec_profile_id_get_response import V1GlobalIpsecProfileIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21732,13 +21657,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | try: - api_response = api_instance.v1_global_domain_categories_get(authorization) - print("The response of DefaultApi->v1_global_domain_categories_get:\n") + api_response = api_instance.v1_global_ipsec_profile_id_get(authorization, id) + print("The response of DefaultApi->v1_global_ipsec_profile_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_domain_categories_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipsec_profile_id_get: %s\n" % e) ``` @@ -21749,10 +21675,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | ### Return type -[**V1GlobalDomainCategoriesGetResponse**](V1GlobalDomainCategoriesGetResponse.md) +[**V1GlobalIpsecProfileIdGetResponse**](V1GlobalIpsecProfileIdGetResponse.md) ### Authorization @@ -21771,10 +21698,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipfix_device_get** -> V1GlobalIpfixDeviceGetResponse v1_global_ipfix_device_get(authorization, device_id=device_id) +# **v1_global_ipsec_profile_vpn_profile_id_site_to_site_get** +> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse v1_global_ipsec_profile_vpn_profile_id_site_to_site_get(authorization, vpn_profile_id) -Get global ipfix exporters objects that failed to attach for a device +Get Site-to-site VPNs that are using the given global IPsec Profile ### Example @@ -21782,7 +21709,7 @@ Get global ipfix exporters objects that failed to attach for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipfix_device_get_response import V1GlobalIpfixDeviceGetResponse +from graphiant_sdk.models.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_response import V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21808,14 +21735,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | (optional) + vpn_profile_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_ipfix_device_get(authorization, device_id=device_id) - print("The response of DefaultApi->v1_global_ipfix_device_get:\n") + api_response = api_instance.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get(authorization, vpn_profile_id) + print("The response of DefaultApi->v1_global_ipsec_profile_vpn_profile_id_site_to_site_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipfix_device_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ipsec_profile_vpn_profile_id_site_to_site_get: %s\n" % e) ``` @@ -21826,11 +21753,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | [optional] + **vpn_profile_id** | **int**| | ### Return type -[**V1GlobalIpfixDeviceGetResponse**](V1GlobalIpfixDeviceGetResponse.md) +[**V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse**](V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse.md) ### Authorization @@ -21849,10 +21776,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipfix_post** -> V1GlobalIpfixPostResponse v1_global_ipfix_post(authorization, v1_global_ipfix_post_request) +# **v1_global_lan_segments_get** +> V1GlobalLanSegmentsGetResponse v1_global_lan_segments_get(authorization) -Get configured global ipfix exporters +Get a list of lan-segments under the currently logged in enterprise ### Example @@ -21860,8 +21787,7 @@ Get configured global ipfix exporters ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipfix_post_request import V1GlobalIpfixPostRequest -from graphiant_sdk.models.v1_global_ipfix_post_response import V1GlobalIpfixPostResponse +from graphiant_sdk.models.v1_global_lan_segments_get_response import V1GlobalLanSegmentsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21887,14 +21813,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_ipfix_post_request = graphiant_sdk.V1GlobalIpfixPostRequest() # V1GlobalIpfixPostRequest | try: - api_response = api_instance.v1_global_ipfix_post(authorization, v1_global_ipfix_post_request) - print("The response of DefaultApi->v1_global_ipfix_post:\n") + api_response = api_instance.v1_global_lan_segments_get(authorization) + print("The response of DefaultApi->v1_global_lan_segments_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipfix_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_lan_segments_get: %s\n" % e) ``` @@ -21905,11 +21830,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_ipfix_post_request** | [**V1GlobalIpfixPostRequest**](V1GlobalIpfixPostRequest.md)| | ### Return type -[**V1GlobalIpfixPostResponse**](V1GlobalIpfixPostResponse.md) +[**V1GlobalLanSegmentsGetResponse**](V1GlobalLanSegmentsGetResponse.md) ### Authorization @@ -21917,7 +21841,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -21928,10 +21852,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipfix_site_get** -> V1GlobalIpfixSiteGetResponse v1_global_ipfix_site_get(authorization, site_id=site_id) +# **v1_global_lan_segments_id_delete** +> v1_global_lan_segments_id_delete(authorization, id) -Get configured global ipfix exporters for a site +Delete a lan-segment ### Example @@ -21939,7 +21863,6 @@ Get configured global ipfix exporters for a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipfix_site_get_response import V1GlobalIpfixSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -21965,14 +21888,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | (optional) + id = 1234567891011 # int | try: - api_response = api_instance.v1_global_ipfix_site_get(authorization, site_id=site_id) - print("The response of DefaultApi->v1_global_ipfix_site_get:\n") - pprint(api_response) + api_instance.v1_global_lan_segments_id_delete(authorization, id) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipfix_site_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_lan_segments_id_delete: %s\n" % e) ``` @@ -21983,11 +21904,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | [optional] + **id** | **int**| | ### Return type -[**V1GlobalIpfixSiteGetResponse**](V1GlobalIpfixSiteGetResponse.md) +void (empty response body) ### Authorization @@ -21996,20 +21917,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipsec_profile_get** -> V1GlobalIpsecProfileGetResponse v1_global_ipsec_profile_get(authorization) +# **v1_global_lan_segments_post** +> V1GlobalLanSegmentsPostResponse v1_global_lan_segments_post(authorization, v1_global_lan_segments_post_request) -Get all the configured global IPsec Profiles for the current enterprise +Create a new lan-segment scoped to the enterprise ### Example @@ -22017,7 +21938,8 @@ Get all the configured global IPsec Profiles for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipsec_profile_get_response import V1GlobalIpsecProfileGetResponse +from graphiant_sdk.models.v1_global_lan_segments_post_request import V1GlobalLanSegmentsPostRequest +from graphiant_sdk.models.v1_global_lan_segments_post_response import V1GlobalLanSegmentsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22043,13 +21965,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_global_lan_segments_post_request = graphiant_sdk.V1GlobalLanSegmentsPostRequest() # V1GlobalLanSegmentsPostRequest | try: - api_response = api_instance.v1_global_ipsec_profile_get(authorization) - print("The response of DefaultApi->v1_global_ipsec_profile_get:\n") + api_response = api_instance.v1_global_lan_segments_post(authorization, v1_global_lan_segments_post_request) + print("The response of DefaultApi->v1_global_lan_segments_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipsec_profile_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_lan_segments_post: %s\n" % e) ``` @@ -22060,10 +21983,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_global_lan_segments_post_request** | [**V1GlobalLanSegmentsPostRequest**](V1GlobalLanSegmentsPostRequest.md)| | ### Return type -[**V1GlobalIpsecProfileGetResponse**](V1GlobalIpsecProfileGetResponse.md) +[**V1GlobalLanSegmentsPostResponse**](V1GlobalLanSegmentsPostResponse.md) ### Authorization @@ -22071,7 +21995,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -22082,10 +22006,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipsec_profile_id_get** -> V1GlobalIpsecProfileIdGetResponse v1_global_ipsec_profile_id_get(authorization, id) +# **v1_global_lan_segments_vrf_id_devices_get** +> V1GlobalLanSegmentsVrfIdDevicesGetResponse v1_global_lan_segments_vrf_id_devices_get(authorization, vrf_id) -Get details of the configured global IPsec Profiles +Get a list of lan-segment devices under the currently logged in enterprise ### Example @@ -22093,7 +22017,7 @@ Get details of the configured global IPsec Profiles ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipsec_profile_id_get_response import V1GlobalIpsecProfileIdGetResponse +from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response import V1GlobalLanSegmentsVrfIdDevicesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22119,14 +22043,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + vrf_id = 1234567891011 # int | try: - api_response = api_instance.v1_global_ipsec_profile_id_get(authorization, id) - print("The response of DefaultApi->v1_global_ipsec_profile_id_get:\n") + api_response = api_instance.v1_global_lan_segments_vrf_id_devices_get(authorization, vrf_id) + print("The response of DefaultApi->v1_global_lan_segments_vrf_id_devices_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipsec_profile_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_lan_segments_vrf_id_devices_get: %s\n" % e) ``` @@ -22137,11 +22061,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **vrf_id** | **int**| | ### Return type -[**V1GlobalIpsecProfileIdGetResponse**](V1GlobalIpsecProfileIdGetResponse.md) +[**V1GlobalLanSegmentsVrfIdDevicesGetResponse**](V1GlobalLanSegmentsVrfIdDevicesGetResponse.md) ### Authorization @@ -22160,10 +22084,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ipsec_profile_vpn_profile_id_site_to_site_get** -> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse v1_global_ipsec_profile_vpn_profile_id_site_to_site_get(authorization, vpn_profile_id) +# **v1_global_ntps_device_get** +> V1GlobalNtpsDeviceGetResponse v1_global_ntps_device_get(authorization, device_id=device_id) -Get Site-to-site VPNs that are using the given global IPsec Profile +Get global ntp objects that failed to attach for a device ### Example @@ -22171,7 +22095,7 @@ Get Site-to-site VPNs that are using the given global IPsec Profile ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_response import V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22197,14 +22121,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - vpn_profile_id = 1234567891011 # int | + device_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get(authorization, vpn_profile_id) - print("The response of DefaultApi->v1_global_ipsec_profile_vpn_profile_id_site_to_site_get:\n") + api_response = api_instance.v1_global_ntps_device_get(authorization, device_id=device_id) + print("The response of DefaultApi->v1_global_ntps_device_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ipsec_profile_vpn_profile_id_site_to_site_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ntps_device_get: %s\n" % e) ``` @@ -22215,11 +22139,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **vpn_profile_id** | **int**| | + **device_id** | **int**| | [optional] ### Return type -[**V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse**](V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse.md) +[**V1GlobalNtpsDeviceGetResponse**](V1GlobalNtpsDeviceGetResponse.md) ### Authorization @@ -22238,10 +22162,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_lan_segments_get** -> V1GlobalLanSegmentsGetResponse v1_global_lan_segments_get(authorization) +# **v1_global_ntps_post** +> V1GlobalNtpsPostResponse v1_global_ntps_post(authorization, v1_global_ntps_post_request) -Get a list of lan-segments under the currently logged in enterprise +Get configured global ntps ### Example @@ -22249,7 +22173,8 @@ Get a list of lan-segments under the currently logged in enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_lan_segments_get_response import V1GlobalLanSegmentsGetResponse +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22275,13 +22200,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_global_ntps_post_request = graphiant_sdk.V1GlobalNtpsPostRequest() # V1GlobalNtpsPostRequest | try: - api_response = api_instance.v1_global_lan_segments_get(authorization) - print("The response of DefaultApi->v1_global_lan_segments_get:\n") + api_response = api_instance.v1_global_ntps_post(authorization, v1_global_ntps_post_request) + print("The response of DefaultApi->v1_global_ntps_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_lan_segments_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ntps_post: %s\n" % e) ``` @@ -22292,10 +22218,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_global_ntps_post_request** | [**V1GlobalNtpsPostRequest**](V1GlobalNtpsPostRequest.md)| | ### Return type -[**V1GlobalLanSegmentsGetResponse**](V1GlobalLanSegmentsGetResponse.md) +[**V1GlobalNtpsPostResponse**](V1GlobalNtpsPostResponse.md) ### Authorization @@ -22303,7 +22230,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -22314,85 +22241,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_lan_segments_id_delete** -> v1_global_lan_segments_id_delete(authorization, id) - -Delete a lan-segment - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | - - try: - api_instance.v1_global_lan_segments_id_delete(authorization, id) - except Exception as e: - print("Exception when calling DefaultApi->v1_global_lan_segments_id_delete: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | - -### Return type - -void (empty response body) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_global_lan_segments_post** -> V1GlobalLanSegmentsPostResponse v1_global_lan_segments_post(authorization, v1_global_lan_segments_post_request) +# **v1_global_ntps_site_get** +> V1GlobalNtpsSiteGetResponse v1_global_ntps_site_get(authorization, site_id=site_id) -Create a new lan-segment scoped to the enterprise +Get configured global ntps ### Example @@ -22400,8 +22252,7 @@ Create a new lan-segment scoped to the enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_lan_segments_post_request import V1GlobalLanSegmentsPostRequest -from graphiant_sdk.models.v1_global_lan_segments_post_response import V1GlobalLanSegmentsPostResponse +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22427,14 +22278,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_lan_segments_post_request = graphiant_sdk.V1GlobalLanSegmentsPostRequest() # V1GlobalLanSegmentsPostRequest | + site_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_lan_segments_post(authorization, v1_global_lan_segments_post_request) - print("The response of DefaultApi->v1_global_lan_segments_post:\n") + api_response = api_instance.v1_global_ntps_site_get(authorization, site_id=site_id) + print("The response of DefaultApi->v1_global_ntps_site_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_lan_segments_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_ntps_site_get: %s\n" % e) ``` @@ -22445,11 +22296,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_lan_segments_post_request** | [**V1GlobalLanSegmentsPostRequest**](V1GlobalLanSegmentsPostRequest.md)| | + **site_id** | **int**| | [optional] ### Return type -[**V1GlobalLanSegmentsPostResponse**](V1GlobalLanSegmentsPostResponse.md) +[**V1GlobalNtpsSiteGetResponse**](V1GlobalNtpsSiteGetResponse.md) ### Authorization @@ -22457,7 +22308,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -22468,10 +22319,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_lan_segments_vrf_id_devices_get** -> V1GlobalLanSegmentsVrfIdDevicesGetResponse v1_global_lan_segments_vrf_id_devices_get(authorization, vrf_id) +# **v1_global_prefix_sets_post** +> V1GlobalPrefixSetsPostResponse v1_global_prefix_sets_post(authorization, v1_global_prefix_sets_post_request) -Get a list of lan-segment devices under the currently logged in enterprise +Get configured global prefix-sets ### Example @@ -22479,7 +22330,8 @@ Get a list of lan-segment devices under the currently logged in enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response import V1GlobalLanSegmentsVrfIdDevicesGetResponse +from graphiant_sdk.models.v1_global_prefix_sets_post_request import V1GlobalPrefixSetsPostRequest +from graphiant_sdk.models.v1_global_prefix_sets_post_response import V1GlobalPrefixSetsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22505,14 +22357,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - vrf_id = 1234567891011 # int | + v1_global_prefix_sets_post_request = graphiant_sdk.V1GlobalPrefixSetsPostRequest() # V1GlobalPrefixSetsPostRequest | try: - api_response = api_instance.v1_global_lan_segments_vrf_id_devices_get(authorization, vrf_id) - print("The response of DefaultApi->v1_global_lan_segments_vrf_id_devices_get:\n") + api_response = api_instance.v1_global_prefix_sets_post(authorization, v1_global_prefix_sets_post_request) + print("The response of DefaultApi->v1_global_prefix_sets_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_lan_segments_vrf_id_devices_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_prefix_sets_post: %s\n" % e) ``` @@ -22523,11 +22375,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **vrf_id** | **int**| | + **v1_global_prefix_sets_post_request** | [**V1GlobalPrefixSetsPostRequest**](V1GlobalPrefixSetsPostRequest.md)| | ### Return type -[**V1GlobalLanSegmentsVrfIdDevicesGetResponse**](V1GlobalLanSegmentsVrfIdDevicesGetResponse.md) +[**V1GlobalPrefixSetsPostResponse**](V1GlobalPrefixSetsPostResponse.md) ### Authorization @@ -22535,7 +22387,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -22546,10 +22398,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ntps_device_get** -> V1GlobalNtpsDeviceGetResponse v1_global_ntps_device_get(authorization, device_id=device_id) +# **v1_global_routing_policies_post** +> V1GlobalRoutingPoliciesPostResponse v1_global_routing_policies_post(authorization, v1_global_routing_policies_post_request) -Get global ntp objects that failed to attach for a device +Get configured global routing-policies ### Example @@ -22557,7 +22409,8 @@ Get global ntp objects that failed to attach for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse +from graphiant_sdk.models.v1_global_routing_policies_post_request import V1GlobalRoutingPoliciesPostRequest +from graphiant_sdk.models.v1_global_routing_policies_post_response import V1GlobalRoutingPoliciesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22583,14 +22436,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | (optional) + v1_global_routing_policies_post_request = graphiant_sdk.V1GlobalRoutingPoliciesPostRequest() # V1GlobalRoutingPoliciesPostRequest | try: - api_response = api_instance.v1_global_ntps_device_get(authorization, device_id=device_id) - print("The response of DefaultApi->v1_global_ntps_device_get:\n") + api_response = api_instance.v1_global_routing_policies_post(authorization, v1_global_routing_policies_post_request) + print("The response of DefaultApi->v1_global_routing_policies_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ntps_device_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_routing_policies_post: %s\n" % e) ``` @@ -22601,11 +22454,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | [optional] + **v1_global_routing_policies_post_request** | [**V1GlobalRoutingPoliciesPostRequest**](V1GlobalRoutingPoliciesPostRequest.md)| | ### Return type -[**V1GlobalNtpsDeviceGetResponse**](V1GlobalNtpsDeviceGetResponse.md) +[**V1GlobalRoutingPoliciesPostResponse**](V1GlobalRoutingPoliciesPostResponse.md) ### Authorization @@ -22613,7 +22466,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -22624,10 +22477,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ntps_post** -> V1GlobalNtpsPostResponse v1_global_ntps_post(authorization, v1_global_ntps_post_request) +# **v1_global_site_lists_get** +> V1GlobalSiteListsGetResponse v1_global_site_lists_get(authorization) -Get configured global ntps +Get a list of site lists under the currently logged in enterprise ### Example @@ -22635,8 +22488,7 @@ Get configured global ntps ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest -from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse +from graphiant_sdk.models.v1_global_site_lists_get_response import V1GlobalSiteListsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22662,14 +22514,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_ntps_post_request = graphiant_sdk.V1GlobalNtpsPostRequest() # V1GlobalNtpsPostRequest | try: - api_response = api_instance.v1_global_ntps_post(authorization, v1_global_ntps_post_request) - print("The response of DefaultApi->v1_global_ntps_post:\n") + api_response = api_instance.v1_global_site_lists_get(authorization) + print("The response of DefaultApi->v1_global_site_lists_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ntps_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_get: %s\n" % e) ``` @@ -22680,11 +22531,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_ntps_post_request** | [**V1GlobalNtpsPostRequest**](V1GlobalNtpsPostRequest.md)| | ### Return type -[**V1GlobalNtpsPostResponse**](V1GlobalNtpsPostResponse.md) +[**V1GlobalSiteListsGetResponse**](V1GlobalSiteListsGetResponse.md) ### Authorization @@ -22692,7 +22542,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -22703,10 +22553,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_ntps_site_get** -> V1GlobalNtpsSiteGetResponse v1_global_ntps_site_get(authorization, site_id=site_id) +# **v1_global_site_lists_id_delete** +> v1_global_site_lists_id_delete(authorization, id) -Get configured global ntps +Delete a site list ### Example @@ -22714,7 +22564,6 @@ Get configured global ntps ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22740,14 +22589,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | (optional) + id = 1234567891011 # int | try: - api_response = api_instance.v1_global_ntps_site_get(authorization, site_id=site_id) - print("The response of DefaultApi->v1_global_ntps_site_get:\n") - pprint(api_response) + api_instance.v1_global_site_lists_id_delete(authorization, id) except Exception as e: - print("Exception when calling DefaultApi->v1_global_ntps_site_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_id_delete: %s\n" % e) ``` @@ -22758,11 +22605,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | [optional] + **id** | **int**| | ### Return type -[**V1GlobalNtpsSiteGetResponse**](V1GlobalNtpsSiteGetResponse.md) +void (empty response body) ### Authorization @@ -22771,20 +22618,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_prefix_sets_post** -> V1GlobalPrefixSetsPostResponse v1_global_prefix_sets_post(authorization, v1_global_prefix_sets_post_request) +# **v1_global_site_lists_id_get** +> V1GlobalSiteListsIdGetResponse v1_global_site_lists_id_get(authorization, id) -Get configured global prefix-sets +Get a details of a site list ### Example @@ -22792,8 +22639,7 @@ Get configured global prefix-sets ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_prefix_sets_post_request import V1GlobalPrefixSetsPostRequest -from graphiant_sdk.models.v1_global_prefix_sets_post_response import V1GlobalPrefixSetsPostResponse +from graphiant_sdk.models.v1_global_site_lists_id_get_response import V1GlobalSiteListsIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22819,14 +22665,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_prefix_sets_post_request = graphiant_sdk.V1GlobalPrefixSetsPostRequest() # V1GlobalPrefixSetsPostRequest | + id = 1234567891011 # int | try: - api_response = api_instance.v1_global_prefix_sets_post(authorization, v1_global_prefix_sets_post_request) - print("The response of DefaultApi->v1_global_prefix_sets_post:\n") + api_response = api_instance.v1_global_site_lists_id_get(authorization, id) + print("The response of DefaultApi->v1_global_site_lists_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_prefix_sets_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_id_get: %s\n" % e) ``` @@ -22837,11 +22683,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_prefix_sets_post_request** | [**V1GlobalPrefixSetsPostRequest**](V1GlobalPrefixSetsPostRequest.md)| | + **id** | **int**| | ### Return type -[**V1GlobalPrefixSetsPostResponse**](V1GlobalPrefixSetsPostResponse.md) +[**V1GlobalSiteListsIdGetResponse**](V1GlobalSiteListsIdGetResponse.md) ### Authorization @@ -22849,7 +22695,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -22860,10 +22706,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_routing_policies_post** -> V1GlobalRoutingPoliciesPostResponse v1_global_routing_policies_post(authorization, v1_global_routing_policies_post_request) +# **v1_global_site_lists_id_put** +> V1GlobalSiteListsIdPutResponse v1_global_site_lists_id_put(authorization, id, v1_global_site_lists_id_put_request) -Get configured global routing-policies +Update a new site list scoped to the enterprise ### Example @@ -22871,8 +22717,8 @@ Get configured global routing-policies ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_routing_policies_post_request import V1GlobalRoutingPoliciesPostRequest -from graphiant_sdk.models.v1_global_routing_policies_post_response import V1GlobalRoutingPoliciesPostResponse +from graphiant_sdk.models.v1_global_site_lists_id_put_request import V1GlobalSiteListsIdPutRequest +from graphiant_sdk.models.v1_global_site_lists_id_put_response import V1GlobalSiteListsIdPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22898,14 +22744,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_routing_policies_post_request = graphiant_sdk.V1GlobalRoutingPoliciesPostRequest() # V1GlobalRoutingPoliciesPostRequest | + id = 1234567891011 # int | + v1_global_site_lists_id_put_request = graphiant_sdk.V1GlobalSiteListsIdPutRequest() # V1GlobalSiteListsIdPutRequest | try: - api_response = api_instance.v1_global_routing_policies_post(authorization, v1_global_routing_policies_post_request) - print("The response of DefaultApi->v1_global_routing_policies_post:\n") + api_response = api_instance.v1_global_site_lists_id_put(authorization, id, v1_global_site_lists_id_put_request) + print("The response of DefaultApi->v1_global_site_lists_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_routing_policies_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_id_put: %s\n" % e) ``` @@ -22916,11 +22763,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_routing_policies_post_request** | [**V1GlobalRoutingPoliciesPostRequest**](V1GlobalRoutingPoliciesPostRequest.md)| | + **id** | **int**| | + **v1_global_site_lists_id_put_request** | [**V1GlobalSiteListsIdPutRequest**](V1GlobalSiteListsIdPutRequest.md)| | ### Return type -[**V1GlobalRoutingPoliciesPostResponse**](V1GlobalRoutingPoliciesPostResponse.md) +[**V1GlobalSiteListsIdPutResponse**](V1GlobalSiteListsIdPutResponse.md) ### Authorization @@ -22939,10 +22787,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_get** -> V1GlobalSiteListsGetResponse v1_global_site_lists_get(authorization) +# **v1_global_site_lists_id_sites_get** +> V1GlobalSiteListsIdSitesGetResponse v1_global_site_lists_id_sites_get(authorization, id) -Get a list of site lists under the currently logged in enterprise +Get a details of a site list sites ### Example @@ -22950,7 +22798,7 @@ Get a list of site lists under the currently logged in enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_get_response import V1GlobalSiteListsGetResponse +from graphiant_sdk.models.v1_global_site_lists_id_sites_get_response import V1GlobalSiteListsIdSitesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -22976,13 +22824,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | try: - api_response = api_instance.v1_global_site_lists_get(authorization) - print("The response of DefaultApi->v1_global_site_lists_get:\n") + api_response = api_instance.v1_global_site_lists_id_sites_get(authorization, id) + print("The response of DefaultApi->v1_global_site_lists_id_sites_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_id_sites_get: %s\n" % e) ``` @@ -22993,10 +22842,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | ### Return type -[**V1GlobalSiteListsGetResponse**](V1GlobalSiteListsGetResponse.md) +[**V1GlobalSiteListsIdSitesGetResponse**](V1GlobalSiteListsIdSitesGetResponse.md) ### Authorization @@ -23015,10 +22865,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_id_delete** -> v1_global_site_lists_id_delete(authorization, id) +# **v1_global_site_lists_post** +> V1GlobalSiteListsPostResponse v1_global_site_lists_post(authorization, v1_global_site_lists_post_request) -Delete a site list +Create a new site list scoped to the enterprise ### Example @@ -23026,6 +22876,8 @@ Delete a site list ```python import graphiant_sdk +from graphiant_sdk.models.v1_global_site_lists_post_request import V1GlobalSiteListsPostRequest +from graphiant_sdk.models.v1_global_site_lists_post_response import V1GlobalSiteListsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23051,12 +22903,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_global_site_lists_post_request = graphiant_sdk.V1GlobalSiteListsPostRequest() # V1GlobalSiteListsPostRequest | try: - api_instance.v1_global_site_lists_id_delete(authorization, id) + api_response = api_instance.v1_global_site_lists_post(authorization, v1_global_site_lists_post_request) + print("The response of DefaultApi->v1_global_site_lists_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_lists_post: %s\n" % e) ``` @@ -23067,11 +22921,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_global_site_lists_post_request** | [**V1GlobalSiteListsPostRequest**](V1GlobalSiteListsPostRequest.md)| | ### Return type -void (empty response body) +[**V1GlobalSiteListsPostResponse**](V1GlobalSiteListsPostResponse.md) ### Authorization @@ -23079,21 +22933,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: Not defined + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_id_get** -> V1GlobalSiteListsIdGetResponse v1_global_site_lists_id_get(authorization, id) +# **v1_global_site_status_get** +> V1GlobalSiteStatusGetResponse v1_global_site_status_get(authorization, ipfix_exported_site_id=ipfix_exported_site_id, ntp_site_id=ntp_site_id, prefix_set_site_id=prefix_set_site_id, routing_policy_site_id=routing_policy_site_id, snmp_site_id=snmp_site_id, syslog_server_site_id=syslog_server_site_id, traffic_policy_site_id=traffic_policy_site_id) -Get a details of a site list +Get status on global objects attached to a site ### Example @@ -23101,7 +22955,7 @@ Get a details of a site list ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_id_get_response import V1GlobalSiteListsIdGetResponse +from graphiant_sdk.models.v1_global_site_status_get_response import V1GlobalSiteStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23127,14 +22981,20 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + ipfix_exported_site_id = 1234567891011 # int | (optional) + ntp_site_id = 1234567891011 # int | (optional) + prefix_set_site_id = 1234567891011 # int | (optional) + routing_policy_site_id = 1234567891011 # int | (optional) + snmp_site_id = 1234567891011 # int | (optional) + syslog_server_site_id = 1234567891011 # int | (optional) + traffic_policy_site_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_site_lists_id_get(authorization, id) - print("The response of DefaultApi->v1_global_site_lists_id_get:\n") + api_response = api_instance.v1_global_site_status_get(authorization, ipfix_exported_site_id=ipfix_exported_site_id, ntp_site_id=ntp_site_id, prefix_set_site_id=prefix_set_site_id, routing_policy_site_id=routing_policy_site_id, snmp_site_id=snmp_site_id, syslog_server_site_id=syslog_server_site_id, traffic_policy_site_id=traffic_policy_site_id) + print("The response of DefaultApi->v1_global_site_status_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_site_status_get: %s\n" % e) ``` @@ -23145,11 +23005,17 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **ipfix_exported_site_id** | **int**| | [optional] + **ntp_site_id** | **int**| | [optional] + **prefix_set_site_id** | **int**| | [optional] + **routing_policy_site_id** | **int**| | [optional] + **snmp_site_id** | **int**| | [optional] + **syslog_server_site_id** | **int**| | [optional] + **traffic_policy_site_id** | **int**| | [optional] ### Return type -[**V1GlobalSiteListsIdGetResponse**](V1GlobalSiteListsIdGetResponse.md) +[**V1GlobalSiteStatusGetResponse**](V1GlobalSiteStatusGetResponse.md) ### Authorization @@ -23168,10 +23034,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_id_put** -> V1GlobalSiteListsIdPutResponse v1_global_site_lists_id_put(authorization, id, v1_global_site_lists_id_put_request) +# **v1_global_snmps_device_get** +> V1GlobalSnmpsDeviceGetResponse v1_global_snmps_device_get(authorization, device_id=device_id) -Update a new site list scoped to the enterprise +Get global snmp objects that failed to attach for a device ### Example @@ -23179,8 +23045,7 @@ Update a new site list scoped to the enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_id_put_request import V1GlobalSiteListsIdPutRequest -from graphiant_sdk.models.v1_global_site_lists_id_put_response import V1GlobalSiteListsIdPutResponse +from graphiant_sdk.models.v1_global_snmps_device_get_response import V1GlobalSnmpsDeviceGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23206,15 +23071,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | - v1_global_site_lists_id_put_request = graphiant_sdk.V1GlobalSiteListsIdPutRequest() # V1GlobalSiteListsIdPutRequest | + device_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_site_lists_id_put(authorization, id, v1_global_site_lists_id_put_request) - print("The response of DefaultApi->v1_global_site_lists_id_put:\n") + api_response = api_instance.v1_global_snmps_device_get(authorization, device_id=device_id) + print("The response of DefaultApi->v1_global_snmps_device_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_snmps_device_get: %s\n" % e) ``` @@ -23225,12 +23089,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | - **v1_global_site_lists_id_put_request** | [**V1GlobalSiteListsIdPutRequest**](V1GlobalSiteListsIdPutRequest.md)| | + **device_id** | **int**| | [optional] ### Return type -[**V1GlobalSiteListsIdPutResponse**](V1GlobalSiteListsIdPutResponse.md) +[**V1GlobalSnmpsDeviceGetResponse**](V1GlobalSnmpsDeviceGetResponse.md) ### Authorization @@ -23238,7 +23101,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -23249,10 +23112,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_id_sites_get** -> V1GlobalSiteListsIdSitesGetResponse v1_global_site_lists_id_sites_get(authorization, id) +# **v1_global_snmps_post** +> V1GlobalSnmpsPostResponse v1_global_snmps_post(authorization, v1_global_snmps_post_request) -Get a details of a site list sites +Get configured global snmps ### Example @@ -23260,7 +23123,8 @@ Get a details of a site list sites ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_id_sites_get_response import V1GlobalSiteListsIdSitesGetResponse +from graphiant_sdk.models.v1_global_snmps_post_request import V1GlobalSnmpsPostRequest +from graphiant_sdk.models.v1_global_snmps_post_response import V1GlobalSnmpsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23286,14 +23150,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + v1_global_snmps_post_request = graphiant_sdk.V1GlobalSnmpsPostRequest() # V1GlobalSnmpsPostRequest | try: - api_response = api_instance.v1_global_site_lists_id_sites_get(authorization, id) - print("The response of DefaultApi->v1_global_site_lists_id_sites_get:\n") + api_response = api_instance.v1_global_snmps_post(authorization, v1_global_snmps_post_request) + print("The response of DefaultApi->v1_global_snmps_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_id_sites_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_snmps_post: %s\n" % e) ``` @@ -23304,11 +23168,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **v1_global_snmps_post_request** | [**V1GlobalSnmpsPostRequest**](V1GlobalSnmpsPostRequest.md)| | ### Return type -[**V1GlobalSiteListsIdSitesGetResponse**](V1GlobalSiteListsIdSitesGetResponse.md) +[**V1GlobalSnmpsPostResponse**](V1GlobalSnmpsPostResponse.md) ### Authorization @@ -23316,7 +23180,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -23327,10 +23191,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_lists_post** -> V1GlobalSiteListsPostResponse v1_global_site_lists_post(authorization, v1_global_site_lists_post_request) +# **v1_global_snmps_site_get** +> V1GlobalSnmpsSiteGetResponse v1_global_snmps_site_get(authorization, site_id=site_id) -Create a new site list scoped to the enterprise +Get configured global snmps ### Example @@ -23338,8 +23202,7 @@ Create a new site list scoped to the enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_post_request import V1GlobalSiteListsPostRequest -from graphiant_sdk.models.v1_global_site_lists_post_response import V1GlobalSiteListsPostResponse +from graphiant_sdk.models.v1_global_snmps_site_get_response import V1GlobalSnmpsSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23365,14 +23228,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_site_lists_post_request = graphiant_sdk.V1GlobalSiteListsPostRequest() # V1GlobalSiteListsPostRequest | + site_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_site_lists_post(authorization, v1_global_site_lists_post_request) - print("The response of DefaultApi->v1_global_site_lists_post:\n") + api_response = api_instance.v1_global_snmps_site_get(authorization, site_id=site_id) + print("The response of DefaultApi->v1_global_snmps_site_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_lists_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_snmps_site_get: %s\n" % e) ``` @@ -23383,11 +23246,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_site_lists_post_request** | [**V1GlobalSiteListsPostRequest**](V1GlobalSiteListsPostRequest.md)| | + **site_id** | **int**| | [optional] ### Return type -[**V1GlobalSiteListsPostResponse**](V1GlobalSiteListsPostResponse.md) +[**V1GlobalSnmpsSiteGetResponse**](V1GlobalSnmpsSiteGetResponse.md) ### Authorization @@ -23395,7 +23258,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -23406,10 +23269,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_site_status_get** -> V1GlobalSiteStatusGetResponse v1_global_site_status_get(authorization, ipfix_exported_site_id=ipfix_exported_site_id, ntp_site_id=ntp_site_id, prefix_set_site_id=prefix_set_site_id, routing_policy_site_id=routing_policy_site_id, snmp_site_id=snmp_site_id, syslog_server_site_id=syslog_server_site_id, traffic_policy_site_id=traffic_policy_site_id) +# **v1_global_summary_post** +> V1GlobalSummaryPostResponse v1_global_summary_post(authorization, v1_global_summary_post_request) -Get status on global objects attached to a site +Get summary on global objects ### Example @@ -23417,7 +23280,8 @@ Get status on global objects attached to a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_status_get_response import V1GlobalSiteStatusGetResponse +from graphiant_sdk.models.v1_global_summary_post_request import V1GlobalSummaryPostRequest +from graphiant_sdk.models.v1_global_summary_post_response import V1GlobalSummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23443,20 +23307,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - ipfix_exported_site_id = 1234567891011 # int | (optional) - ntp_site_id = 1234567891011 # int | (optional) - prefix_set_site_id = 1234567891011 # int | (optional) - routing_policy_site_id = 1234567891011 # int | (optional) - snmp_site_id = 1234567891011 # int | (optional) - syslog_server_site_id = 1234567891011 # int | (optional) - traffic_policy_site_id = 1234567891011 # int | (optional) + v1_global_summary_post_request = graphiant_sdk.V1GlobalSummaryPostRequest() # V1GlobalSummaryPostRequest | try: - api_response = api_instance.v1_global_site_status_get(authorization, ipfix_exported_site_id=ipfix_exported_site_id, ntp_site_id=ntp_site_id, prefix_set_site_id=prefix_set_site_id, routing_policy_site_id=routing_policy_site_id, snmp_site_id=snmp_site_id, syslog_server_site_id=syslog_server_site_id, traffic_policy_site_id=traffic_policy_site_id) - print("The response of DefaultApi->v1_global_site_status_get:\n") + api_response = api_instance.v1_global_summary_post(authorization, v1_global_summary_post_request) + print("The response of DefaultApi->v1_global_summary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_site_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_summary_post: %s\n" % e) ``` @@ -23467,17 +23325,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **ipfix_exported_site_id** | **int**| | [optional] - **ntp_site_id** | **int**| | [optional] - **prefix_set_site_id** | **int**| | [optional] - **routing_policy_site_id** | **int**| | [optional] - **snmp_site_id** | **int**| | [optional] - **syslog_server_site_id** | **int**| | [optional] - **traffic_policy_site_id** | **int**| | [optional] + **v1_global_summary_post_request** | [**V1GlobalSummaryPostRequest**](V1GlobalSummaryPostRequest.md)| | ### Return type -[**V1GlobalSiteStatusGetResponse**](V1GlobalSiteStatusGetResponse.md) +[**V1GlobalSummaryPostResponse**](V1GlobalSummaryPostResponse.md) ### Authorization @@ -23485,7 +23337,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -23496,10 +23348,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_snmps_device_get** -> V1GlobalSnmpsDeviceGetResponse v1_global_snmps_device_get(authorization, device_id=device_id) +# **v1_global_sync_post** +> object v1_global_sync_post(authorization, v1_global_sync_post_request) -Get global snmp objects that failed to attach for a device +Tries synching device with the global objects ### Example @@ -23507,7 +23359,7 @@ Get global snmp objects that failed to attach for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_snmps_device_get_response import V1GlobalSnmpsDeviceGetResponse +from graphiant_sdk.models.v1_global_sync_post_request import V1GlobalSyncPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23533,14 +23385,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | (optional) + v1_global_sync_post_request = graphiant_sdk.V1GlobalSyncPostRequest() # V1GlobalSyncPostRequest | try: - api_response = api_instance.v1_global_snmps_device_get(authorization, device_id=device_id) - print("The response of DefaultApi->v1_global_snmps_device_get:\n") + api_response = api_instance.v1_global_sync_post(authorization, v1_global_sync_post_request) + print("The response of DefaultApi->v1_global_sync_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_snmps_device_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_sync_post: %s\n" % e) ``` @@ -23551,11 +23403,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | [optional] + **v1_global_sync_post_request** | [**V1GlobalSyncPostRequest**](V1GlobalSyncPostRequest.md)| | ### Return type -[**V1GlobalSnmpsDeviceGetResponse**](V1GlobalSnmpsDeviceGetResponse.md) +**object** ### Authorization @@ -23563,7 +23415,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -23574,10 +23426,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_snmps_post** -> V1GlobalSnmpsPostResponse v1_global_snmps_post(authorization, v1_global_snmps_post_request) +# **v1_global_syslogs_device_get** +> V1GlobalSyslogsDeviceGetResponse v1_global_syslogs_device_get(authorization, device_id=device_id) -Get configured global snmps +Get global syslog objects that failed to attach for a device ### Example @@ -23585,8 +23437,7 @@ Get configured global snmps ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_snmps_post_request import V1GlobalSnmpsPostRequest -from graphiant_sdk.models.v1_global_snmps_post_response import V1GlobalSnmpsPostResponse +from graphiant_sdk.models.v1_global_syslogs_device_get_response import V1GlobalSyslogsDeviceGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23612,14 +23463,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_snmps_post_request = graphiant_sdk.V1GlobalSnmpsPostRequest() # V1GlobalSnmpsPostRequest | + device_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_snmps_post(authorization, v1_global_snmps_post_request) - print("The response of DefaultApi->v1_global_snmps_post:\n") + api_response = api_instance.v1_global_syslogs_device_get(authorization, device_id=device_id) + print("The response of DefaultApi->v1_global_syslogs_device_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_snmps_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_syslogs_device_get: %s\n" % e) ``` @@ -23630,11 +23481,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_snmps_post_request** | [**V1GlobalSnmpsPostRequest**](V1GlobalSnmpsPostRequest.md)| | + **device_id** | **int**| | [optional] ### Return type -[**V1GlobalSnmpsPostResponse**](V1GlobalSnmpsPostResponse.md) +[**V1GlobalSyslogsDeviceGetResponse**](V1GlobalSyslogsDeviceGetResponse.md) ### Authorization @@ -23642,7 +23493,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -23653,10 +23504,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_snmps_site_get** -> V1GlobalSnmpsSiteGetResponse v1_global_snmps_site_get(authorization, site_id=site_id) +# **v1_global_syslogs_post** +> V1GlobalSyslogsPostResponse v1_global_syslogs_post(authorization, v1_global_syslogs_post_request) -Get configured global snmps +Get configured global syslog collectors ### Example @@ -23664,7 +23515,8 @@ Get configured global snmps ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_snmps_site_get_response import V1GlobalSnmpsSiteGetResponse +from graphiant_sdk.models.v1_global_syslogs_post_request import V1GlobalSyslogsPostRequest +from graphiant_sdk.models.v1_global_syslogs_post_response import V1GlobalSyslogsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23690,14 +23542,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | (optional) + v1_global_syslogs_post_request = graphiant_sdk.V1GlobalSyslogsPostRequest() # V1GlobalSyslogsPostRequest | try: - api_response = api_instance.v1_global_snmps_site_get(authorization, site_id=site_id) - print("The response of DefaultApi->v1_global_snmps_site_get:\n") + api_response = api_instance.v1_global_syslogs_post(authorization, v1_global_syslogs_post_request) + print("The response of DefaultApi->v1_global_syslogs_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_snmps_site_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_syslogs_post: %s\n" % e) ``` @@ -23708,11 +23560,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | [optional] + **v1_global_syslogs_post_request** | [**V1GlobalSyslogsPostRequest**](V1GlobalSyslogsPostRequest.md)| | ### Return type -[**V1GlobalSnmpsSiteGetResponse**](V1GlobalSnmpsSiteGetResponse.md) +[**V1GlobalSyslogsPostResponse**](V1GlobalSyslogsPostResponse.md) ### Authorization @@ -23720,7 +23572,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -23731,10 +23583,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_summary_post** -> V1GlobalSummaryPostResponse v1_global_summary_post(authorization, v1_global_summary_post_request) +# **v1_global_syslogs_site_get** +> V1GlobalSyslogsSiteGetResponse v1_global_syslogs_site_get(authorization, site_id=site_id) -Get summary on global objects +Get configured global syslog collectors ### Example @@ -23742,8 +23594,7 @@ Get summary on global objects ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_summary_post_request import V1GlobalSummaryPostRequest -from graphiant_sdk.models.v1_global_summary_post_response import V1GlobalSummaryPostResponse +from graphiant_sdk.models.v1_global_syslogs_site_get_response import V1GlobalSyslogsSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23769,14 +23620,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_summary_post_request = graphiant_sdk.V1GlobalSummaryPostRequest() # V1GlobalSummaryPostRequest | + site_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_summary_post(authorization, v1_global_summary_post_request) - print("The response of DefaultApi->v1_global_summary_post:\n") + api_response = api_instance.v1_global_syslogs_site_get(authorization, site_id=site_id) + print("The response of DefaultApi->v1_global_syslogs_site_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_summary_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_syslogs_site_get: %s\n" % e) ``` @@ -23787,11 +23638,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_summary_post_request** | [**V1GlobalSummaryPostRequest**](V1GlobalSummaryPostRequest.md)| | + **site_id** | **int**| | [optional] ### Return type -[**V1GlobalSummaryPostResponse**](V1GlobalSummaryPostResponse.md) +[**V1GlobalSyslogsSiteGetResponse**](V1GlobalSyslogsSiteGetResponse.md) ### Authorization @@ -23799,7 +23650,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -23810,10 +23661,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_sync_post** -> object v1_global_sync_post(authorization, v1_global_sync_post_request) +# **v1_global_traffic_policies_post** +> V1GlobalTrafficPoliciesPostResponse v1_global_traffic_policies_post(authorization, v1_global_traffic_policies_post_request) -Tries synching device with the global objects +Get configured global traffic-policies ### Example @@ -23821,7 +23672,8 @@ Tries synching device with the global objects ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_sync_post_request import V1GlobalSyncPostRequest +from graphiant_sdk.models.v1_global_traffic_policies_post_request import V1GlobalTrafficPoliciesPostRequest +from graphiant_sdk.models.v1_global_traffic_policies_post_response import V1GlobalTrafficPoliciesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23847,14 +23699,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_sync_post_request = graphiant_sdk.V1GlobalSyncPostRequest() # V1GlobalSyncPostRequest | + v1_global_traffic_policies_post_request = graphiant_sdk.V1GlobalTrafficPoliciesPostRequest() # V1GlobalTrafficPoliciesPostRequest | try: - api_response = api_instance.v1_global_sync_post(authorization, v1_global_sync_post_request) - print("The response of DefaultApi->v1_global_sync_post:\n") + api_response = api_instance.v1_global_traffic_policies_post(authorization, v1_global_traffic_policies_post_request) + print("The response of DefaultApi->v1_global_traffic_policies_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_sync_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_global_traffic_policies_post: %s\n" % e) ``` @@ -23865,11 +23717,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_sync_post_request** | [**V1GlobalSyncPostRequest**](V1GlobalSyncPostRequest.md)| | + **v1_global_traffic_policies_post_request** | [**V1GlobalTrafficPoliciesPostRequest**](V1GlobalTrafficPoliciesPostRequest.md)| | ### Return type -**object** +[**V1GlobalTrafficPoliciesPostResponse**](V1GlobalTrafficPoliciesPostResponse.md) ### Authorization @@ -23888,10 +23740,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_syslogs_device_get** -> V1GlobalSyslogsDeviceGetResponse v1_global_syslogs_device_get(authorization, device_id=device_id) +# **v1_groups_enterprises_get** +> V1GroupsEnterprisesGetResponse v1_groups_enterprises_get(authorization) -Get global syslog objects that failed to attach for a device +Get all enterprise-level groups. ### Example @@ -23899,7 +23751,7 @@ Get global syslog objects that failed to attach for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_syslogs_device_get_response import V1GlobalSyslogsDeviceGetResponse +from graphiant_sdk.models.v1_groups_enterprises_get_response import V1GroupsEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23925,14 +23777,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v1_global_syslogs_device_get(authorization, device_id=device_id) - print("The response of DefaultApi->v1_global_syslogs_device_get:\n") + api_response = api_instance.v1_groups_enterprises_get(authorization) + print("The response of DefaultApi->v1_groups_enterprises_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_syslogs_device_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_enterprises_get: %s\n" % e) ``` @@ -23943,11 +23794,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | [optional] ### Return type -[**V1GlobalSyslogsDeviceGetResponse**](V1GlobalSyslogsDeviceGetResponse.md) +[**V1GroupsEnterprisesGetResponse**](V1GroupsEnterprisesGetResponse.md) ### Authorization @@ -23966,10 +23816,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_syslogs_post** -> V1GlobalSyslogsPostResponse v1_global_syslogs_post(authorization, v1_global_syslogs_post_request) +# **v1_groups_get** +> V1GroupsGetResponse v1_groups_get(authorization) -Get configured global syslog collectors +Get all groups in the enterprise. ### Example @@ -23977,8 +23827,7 @@ Get configured global syslog collectors ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_syslogs_post_request import V1GlobalSyslogsPostRequest -from graphiant_sdk.models.v1_global_syslogs_post_response import V1GlobalSyslogsPostResponse +from graphiant_sdk.models.v1_groups_get_response import V1GroupsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24004,14 +23853,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_syslogs_post_request = graphiant_sdk.V1GlobalSyslogsPostRequest() # V1GlobalSyslogsPostRequest | try: - api_response = api_instance.v1_global_syslogs_post(authorization, v1_global_syslogs_post_request) - print("The response of DefaultApi->v1_global_syslogs_post:\n") + api_response = api_instance.v1_groups_get(authorization) + print("The response of DefaultApi->v1_groups_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_global_syslogs_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_get: %s\n" % e) ``` @@ -24022,11 +23870,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_syslogs_post_request** | [**V1GlobalSyslogsPostRequest**](V1GlobalSyslogsPostRequest.md)| | ### Return type -[**V1GlobalSyslogsPostResponse**](V1GlobalSyslogsPostResponse.md) +[**V1GroupsGetResponse**](V1GroupsGetResponse.md) ### Authorization @@ -24034,7 +23881,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -24045,10 +23892,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_syslogs_site_get** -> V1GlobalSyslogsSiteGetResponse v1_global_syslogs_site_get(authorization, site_id=site_id) +# **v1_groups_id_delete** +> v1_groups_id_delete(authorization, id) -Get configured global syslog collectors +Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. ### Example @@ -24056,7 +23903,6 @@ Get configured global syslog collectors ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_syslogs_site_get_response import V1GlobalSyslogsSiteGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24082,14 +23928,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | (optional) + id = 'example string' # str | try: - api_response = api_instance.v1_global_syslogs_site_get(authorization, site_id=site_id) - print("The response of DefaultApi->v1_global_syslogs_site_get:\n") - pprint(api_response) + api_instance.v1_groups_id_delete(authorization, id) except Exception as e: - print("Exception when calling DefaultApi->v1_global_syslogs_site_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_delete: %s\n" % e) ``` @@ -24100,11 +23944,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | [optional] + **id** | **str**| | ### Return type -[**V1GlobalSyslogsSiteGetResponse**](V1GlobalSyslogsSiteGetResponse.md) +void (empty response body) ### Authorization @@ -24113,20 +23957,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_global_traffic_policies_post** -> V1GlobalTrafficPoliciesPostResponse v1_global_traffic_policies_post(authorization, v1_global_traffic_policies_post_request) +# **v1_groups_id_enterprises_enterprise_id_delete** +> v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) -Get configured global traffic-policies +Remove group's association with a specific enterprise, revoking cross-enterprise access. ### Example @@ -24134,8 +23978,6 @@ Get configured global traffic-policies ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_traffic_policies_post_request import V1GlobalTrafficPoliciesPostRequest -from graphiant_sdk.models.v1_global_traffic_policies_post_response import V1GlobalTrafficPoliciesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24161,14 +24003,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_global_traffic_policies_post_request = graphiant_sdk.V1GlobalTrafficPoliciesPostRequest() # V1GlobalTrafficPoliciesPostRequest | + enterprise_id = 1234567891011 # int | + id = 'example string' # str | try: - api_response = api_instance.v1_global_traffic_policies_post(authorization, v1_global_traffic_policies_post_request) - print("The response of DefaultApi->v1_global_traffic_policies_post:\n") - pprint(api_response) + api_instance.v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) except Exception as e: - print("Exception when calling DefaultApi->v1_global_traffic_policies_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_enterprises_enterprise_id_delete: %s\n" % e) ``` @@ -24179,11 +24020,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_global_traffic_policies_post_request** | [**V1GlobalTrafficPoliciesPostRequest**](V1GlobalTrafficPoliciesPostRequest.md)| | + **enterprise_id** | **int**| | + **id** | **str**| | ### Return type -[**V1GlobalTrafficPoliciesPostResponse**](V1GlobalTrafficPoliciesPostResponse.md) +void (empty response body) ### Authorization @@ -24191,21 +24033,21 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_enterprises_get** -> V1GroupsEnterprisesGetResponse v1_groups_enterprises_get(authorization) +# **v1_groups_id_enterprises_post** +> v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) -Get all enterprise-level groups. +Associate group with additional enterprises to enable cross-enterprise access and management. ### Example @@ -24213,83 +24055,7 @@ Get all enterprise-level groups. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_enterprises_get_response import V1GroupsEnterprisesGetResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - - try: - api_response = api_instance.v1_groups_enterprises_get(authorization) - print("The response of DefaultApi->v1_groups_enterprises_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v1_groups_enterprises_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - -### Return type - -[**V1GroupsEnterprisesGetResponse**](V1GroupsEnterprisesGetResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_groups_get** -> V1GroupsGetResponse v1_groups_get(authorization) - -Get all groups in the enterprise. - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_groups_get_response import V1GroupsGetResponse +from graphiant_sdk.models.v1_groups_id_enterprises_post_request import V1GroupsIdEnterprisesPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24315,13 +24081,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 'example string' # str | + v1_groups_id_enterprises_post_request = graphiant_sdk.V1GroupsIdEnterprisesPostRequest() # V1GroupsIdEnterprisesPostRequest | try: - api_response = api_instance.v1_groups_get(authorization) - print("The response of DefaultApi->v1_groups_get:\n") - pprint(api_response) + api_instance.v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_enterprises_post: %s\n" % e) ``` @@ -24332,10 +24098,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **str**| | + **v1_groups_id_enterprises_post_request** | [**V1GroupsIdEnterprisesPostRequest**](V1GroupsIdEnterprisesPostRequest.md)| | ### Return type -[**V1GroupsGetResponse**](V1GroupsGetResponse.md) +void (empty response body) ### Authorization @@ -24343,21 +24111,21 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_delete** -> v1_groups_id_delete(authorization, id) +# **v1_groups_id_members_delete_post** +> v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) -Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. +Remove multiple users from a group by their member IDs. ### Example @@ -24365,6 +24133,7 @@ Delete a group and remove all member associations and enterprise relationships. ```python import graphiant_sdk +from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24391,11 +24160,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer id = 'example string' # str | + v1_groups_id_members_delete_post_request = graphiant_sdk.V1GroupsIdMembersDeletePostRequest() # V1GroupsIdMembersDeletePostRequest | try: - api_instance.v1_groups_id_delete(authorization, id) + api_instance.v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_members_delete_post: %s\n" % e) ``` @@ -24407,6 +24177,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **id** | **str**| | + **v1_groups_id_members_delete_post_request** | [**V1GroupsIdMembersDeletePostRequest**](V1GroupsIdMembersDeletePostRequest.md)| | ### Return type @@ -24418,7 +24189,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: Not defined ### HTTP response details @@ -24429,10 +24200,10 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_enterprises_enterprise_id_delete** -> v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) +# **v1_groups_id_members_get** +> V1GroupsIdMembersGetResponse v1_groups_id_members_get(authorization, id) -Remove group's association with a specific enterprise, revoking cross-enterprise access. +Get all members of a specific group. ### Example @@ -24440,6 +24211,7 @@ Remove group's association with a specific enterprise, revoking cross-enterprise ```python import graphiant_sdk +from graphiant_sdk.models.v1_groups_id_members_get_response import V1GroupsIdMembersGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24465,13 +24237,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - enterprise_id = 1234567891011 # int | id = 'example string' # str | try: - api_instance.v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) + api_response = api_instance.v1_groups_id_members_get(authorization, id) + print("The response of DefaultApi->v1_groups_id_members_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_enterprises_enterprise_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_members_get: %s\n" % e) ``` @@ -24482,12 +24255,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **enterprise_id** | **int**| | **id** | **str**| | ### Return type -void (empty response body) +[**V1GroupsIdMembersGetResponse**](V1GroupsIdMembersGetResponse.md) ### Authorization @@ -24496,20 +24268,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_enterprises_post** -> v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) +# **v1_groups_id_members_member_id_delete** +> v1_groups_id_members_member_id_delete(authorization, id, member_id) -Associate group with additional enterprises to enable cross-enterprise access and management. +Remove a specific user from a group by member ID. ### Example @@ -24517,7 +24289,6 @@ Associate group with additional enterprises to enable cross-enterprise access an ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_enterprises_post_request import V1GroupsIdEnterprisesPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24544,12 +24315,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer id = 'example string' # str | - v1_groups_id_enterprises_post_request = graphiant_sdk.V1GroupsIdEnterprisesPostRequest() # V1GroupsIdEnterprisesPostRequest | + member_id = 'example string' # str | try: - api_instance.v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) + api_instance.v1_groups_id_members_member_id_delete(authorization, id, member_id) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_enterprises_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_members_member_id_delete: %s\n" % e) ``` @@ -24561,7 +24332,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **id** | **str**| | - **v1_groups_id_enterprises_post_request** | [**V1GroupsIdEnterprisesPostRequest**](V1GroupsIdEnterprisesPostRequest.md)| | + **member_id** | **str**| | ### Return type @@ -24573,7 +24344,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: Not defined ### HTTP response details @@ -24584,10 +24355,10 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_members_delete_post** -> v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) +# **v1_groups_id_members_post** +> v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) -Remove multiple users from a group by their member IDs. +Add multiple users to a group by their global IDs. ### Example @@ -24595,7 +24366,7 @@ Remove multiple users from a group by their member IDs. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest +from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24622,12 +24393,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer id = 'example string' # str | - v1_groups_id_members_delete_post_request = graphiant_sdk.V1GroupsIdMembersDeletePostRequest() # V1GroupsIdMembersDeletePostRequest | + v1_groups_id_members_post_request = graphiant_sdk.V1GroupsIdMembersPostRequest() # V1GroupsIdMembersPostRequest | try: - api_instance.v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) + api_instance.v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_members_delete_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_members_post: %s\n" % e) ``` @@ -24639,7 +24410,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **id** | **str**| | - **v1_groups_id_members_delete_post_request** | [**V1GroupsIdMembersDeletePostRequest**](V1GroupsIdMembersDeletePostRequest.md)| | + **v1_groups_id_members_post_request** | [**V1GroupsIdMembersPostRequest**](V1GroupsIdMembersPostRequest.md)| | ### Return type @@ -24662,10 +24433,10 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_members_get** -> V1GroupsIdMembersGetResponse v1_groups_id_members_get(authorization, id) +# **v1_groups_id_patch** +> v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) -Get all members of a specific group. +Update group information. ### Example @@ -24673,7 +24444,7 @@ Get all members of a specific group. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_members_get_response import V1GroupsIdMembersGetResponse +from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24700,13 +24471,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer id = 'example string' # str | + v1_groups_id_patch_request = graphiant_sdk.V1GroupsIdPatchRequest() # V1GroupsIdPatchRequest | try: - api_response = api_instance.v1_groups_id_members_get(authorization, id) - print("The response of DefaultApi->v1_groups_id_members_get:\n") - pprint(api_response) + api_instance.v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_members_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_id_patch: %s\n" % e) ``` @@ -24718,10 +24488,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **id** | **str**| | + **v1_groups_id_patch_request** | [**V1GroupsIdPatchRequest**](V1GroupsIdPatchRequest.md)| | ### Return type -[**V1GroupsIdMembersGetResponse**](V1GroupsIdMembersGetResponse.md) +void (empty response body) ### Authorization @@ -24729,21 +24500,21 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_members_member_id_delete** -> v1_groups_id_members_member_id_delete(authorization, id, member_id) +# **v1_groups_put** +> v1_groups_put(authorization, v1_groups_put_request) -Remove a specific user from a group by member ID. +Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). ### Example @@ -24751,6 +24522,7 @@ Remove a specific user from a group by member ID. ```python import graphiant_sdk +from graphiant_sdk.models.v1_groups_put_request import V1GroupsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24776,13 +24548,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | - member_id = 'example string' # str | + v1_groups_put_request = graphiant_sdk.V1GroupsPutRequest() # V1GroupsPutRequest | try: - api_instance.v1_groups_id_members_member_id_delete(authorization, id, member_id) + api_instance.v1_groups_put(authorization, v1_groups_put_request) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_members_member_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_put: %s\n" % e) ``` @@ -24793,8 +24564,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | - **member_id** | **str**| | + **v1_groups_put_request** | [**V1GroupsPutRequest**](V1GroupsPutRequest.md)| | ### Return type @@ -24806,7 +24576,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: Not defined ### HTTP response details @@ -24817,10 +24587,10 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_members_post** -> v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) +# **v1_groups_root_get** +> V1GroupsRootGetResponse v1_groups_root_get(authorization) -Add multiple users to a group by their global IDs. +Get all root-level groups. ### Example @@ -24828,7 +24598,7 @@ Add multiple users to a group by their global IDs. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest +from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24854,13 +24624,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | - v1_groups_id_members_post_request = graphiant_sdk.V1GroupsIdMembersPostRequest() # V1GroupsIdMembersPostRequest | try: - api_instance.v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) + api_response = api_instance.v1_groups_root_get(authorization) + print("The response of DefaultApi->v1_groups_root_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_members_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_groups_root_get: %s\n" % e) ``` @@ -24871,12 +24641,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | - **v1_groups_id_members_post_request** | [**V1GroupsIdMembersPostRequest**](V1GroupsIdMembersPostRequest.md)| | ### Return type -void (empty response body) +[**V1GroupsRootGetResponse**](V1GroupsRootGetResponse.md) ### Authorization @@ -24884,21 +24652,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: Not defined + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_id_patch** -> v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) +# **v1_invitation_email_post** +> object v1_invitation_email_post(authorization, v1_invitation_email_post_request) -Update group information. +Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. ### Example @@ -24906,7 +24674,7 @@ Update group information. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest +from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24932,13 +24700,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | - v1_groups_id_patch_request = graphiant_sdk.V1GroupsIdPatchRequest() # V1GroupsIdPatchRequest | + v1_invitation_email_post_request = graphiant_sdk.V1InvitationEmailPostRequest() # V1InvitationEmailPostRequest | try: - api_instance.v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) + api_response = api_instance.v1_invitation_email_post(authorization, v1_invitation_email_post_request) + print("The response of DefaultApi->v1_invitation_email_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_id_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_invitation_email_post: %s\n" % e) ``` @@ -24949,12 +24718,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | - **v1_groups_id_patch_request** | [**V1GroupsIdPatchRequest**](V1GroupsIdPatchRequest.md)| | + **v1_invitation_email_post_request** | [**V1InvitationEmailPostRequest**](V1InvitationEmailPostRequest.md)| | ### Return type -void (empty response body) +**object** ### Authorization @@ -24963,20 +24731,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_groups_put** -> v1_groups_put(authorization, v1_groups_put_request) +# **v1_lan_segments_get** +> V1LanSegmentsGetResponse v1_lan_segments_get(authorization, device_id=device_id, device_ids=device_ids, filter=filter, gateway_cloud_provider=gateway_cloud_provider) -Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). +Get LAN Segments for the current enterprise ### Example @@ -24984,83 +24752,7 @@ Create a new group with and set permissions. Set group's enterprise management c ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_put_request import V1GroupsPutRequest -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_groups_put_request = graphiant_sdk.V1GroupsPutRequest() # V1GroupsPutRequest | - - try: - api_instance.v1_groups_put(authorization, v1_groups_put_request) - except Exception as e: - print("Exception when calling DefaultApi->v1_groups_put: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_groups_put_request** | [**V1GroupsPutRequest**](V1GroupsPutRequest.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_groups_root_get** -> V1GroupsRootGetResponse v1_groups_root_get(authorization) - -Get all root-level groups. - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse +from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -25086,13 +24778,17 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + device_id = 1234567891011 # int | (optional) + device_ids = [[0]] # List[int] | (optional) + filter = 'example string' # str | (optional) + gateway_cloud_provider = 'ENUM_VALUE' # str | (optional) try: - api_response = api_instance.v1_groups_root_get(authorization) - print("The response of DefaultApi->v1_groups_root_get:\n") + api_response = api_instance.v1_lan_segments_get(authorization, device_id=device_id, device_ids=device_ids, filter=filter, gateway_cloud_provider=gateway_cloud_provider) + print("The response of DefaultApi->v1_lan_segments_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_groups_root_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_lan_segments_get: %s\n" % e) ``` @@ -25103,10 +24799,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **device_id** | **int**| | [optional] + **device_ids** | [**List[int]**](int.md)| | [optional] + **filter** | **str**| | [optional] + **gateway_cloud_provider** | **str**| | [optional] ### Return type -[**V1GroupsRootGetResponse**](V1GroupsRootGetResponse.md) +[**V1LanSegmentsGetResponse**](V1LanSegmentsGetResponse.md) ### Authorization @@ -25125,10 +24825,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_invitation_email_post** -> object v1_invitation_email_post(authorization, v1_invitation_email_post_request) +# **v1_lan_segments_interfaces_public_get** +> V1LanSegmentsInterfacesPublicGetResponse v1_lan_segments_interfaces_public_get(authorization, device_id) -Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. +Per LAN segment (VRF) on a device: interfaces split by globally routable IPv4 (for Public VIF / BGP) ### Example @@ -25136,7 +24836,7 @@ Send invitation emails for B2B data exchange service connections. For non-Graphi ```python import graphiant_sdk -from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -25162,14 +24862,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_invitation_email_post_request = graphiant_sdk.V1InvitationEmailPostRequest() # V1InvitationEmailPostRequest | + device_id = 1234567891011 # int | device id try: - api_response = api_instance.v1_invitation_email_post(authorization, v1_invitation_email_post_request) - print("The response of DefaultApi->v1_invitation_email_post:\n") + api_response = api_instance.v1_lan_segments_interfaces_public_get(authorization, device_id) + print("The response of DefaultApi->v1_lan_segments_interfaces_public_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_invitation_email_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_lan_segments_interfaces_public_get: %s\n" % e) ``` @@ -25180,87 +24880,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_invitation_email_post_request** | [**V1InvitationEmailPostRequest**](V1InvitationEmailPostRequest.md)| | + **device_id** | **int**| device id | ### Return type -**object** - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v1_lan_segments_get** -> V1LanSegmentsGetResponse v1_lan_segments_get(authorization) - -Get LAN Segments for the current enterprise - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - - try: - api_response = api_instance.v1_lan_segments_get(authorization) - print("The response of DefaultApi->v1_lan_segments_get:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v1_lan_segments_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - -### Return type - -[**V1LanSegmentsGetResponse**](V1LanSegmentsGetResponse.md) +[**V1LanSegmentsInterfacesPublicGetResponse**](V1LanSegmentsInterfacesPublicGetResponse.md) ### Authorization @@ -26588,10 +26212,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_qos_circuit_profiles_get** -> V1QosCircuitProfilesGetResponse v1_qos_circuit_profiles_get(authorization) +# **v1_pvif_id_delete** +> object v1_pvif_id_delete(authorization, id) -Returns a list of QoS profiles for circuits with associated queues & attributes +Delete a gateway Public VIF service ### Example @@ -26599,7 +26223,6 @@ Returns a list of QoS profiles for circuits with associated queues & attributes ```python import graphiant_sdk -from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26625,13 +26248,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | Producer service id try: - api_response = api_instance.v1_qos_circuit_profiles_get(authorization) - print("The response of DefaultApi->v1_qos_circuit_profiles_get:\n") + api_response = api_instance.v1_pvif_id_delete(authorization, id) + print("The response of DefaultApi->v1_pvif_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_qos_circuit_profiles_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_pvif_id_delete: %s\n" % e) ``` @@ -26642,10 +26266,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Producer service id | ### Return type -[**V1QosCircuitProfilesGetResponse**](V1QosCircuitProfilesGetResponse.md) +**object** ### Authorization @@ -26664,10 +26289,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_regions_get** -> V1RegionsGetResponse v1_regions_get(authorization) +# **v1_pvif_id_details_get** +> V1PvifIdDetailsGetResponse v1_pvif_id_details_get(authorization, id) -Get regions used for the current enterprise +Get a gateway Public VIF service ### Example @@ -26675,7 +26300,7 @@ Get regions used for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26701,13 +26326,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | Producer service id try: - api_response = api_instance.v1_regions_get(authorization) - print("The response of DefaultApi->v1_regions_get:\n") + api_response = api_instance.v1_pvif_id_details_get(authorization, id) + print("The response of DefaultApi->v1_pvif_id_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_regions_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_pvif_id_details_get: %s\n" % e) ``` @@ -26718,10 +26344,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Producer service id | ### Return type -[**V1RegionsGetResponse**](V1RegionsGetResponse.md) +[**V1PvifIdDetailsGetResponse**](V1PvifIdDetailsGetResponse.md) ### Authorization @@ -26740,8 +26367,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_search_get** -> V1SearchGetResponse v1_search_get(authorization, max_results=max_results, search=search) +# **v1_pvif_id_put** +> V1PvifIdPutResponse v1_pvif_id_put(authorization, id, v1_pvif_id_put_request) + +Update a gateway Public VIF service ### Example @@ -26749,7 +26378,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26775,15 +26405,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - max_results = 123 # int | (optional) - search = 'example string' # str | (optional) + id = 1234567891011 # int | Producer service id + v1_pvif_id_put_request = graphiant_sdk.V1PvifIdPutRequest() # V1PvifIdPutRequest | try: - api_response = api_instance.v1_search_get(authorization, max_results=max_results, search=search) - print("The response of DefaultApi->v1_search_get:\n") + api_response = api_instance.v1_pvif_id_put(authorization, id, v1_pvif_id_put_request) + print("The response of DefaultApi->v1_pvif_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_search_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_pvif_id_put: %s\n" % e) ``` @@ -26794,12 +26424,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **max_results** | **int**| | [optional] - **search** | **str**| | [optional] + **id** | **int**| Producer service id | + **v1_pvif_id_put_request** | [**V1PvifIdPutRequest**](V1PvifIdPutRequest.md)| | ### Return type -[**V1SearchGetResponse**](V1SearchGetResponse.md) +[**V1PvifIdPutResponse**](V1PvifIdPutResponse.md) ### Authorization @@ -26807,7 +26437,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -26818,10 +26448,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_site_details_sitelists_post** -> V1SiteDetailsSitelistsPostResponse v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) +# **v1_pvif_post** +> V1PvifPostResponse v1_pvif_post(authorization, v1_pvif_post_request) -Get a list of site list references for a site +Create a gateway Public VIF service ### Example @@ -26829,8 +26459,8 @@ Get a list of site list references for a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest -from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26856,14 +26486,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_site_details_sitelists_post_request = graphiant_sdk.V1SiteDetailsSitelistsPostRequest() # V1SiteDetailsSitelistsPostRequest | + v1_pvif_post_request = graphiant_sdk.V1PvifPostRequest() # V1PvifPostRequest | try: - api_response = api_instance.v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) - print("The response of DefaultApi->v1_site_details_sitelists_post:\n") + api_response = api_instance.v1_pvif_post(authorization, v1_pvif_post_request) + print("The response of DefaultApi->v1_pvif_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_site_details_sitelists_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_pvif_post: %s\n" % e) ``` @@ -26874,11 +26504,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_site_details_sitelists_post_request** | [**V1SiteDetailsSitelistsPostRequest**](V1SiteDetailsSitelistsPostRequest.md)| | + **v1_pvif_post_request** | [**V1PvifPostRequest**](V1PvifPostRequest.md)| | ### Return type -[**V1SiteDetailsSitelistsPostResponse**](V1SiteDetailsSitelistsPostResponse.md) +[**V1PvifPostResponse**](V1PvifPostResponse.md) ### Authorization @@ -26897,10 +26527,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_site_id_details_interfaces_get** -> V1SiteIdDetailsInterfacesGetResponse v1_site_id_details_interfaces_get(authorization, id) +# **v1_pvif_summary_get** +> V1PvifSummaryGetResponse v1_pvif_summary_get(authorization) -Get a list of a site's interfaces, loopback listed first +List gateway Public VIF services ### Example @@ -26908,7 +26538,7 @@ Get a list of a site's interfaces, loopback listed first ```python import graphiant_sdk -from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26934,14 +26564,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | try: - api_response = api_instance.v1_site_id_details_interfaces_get(authorization, id) - print("The response of DefaultApi->v1_site_id_details_interfaces_get:\n") + api_response = api_instance.v1_pvif_summary_get(authorization) + print("The response of DefaultApi->v1_pvif_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_site_id_details_interfaces_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_pvif_summary_get: %s\n" % e) ``` @@ -26952,11 +26581,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | ### Return type -[**V1SiteIdDetailsInterfacesGetResponse**](V1SiteIdDetailsInterfacesGetResponse.md) +[**V1PvifSummaryGetResponse**](V1PvifSummaryGetResponse.md) ### Authorization @@ -26975,10 +26603,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_details_get** -> V1SitesDetailsGetResponse v1_sites_details_get(authorization) +# **v1_qos_circuit_profiles_get** +> V1QosCircuitProfilesGetResponse v1_qos_circuit_profiles_get(authorization) -Get a list of sites with aggregated values and site wide status +Returns a list of QoS profiles for circuits with associated queues & attributes ### Example @@ -26986,7 +26614,7 @@ Get a list of sites with aggregated values and site wide status ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse +from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27014,11 +26642,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_sites_details_get(authorization) - print("The response of DefaultApi->v1_sites_details_get:\n") + api_response = api_instance.v1_qos_circuit_profiles_get(authorization) + print("The response of DefaultApi->v1_qos_circuit_profiles_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_qos_circuit_profiles_get: %s\n" % e) ``` @@ -27032,7 +26660,7 @@ Name | Type | Description | Notes ### Return type -[**V1SitesDetailsGetResponse**](V1SitesDetailsGetResponse.md) +[**V1QosCircuitProfilesGetResponse**](V1QosCircuitProfilesGetResponse.md) ### Authorization @@ -27051,10 +26679,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_get** -> V1SitesGetResponse v1_sites_get(authorization) +# **v1_regions_get** +> V1RegionsGetResponse v1_regions_get(authorization) -Get sites for the current enterprise +Get regions used for the current enterprise ### Example @@ -27062,7 +26690,7 @@ Get sites for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse +from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27090,11 +26718,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_sites_get(authorization) - print("The response of DefaultApi->v1_sites_get:\n") + api_response = api_instance.v1_regions_get(authorization) + print("The response of DefaultApi->v1_regions_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_regions_get: %s\n" % e) ``` @@ -27108,7 +26736,7 @@ Name | Type | Description | Notes ### Return type -[**V1SitesGetResponse**](V1SitesGetResponse.md) +[**V1RegionsGetResponse**](V1RegionsGetResponse.md) ### Authorization @@ -27127,10 +26755,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_map_details_get** -> V1SitesMapDetailsGetResponse v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) +# **v1_regions_region_id_gateways_get** +> V1RegionsRegionIdGatewaysGetResponse v1_regions_region_id_gateways_get(authorization, region_id, storage_provider) -Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site +List gateway appliances in a region with at least one LAN interface for the given storage provider ### Example @@ -27138,7 +26766,7 @@ Per LAN segment (VRF), sites touched by that segment and device lists with/witho ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_map_details_get_response import V1SitesMapDetailsGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27164,16 +26792,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - lan_segment_ids = [[0]] # List[int] | (optional) - site_ids = [[0]] # List[int] | (optional) - site_list_ids = [[0]] # List[int] | (optional) + region_id = 123 # int | Graphiant region id + storage_provider = 'ENUM_VALUE' # str | Storage provider; only gateways with a LAN interface for this provider are returned try: - api_response = api_instance.v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) - print("The response of DefaultApi->v1_sites_map_details_get:\n") + api_response = api_instance.v1_regions_region_id_gateways_get(authorization, region_id, storage_provider) + print("The response of DefaultApi->v1_regions_region_id_gateways_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_map_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_regions_region_id_gateways_get: %s\n" % e) ``` @@ -27184,13 +26811,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **lan_segment_ids** | [**List[int]**](int.md)| | [optional] - **site_ids** | [**List[int]**](int.md)| | [optional] - **site_list_ids** | [**List[int]**](int.md)| | [optional] + **region_id** | **int**| Graphiant region id | + **storage_provider** | **str**| Storage provider; only gateways with a LAN interface for this provider are returned | ### Return type -[**V1SitesMapDetailsGetResponse**](V1SitesMapDetailsGetResponse.md) +[**V1RegionsRegionIdGatewaysGetResponse**](V1RegionsRegionIdGatewaysGetResponse.md) ### Authorization @@ -27209,10 +26835,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_post** -> V1SitesPostResponse v1_sites_post(authorization, v1_sites_post_request) - -Create an enterprise site +# **v1_search_get** +> V1SearchGetResponse v1_search_get(authorization, max_results=max_results, search=search) ### Example @@ -27220,8 +26844,7 @@ Create an enterprise site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest -from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse +from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27247,14 +26870,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_sites_post_request = graphiant_sdk.V1SitesPostRequest() # V1SitesPostRequest | + max_results = 123 # int | (optional) + search = 'example string' # str | (optional) try: - api_response = api_instance.v1_sites_post(authorization, v1_sites_post_request) - print("The response of DefaultApi->v1_sites_post:\n") + api_response = api_instance.v1_search_get(authorization, max_results=max_results, search=search) + print("The response of DefaultApi->v1_search_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_search_get: %s\n" % e) ``` @@ -27265,11 +26889,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_sites_post_request** | [**V1SitesPostRequest**](V1SitesPostRequest.md)| | + **max_results** | **int**| | [optional] + **search** | **str**| | [optional] ### Return type -[**V1SitesPostResponse**](V1SitesPostResponse.md) +[**V1SearchGetResponse**](V1SearchGetResponse.md) ### Authorization @@ -27277,7 +26902,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -27288,10 +26913,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_site_id_circuits_get** -> V1SitesSiteIdCircuitsGetResponse v1_sites_site_id_circuits_get(authorization, site_id) +# **v1_site_details_sitelists_post** +> V1SiteDetailsSitelistsPostResponse v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) -Get Circuits for the site +Get a list of site list references for a site ### Example @@ -27299,7 +26924,8 @@ Get Circuits for the site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_circuits_get_response import V1SitesSiteIdCircuitsGetResponse +from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest +from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27325,14 +26951,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + v1_site_details_sitelists_post_request = graphiant_sdk.V1SiteDetailsSitelistsPostRequest() # V1SiteDetailsSitelistsPostRequest | try: - api_response = api_instance.v1_sites_site_id_circuits_get(authorization, site_id) - print("The response of DefaultApi->v1_sites_site_id_circuits_get:\n") + api_response = api_instance.v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) + print("The response of DefaultApi->v1_site_details_sitelists_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_circuits_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_site_details_sitelists_post: %s\n" % e) ``` @@ -27343,11 +26969,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **v1_site_details_sitelists_post_request** | [**V1SiteDetailsSitelistsPostRequest**](V1SiteDetailsSitelistsPostRequest.md)| | ### Return type -[**V1SitesSiteIdCircuitsGetResponse**](V1SitesSiteIdCircuitsGetResponse.md) +[**V1SiteDetailsSitelistsPostResponse**](V1SiteDetailsSitelistsPostResponse.md) ### Authorization @@ -27355,7 +26981,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -27366,10 +26992,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_site_id_delete** -> v1_sites_site_id_delete(authorization, site_id) +# **v1_site_id_details_interfaces_get** +> V1SiteIdDetailsInterfacesGetResponse v1_site_id_details_interfaces_get(authorization, id) -Delete a site +Get a list of a site's interfaces, loopback listed first ### Example @@ -27377,6 +27003,7 @@ Delete a site ```python import graphiant_sdk +from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27402,12 +27029,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + id = 1234567891011 # int | try: - api_instance.v1_sites_site_id_delete(authorization, site_id) + api_response = api_instance.v1_site_id_details_interfaces_get(authorization, id) + print("The response of DefaultApi->v1_site_id_details_interfaces_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_site_id_details_interfaces_get: %s\n" % e) ``` @@ -27418,11 +27047,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **id** | **int**| | ### Return type -void (empty response body) +[**V1SiteIdDetailsInterfacesGetResponse**](V1SiteIdDetailsInterfacesGetResponse.md) ### Authorization @@ -27431,20 +27060,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_site_id_devices_get** -> V1SitesSiteIdDevicesGetResponse v1_sites_site_id_devices_get(authorization, site_id) +# **v1_sites_details_get** +> V1SitesDetailsGetResponse v1_sites_details_get(authorization) -Get Devices for the site +Get a list of sites with aggregated values and site wide status ### Example @@ -27452,7 +27081,7 @@ Get Devices for the site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_devices_get_response import V1SitesSiteIdDevicesGetResponse +from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27478,14 +27107,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 12345678910 # int | try: - api_response = api_instance.v1_sites_site_id_devices_get(authorization, site_id) - print("The response of DefaultApi->v1_sites_site_id_devices_get:\n") + api_response = api_instance.v1_sites_details_get(authorization) + print("The response of DefaultApi->v1_sites_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_devices_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_details_get: %s\n" % e) ``` @@ -27496,11 +27124,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | ### Return type -[**V1SitesSiteIdDevicesGetResponse**](V1SitesSiteIdDevicesGetResponse.md) +[**V1SitesDetailsGetResponse**](V1SitesDetailsGetResponse.md) ### Authorization @@ -27519,10 +27146,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_sites_site_id_post** -> V1SitesSiteIdPostResponse v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) +# **v1_sites_get** +> V1SitesGetResponse v1_sites_get(authorization) -Update a site +Get sites for the current enterprise ### Example @@ -27530,8 +27157,7 @@ Update a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_post_request import V1SitesSiteIdPostRequest -from graphiant_sdk.models.v1_sites_site_id_post_response import V1SitesSiteIdPostResponse +from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27557,15 +27183,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | - v1_sites_site_id_post_request = graphiant_sdk.V1SitesSiteIdPostRequest() # V1SitesSiteIdPostRequest | try: - api_response = api_instance.v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) - print("The response of DefaultApi->v1_sites_site_id_post:\n") + api_response = api_instance.v1_sites_get(authorization) + print("The response of DefaultApi->v1_sites_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_get: %s\n" % e) ``` @@ -27576,12 +27200,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | - **v1_sites_site_id_post_request** | [**V1SitesSiteIdPostRequest**](V1SitesSiteIdPostRequest.md)| | ### Return type -[**V1SitesSiteIdPostResponse**](V1SitesSiteIdPostResponse.md) +[**V1SitesGetResponse**](V1SitesGetResponse.md) ### Authorization @@ -27589,7 +27211,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -27600,8 +27222,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_auto_upgrade_default_get** -> V1SoftwareAutoUpgradeDefaultGetResponse v1_software_auto_upgrade_default_get(authorization) +# **v1_sites_map_details_get** +> V1SitesMapDetailsGetResponse v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) + +Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site ### Example @@ -27609,7 +27233,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse +from graphiant_sdk.models.v1_sites_map_details_get_response import V1SitesMapDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27635,13 +27259,16 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + lan_segment_ids = [[0]] # List[int] | (optional) + site_ids = [[0]] # List[int] | (optional) + site_list_ids = [[0]] # List[int] | (optional) try: - api_response = api_instance.v1_software_auto_upgrade_default_get(authorization) - print("The response of DefaultApi->v1_software_auto_upgrade_default_get:\n") + api_response = api_instance.v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) + print("The response of DefaultApi->v1_sites_map_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_map_details_get: %s\n" % e) ``` @@ -27652,10 +27279,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **lan_segment_ids** | [**List[int]**](int.md)| | [optional] + **site_ids** | [**List[int]**](int.md)| | [optional] + **site_list_ids** | [**List[int]**](int.md)| | [optional] ### Return type -[**V1SoftwareAutoUpgradeDefaultGetResponse**](V1SoftwareAutoUpgradeDefaultGetResponse.md) +[**V1SitesMapDetailsGetResponse**](V1SitesMapDetailsGetResponse.md) ### Authorization @@ -27674,8 +27304,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_auto_upgrade_default_put** -> v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) +# **v1_sites_post** +> V1SitesPostResponse v1_sites_post(authorization, v1_sites_post_request) + +Create an enterprise site ### Example @@ -27683,7 +27315,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest +from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest +from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27709,12 +27342,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_auto_upgrade_default_put_request = graphiant_sdk.V1SoftwareAutoUpgradeDefaultPutRequest() # V1SoftwareAutoUpgradeDefaultPutRequest | + v1_sites_post_request = graphiant_sdk.V1SitesPostRequest() # V1SitesPostRequest | try: - api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) + api_response = api_instance.v1_sites_post(authorization, v1_sites_post_request) + print("The response of DefaultApi->v1_sites_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_post: %s\n" % e) ``` @@ -27725,11 +27360,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_auto_upgrade_default_put_request** | [**V1SoftwareAutoUpgradeDefaultPutRequest**](V1SoftwareAutoUpgradeDefaultPutRequest.md)| | + **v1_sites_post_request** | [**V1SitesPostRequest**](V1SitesPostRequest.md)| | ### Return type -void (empty response body) +[**V1SitesPostResponse**](V1SitesPostResponse.md) ### Authorization @@ -27738,18 +27373,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_gcsrelease_upload_notes_post** -> object v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) +# **v1_sites_site_id_circuits_get** +> V1SitesSiteIdCircuitsGetResponse v1_sites_site_id_circuits_get(authorization, site_id) + +Get Circuits for the site ### Example @@ -27757,7 +27394,7 @@ void (empty response body) ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest +from graphiant_sdk.models.v1_sites_site_id_circuits_get_response import V1SitesSiteIdCircuitsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27783,14 +27420,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_gcsrelease_upload_notes_post_request = graphiant_sdk.V1SoftwareGcsreleaseUploadNotesPostRequest() # V1SoftwareGcsreleaseUploadNotesPostRequest | + site_id = 1234567891011 # int | try: - api_response = api_instance.v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) - print("The response of DefaultApi->v1_software_gcsrelease_upload_notes_post:\n") + api_response = api_instance.v1_sites_site_id_circuits_get(authorization, site_id) + print("The response of DefaultApi->v1_sites_site_id_circuits_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_gcsrelease_upload_notes_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_circuits_get: %s\n" % e) ``` @@ -27801,11 +27438,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_gcsrelease_upload_notes_post_request** | [**V1SoftwareGcsreleaseUploadNotesPostRequest**](V1SoftwareGcsreleaseUploadNotesPostRequest.md)| | + **site_id** | **int**| | ### Return type -**object** +[**V1SitesSiteIdCircuitsGetResponse**](V1SitesSiteIdCircuitsGetResponse.md) ### Authorization @@ -27813,7 +27450,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -27824,8 +27461,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_releases_download_get** -> V1SoftwareReleasesDownloadGetResponse v1_software_releases_download_get(authorization, image_ext, version) +# **v1_sites_site_id_delete** +> v1_sites_site_id_delete(authorization, site_id) + +Delete a site ### Example @@ -27833,7 +27472,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27859,15 +27497,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - image_ext = 'qcow2' # str | GNOS Image type (qcow2 or ova) - version = '9999.202406130322' # str | GNOS Image version + site_id = 1234567891011 # int | try: - api_response = api_instance.v1_software_releases_download_get(authorization, image_ext, version) - print("The response of DefaultApi->v1_software_releases_download_get:\n") - pprint(api_response) + api_instance.v1_sites_site_id_delete(authorization, site_id) except Exception as e: - print("Exception when calling DefaultApi->v1_software_releases_download_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_delete: %s\n" % e) ``` @@ -27878,12 +27513,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **image_ext** | **str**| GNOS Image type (qcow2 or ova) | - **version** | **str**| GNOS Image version | + **site_id** | **int**| | ### Return type -[**V1SoftwareReleasesDownloadGetResponse**](V1SoftwareReleasesDownloadGetResponse.md) +void (empty response body) ### Authorization @@ -27892,18 +27526,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_releases_summary_get** -> V1SoftwareReleasesSummaryGetResponse v1_software_releases_summary_get(authorization) +# **v1_sites_site_id_devices_get** +> V1SitesSiteIdDevicesGetResponse v1_sites_site_id_devices_get(authorization, site_id) + +Get Devices for the site ### Example @@ -27911,7 +27547,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse +from graphiant_sdk.models.v1_sites_site_id_devices_get_response import V1SitesSiteIdDevicesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -27937,13 +27573,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 12345678910 # int | try: - api_response = api_instance.v1_software_releases_summary_get(authorization) - print("The response of DefaultApi->v1_software_releases_summary_get:\n") + api_response = api_instance.v1_sites_site_id_devices_get(authorization, site_id) + print("The response of DefaultApi->v1_sites_site_id_devices_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_releases_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_devices_get: %s\n" % e) ``` @@ -27954,10 +27591,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | ### Return type -[**V1SoftwareReleasesSummaryGetResponse**](V1SoftwareReleasesSummaryGetResponse.md) +[**V1SitesSiteIdDevicesGetResponse**](V1SitesSiteIdDevicesGetResponse.md) ### Authorization @@ -27976,10 +27614,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_get** -> V1SoftwareRolloutsGetResponse v1_software_rollouts_get(authorization) +# **v1_sites_site_id_post** +> V1SitesSiteIdPostResponse v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) -Returns all the configured upgrade rollouts +Update a site ### Example @@ -27987,7 +27625,8 @@ Returns all the configured upgrade rollouts ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_get_response import V1SoftwareRolloutsGetResponse +from graphiant_sdk.models.v1_sites_site_id_post_request import V1SitesSiteIdPostRequest +from graphiant_sdk.models.v1_sites_site_id_post_response import V1SitesSiteIdPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28013,13 +27652,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 1234567891011 # int | + v1_sites_site_id_post_request = graphiant_sdk.V1SitesSiteIdPostRequest() # V1SitesSiteIdPostRequest | try: - api_response = api_instance.v1_software_rollouts_get(authorization) - print("The response of DefaultApi->v1_software_rollouts_get:\n") + api_response = api_instance.v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) + print("The response of DefaultApi->v1_sites_site_id_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_post: %s\n" % e) ``` @@ -28030,10 +27671,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | + **v1_sites_site_id_post_request** | [**V1SitesSiteIdPostRequest**](V1SitesSiteIdPostRequest.md)| | ### Return type -[**V1SoftwareRolloutsGetResponse**](V1SoftwareRolloutsGetResponse.md) +[**V1SitesSiteIdPostResponse**](V1SitesSiteIdPostResponse.md) ### Authorization @@ -28041,7 +27684,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -28052,10 +27695,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_id_delete** -> object v1_software_rollouts_id_delete(authorization, id) - -Delete given upgrade rollout +# **v1_software_auto_upgrade_default_get** +> V1SoftwareAutoUpgradeDefaultGetResponse v1_software_auto_upgrade_default_get(authorization) ### Example @@ -28063,6 +27704,7 @@ Delete given upgrade rollout ```python import graphiant_sdk +from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28088,14 +27730,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 42 # int | Rollout identifier to delete. try: - api_response = api_instance.v1_software_rollouts_id_delete(authorization, id) - print("The response of DefaultApi->v1_software_rollouts_id_delete:\n") + api_response = api_instance.v1_software_auto_upgrade_default_get(authorization) + print("The response of DefaultApi->v1_software_auto_upgrade_default_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_get: %s\n" % e) ``` @@ -28106,11 +27747,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Rollout identifier to delete. | ### Return type -**object** +[**V1SoftwareAutoUpgradeDefaultGetResponse**](V1SoftwareAutoUpgradeDefaultGetResponse.md) ### Authorization @@ -28129,10 +27769,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_id_get** -> V1SoftwareRolloutsIdGetResponse v1_software_rollouts_id_get(authorization, id) +# **v1_software_auto_upgrade_default_put** +> v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) -Returns details about given upgrade rollout +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_software_auto_upgrade_default_put_request = graphiant_sdk.V1SoftwareAutoUpgradeDefaultPutRequest() # V1SoftwareAutoUpgradeDefaultPutRequest | + + try: + api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) + except Exception as e: + print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_software_auto_upgrade_default_put_request** | [**V1SoftwareAutoUpgradeDefaultPutRequest**](V1SoftwareAutoUpgradeDefaultPutRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_software_gcsrelease_upload_notes_post** +> object v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) ### Example @@ -28140,7 +27852,7 @@ Returns details about given upgrade rollout ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_id_get_response import V1SoftwareRolloutsIdGetResponse +from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28166,14 +27878,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 42 # int | Rollout identifier to fetch. + v1_software_gcsrelease_upload_notes_post_request = graphiant_sdk.V1SoftwareGcsreleaseUploadNotesPostRequest() # V1SoftwareGcsreleaseUploadNotesPostRequest | try: - api_response = api_instance.v1_software_rollouts_id_get(authorization, id) - print("The response of DefaultApi->v1_software_rollouts_id_get:\n") + api_response = api_instance.v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) + print("The response of DefaultApi->v1_software_gcsrelease_upload_notes_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_gcsrelease_upload_notes_post: %s\n" % e) ``` @@ -28184,11 +27896,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Rollout identifier to fetch. | + **v1_software_gcsrelease_upload_notes_post_request** | [**V1SoftwareGcsreleaseUploadNotesPostRequest**](V1SoftwareGcsreleaseUploadNotesPostRequest.md)| | ### Return type -[**V1SoftwareRolloutsIdGetResponse**](V1SoftwareRolloutsIdGetResponse.md) +**object** ### Authorization @@ -28196,7 +27908,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -28207,10 +27919,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_post** -> V1SoftwareRolloutsPostResponse v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) - -Create upgrade rollout and returns rollout identifier +# **v1_software_releases_download_get** +> V1SoftwareReleasesDownloadGetResponse v1_software_releases_download_get(authorization, image_ext, version) ### Example @@ -28218,8 +27928,7 @@ Create upgrade rollout and returns rollout identifier ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_post_request import V1SoftwareRolloutsPostRequest -from graphiant_sdk.models.v1_software_rollouts_post_response import V1SoftwareRolloutsPostResponse +from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28245,14 +27954,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_post_request = graphiant_sdk.V1SoftwareRolloutsPostRequest() # V1SoftwareRolloutsPostRequest | + image_ext = 'qcow2' # str | GNOS Image type (qcow2 or ova) + version = '9999.202406130322' # str | GNOS Image version try: - api_response = api_instance.v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) - print("The response of DefaultApi->v1_software_rollouts_post:\n") + api_response = api_instance.v1_software_releases_download_get(authorization, image_ext, version) + print("The response of DefaultApi->v1_software_releases_download_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_releases_download_get: %s\n" % e) ``` @@ -28263,11 +27973,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_post_request** | [**V1SoftwareRolloutsPostRequest**](V1SoftwareRolloutsPostRequest.md)| | + **image_ext** | **str**| GNOS Image type (qcow2 or ova) | + **version** | **str**| GNOS Image version | ### Return type -[**V1SoftwareRolloutsPostResponse**](V1SoftwareRolloutsPostResponse.md) +[**V1SoftwareReleasesDownloadGetResponse**](V1SoftwareReleasesDownloadGetResponse.md) ### Authorization @@ -28275,7 +27986,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -28286,10 +27997,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_put** -> object v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) - -Modify update rollout +# **v1_software_releases_summary_get** +> V1SoftwareReleasesSummaryGetResponse v1_software_releases_summary_get(authorization) ### Example @@ -28297,7 +28006,7 @@ Modify update rollout ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_put_request import V1SoftwareRolloutsPutRequest +from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28323,14 +28032,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_put_request = graphiant_sdk.V1SoftwareRolloutsPutRequest() # V1SoftwareRolloutsPutRequest | try: - api_response = api_instance.v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) - print("The response of DefaultApi->v1_software_rollouts_put:\n") + api_response = api_instance.v1_software_releases_summary_get(authorization) + print("The response of DefaultApi->v1_software_releases_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_releases_summary_get: %s\n" % e) ``` @@ -28341,11 +28049,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_put_request** | [**V1SoftwareRolloutsPutRequest**](V1SoftwareRolloutsPutRequest.md)| | ### Return type -**object** +[**V1SoftwareReleasesSummaryGetResponse**](V1SoftwareReleasesSummaryGetResponse.md) ### Authorization @@ -28353,7 +28060,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -28364,10 +28071,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_rollouts_schedule_post** -> object v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) +# **v1_software_rollouts_get** +> V1SoftwareRolloutsGetResponse v1_software_rollouts_get(authorization) -Schedule rollout to upgrade now, later or user-triggered +Returns all the configured upgrade rollouts ### Example @@ -28375,7 +28082,7 @@ Schedule rollout to upgrade now, later or user-triggered ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_schedule_post_request import V1SoftwareRolloutsSchedulePostRequest +from graphiant_sdk.models.v1_software_rollouts_get_response import V1SoftwareRolloutsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28401,14 +28108,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_schedule_post_request = graphiant_sdk.V1SoftwareRolloutsSchedulePostRequest() # V1SoftwareRolloutsSchedulePostRequest | try: - api_response = api_instance.v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) - print("The response of DefaultApi->v1_software_rollouts_schedule_post:\n") + api_response = api_instance.v1_software_rollouts_get(authorization) + print("The response of DefaultApi->v1_software_rollouts_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_schedule_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_get: %s\n" % e) ``` @@ -28419,11 +28125,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_schedule_post_request** | [**V1SoftwareRolloutsSchedulePostRequest**](V1SoftwareRolloutsSchedulePostRequest.md)| | ### Return type -**object** +[**V1SoftwareRolloutsGetResponse**](V1SoftwareRolloutsGetResponse.md) ### Authorization @@ -28431,7 +28136,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -28442,8 +28147,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_running_details_get** -> V1SoftwareRunningDetailsGetResponse v1_software_running_details_get(authorization, running_version=running_version) +# **v1_software_rollouts_id_delete** +> object v1_software_rollouts_id_delete(authorization, id) + +Delete given upgrade rollout ### Example @@ -28451,7 +28158,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28477,14 +28183,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - running_version = 'example string' # str | (optional) + id = 42 # int | Rollout identifier to delete. try: - api_response = api_instance.v1_software_running_details_get(authorization, running_version=running_version) - print("The response of DefaultApi->v1_software_running_details_get:\n") + api_response = api_instance.v1_software_rollouts_id_delete(authorization, id) + print("The response of DefaultApi->v1_software_rollouts_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_running_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_id_delete: %s\n" % e) ``` @@ -28495,11 +28201,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **running_version** | **str**| | [optional] + **id** | **int**| Rollout identifier to delete. | ### Return type -[**V1SoftwareRunningDetailsGetResponse**](V1SoftwareRunningDetailsGetResponse.md) +**object** ### Authorization @@ -28518,8 +28224,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_software_running_summary_get** -> V1SoftwareRunningSummaryGetResponse v1_software_running_summary_get(authorization) +# **v1_software_rollouts_id_get** +> V1SoftwareRolloutsIdGetResponse v1_software_rollouts_id_get(authorization, id) + +Returns details about given upgrade rollout ### Example @@ -28527,7 +28235,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse +from graphiant_sdk.models.v1_software_rollouts_id_get_response import V1SoftwareRolloutsIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28553,13 +28261,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 42 # int | Rollout identifier to fetch. try: - api_response = api_instance.v1_software_running_summary_get(authorization) - print("The response of DefaultApi->v1_software_running_summary_get:\n") + api_response = api_instance.v1_software_rollouts_id_get(authorization, id) + print("The response of DefaultApi->v1_software_rollouts_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_running_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_id_get: %s\n" % e) ``` @@ -28570,10 +28279,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| Rollout identifier to fetch. | ### Return type -[**V1SoftwareRunningSummaryGetResponse**](V1SoftwareRunningSummaryGetResponse.md) +[**V1SoftwareRolloutsIdGetResponse**](V1SoftwareRolloutsIdGetResponse.md) ### Authorization @@ -28592,10 +28302,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_talkers_device_device_id_top_post** -> V1TalkersDeviceDeviceIdTopPostResponse v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) +# **v1_software_rollouts_post** +> V1SoftwareRolloutsPostResponse v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) -Get top talkers for a device +Create upgrade rollout and returns rollout identifier ### Example @@ -28603,8 +28313,8 @@ Get top talkers for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_talkers_device_device_id_top_post_request import V1TalkersDeviceDeviceIdTopPostRequest -from graphiant_sdk.models.v1_talkers_device_device_id_top_post_response import V1TalkersDeviceDeviceIdTopPostResponse +from graphiant_sdk.models.v1_software_rollouts_post_request import V1SoftwareRolloutsPostRequest +from graphiant_sdk.models.v1_software_rollouts_post_response import V1SoftwareRolloutsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28630,15 +28340,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v1_talkers_device_device_id_top_post_request = graphiant_sdk.V1TalkersDeviceDeviceIdTopPostRequest() # V1TalkersDeviceDeviceIdTopPostRequest | + v1_software_rollouts_post_request = graphiant_sdk.V1SoftwareRolloutsPostRequest() # V1SoftwareRolloutsPostRequest | try: - api_response = api_instance.v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) - print("The response of DefaultApi->v1_talkers_device_device_id_top_post:\n") + api_response = api_instance.v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) + print("The response of DefaultApi->v1_software_rollouts_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_talkers_device_device_id_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_post: %s\n" % e) ``` @@ -28649,12 +28358,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v1_talkers_device_device_id_top_post_request** | [**V1TalkersDeviceDeviceIdTopPostRequest**](V1TalkersDeviceDeviceIdTopPostRequest.md)| | + **v1_software_rollouts_post_request** | [**V1SoftwareRolloutsPostRequest**](V1SoftwareRolloutsPostRequest.md)| | ### Return type -[**V1TalkersDeviceDeviceIdTopPostResponse**](V1TalkersDeviceDeviceIdTopPostResponse.md) +[**V1SoftwareRolloutsPostResponse**](V1SoftwareRolloutsPostResponse.md) ### Authorization @@ -28673,10 +28381,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_talkers_site_site_id_top_post** -> V1TalkersSiteSiteIdTopPostResponse v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) +# **v1_software_rollouts_put** +> object v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) -Get top talkers for a site +Modify update rollout ### Example @@ -28684,8 +28392,7 @@ Get top talkers for a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_talkers_site_site_id_top_post_request import V1TalkersSiteSiteIdTopPostRequest -from graphiant_sdk.models.v1_talkers_site_site_id_top_post_response import V1TalkersSiteSiteIdTopPostResponse +from graphiant_sdk.models.v1_software_rollouts_put_request import V1SoftwareRolloutsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28711,15 +28418,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | - v1_talkers_site_site_id_top_post_request = graphiant_sdk.V1TalkersSiteSiteIdTopPostRequest() # V1TalkersSiteSiteIdTopPostRequest | + v1_software_rollouts_put_request = graphiant_sdk.V1SoftwareRolloutsPutRequest() # V1SoftwareRolloutsPutRequest | try: - api_response = api_instance.v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) - print("The response of DefaultApi->v1_talkers_site_site_id_top_post:\n") + api_response = api_instance.v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) + print("The response of DefaultApi->v1_software_rollouts_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_talkers_site_site_id_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_put: %s\n" % e) ``` @@ -28730,12 +28436,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | - **v1_talkers_site_site_id_top_post_request** | [**V1TalkersSiteSiteIdTopPostRequest**](V1TalkersSiteSiteIdTopPostRequest.md)| | + **v1_software_rollouts_put_request** | [**V1SoftwareRolloutsPutRequest**](V1SoftwareRolloutsPutRequest.md)| | ### Return type -[**V1TalkersSiteSiteIdTopPostResponse**](V1TalkersSiteSiteIdTopPostResponse.md) +**object** ### Authorization @@ -28754,10 +28459,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_temp_password_put** -> object v1_temp_password_put(authorization, v1_temp_password_put_request) +# **v1_software_rollouts_schedule_post** +> object v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) -Generate and send temporary passwords to multiple emails for B2B service access. +Schedule rollout to upgrade now, later or user-triggered ### Example @@ -28765,7 +28470,7 @@ Generate and send temporary passwords to multiple emails for B2B service access. ```python import graphiant_sdk -from graphiant_sdk.models.v1_temp_password_put_request import V1TempPasswordPutRequest +from graphiant_sdk.models.v1_software_rollouts_schedule_post_request import V1SoftwareRolloutsSchedulePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28791,14 +28496,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_temp_password_put_request = graphiant_sdk.V1TempPasswordPutRequest() # V1TempPasswordPutRequest | + v1_software_rollouts_schedule_post_request = graphiant_sdk.V1SoftwareRolloutsSchedulePostRequest() # V1SoftwareRolloutsSchedulePostRequest | try: - api_response = api_instance.v1_temp_password_put(authorization, v1_temp_password_put_request) - print("The response of DefaultApi->v1_temp_password_put:\n") + api_response = api_instance.v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) + print("The response of DefaultApi->v1_software_rollouts_schedule_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_temp_password_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_schedule_post: %s\n" % e) ``` @@ -28809,7 +28514,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_temp_password_put_request** | [**V1TempPasswordPutRequest**](V1TempPasswordPutRequest.md)| | + **v1_software_rollouts_schedule_post_request** | [**V1SoftwareRolloutsSchedulePostRequest**](V1SoftwareRolloutsSchedulePostRequest.md)| | ### Return type @@ -28828,12 +28533,12 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_device_device_id_post** -> V1TroubleshootingDeviceDeviceIdPostResponse v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) +# **v1_software_running_details_get** +> V1SoftwareRunningDetailsGetResponse v1_software_running_details_get(authorization, running_version=running_version) ### Example @@ -28841,8 +28546,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_request import V1TroubleshootingDeviceDeviceIdPostRequest -from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_response import V1TroubleshootingDeviceDeviceIdPostResponse +from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28868,15 +28572,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v1_troubleshooting_device_device_id_post_request = graphiant_sdk.V1TroubleshootingDeviceDeviceIdPostRequest() # V1TroubleshootingDeviceDeviceIdPostRequest | + running_version = 'example string' # str | (optional) try: - api_response = api_instance.v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) - print("The response of DefaultApi->v1_troubleshooting_device_device_id_post:\n") + api_response = api_instance.v1_software_running_details_get(authorization, running_version=running_version) + print("The response of DefaultApi->v1_software_running_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_device_device_id_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_running_details_get: %s\n" % e) ``` @@ -28887,12 +28590,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v1_troubleshooting_device_device_id_post_request** | [**V1TroubleshootingDeviceDeviceIdPostRequest**](V1TroubleshootingDeviceDeviceIdPostRequest.md)| | + **running_version** | **str**| | [optional] ### Return type -[**V1TroubleshootingDeviceDeviceIdPostResponse**](V1TroubleshootingDeviceDeviceIdPostResponse.md) +[**V1SoftwareRunningDetailsGetResponse**](V1SoftwareRunningDetailsGetResponse.md) ### Authorization @@ -28900,7 +28602,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -28911,8 +28613,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_enterprise_post** -> V1TroubleshootingEnterprisePostResponse v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) +# **v1_software_running_summary_get** +> V1SoftwareRunningSummaryGetResponse v1_software_running_summary_get(authorization) ### Example @@ -28920,8 +28622,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_enterprise_post_request import V1TroubleshootingEnterprisePostRequest -from graphiant_sdk.models.v1_troubleshooting_enterprise_post_response import V1TroubleshootingEnterprisePostResponse +from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -28947,14 +28648,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_troubleshooting_enterprise_post_request = graphiant_sdk.V1TroubleshootingEnterprisePostRequest() # V1TroubleshootingEnterprisePostRequest | try: - api_response = api_instance.v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) - print("The response of DefaultApi->v1_troubleshooting_enterprise_post:\n") + api_response = api_instance.v1_software_running_summary_get(authorization) + print("The response of DefaultApi->v1_software_running_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_enterprise_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_running_summary_get: %s\n" % e) ``` @@ -28965,11 +28665,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_troubleshooting_enterprise_post_request** | [**V1TroubleshootingEnterprisePostRequest**](V1TroubleshootingEnterprisePostRequest.md)| | ### Return type -[**V1TroubleshootingEnterprisePostResponse**](V1TroubleshootingEnterprisePostResponse.md) +[**V1SoftwareRunningSummaryGetResponse**](V1SoftwareRunningSummaryGetResponse.md) ### Authorization @@ -28977,7 +28676,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -28988,8 +28687,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_filter_get** -> V1TroubleshootingFilterGetResponse v1_troubleshooting_filter_get(authorization) +# **v1_talkers_device_device_id_top_post** +> V1TalkersDeviceDeviceIdTopPostResponse v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) + +Get top talkers for a device ### Example @@ -28997,7 +28698,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_filter_get_response import V1TroubleshootingFilterGetResponse +from graphiant_sdk.models.v1_talkers_device_device_id_top_post_request import V1TalkersDeviceDeviceIdTopPostRequest +from graphiant_sdk.models.v1_talkers_device_device_id_top_post_response import V1TalkersDeviceDeviceIdTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29023,13 +28725,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + device_id = 1234567891011 # int | + v1_talkers_device_device_id_top_post_request = graphiant_sdk.V1TalkersDeviceDeviceIdTopPostRequest() # V1TalkersDeviceDeviceIdTopPostRequest | try: - api_response = api_instance.v1_troubleshooting_filter_get(authorization) - print("The response of DefaultApi->v1_troubleshooting_filter_get:\n") + api_response = api_instance.v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) + print("The response of DefaultApi->v1_talkers_device_device_id_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_filter_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_talkers_device_device_id_top_post: %s\n" % e) ``` @@ -29040,10 +28744,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **device_id** | **int**| | + **v1_talkers_device_device_id_top_post_request** | [**V1TalkersDeviceDeviceIdTopPostRequest**](V1TalkersDeviceDeviceIdTopPostRequest.md)| | ### Return type -[**V1TroubleshootingFilterGetResponse**](V1TroubleshootingFilterGetResponse.md) +[**V1TalkersDeviceDeviceIdTopPostResponse**](V1TalkersDeviceDeviceIdTopPostResponse.md) ### Authorization @@ -29051,7 +28757,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -29062,8 +28768,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_site_connectivity_status_get** -> V1TroubleshootingSiteConnectivityStatusGetResponse v1_troubleshooting_site_connectivity_status_get(authorization) +# **v1_talkers_site_site_id_top_post** +> V1TalkersSiteSiteIdTopPostResponse v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) + +Get top talkers for a site ### Example @@ -29071,7 +28779,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_site_connectivity_status_get_response import V1TroubleshootingSiteConnectivityStatusGetResponse +from graphiant_sdk.models.v1_talkers_site_site_id_top_post_request import V1TalkersSiteSiteIdTopPostRequest +from graphiant_sdk.models.v1_talkers_site_site_id_top_post_response import V1TalkersSiteSiteIdTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29097,13 +28806,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 1234567891011 # int | + v1_talkers_site_site_id_top_post_request = graphiant_sdk.V1TalkersSiteSiteIdTopPostRequest() # V1TalkersSiteSiteIdTopPostRequest | try: - api_response = api_instance.v1_troubleshooting_site_connectivity_status_get(authorization) - print("The response of DefaultApi->v1_troubleshooting_site_connectivity_status_get:\n") + api_response = api_instance.v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) + print("The response of DefaultApi->v1_talkers_site_site_id_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_site_connectivity_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_talkers_site_site_id_top_post: %s\n" % e) ``` @@ -29114,10 +28825,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | + **v1_talkers_site_site_id_top_post_request** | [**V1TalkersSiteSiteIdTopPostRequest**](V1TalkersSiteSiteIdTopPostRequest.md)| | ### Return type -[**V1TroubleshootingSiteConnectivityStatusGetResponse**](V1TroubleshootingSiteConnectivityStatusGetResponse.md) +[**V1TalkersSiteSiteIdTopPostResponse**](V1TalkersSiteSiteIdTopPostResponse.md) ### Authorization @@ -29125,7 +28838,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -29136,8 +28849,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_site_site_id_get** -> V1TroubleshootingSiteSiteIdGetResponse v1_troubleshooting_site_site_id_get(authorization, site_id) +# **v1_temp_password_put** +> object v1_temp_password_put(authorization, v1_temp_password_put_request) + +Generate and send temporary passwords to multiple emails for B2B service access. ### Example @@ -29145,7 +28860,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_site_site_id_get_response import V1TroubleshootingSiteSiteIdGetResponse +from graphiant_sdk.models.v1_temp_password_put_request import V1TempPasswordPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29171,14 +28886,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + v1_temp_password_put_request = graphiant_sdk.V1TempPasswordPutRequest() # V1TempPasswordPutRequest | try: - api_response = api_instance.v1_troubleshooting_site_site_id_get(authorization, site_id) - print("The response of DefaultApi->v1_troubleshooting_site_site_id_get:\n") + api_response = api_instance.v1_temp_password_put(authorization, v1_temp_password_put_request) + print("The response of DefaultApi->v1_temp_password_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_site_site_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_temp_password_put: %s\n" % e) ``` @@ -29189,11 +28904,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **v1_temp_password_put_request** | [**V1TempPasswordPutRequest**](V1TempPasswordPutRequest.md)| | ### Return type -[**V1TroubleshootingSiteSiteIdGetResponse**](V1TroubleshootingSiteSiteIdGetResponse.md) +**object** ### Authorization @@ -29201,19 +28916,19 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**201** | Created | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_troubleshooting_top_sites_by_alerts_post** -> V1TroubleshootingTopSitesByAlertsPostResponse v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) +# **v1_troubleshooting_device_device_id_post** +> V1TroubleshootingDeviceDeviceIdPostResponse v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) ### Example @@ -29221,8 +28936,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_request import V1TroubleshootingTopSitesByAlertsPostRequest -from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse +from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_request import V1TroubleshootingDeviceDeviceIdPostRequest +from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_response import V1TroubleshootingDeviceDeviceIdPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29248,14 +28963,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_troubleshooting_top_sites_by_alerts_post_request = graphiant_sdk.V1TroubleshootingTopSitesByAlertsPostRequest() # V1TroubleshootingTopSitesByAlertsPostRequest | + device_id = 1234567891011 # int | + v1_troubleshooting_device_device_id_post_request = graphiant_sdk.V1TroubleshootingDeviceDeviceIdPostRequest() # V1TroubleshootingDeviceDeviceIdPostRequest | try: - api_response = api_instance.v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) - print("The response of DefaultApi->v1_troubleshooting_top_sites_by_alerts_post:\n") + api_response = api_instance.v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) + print("The response of DefaultApi->v1_troubleshooting_device_device_id_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_top_sites_by_alerts_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_device_device_id_post: %s\n" % e) ``` @@ -29266,11 +28982,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_troubleshooting_top_sites_by_alerts_post_request** | [**V1TroubleshootingTopSitesByAlertsPostRequest**](V1TroubleshootingTopSitesByAlertsPostRequest.md)| | + **device_id** | **int**| | + **v1_troubleshooting_device_device_id_post_request** | [**V1TroubleshootingDeviceDeviceIdPostRequest**](V1TroubleshootingDeviceDeviceIdPostRequest.md)| | ### Return type -[**V1TroubleshootingTopSitesByAlertsPostResponse**](V1TroubleshootingTopSitesByAlertsPostResponse.md) +[**V1TroubleshootingDeviceDeviceIdPostResponse**](V1TroubleshootingDeviceDeviceIdPostResponse.md) ### Authorization @@ -29289,10 +29006,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_email_password_patch** -> v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) - -Change password for a user using email and token +# **v1_troubleshooting_enterprise_post** +> V1TroubleshootingEnterprisePostResponse v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) ### Example @@ -29300,7 +29015,8 @@ Change password for a user using email and token ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest +from graphiant_sdk.models.v1_troubleshooting_enterprise_post_request import V1TroubleshootingEnterprisePostRequest +from graphiant_sdk.models.v1_troubleshooting_enterprise_post_response import V1TroubleshootingEnterprisePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29325,14 +29041,15 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address - token = 'verification-token-12345' # str | Password reset token - v1_users_email_password_patch_request = graphiant_sdk.V1UsersEmailPasswordPatchRequest() # V1UsersEmailPasswordPatchRequest | + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_troubleshooting_enterprise_post_request = graphiant_sdk.V1TroubleshootingEnterprisePostRequest() # V1TroubleshootingEnterprisePostRequest | try: - api_instance.v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) + api_response = api_instance.v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) + print("The response of DefaultApi->v1_troubleshooting_enterprise_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_password_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_enterprise_post: %s\n" % e) ``` @@ -29342,13 +29059,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | - **token** | **str**| Password reset token | - **v1_users_email_password_patch_request** | [**V1UsersEmailPasswordPatchRequest**](V1UsersEmailPasswordPatchRequest.md)| | + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_troubleshooting_enterprise_post_request** | [**V1TroubleshootingEnterprisePostRequest**](V1TroubleshootingEnterprisePostRequest.md)| | ### Return type -void (empty response body) +[**V1TroubleshootingEnterprisePostResponse**](V1TroubleshootingEnterprisePostResponse.md) ### Authorization @@ -29357,23 +29073,92 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Password changed successfully | - | -**400** | Bad request - Invalid input | - | -**403** | Forbidden - Invalid token | - | -**500** | Internal server error | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_email_recovery_get** -> v1_users_email_recovery_get(email) +# **v1_troubleshooting_filter_get** +> V1TroubleshootingFilterGetResponse v1_troubleshooting_filter_get(authorization) -Send password recovery email to user +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_troubleshooting_filter_get_response import V1TroubleshootingFilterGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v1_troubleshooting_filter_get(authorization) + print("The response of DefaultApi->v1_troubleshooting_filter_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_troubleshooting_filter_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V1TroubleshootingFilterGetResponse**](V1TroubleshootingFilterGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_troubleshooting_site_connectivity_status_get** +> V1TroubleshootingSiteConnectivityStatusGetResponse v1_troubleshooting_site_connectivity_status_get(authorization) ### Example @@ -29381,6 +29166,7 @@ Send password recovery email to user ```python import graphiant_sdk +from graphiant_sdk.models.v1_troubleshooting_site_connectivity_status_get_response import V1TroubleshootingSiteConnectivityStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29405,12 +29191,14 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address + authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_instance.v1_users_email_recovery_get(email) + api_response = api_instance.v1_troubleshooting_site_connectivity_status_get(authorization) + print("The response of DefaultApi->v1_troubleshooting_site_connectivity_status_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_recovery_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_site_connectivity_status_get: %s\n" % e) ``` @@ -29420,11 +29208,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | ### Return type -void (empty response body) +[**V1TroubleshootingSiteConnectivityStatusGetResponse**](V1TroubleshootingSiteConnectivityStatusGetResponse.md) ### Authorization @@ -29433,22 +29221,18 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Recovery email sent successfully | - | -**400** | Bad request - Invalid email | - | -**500** | Internal server error | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_email_verified_patch** -> v1_users_email_verified_patch(email, token) - -Verify user email using verification token +# **v1_troubleshooting_site_site_id_get** +> V1TroubleshootingSiteSiteIdGetResponse v1_troubleshooting_site_site_id_get(authorization, site_id) ### Example @@ -29456,6 +29240,7 @@ Verify user email using verification token ```python import graphiant_sdk +from graphiant_sdk.models.v1_troubleshooting_site_site_id_get_response import V1TroubleshootingSiteSiteIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29480,13 +29265,15 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address - token = 'verification-token-12345' # str | Email verification token + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 1234567891011 # int | try: - api_instance.v1_users_email_verified_patch(email, token) + api_response = api_instance.v1_troubleshooting_site_site_id_get(authorization, site_id) + print("The response of DefaultApi->v1_troubleshooting_site_site_id_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_verified_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_site_site_id_get: %s\n" % e) ``` @@ -29496,12 +29283,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | - **token** | **str**| Email verification token | + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | ### Return type -void (empty response body) +[**V1TroubleshootingSiteSiteIdGetResponse**](V1TroubleshootingSiteSiteIdGetResponse.md) ### Authorization @@ -29510,23 +29297,18 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | User email verified successfully | - | -**400** | Bad request - Invalid input | - | -**403** | Forbidden - Invalid token | - | -**500** | Internal server error | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_get** -> V1UsersGetResponse v1_users_get(authorization, id=id) - -Get user information by user IDs with detailed profile data. +# **v1_troubleshooting_top_sites_by_alerts_post** +> V1TroubleshootingTopSitesByAlertsPostResponse v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) ### Example @@ -29534,7 +29316,8 @@ Get user information by user IDs with detailed profile data. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse +from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_request import V1TroubleshootingTopSitesByAlertsPostRequest +from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29560,14 +29343,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | (optional) + v1_troubleshooting_top_sites_by_alerts_post_request = graphiant_sdk.V1TroubleshootingTopSitesByAlertsPostRequest() # V1TroubleshootingTopSitesByAlertsPostRequest | try: - api_response = api_instance.v1_users_get(authorization, id=id) - print("The response of DefaultApi->v1_users_get:\n") + api_response = api_instance.v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) + print("The response of DefaultApi->v1_troubleshooting_top_sites_by_alerts_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_top_sites_by_alerts_post: %s\n" % e) ``` @@ -29578,11 +29361,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | [optional] + **v1_troubleshooting_top_sites_by_alerts_post_request** | [**V1TroubleshootingTopSitesByAlertsPostRequest**](V1TroubleshootingTopSitesByAlertsPostRequest.md)| | ### Return type -[**V1UsersGetResponse**](V1UsersGetResponse.md) +[**V1TroubleshootingTopSitesByAlertsPostResponse**](V1TroubleshootingTopSitesByAlertsPostResponse.md) ### Authorization @@ -29590,7 +29373,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -29601,10 +29384,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_delete** -> v1_users_id_delete(authorization, id) +# **v1_users_email_password_patch** +> v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) -Delete user account. +Change password for a user using email and token ### Example @@ -29612,6 +29395,7 @@ Delete user account. ```python import graphiant_sdk +from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29636,13 +29420,14 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | + email = 'user@example.com' # str | User email address + token = 'verification-token-12345' # str | Password reset token + v1_users_email_password_patch_request = graphiant_sdk.V1UsersEmailPasswordPatchRequest() # V1UsersEmailPasswordPatchRequest | try: - api_instance.v1_users_id_delete(authorization, id) + api_instance.v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_password_patch: %s\n" % e) ``` @@ -29652,8 +29437,9 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | + **email** | **str**| User email address | + **token** | **str**| Password reset token | + **v1_users_email_password_patch_request** | [**V1UsersEmailPasswordPatchRequest**](V1UsersEmailPasswordPatchRequest.md)| | ### Return type @@ -29665,21 +29451,24 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**204** | Password changed successfully | - | +**400** | Bad request - Invalid input | - | +**403** | Forbidden - Invalid token | - | +**500** | Internal server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_enterprises_get** -> V1UsersIdEnterprisesGetResponse v1_users_id_enterprises_get(authorization, id) +# **v1_users_email_recovery_get** +> v1_users_email_recovery_get(email) -Get all enterprises a specific user can access. +Send password recovery email to user ### Example @@ -29687,7 +29476,6 @@ Get all enterprises a specific user can access. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29712,15 +29500,12 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + email = 'user@example.com' # str | User email address try: - api_response = api_instance.v1_users_id_enterprises_get(authorization, id) - print("The response of DefaultApi->v1_users_id_enterprises_get:\n") - pprint(api_response) + api_instance.v1_users_email_recovery_get(email) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_enterprises_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_recovery_get: %s\n" % e) ``` @@ -29730,12 +29515,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **email** | **str**| User email address | ### Return type -[**V1UsersIdEnterprisesGetResponse**](V1UsersIdEnterprisesGetResponse.md) +void (empty response body) ### Authorization @@ -29744,20 +29528,22 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**200** | Recovery email sent successfully | - | +**400** | Bad request - Invalid email | - | +**500** | Internal server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_groups_enterprises_get** -> V1UsersIdGroupsEnterprisesGetResponse v1_users_id_groups_enterprises_get(authorization, id) +# **v1_users_email_verified_patch** +> v1_users_email_verified_patch(email, token) -Get enterprise-specific groups for a user. +Verify user email using verification token ### Example @@ -29765,7 +29551,6 @@ Get enterprise-specific groups for a user. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29790,15 +29575,13 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + email = 'user@example.com' # str | User email address + token = 'verification-token-12345' # str | Email verification token try: - api_response = api_instance.v1_users_id_groups_enterprises_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_enterprises_get:\n") - pprint(api_response) + api_instance.v1_users_email_verified_patch(email, token) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_enterprises_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_verified_patch: %s\n" % e) ``` @@ -29808,12 +29591,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **email** | **str**| User email address | + **token** | **str**| Email verification token | ### Return type -[**V1UsersIdGroupsEnterprisesGetResponse**](V1UsersIdGroupsEnterprisesGetResponse.md) +void (empty response body) ### Authorization @@ -29822,20 +29605,23 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | User email verified successfully | - | +**400** | Bad request - Invalid input | - | +**403** | Forbidden - Invalid token | - | +**500** | Internal server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_groups_get** -> V1UsersIdGroupsGetResponse v1_users_id_groups_get(authorization, id) +# **v1_users_get** +> V1UsersGetResponse v1_users_get(authorization, id=id) -Get all groups that a specific user belongs to. +Get user information by user IDs with detailed profile data. ### Example @@ -29843,7 +29629,7 @@ Get all groups that a specific user belongs to. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_get_response import V1UsersIdGroupsGetResponse +from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29869,14 +29655,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + id = 'example string' # str | (optional) try: - api_response = api_instance.v1_users_id_groups_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_get:\n") + api_response = api_instance.v1_users_get(authorization, id=id) + print("The response of DefaultApi->v1_users_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_get: %s\n" % e) ``` @@ -29887,11 +29673,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **id** | **str**| | [optional] ### Return type -[**V1UsersIdGroupsGetResponse**](V1UsersIdGroupsGetResponse.md) +[**V1UsersGetResponse**](V1UsersGetResponse.md) ### Authorization @@ -29910,10 +29696,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_groups_root_get** -> V1UsersIdGroupsRootGetResponse v1_users_id_groups_root_get(authorization, id) +# **v1_users_id_delete** +> v1_users_id_delete(authorization, id) -Get root-level groups for a user. +Delete user account. ### Example @@ -29921,7 +29707,6 @@ Get root-level groups for a user. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_root_get_response import V1UsersIdGroupsRootGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29947,14 +29732,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + id = 'example string' # str | try: - api_response = api_instance.v1_users_id_groups_root_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_root_get:\n") - pprint(api_response) + api_instance.v1_users_id_delete(authorization, id) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_root_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_delete: %s\n" % e) ``` @@ -29965,11 +29748,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **id** | **str**| | ### Return type -[**V1UsersIdGroupsRootGetResponse**](V1UsersIdGroupsRootGetResponse.md) +void (empty response body) ### Authorization @@ -29978,20 +29761,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_id_verify_patch** -> v1_users_id_verify_patch(authorization, id, body) +# **v1_users_id_enterprises_get** +> V1UsersIdEnterprisesGetResponse v1_users_id_enterprises_get(authorization, id) -Resend account verification email to user. +Get all enterprises a specific user can access. ### Example @@ -29999,6 +29782,7 @@ Resend account verification email to user. ```python import graphiant_sdk +from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30024,13 +29808,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | - body = None # object | + id = 'example string' # str | userId try: - api_instance.v1_users_id_verify_patch(authorization, id, body) + api_response = api_instance.v1_users_id_enterprises_get(authorization, id) + print("The response of DefaultApi->v1_users_id_enterprises_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_verify_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_enterprises_get: %s\n" % e) ``` @@ -30041,12 +29826,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | - **body** | **object**| | + **id** | **str**| userId | ### Return type -void (empty response body) +[**V1UsersIdEnterprisesGetResponse**](V1UsersIdEnterprisesGetResponse.md) ### Authorization @@ -30054,21 +29838,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: Not defined + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_passwords_expire_post** -> V1UsersPasswordsExpirePostResponse v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) +# **v1_users_id_groups_enterprises_get** +> V1UsersIdGroupsEnterprisesGetResponse v1_users_id_groups_enterprises_get(authorization, id) -Expire passwords for multiple users and send password reset emails (Graphiant cloud only). +Get enterprise-specific groups for a user. ### Example @@ -30076,8 +29860,7 @@ Expire passwords for multiple users and send password reset emails (Graphiant cl ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_passwords_expire_post_request import V1UsersPasswordsExpirePostRequest -from graphiant_sdk.models.v1_users_passwords_expire_post_response import V1UsersPasswordsExpirePostResponse +from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30103,14 +29886,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_users_passwords_expire_post_request = graphiant_sdk.V1UsersPasswordsExpirePostRequest() # V1UsersPasswordsExpirePostRequest | + id = 'example string' # str | userId try: - api_response = api_instance.v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) - print("The response of DefaultApi->v1_users_passwords_expire_post:\n") + api_response = api_instance.v1_users_id_groups_enterprises_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_enterprises_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_passwords_expire_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_enterprises_get: %s\n" % e) ``` @@ -30121,11 +29904,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_users_passwords_expire_post_request** | [**V1UsersPasswordsExpirePostRequest**](V1UsersPasswordsExpirePostRequest.md)| | + **id** | **str**| userId | ### Return type -[**V1UsersPasswordsExpirePostResponse**](V1UsersPasswordsExpirePostResponse.md) +[**V1UsersIdGroupsEnterprisesGetResponse**](V1UsersIdGroupsEnterprisesGetResponse.md) ### Authorization @@ -30133,7 +29916,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -30144,10 +29927,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_users_put** -> v1_users_put(authorization, v1_users_put_request) +# **v1_users_id_groups_get** +> V1UsersIdGroupsGetResponse v1_users_id_groups_get(authorization, id) -Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. +Get all groups that a specific user belongs to. ### Example @@ -30155,7 +29938,7 @@ Create a new user account with profile information. Assigns to specified group o ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest +from graphiant_sdk.models.v1_users_id_groups_get_response import V1UsersIdGroupsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30181,12 +29964,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_users_put_request = graphiant_sdk.V1UsersPutRequest() # V1UsersPutRequest | + id = 'example string' # str | userId try: - api_instance.v1_users_put(authorization, v1_users_put_request) + api_response = api_instance.v1_users_id_groups_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_get: %s\n" % e) ``` @@ -30197,11 +29982,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_users_put_request** | [**V1UsersPutRequest**](V1UsersPutRequest.md)| | + **id** | **str**| userId | ### Return type -void (empty response body) +[**V1UsersIdGroupsGetResponse**](V1UsersIdGroupsGetResponse.md) ### Authorization @@ -30209,21 +29994,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: Not defined + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_version_post** -> V1VersionPostResponse v1_version_post(authorization, v1_version_post_request) +# **v1_users_id_groups_root_get** +> V1UsersIdGroupsRootGetResponse v1_users_id_groups_root_get(authorization, id) -Update device config version +Get root-level groups for a user. ### Example @@ -30231,8 +30016,7 @@ Update device config version ```python import graphiant_sdk -from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest -from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse +from graphiant_sdk.models.v1_users_id_groups_root_get_response import V1UsersIdGroupsRootGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30258,14 +30042,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_version_post_request = graphiant_sdk.V1VersionPostRequest() # V1VersionPostRequest | + id = 'example string' # str | userId try: - api_response = api_instance.v1_version_post(authorization, v1_version_post_request) - print("The response of DefaultApi->v1_version_post:\n") + api_response = api_instance.v1_users_id_groups_root_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_root_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_version_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_root_get: %s\n" % e) ``` @@ -30276,11 +30060,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_version_post_request** | [**V1VersionPostRequest**](V1VersionPostRequest.md)| | + **id** | **str**| userId | ### Return type -[**V1VersionPostResponse**](V1VersionPostResponse.md) +[**V1UsersIdGroupsRootGetResponse**](V1UsersIdGroupsRootGetResponse.md) ### Authorization @@ -30288,7 +30072,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -30299,10 +30083,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_zones_get** -> V1ZonesGetResponse v1_zones_get(authorization) +# **v1_users_id_verify_patch** +> v1_users_id_verify_patch(authorization, id, body) -Get Zones for the current enterprise +Resend account verification email to user. ### Example @@ -30310,7 +30094,6 @@ Get Zones for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30336,13 +30119,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 'example string' # str | + body = None # object | try: - api_response = api_instance.v1_zones_get(authorization) - print("The response of DefaultApi->v1_zones_get:\n") - pprint(api_response) + api_instance.v1_users_id_verify_patch(authorization, id, body) except Exception as e: - print("Exception when calling DefaultApi->v1_zones_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_verify_patch: %s\n" % e) ``` @@ -30353,10 +30136,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **str**| | + **body** | **object**| | ### Return type -[**V1ZonesGetResponse**](V1ZonesGetResponse.md) +void (empty response body) ### Authorization @@ -30364,21 +30149,21 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_ztagent_bindings_get** -> V1ZtagentBindingsGetResponse v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) +# **v1_users_passwords_expire_post** +> V1UsersPasswordsExpirePostResponse v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) -Return the ZTAgent integration binding for an enterprise. +Expire passwords for multiple users and send password reset emails (Graphiant cloud only). ### Example @@ -30386,7 +30171,8 @@ Return the ZTAgent integration binding for an enterprise. ```python import graphiant_sdk -from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse +from graphiant_sdk.models.v1_users_passwords_expire_post_request import V1UsersPasswordsExpirePostRequest +from graphiant_sdk.models.v1_users_passwords_expire_post_response import V1UsersPasswordsExpirePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30412,14 +30198,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - enterprise_id = 1234567891011 # int | (optional) + v1_users_passwords_expire_post_request = graphiant_sdk.V1UsersPasswordsExpirePostRequest() # V1UsersPasswordsExpirePostRequest | try: - api_response = api_instance.v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) - print("The response of DefaultApi->v1_ztagent_bindings_get:\n") + api_response = api_instance.v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) + print("The response of DefaultApi->v1_users_passwords_expire_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_ztagent_bindings_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_passwords_expire_post: %s\n" % e) ``` @@ -30430,11 +30216,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **enterprise_id** | **int**| | [optional] + **v1_users_passwords_expire_post_request** | [**V1UsersPasswordsExpirePostRequest**](V1UsersPasswordsExpirePostRequest.md)| | ### Return type -[**V1ZtagentBindingsGetResponse**](V1ZtagentBindingsGetResponse.md) +[**V1UsersPasswordsExpirePostResponse**](V1UsersPasswordsExpirePostResponse.md) ### Authorization @@ -30442,7 +30228,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -30453,10 +30239,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v1_ztagent_bindings_put** -> object v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) +# **v1_users_put** +> v1_users_put(authorization, v1_users_put_request) -Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). +Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. ### Example @@ -30464,7 +30250,7 @@ Create or replace the ZTAgent integration binding for an enterprise (site and cu ```python import graphiant_sdk -from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest +from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30490,14 +30276,91 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_ztagent_bindings_put_request = graphiant_sdk.V1ZtagentBindingsPutRequest() # V1ZtagentBindingsPutRequest | + v1_users_put_request = graphiant_sdk.V1UsersPutRequest() # V1UsersPutRequest | try: - api_response = api_instance.v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) - print("The response of DefaultApi->v1_ztagent_bindings_put:\n") + api_instance.v1_users_put(authorization, v1_users_put_request) + except Exception as e: + print("Exception when calling DefaultApi->v1_users_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_users_put_request** | [**V1UsersPutRequest**](V1UsersPutRequest.md)| | + +### Return type + +void (empty response body) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_version_post** +> V1VersionPostResponse v1_version_post(authorization, v1_version_post_request) + +Update device config version + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest +from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_version_post_request = graphiant_sdk.V1VersionPostRequest() # V1VersionPostRequest | + + try: + api_response = api_instance.v1_version_post(authorization, v1_version_post_request) + print("The response of DefaultApi->v1_version_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_ztagent_bindings_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_version_post: %s\n" % e) ``` @@ -30508,11 +30371,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_ztagent_bindings_put_request** | [**V1ZtagentBindingsPutRequest**](V1ZtagentBindingsPutRequest.md)| | + **v1_version_post_request** | [**V1VersionPostRequest**](V1VersionPostRequest.md)| | ### Return type -**object** +[**V1VersionPostResponse**](V1VersionPostResponse.md) ### Authorization @@ -30531,8 +30394,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_ack_createupdate_post** -> object v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) +# **v1_zones_get** +> V1ZonesGetResponse v1_zones_get(authorization) + +Get Zones for the current enterprise ### Example @@ -30540,7 +30405,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest +from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30566,14 +30431,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_ack_createupdate_post_request = graphiant_sdk.V2AckCreateupdatePostRequest() # V2AckCreateupdatePostRequest | try: - api_response = api_instance.v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) - print("The response of DefaultApi->v2_ack_createupdate_post:\n") + api_response = api_instance.v1_zones_get(authorization) + print("The response of DefaultApi->v1_zones_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_ack_createupdate_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_zones_get: %s\n" % e) ``` @@ -30584,11 +30448,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_ack_createupdate_post_request** | [**V2AckCreateupdatePostRequest**](V2AckCreateupdatePostRequest.md)| | ### Return type -**object** +[**V1ZonesGetResponse**](V1ZonesGetResponse.md) ### Authorization @@ -30596,7 +30459,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -30607,8 +30470,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_aggregated_notification_enable_disable_post** -> object v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) +# **v1_ztagent_agents_get** +> V1ZtagentAgentsGetResponse v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) + +List Conceal agents (devices) with pagination and filters. ### Example @@ -30616,7 +30481,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30642,14 +30507,23 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_aggregated_notification_enable_disable_post_request = graphiant_sdk.V2AggregatedNotificationEnableDisablePostRequest() # V2AggregatedNotificationEnableDisablePostRequest | + created_date_end = 'example string' # str | (optional) + created_date_start = 'example string' # str | (optional) + endpoints = ['[\"example\"]'] # List[str] | (optional) + hostname = 'example string' # str | (optional) + limit = 123 # int | (optional) + machine_id = 'example string' # str | (optional) + page = 123 # int | (optional) + tenant_id = 'example string' # str | (optional) + updated_date_end = 'example string' # str | (optional) + updated_date_start = 'example string' # str | (optional) try: - api_response = api_instance.v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) - print("The response of DefaultApi->v2_aggregated_notification_enable_disable_post:\n") + api_response = api_instance.v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) + print("The response of DefaultApi->v1_ztagent_agents_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_aggregated_notification_enable_disable_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_agents_get: %s\n" % e) ``` @@ -30660,11 +30534,20 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_aggregated_notification_enable_disable_post_request** | [**V2AggregatedNotificationEnableDisablePostRequest**](V2AggregatedNotificationEnableDisablePostRequest.md)| | + **created_date_end** | **str**| | [optional] + **created_date_start** | **str**| | [optional] + **endpoints** | [**List[str]**](str.md)| | [optional] + **hostname** | **str**| | [optional] + **limit** | **int**| | [optional] + **machine_id** | **str**| | [optional] + **page** | **int**| | [optional] + **tenant_id** | **str**| | [optional] + **updated_date_end** | **str**| | [optional] + **updated_date_start** | **str**| | [optional] ### Return type -**object** +[**V1ZtagentAgentsGetResponse**](V1ZtagentAgentsGetResponse.md) ### Authorization @@ -30672,7 +30555,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -30683,8 +30566,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_aggregated_notification_get_state_get** -> V2AggregatedNotificationGetStateGetResponse v2_aggregated_notification_get_state_get(authorization) +# **v1_ztagent_bindings_get** +> V1ZtagentBindingsGetResponse v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) + +Return the ZTAgent integration binding for an enterprise. ### Example @@ -30692,7 +30577,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_aggregated_notification_get_state_get_response import V2AggregatedNotificationGetStateGetResponse +from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30718,13 +30603,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + enterprise_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v2_aggregated_notification_get_state_get(authorization) - print("The response of DefaultApi->v2_aggregated_notification_get_state_get:\n") + api_response = api_instance.v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) + print("The response of DefaultApi->v1_ztagent_bindings_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_aggregated_notification_get_state_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_bindings_get: %s\n" % e) ``` @@ -30735,10 +30621,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **enterprise_id** | **int**| | [optional] ### Return type -[**V2AggregatedNotificationGetStateGetResponse**](V2AggregatedNotificationGetStateGetResponse.md) +[**V1ZtagentBindingsGetResponse**](V1ZtagentBindingsGetResponse.md) ### Authorization @@ -30757,8 +30644,10 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_allowlist_by_enterprise_get** -> V2AllowlistByEnterpriseGetResponse v2_allowlist_by_enterprise_get(authorization) +# **v1_ztagent_bindings_put** +> object v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) + +Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). ### Example @@ -30766,7 +30655,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_by_enterprise_get_response import V2AllowlistByEnterpriseGetResponse +from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30792,13 +30681,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_ztagent_bindings_put_request = graphiant_sdk.V1ZtagentBindingsPutRequest() # V1ZtagentBindingsPutRequest | try: - api_response = api_instance.v2_allowlist_by_enterprise_get(authorization) - print("The response of DefaultApi->v2_allowlist_by_enterprise_get:\n") + api_response = api_instance.v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) + print("The response of DefaultApi->v1_ztagent_bindings_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_by_enterprise_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_bindings_put: %s\n" % e) ``` @@ -30809,10 +30699,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_ztagent_bindings_put_request** | [**V1ZtagentBindingsPutRequest**](V1ZtagentBindingsPutRequest.md)| | ### Return type -[**V2AllowlistByEnterpriseGetResponse**](V2AllowlistByEnterpriseGetResponse.md) +**object** ### Authorization @@ -30820,7 +30711,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -30831,8 +30722,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_allowlist_create_post** -> object v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) +# **v2_ack_createupdate_post** +> object v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) ### Example @@ -30840,7 +30731,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_create_post_request import V2AllowlistCreatePostRequest +from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30866,14 +30757,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_allowlist_create_post_request = graphiant_sdk.V2AllowlistCreatePostRequest() # V2AllowlistCreatePostRequest | + v2_ack_createupdate_post_request = graphiant_sdk.V2AckCreateupdatePostRequest() # V2AckCreateupdatePostRequest | try: - api_response = api_instance.v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) - print("The response of DefaultApi->v2_allowlist_create_post:\n") + api_response = api_instance.v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) + print("The response of DefaultApi->v2_ack_createupdate_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_create_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_ack_createupdate_post: %s\n" % e) ``` @@ -30884,7 +30775,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_allowlist_create_post_request** | [**V2AllowlistCreatePostRequest**](V2AllowlistCreatePostRequest.md)| | + **v2_ack_createupdate_post_request** | [**V2AckCreateupdatePostRequest**](V2AckCreateupdatePostRequest.md)| | ### Return type @@ -30907,8 +30798,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_allowlist_deletebyalertid_alert_id_delete** -> object v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) +# **v2_aggregated_notification_enable_disable_post** +> object v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) ### Example @@ -30916,6 +30807,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30941,14 +30833,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - alert_id = 'example string' # str | Alert id of the alert to delete allowlist/mutelist for + v2_aggregated_notification_enable_disable_post_request = graphiant_sdk.V2AggregatedNotificationEnableDisablePostRequest() # V2AggregatedNotificationEnableDisablePostRequest | try: - api_response = api_instance.v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) - print("The response of DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete:\n") + api_response = api_instance.v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) + print("The response of DefaultApi->v2_aggregated_notification_enable_disable_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_aggregated_notification_enable_disable_post: %s\n" % e) ``` @@ -30959,7 +30851,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **alert_id** | **str**| Alert id of the alert to delete allowlist/mutelist for | + **v2_aggregated_notification_enable_disable_post_request** | [**V2AggregatedNotificationEnableDisablePostRequest**](V2AggregatedNotificationEnableDisablePostRequest.md)| | ### Return type @@ -30971,7 +30863,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -30982,8 +30874,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_allowlist_deletebyentityid_entity_id_delete** -> object v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) +# **v2_aggregated_notification_get_state_get** +> V2AggregatedNotificationGetStateGetResponse v2_aggregated_notification_get_state_get(authorization) ### Example @@ -30991,6 +30883,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_aggregated_notification_get_state_get_response import V2AggregatedNotificationGetStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31016,14 +30909,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - entity_id = 'example string' # str | Entity id of the alert to delete allowlist/mutelist for try: - api_response = api_instance.v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) - print("The response of DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete:\n") + api_response = api_instance.v2_aggregated_notification_get_state_get(authorization) + print("The response of DefaultApi->v2_aggregated_notification_get_state_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_aggregated_notification_get_state_get: %s\n" % e) ``` @@ -31034,11 +30926,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **entity_id** | **str**| Entity id of the alert to delete allowlist/mutelist for | ### Return type -**object** +[**V2AggregatedNotificationGetStateGetResponse**](V2AggregatedNotificationGetStateGetResponse.md) ### Authorization @@ -31057,8 +30948,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_allowlist_rule_id_get** -> V2AllowlistRuleIdGetResponse v2_allowlist_rule_id_get(authorization, rule_id) +# **v2_allowlist_by_enterprise_get** +> V2AllowlistByEnterpriseGetResponse v2_allowlist_by_enterprise_get(authorization) ### Example @@ -31066,7 +30957,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_rule_id_get_response import V2AllowlistRuleIdGetResponse +from graphiant_sdk.models.v2_allowlist_by_enterprise_get_response import V2AllowlistByEnterpriseGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31092,14 +30983,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - rule_id = 'example string' # str | Alert id of the alert to retrieve allowlist/mutelist for try: - api_response = api_instance.v2_allowlist_rule_id_get(authorization, rule_id) - print("The response of DefaultApi->v2_allowlist_rule_id_get:\n") + api_response = api_instance.v2_allowlist_by_enterprise_get(authorization) + print("The response of DefaultApi->v2_allowlist_by_enterprise_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_rule_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_by_enterprise_get: %s\n" % e) ``` @@ -31110,11 +31000,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **rule_id** | **str**| Alert id of the alert to retrieve allowlist/mutelist for | ### Return type -[**V2AllowlistRuleIdGetResponse**](V2AllowlistRuleIdGetResponse.md) +[**V2AllowlistByEnterpriseGetResponse**](V2AllowlistByEnterpriseGetResponse.md) ### Authorization @@ -31133,85 +31022,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_add_to_conversation_post** -> V2AssistantAddToConversationPostResponse v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest -from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_add_to_conversation_post_request = graphiant_sdk.V2AssistantAddToConversationPostRequest() # V2AssistantAddToConversationPostRequest | - - try: - api_response = api_instance.v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) - print("The response of DefaultApi->v2_assistant_add_to_conversation_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_add_to_conversation_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_add_to_conversation_post_request** | [**V2AssistantAddToConversationPostRequest**](V2AssistantAddToConversationPostRequest.md)| | - -### Return type - -[**V2AssistantAddToConversationPostResponse**](V2AssistantAddToConversationPostResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **v2_assistant_conversation_context_history_post** -> object v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) +# **v2_allowlist_create_post** +> object v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) ### Example @@ -31219,7 +31031,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest +from graphiant_sdk.models.v2_allowlist_create_post_request import V2AllowlistCreatePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31245,14 +31057,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_conversation_context_history_post_request = graphiant_sdk.V2AssistantConversationContextHistoryPostRequest() # V2AssistantConversationContextHistoryPostRequest | + v2_allowlist_create_post_request = graphiant_sdk.V2AllowlistCreatePostRequest() # V2AllowlistCreatePostRequest | try: - api_response = api_instance.v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) - print("The response of DefaultApi->v2_assistant_conversation_context_history_post:\n") + api_response = api_instance.v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) + print("The response of DefaultApi->v2_allowlist_create_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_context_history_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_create_post: %s\n" % e) ``` @@ -31263,7 +31075,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_conversation_context_history_post_request** | [**V2AssistantConversationContextHistoryPostRequest**](V2AssistantConversationContextHistoryPostRequest.md)| | + **v2_allowlist_create_post_request** | [**V2AllowlistCreatePostRequest**](V2AllowlistCreatePostRequest.md)| | ### Return type @@ -31286,8 +31098,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_conversation_interface_enable_disable_post** -> object v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) +# **v2_allowlist_deletebyalertid_alert_id_delete** +> object v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) ### Example @@ -31295,7 +31107,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31321,14 +31132,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_conversation_interface_enable_disable_post_request = graphiant_sdk.V2AssistantConversationInterfaceEnableDisablePostRequest() # V2AssistantConversationInterfaceEnableDisablePostRequest | + alert_id = 'example string' # str | Alert id of the alert to delete allowlist/mutelist for try: - api_response = api_instance.v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) - print("The response of DefaultApi->v2_assistant_conversation_interface_enable_disable_post:\n") + api_response = api_instance.v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) + print("The response of DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_interface_enable_disable_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete: %s\n" % e) ``` @@ -31339,7 +31150,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_conversation_interface_enable_disable_post_request** | [**V2AssistantConversationInterfaceEnableDisablePostRequest**](V2AssistantConversationInterfaceEnableDisablePostRequest.md)| | + **alert_id** | **str**| Alert id of the alert to delete allowlist/mutelist for | ### Return type @@ -31351,7 +31162,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31362,8 +31173,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_conversation_interface_state_get** -> V2AssistantConversationInterfaceStateGetResponse v2_assistant_conversation_interface_state_get(authorization) +# **v2_allowlist_deletebyentityid_entity_id_delete** +> object v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) ### Example @@ -31371,7 +31182,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31397,13 +31207,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + entity_id = 'example string' # str | Entity id of the alert to delete allowlist/mutelist for try: - api_response = api_instance.v2_assistant_conversation_interface_state_get(authorization) - print("The response of DefaultApi->v2_assistant_conversation_interface_state_get:\n") + api_response = api_instance.v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) + print("The response of DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_interface_state_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete: %s\n" % e) ``` @@ -31414,10 +31225,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **entity_id** | **str**| Entity id of the alert to delete allowlist/mutelist for | ### Return type -[**V2AssistantConversationInterfaceStateGetResponse**](V2AssistantConversationInterfaceStateGetResponse.md) +**object** ### Authorization @@ -31436,8 +31248,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_delete_conversation_chat_conversation_id_delete** -> object v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) +# **v2_allowlist_rule_id_get** +> V2AllowlistRuleIdGetResponse v2_allowlist_rule_id_get(authorization, rule_id) ### Example @@ -31445,6 +31257,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_allowlist_rule_id_get_response import V2AllowlistRuleIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31470,14 +31283,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - conversation_id = 'example string' # str | + rule_id = 'example string' # str | Alert id of the alert to retrieve allowlist/mutelist for try: - api_response = api_instance.v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) - print("The response of DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete:\n") + api_response = api_instance.v2_allowlist_rule_id_get(authorization, rule_id) + print("The response of DefaultApi->v2_allowlist_rule_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_rule_id_get: %s\n" % e) ``` @@ -31488,11 +31301,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **conversation_id** | **str**| | + **rule_id** | **str**| Alert id of the alert to retrieve allowlist/mutelist for | ### Return type -**object** +[**V2AllowlistRuleIdGetResponse**](V2AllowlistRuleIdGetResponse.md) ### Authorization @@ -31511,8 +31324,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_get_conversation_details_post** -> V2AssistantGetConversationDetailsPostResponse v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) +# **v2_assistant_add_to_conversation_post** +> V2AssistantAddToConversationPostResponse v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) ### Example @@ -31520,8 +31333,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest -from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse +from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest +from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31547,14 +31360,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_get_conversation_details_post_request = graphiant_sdk.V2AssistantGetConversationDetailsPostRequest() # V2AssistantGetConversationDetailsPostRequest | + v2_assistant_add_to_conversation_post_request = graphiant_sdk.V2AssistantAddToConversationPostRequest() # V2AssistantAddToConversationPostRequest | try: - api_response = api_instance.v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) - print("The response of DefaultApi->v2_assistant_get_conversation_details_post:\n") + api_response = api_instance.v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) + print("The response of DefaultApi->v2_assistant_add_to_conversation_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_get_conversation_details_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_add_to_conversation_post: %s\n" % e) ``` @@ -31565,11 +31378,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_get_conversation_details_post_request** | [**V2AssistantGetConversationDetailsPostRequest**](V2AssistantGetConversationDetailsPostRequest.md)| | + **v2_assistant_add_to_conversation_post_request** | [**V2AssistantAddToConversationPostRequest**](V2AssistantAddToConversationPostRequest.md)| | ### Return type -[**V2AssistantGetConversationDetailsPostResponse**](V2AssistantGetConversationDetailsPostResponse.md) +[**V2AssistantAddToConversationPostResponse**](V2AssistantAddToConversationPostResponse.md) ### Authorization @@ -31588,8 +31401,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_get_conversations_post** -> V2AssistantGetConversationsPostResponse v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) +# **v2_assistant_conversation_context_history_post** +> object v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) ### Example @@ -31597,8 +31410,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest -from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse +from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31624,14 +31436,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_get_conversations_post_request = graphiant_sdk.V2AssistantGetConversationsPostRequest() # V2AssistantGetConversationsPostRequest | + v2_assistant_conversation_context_history_post_request = graphiant_sdk.V2AssistantConversationContextHistoryPostRequest() # V2AssistantConversationContextHistoryPostRequest | try: - api_response = api_instance.v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) - print("The response of DefaultApi->v2_assistant_get_conversations_post:\n") + api_response = api_instance.v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) + print("The response of DefaultApi->v2_assistant_conversation_context_history_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_get_conversations_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_context_history_post: %s\n" % e) ``` @@ -31642,11 +31454,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_get_conversations_post_request** | [**V2AssistantGetConversationsPostRequest**](V2AssistantGetConversationsPostRequest.md)| | + **v2_assistant_conversation_context_history_post_request** | [**V2AssistantConversationContextHistoryPostRequest**](V2AssistantConversationContextHistoryPostRequest.md)| | ### Return type -[**V2AssistantGetConversationsPostResponse**](V2AssistantGetConversationsPostResponse.md) +**object** ### Authorization @@ -31665,8 +31477,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_update_conversation_name_post** -> object v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) +# **v2_assistant_conversation_interface_enable_disable_post** +> object v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) ### Example @@ -31674,7 +31486,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest +from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31700,14 +31512,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_update_conversation_name_post_request = graphiant_sdk.V2AssistantUpdateConversationNamePostRequest() # V2AssistantUpdateConversationNamePostRequest | + v2_assistant_conversation_interface_enable_disable_post_request = graphiant_sdk.V2AssistantConversationInterfaceEnableDisablePostRequest() # V2AssistantConversationInterfaceEnableDisablePostRequest | try: - api_response = api_instance.v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) - print("The response of DefaultApi->v2_assistant_update_conversation_name_post:\n") + api_response = api_instance.v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) + print("The response of DefaultApi->v2_assistant_conversation_interface_enable_disable_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_update_conversation_name_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_interface_enable_disable_post: %s\n" % e) ``` @@ -31718,7 +31530,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_update_conversation_name_post_request** | [**V2AssistantUpdateConversationNamePostRequest**](V2AssistantUpdateConversationNamePostRequest.md)| | + **v2_assistant_conversation_interface_enable_disable_post_request** | [**V2AssistantConversationInterfaceEnableDisablePostRequest**](V2AssistantConversationInterfaceEnableDisablePostRequest.md)| | ### Return type @@ -31741,8 +31553,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assistant_version_post** -> V2AssistantVersionPostResponse v2_assistant_version_post(authorization, body) +# **v2_assistant_conversation_interface_state_get** +> V2AssistantConversationInterfaceStateGetResponse v2_assistant_conversation_interface_state_get(authorization) ### Example @@ -31750,7 +31562,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse +from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31776,14 +31588,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - body = None # object | try: - api_response = api_instance.v2_assistant_version_post(authorization, body) - print("The response of DefaultApi->v2_assistant_version_post:\n") + api_response = api_instance.v2_assistant_conversation_interface_state_get(authorization) + print("The response of DefaultApi->v2_assistant_conversation_interface_state_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_version_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_interface_state_get: %s\n" % e) ``` @@ -31794,11 +31605,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **body** | **object**| | ### Return type -[**V2AssistantVersionPostResponse**](V2AssistantVersionPostResponse.md) +[**V2AssistantConversationInterfaceStateGetResponse**](V2AssistantConversationInterfaceStateGetResponse.md) ### Authorization @@ -31806,7 +31616,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31817,8 +31627,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_applicationdetailsbyname_post** -> V2AssuranceApplicationdetailsbynamePostResponse v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) +# **v2_assistant_delete_conversation_chat_conversation_id_delete** +> object v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) ### Example @@ -31826,8 +31636,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest -from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31853,14 +31661,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_applicationdetailsbyname_post_request = graphiant_sdk.V2AssuranceApplicationdetailsbynamePostRequest() # V2AssuranceApplicationdetailsbynamePostRequest | + conversation_id = 'example string' # str | try: - api_response = api_instance.v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) - print("The response of DefaultApi->v2_assurance_applicationdetailsbyname_post:\n") + api_response = api_instance.v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) + print("The response of DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_applicationdetailsbyname_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete: %s\n" % e) ``` @@ -31871,11 +31679,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_applicationdetailsbyname_post_request** | [**V2AssuranceApplicationdetailsbynamePostRequest**](V2AssuranceApplicationdetailsbynamePostRequest.md)| | + **conversation_id** | **str**| | ### Return type -[**V2AssuranceApplicationdetailsbynamePostResponse**](V2AssuranceApplicationdetailsbynamePostResponse.md) +**object** ### Authorization @@ -31883,7 +31691,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31894,8 +31702,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_applicationprofilesummary_post** -> V2AssuranceApplicationprofilesummaryPostResponse v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) +# **v2_assistant_get_conversation_details_post** +> V2AssistantGetConversationDetailsPostResponse v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) ### Example @@ -31903,8 +31711,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest -from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse +from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest +from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31930,14 +31738,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_applicationprofilesummary_post_request = graphiant_sdk.V2AssuranceApplicationprofilesummaryPostRequest() # V2AssuranceApplicationprofilesummaryPostRequest | + v2_assistant_get_conversation_details_post_request = graphiant_sdk.V2AssistantGetConversationDetailsPostRequest() # V2AssistantGetConversationDetailsPostRequest | try: - api_response = api_instance.v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) - print("The response of DefaultApi->v2_assurance_applicationprofilesummary_post:\n") + api_response = api_instance.v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) + print("The response of DefaultApi->v2_assistant_get_conversation_details_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_applicationprofilesummary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_get_conversation_details_post: %s\n" % e) ``` @@ -31948,11 +31756,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_applicationprofilesummary_post_request** | [**V2AssuranceApplicationprofilesummaryPostRequest**](V2AssuranceApplicationprofilesummaryPostRequest.md)| | + **v2_assistant_get_conversation_details_post_request** | [**V2AssistantGetConversationDetailsPostRequest**](V2AssistantGetConversationDetailsPostRequest.md)| | ### Return type -[**V2AssuranceApplicationprofilesummaryPostResponse**](V2AssuranceApplicationprofilesummaryPostResponse.md) +[**V2AssistantGetConversationDetailsPostResponse**](V2AssistantGetConversationDetailsPostResponse.md) ### Authorization @@ -31971,8 +31779,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_bucket_app_servers_post** -> V2AssuranceBucketAppServersPostResponse v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) +# **v2_assistant_get_conversations_post** +> V2AssistantGetConversationsPostResponse v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) ### Example @@ -31980,8 +31788,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest -from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse +from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest +from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32007,14 +31815,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_app_servers_post_request = graphiant_sdk.V2AssuranceBucketAppServersPostRequest() # V2AssuranceBucketAppServersPostRequest | + v2_assistant_get_conversations_post_request = graphiant_sdk.V2AssistantGetConversationsPostRequest() # V2AssistantGetConversationsPostRequest | try: - api_response = api_instance.v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) - print("The response of DefaultApi->v2_assurance_bucket_app_servers_post:\n") + api_response = api_instance.v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) + print("The response of DefaultApi->v2_assistant_get_conversations_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_app_servers_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_get_conversations_post: %s\n" % e) ``` @@ -32025,11 +31833,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_app_servers_post_request** | [**V2AssuranceBucketAppServersPostRequest**](V2AssuranceBucketAppServersPostRequest.md)| | + **v2_assistant_get_conversations_post_request** | [**V2AssistantGetConversationsPostRequest**](V2AssistantGetConversationsPostRequest.md)| | ### Return type -[**V2AssuranceBucketAppServersPostResponse**](V2AssuranceBucketAppServersPostResponse.md) +[**V2AssistantGetConversationsPostResponse**](V2AssistantGetConversationsPostResponse.md) ### Authorization @@ -32048,8 +31856,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_bucket_apps_post** -> V2AssuranceBucketAppsPostResponse v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) +# **v2_assistant_update_conversation_name_post** +> object v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) ### Example @@ -32057,8 +31865,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_apps_post_request import V2AssuranceBucketAppsPostRequest -from graphiant_sdk.models.v2_assurance_bucket_apps_post_response import V2AssuranceBucketAppsPostResponse +from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32084,14 +31891,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_apps_post_request = graphiant_sdk.V2AssuranceBucketAppsPostRequest() # V2AssuranceBucketAppsPostRequest | + v2_assistant_update_conversation_name_post_request = graphiant_sdk.V2AssistantUpdateConversationNamePostRequest() # V2AssistantUpdateConversationNamePostRequest | try: - api_response = api_instance.v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) - print("The response of DefaultApi->v2_assurance_bucket_apps_post:\n") + api_response = api_instance.v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) + print("The response of DefaultApi->v2_assistant_update_conversation_name_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_apps_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_update_conversation_name_post: %s\n" % e) ``` @@ -32102,11 +31909,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_apps_post_request** | [**V2AssuranceBucketAppsPostRequest**](V2AssuranceBucketAppsPostRequest.md)| | + **v2_assistant_update_conversation_name_post_request** | [**V2AssistantUpdateConversationNamePostRequest**](V2AssistantUpdateConversationNamePostRequest.md)| | ### Return type -[**V2AssuranceBucketAppsPostResponse**](V2AssuranceBucketAppsPostResponse.md) +**object** ### Authorization @@ -32125,8 +31932,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_bucket_services_post** -> V2AssuranceBucketServicesPostResponse v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) +# **v2_assistant_version_post** +> V2AssistantVersionPostResponse v2_assistant_version_post(authorization, body) ### Example @@ -32134,8 +31941,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_services_post_request import V2AssuranceBucketServicesPostRequest -from graphiant_sdk.models.v2_assurance_bucket_services_post_response import V2AssuranceBucketServicesPostResponse +from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32161,14 +31967,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_services_post_request = graphiant_sdk.V2AssuranceBucketServicesPostRequest() # V2AssuranceBucketServicesPostRequest | + body = None # object | try: - api_response = api_instance.v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) - print("The response of DefaultApi->v2_assurance_bucket_services_post:\n") + api_response = api_instance.v2_assistant_version_post(authorization, body) + print("The response of DefaultApi->v2_assistant_version_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_services_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_version_post: %s\n" % e) ``` @@ -32179,11 +31985,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_services_post_request** | [**V2AssuranceBucketServicesPostRequest**](V2AssuranceBucketServicesPostRequest.md)| | + **body** | **object**| | ### Return type -[**V2AssuranceBucketServicesPostResponse**](V2AssuranceBucketServicesPostResponse.md) +[**V2AssistantVersionPostResponse**](V2AssistantVersionPostResponse.md) ### Authorization @@ -32202,8 +32008,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_bucket_topologies_post** -> V2AssuranceBucketTopologiesPostResponse v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) +# **v2_assurance_ai_adoption_summary_post** +> V2AssuranceAiAdoptionSummaryPostResponse v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) ### Example @@ -32211,8 +32017,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_topologies_post_request import V2AssuranceBucketTopologiesPostRequest -from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32238,14 +32044,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_topologies_post_request = graphiant_sdk.V2AssuranceBucketTopologiesPostRequest() # V2AssuranceBucketTopologiesPostRequest | + v2_assurance_ai_adoption_summary_post_request = graphiant_sdk.V2AssuranceAiAdoptionSummaryPostRequest() # V2AssuranceAiAdoptionSummaryPostRequest | try: - api_response = api_instance.v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) - print("The response of DefaultApi->v2_assurance_bucket_topologies_post:\n") + api_response = api_instance.v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) + print("The response of DefaultApi->v2_assurance_ai_adoption_summary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_topologies_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_ai_adoption_summary_post: %s\n" % e) ``` @@ -32256,11 +32062,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_topologies_post_request** | [**V2AssuranceBucketTopologiesPostRequest**](V2AssuranceBucketTopologiesPostRequest.md)| | + **v2_assurance_ai_adoption_summary_post_request** | [**V2AssuranceAiAdoptionSummaryPostRequest**](V2AssuranceAiAdoptionSummaryPostRequest.md)| | ### Return type -[**V2AssuranceBucketTopologiesPostResponse**](V2AssuranceBucketTopologiesPostResponse.md) +[**V2AssuranceAiAdoptionSummaryPostResponse**](V2AssuranceAiAdoptionSummaryPostResponse.md) ### Authorization @@ -32279,8 +32085,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_bucketdetails_post** -> V2AssuranceBucketdetailsPostResponse v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) +# **v2_assurance_applicationdetailsbyname_post** +> V2AssuranceApplicationdetailsbynamePostResponse v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) ### Example @@ -32288,8 +32094,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest -from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse +from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest +from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32315,14 +32121,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucketdetails_post_request = graphiant_sdk.V2AssuranceBucketdetailsPostRequest() # V2AssuranceBucketdetailsPostRequest | + v2_assurance_applicationdetailsbyname_post_request = graphiant_sdk.V2AssuranceApplicationdetailsbynamePostRequest() # V2AssuranceApplicationdetailsbynamePostRequest | try: - api_response = api_instance.v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) - print("The response of DefaultApi->v2_assurance_bucketdetails_post:\n") + api_response = api_instance.v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) + print("The response of DefaultApi->v2_assurance_applicationdetailsbyname_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucketdetails_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_applicationdetailsbyname_post: %s\n" % e) ``` @@ -32333,11 +32139,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucketdetails_post_request** | [**V2AssuranceBucketdetailsPostRequest**](V2AssuranceBucketdetailsPostRequest.md)| | + **v2_assurance_applicationdetailsbyname_post_request** | [**V2AssuranceApplicationdetailsbynamePostRequest**](V2AssuranceApplicationdetailsbynamePostRequest.md)| | ### Return type -[**V2AssuranceBucketdetailsPostResponse**](V2AssuranceBucketdetailsPostResponse.md) +[**V2AssuranceApplicationdetailsbynamePostResponse**](V2AssuranceApplicationdetailsbynamePostResponse.md) ### Authorization @@ -32356,8 +32162,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_create_dnsproxy_entry_post** -> V2AssuranceCreateDnsproxyEntryPostResponse v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) +# **v2_assurance_applicationprofilesummary_post** +> V2AssuranceApplicationprofilesummaryPostResponse v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) ### Example @@ -32365,8 +32171,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest -from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse +from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest +from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32392,14 +32198,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_create_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceCreateDnsproxyEntryPostRequest() # V2AssuranceCreateDnsproxyEntryPostRequest | + v2_assurance_applicationprofilesummary_post_request = graphiant_sdk.V2AssuranceApplicationprofilesummaryPostRequest() # V2AssuranceApplicationprofilesummaryPostRequest | try: - api_response = api_instance.v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) - print("The response of DefaultApi->v2_assurance_create_dnsproxy_entry_post:\n") + api_response = api_instance.v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) + print("The response of DefaultApi->v2_assurance_applicationprofilesummary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_create_dnsproxy_entry_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_applicationprofilesummary_post: %s\n" % e) ``` @@ -32410,11 +32216,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_create_dnsproxy_entry_post_request** | [**V2AssuranceCreateDnsproxyEntryPostRequest**](V2AssuranceCreateDnsproxyEntryPostRequest.md)| | + **v2_assurance_applicationprofilesummary_post_request** | [**V2AssuranceApplicationprofilesummaryPostRequest**](V2AssuranceApplicationprofilesummaryPostRequest.md)| | ### Return type -[**V2AssuranceCreateDnsproxyEntryPostResponse**](V2AssuranceCreateDnsproxyEntryPostResponse.md) +[**V2AssuranceApplicationprofilesummaryPostResponse**](V2AssuranceApplicationprofilesummaryPostResponse.md) ### Authorization @@ -32433,8 +32239,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_create_user_report_post** -> V2AssuranceCreateUserReportPostResponse v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) +# **v2_assurance_bucket_app_servers_post** +> V2AssuranceBucketAppServersPostResponse v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) ### Example @@ -32442,8 +32248,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest -from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse +from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest +from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32469,14 +32275,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_create_user_report_post_request = graphiant_sdk.V2AssuranceCreateUserReportPostRequest() # V2AssuranceCreateUserReportPostRequest | + v2_assurance_bucket_app_servers_post_request = graphiant_sdk.V2AssuranceBucketAppServersPostRequest() # V2AssuranceBucketAppServersPostRequest | try: - api_response = api_instance.v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) - print("The response of DefaultApi->v2_assurance_create_user_report_post:\n") + api_response = api_instance.v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) + print("The response of DefaultApi->v2_assurance_bucket_app_servers_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_create_user_report_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_app_servers_post: %s\n" % e) ``` @@ -32487,11 +32293,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_create_user_report_post_request** | [**V2AssuranceCreateUserReportPostRequest**](V2AssuranceCreateUserReportPostRequest.md)| | + **v2_assurance_bucket_app_servers_post_request** | [**V2AssuranceBucketAppServersPostRequest**](V2AssuranceBucketAppServersPostRequest.md)| | ### Return type -[**V2AssuranceCreateUserReportPostResponse**](V2AssuranceCreateUserReportPostResponse.md) +[**V2AssuranceBucketAppServersPostResponse**](V2AssuranceBucketAppServersPostResponse.md) ### Authorization @@ -32510,8 +32316,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_createclassifiedapplication_post** -> V2AssuranceCreateclassifiedapplicationPostResponse v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) +# **v2_assurance_bucket_apps_post** +> V2AssuranceBucketAppsPostResponse v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) ### Example @@ -32519,8 +32325,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest -from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse +from graphiant_sdk.models.v2_assurance_bucket_apps_post_request import V2AssuranceBucketAppsPostRequest +from graphiant_sdk.models.v2_assurance_bucket_apps_post_response import V2AssuranceBucketAppsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32546,14 +32352,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_createclassifiedapplication_post_request = graphiant_sdk.V2AssuranceCreateclassifiedapplicationPostRequest() # V2AssuranceCreateclassifiedapplicationPostRequest | + v2_assurance_bucket_apps_post_request = graphiant_sdk.V2AssuranceBucketAppsPostRequest() # V2AssuranceBucketAppsPostRequest | try: - api_response = api_instance.v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) - print("The response of DefaultApi->v2_assurance_createclassifiedapplication_post:\n") + api_response = api_instance.v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) + print("The response of DefaultApi->v2_assurance_bucket_apps_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_createclassifiedapplication_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_apps_post: %s\n" % e) ``` @@ -32564,11 +32370,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_createclassifiedapplication_post_request** | [**V2AssuranceCreateclassifiedapplicationPostRequest**](V2AssuranceCreateclassifiedapplicationPostRequest.md)| | + **v2_assurance_bucket_apps_post_request** | [**V2AssuranceBucketAppsPostRequest**](V2AssuranceBucketAppsPostRequest.md)| | ### Return type -[**V2AssuranceCreateclassifiedapplicationPostResponse**](V2AssuranceCreateclassifiedapplicationPostResponse.md) +[**V2AssuranceBucketAppsPostResponse**](V2AssuranceBucketAppsPostResponse.md) ### Authorization @@ -32587,8 +32393,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_delete_dnsproxy_entry_delete** -> object v2_assurance_delete_dnsproxy_entry_delete(authorization) +# **v2_assurance_bucket_services_post** +> V2AssuranceBucketServicesPostResponse v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) ### Example @@ -32596,6 +32402,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_bucket_services_post_request import V2AssuranceBucketServicesPostRequest +from graphiant_sdk.models.v2_assurance_bucket_services_post_response import V2AssuranceBucketServicesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32621,13 +32429,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_bucket_services_post_request = graphiant_sdk.V2AssuranceBucketServicesPostRequest() # V2AssuranceBucketServicesPostRequest | try: - api_response = api_instance.v2_assurance_delete_dnsproxy_entry_delete(authorization) - print("The response of DefaultApi->v2_assurance_delete_dnsproxy_entry_delete:\n") + api_response = api_instance.v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) + print("The response of DefaultApi->v2_assurance_bucket_services_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_delete_dnsproxy_entry_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_services_post: %s\n" % e) ``` @@ -32638,10 +32447,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_bucket_services_post_request** | [**V2AssuranceBucketServicesPostRequest**](V2AssuranceBucketServicesPostRequest.md)| | ### Return type -**object** +[**V2AssuranceBucketServicesPostResponse**](V2AssuranceBucketServicesPostResponse.md) ### Authorization @@ -32649,7 +32459,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32660,8 +32470,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_delete_user_report_delete** -> object v2_assurance_delete_user_report_delete(authorization, report_id=report_id) +# **v2_assurance_bucket_topologies_post** +> V2AssuranceBucketTopologiesPostResponse v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) ### Example @@ -32669,6 +32479,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_bucket_topologies_post_request import V2AssuranceBucketTopologiesPostRequest +from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32694,14 +32506,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - report_id = 1234567891011 # int | (optional) + v2_assurance_bucket_topologies_post_request = graphiant_sdk.V2AssuranceBucketTopologiesPostRequest() # V2AssuranceBucketTopologiesPostRequest | try: - api_response = api_instance.v2_assurance_delete_user_report_delete(authorization, report_id=report_id) - print("The response of DefaultApi->v2_assurance_delete_user_report_delete:\n") + api_response = api_instance.v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) + print("The response of DefaultApi->v2_assurance_bucket_topologies_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_delete_user_report_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_topologies_post: %s\n" % e) ``` @@ -32712,11 +32524,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **report_id** | **int**| | [optional] + **v2_assurance_bucket_topologies_post_request** | [**V2AssuranceBucketTopologiesPostRequest**](V2AssuranceBucketTopologiesPostRequest.md)| | ### Return type -**object** +[**V2AssuranceBucketTopologiesPostResponse**](V2AssuranceBucketTopologiesPostResponse.md) ### Authorization @@ -32724,7 +32536,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32735,8 +32547,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_deleteclassifiedapplication_delete** -> object v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) +# **v2_assurance_bucketdetails_post** +> V2AssuranceBucketdetailsPostResponse v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) ### Example @@ -32744,6 +32556,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest +from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32769,14 +32583,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - classification_entry_id_list = ['[\"example\"]'] # List[str] | (optional) + v2_assurance_bucketdetails_post_request = graphiant_sdk.V2AssuranceBucketdetailsPostRequest() # V2AssuranceBucketdetailsPostRequest | try: - api_response = api_instance.v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) - print("The response of DefaultApi->v2_assurance_deleteclassifiedapplication_delete:\n") + api_response = api_instance.v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) + print("The response of DefaultApi->v2_assurance_bucketdetails_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_deleteclassifiedapplication_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucketdetails_post: %s\n" % e) ``` @@ -32787,11 +32601,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **classification_entry_id_list** | [**List[str]**](str.md)| | [optional] + **v2_assurance_bucketdetails_post_request** | [**V2AssuranceBucketdetailsPostRequest**](V2AssuranceBucketdetailsPostRequest.md)| | ### Return type -**object** +[**V2AssuranceBucketdetailsPostResponse**](V2AssuranceBucketdetailsPostResponse.md) ### Authorization @@ -32799,7 +32613,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32810,8 +32624,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_download_user_report_get** -> V2AssuranceDownloadUserReportGetResponse v2_assurance_download_user_report_get(authorization) +# **v2_assurance_create_ai_adoption_approve_entry_post** +> V2AssuranceCreateAiAdoptionApproveEntryPostResponse v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) ### Example @@ -32819,7 +32633,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32845,13 +32660,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_create_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceCreateAiAdoptionApproveEntryPostRequest() # V2AssuranceCreateAiAdoptionApproveEntryPostRequest | try: - api_response = api_instance.v2_assurance_download_user_report_get(authorization) - print("The response of DefaultApi->v2_assurance_download_user_report_get:\n") + api_response = api_instance.v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) + print("The response of DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_download_user_report_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post: %s\n" % e) ``` @@ -32862,10 +32678,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_create_ai_adoption_approve_entry_post_request** | [**V2AssuranceCreateAiAdoptionApproveEntryPostRequest**](V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md)| | ### Return type -[**V2AssuranceDownloadUserReportGetResponse**](V2AssuranceDownloadUserReportGetResponse.md) +[**V2AssuranceCreateAiAdoptionApproveEntryPostResponse**](V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md) ### Authorization @@ -32873,7 +32690,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32884,8 +32701,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_enterprisesummary_post** -> V2AssuranceEnterprisesummaryPostResponse v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) +# **v2_assurance_create_dnsproxy_entry_post** +> V2AssuranceCreateDnsproxyEntryPostResponse v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) ### Example @@ -32893,8 +32710,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest -from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse +from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32920,14 +32737,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_enterprisesummary_post_request = graphiant_sdk.V2AssuranceEnterprisesummaryPostRequest() # V2AssuranceEnterprisesummaryPostRequest | + v2_assurance_create_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceCreateDnsproxyEntryPostRequest() # V2AssuranceCreateDnsproxyEntryPostRequest | try: - api_response = api_instance.v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) - print("The response of DefaultApi->v2_assurance_enterprisesummary_post:\n") + api_response = api_instance.v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) + print("The response of DefaultApi->v2_assurance_create_dnsproxy_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_enterprisesummary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_dnsproxy_entry_post: %s\n" % e) ``` @@ -32938,11 +32755,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_enterprisesummary_post_request** | [**V2AssuranceEnterprisesummaryPostRequest**](V2AssuranceEnterprisesummaryPostRequest.md)| | + **v2_assurance_create_dnsproxy_entry_post_request** | [**V2AssuranceCreateDnsproxyEntryPostRequest**](V2AssuranceCreateDnsproxyEntryPostRequest.md)| | ### Return type -[**V2AssuranceEnterprisesummaryPostResponse**](V2AssuranceEnterprisesummaryPostResponse.md) +[**V2AssuranceCreateDnsproxyEntryPostResponse**](V2AssuranceCreateDnsproxyEntryPostResponse.md) ### Authorization @@ -32961,8 +32778,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_getclassifiedapplicationlist_get** -> V2AssuranceGetclassifiedapplicationlistGetResponse v2_assurance_getclassifiedapplicationlist_get(authorization) +# **v2_assurance_create_user_report_post** +> V2AssuranceCreateUserReportPostResponse v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) ### Example @@ -32970,7 +32787,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse +from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest +from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32996,13 +32814,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_create_user_report_post_request = graphiant_sdk.V2AssuranceCreateUserReportPostRequest() # V2AssuranceCreateUserReportPostRequest | try: - api_response = api_instance.v2_assurance_getclassifiedapplicationlist_get(authorization) - print("The response of DefaultApi->v2_assurance_getclassifiedapplicationlist_get:\n") + api_response = api_instance.v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) + print("The response of DefaultApi->v2_assurance_create_user_report_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_getclassifiedapplicationlist_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_user_report_post: %s\n" % e) ``` @@ -33013,10 +32832,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_create_user_report_post_request** | [**V2AssuranceCreateUserReportPostRequest**](V2AssuranceCreateUserReportPostRequest.md)| | ### Return type -[**V2AssuranceGetclassifiedapplicationlistGetResponse**](V2AssuranceGetclassifiedapplicationlistGetResponse.md) +[**V2AssuranceCreateUserReportPostResponse**](V2AssuranceCreateUserReportPostResponse.md) ### Authorization @@ -33024,7 +32844,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -33035,8 +32855,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_read_dnsproxy_list_get** -> V2AssuranceReadDnsproxyListGetResponse v2_assurance_read_dnsproxy_list_get(authorization) +# **v2_assurance_createclassifiedapplication_post** +> V2AssuranceCreateclassifiedapplicationPostResponse v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) ### Example @@ -33044,7 +32864,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse +from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest +from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33070,13 +32891,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_createclassifiedapplication_post_request = graphiant_sdk.V2AssuranceCreateclassifiedapplicationPostRequest() # V2AssuranceCreateclassifiedapplicationPostRequest | try: - api_response = api_instance.v2_assurance_read_dnsproxy_list_get(authorization) - print("The response of DefaultApi->v2_assurance_read_dnsproxy_list_get:\n") + api_response = api_instance.v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) + print("The response of DefaultApi->v2_assurance_createclassifiedapplication_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_read_dnsproxy_list_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_createclassifiedapplication_post: %s\n" % e) ``` @@ -33087,10 +32909,86 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_createclassifiedapplication_post_request** | [**V2AssuranceCreateclassifiedapplicationPostRequest**](V2AssuranceCreateclassifiedapplicationPostRequest.md)| | ### Return type -[**V2AssuranceReadDnsproxyListGetResponse**](V2AssuranceReadDnsproxyListGetResponse.md) +[**V2AssuranceCreateclassifiedapplicationPostResponse**](V2AssuranceCreateclassifiedapplicationPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_delete_ai_adoption_approve_entry_delete** +> object v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id_list = ['[\"example\"]'] # List[str] | list of approved app entry identifiers to delete + + try: + api_response = api_instance.v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) + print("The response of DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id_list** | [**List[str]**](str.md)| list of approved app entry identifiers to delete | + +### Return type + +**object** ### Authorization @@ -33109,8 +33007,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_read_user_report_list_get** -> V2AssuranceReadUserReportListGetResponse v2_assurance_read_user_report_list_get(authorization) +# **v2_assurance_delete_dnsproxy_entry_delete** +> object v2_assurance_delete_dnsproxy_entry_delete(authorization) ### Example @@ -33118,7 +33016,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33146,11 +33043,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v2_assurance_read_user_report_list_get(authorization) - print("The response of DefaultApi->v2_assurance_read_user_report_list_get:\n") + api_response = api_instance.v2_assurance_delete_dnsproxy_entry_delete(authorization) + print("The response of DefaultApi->v2_assurance_delete_dnsproxy_entry_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_read_user_report_list_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_delete_dnsproxy_entry_delete: %s\n" % e) ``` @@ -33164,7 +33061,7 @@ Name | Type | Description | Notes ### Return type -[**V2AssuranceReadUserReportListGetResponse**](V2AssuranceReadUserReportListGetResponse.md) +**object** ### Authorization @@ -33183,8 +33080,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_scoredetails_post** -> V2AssuranceScoredetailsPostResponse v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) +# **v2_assurance_delete_user_report_delete** +> object v2_assurance_delete_user_report_delete(authorization, report_id=report_id) ### Example @@ -33192,8 +33089,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest -from graphiant_sdk.models.v2_assurance_scoredetails_post_response import V2AssuranceScoredetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33219,14 +33114,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_scoredetails_post_request = graphiant_sdk.V2AssuranceScoredetailsPostRequest() # V2AssuranceScoredetailsPostRequest | + report_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) - print("The response of DefaultApi->v2_assurance_scoredetails_post:\n") + api_response = api_instance.v2_assurance_delete_user_report_delete(authorization, report_id=report_id) + print("The response of DefaultApi->v2_assurance_delete_user_report_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_scoredetails_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_delete_user_report_delete: %s\n" % e) ``` @@ -33237,11 +33132,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_scoredetails_post_request** | [**V2AssuranceScoredetailsPostRequest**](V2AssuranceScoredetailsPostRequest.md)| | + **report_id** | **int**| | [optional] ### Return type -[**V2AssuranceScoredetailsPostResponse**](V2AssuranceScoredetailsPostResponse.md) +**object** ### Authorization @@ -33249,7 +33144,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33260,8 +33155,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_client_session_details_post** -> V2AssuranceTopologyClientSessionDetailsPostResponse v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) +# **v2_assurance_deleteclassifiedapplication_delete** +> object v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) ### Example @@ -33269,8 +33164,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_request import V2AssuranceTopologyClientSessionDetailsPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_response import V2AssuranceTopologyClientSessionDetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33296,14 +33189,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_session_details_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionDetailsPostRequest() # V2AssuranceTopologyClientSessionDetailsPostRequest | + classification_entry_id_list = ['[\"example\"]'] # List[str] | (optional) try: - api_response = api_instance.v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_session_details_post:\n") + api_response = api_instance.v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) + print("The response of DefaultApi->v2_assurance_deleteclassifiedapplication_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_session_details_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_deleteclassifiedapplication_delete: %s\n" % e) ``` @@ -33314,11 +33207,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_session_details_post_request** | [**V2AssuranceTopologyClientSessionDetailsPostRequest**](V2AssuranceTopologyClientSessionDetailsPostRequest.md)| | + **classification_entry_id_list** | [**List[str]**](str.md)| | [optional] ### Return type -[**V2AssuranceTopologyClientSessionDetailsPostResponse**](V2AssuranceTopologyClientSessionDetailsPostResponse.md) +**object** ### Authorization @@ -33326,7 +33219,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33337,8 +33230,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_client_sessions_post** -> V2AssuranceTopologyClientSessionsPostResponse v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) +# **v2_assurance_download_user_report_get** +> V2AssuranceDownloadUserReportGetResponse v2_assurance_download_user_report_get(authorization) ### Example @@ -33346,8 +33239,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_request import V2AssuranceTopologyClientSessionsPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_response import V2AssuranceTopologyClientSessionsPostResponse +from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33373,14 +33265,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_sessions_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionsPostRequest() # V2AssuranceTopologyClientSessionsPostRequest | try: - api_response = api_instance.v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_sessions_post:\n") + api_response = api_instance.v2_assurance_download_user_report_get(authorization) + print("The response of DefaultApi->v2_assurance_download_user_report_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_sessions_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_download_user_report_get: %s\n" % e) ``` @@ -33391,11 +33282,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_sessions_post_request** | [**V2AssuranceTopologyClientSessionsPostRequest**](V2AssuranceTopologyClientSessionsPostRequest.md)| | ### Return type -[**V2AssuranceTopologyClientSessionsPostResponse**](V2AssuranceTopologyClientSessionsPostResponse.md) +[**V2AssuranceDownloadUserReportGetResponse**](V2AssuranceDownloadUserReportGetResponse.md) ### Authorization @@ -33403,7 +33293,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33414,8 +33304,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_client_summaries_post** -> V2AssuranceTopologyClientSummariesPostResponse v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) +# **v2_assurance_enterprisesummary_post** +> V2AssuranceEnterprisesummaryPostResponse v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) ### Example @@ -33423,8 +33313,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_request import V2AssuranceTopologyClientSummariesPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_response import V2AssuranceTopologyClientSummariesPostResponse +from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest +from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33450,14 +33340,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_summaries_post_request = graphiant_sdk.V2AssuranceTopologyClientSummariesPostRequest() # V2AssuranceTopologyClientSummariesPostRequest | + v2_assurance_enterprisesummary_post_request = graphiant_sdk.V2AssuranceEnterprisesummaryPostRequest() # V2AssuranceEnterprisesummaryPostRequest | try: - api_response = api_instance.v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_summaries_post:\n") + api_response = api_instance.v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) + print("The response of DefaultApi->v2_assurance_enterprisesummary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_summaries_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_enterprisesummary_post: %s\n" % e) ``` @@ -33468,11 +33358,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_summaries_post_request** | [**V2AssuranceTopologyClientSummariesPostRequest**](V2AssuranceTopologyClientSummariesPostRequest.md)| | + **v2_assurance_enterprisesummary_post_request** | [**V2AssuranceEnterprisesummaryPostRequest**](V2AssuranceEnterprisesummaryPostRequest.md)| | ### Return type -[**V2AssuranceTopologyClientSummariesPostResponse**](V2AssuranceTopologyClientSummariesPostResponse.md) +[**V2AssuranceEnterprisesummaryPostResponse**](V2AssuranceEnterprisesummaryPostResponse.md) ### Authorization @@ -33491,8 +33381,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_inventory_post** -> V2AssuranceTopologyInventoryPostResponse v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) +# **v2_assurance_get_app_names_post** +> V2AssuranceGetAppNamesPostResponse v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) ### Example @@ -33500,8 +33390,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_inventory_post_request import V2AssuranceTopologyInventoryPostRequest -from graphiant_sdk.models.v2_assurance_topology_inventory_post_response import V2AssuranceTopologyInventoryPostResponse +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33527,14 +33417,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_inventory_post_request = graphiant_sdk.V2AssuranceTopologyInventoryPostRequest() # V2AssuranceTopologyInventoryPostRequest | + v2_assurance_get_app_names_post_request = graphiant_sdk.V2AssuranceGetAppNamesPostRequest() # V2AssuranceGetAppNamesPostRequest | try: - api_response = api_instance.v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) - print("The response of DefaultApi->v2_assurance_topology_inventory_post:\n") + api_response = api_instance.v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) + print("The response of DefaultApi->v2_assurance_get_app_names_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_inventory_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_get_app_names_post: %s\n" % e) ``` @@ -33545,11 +33435,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_inventory_post_request** | [**V2AssuranceTopologyInventoryPostRequest**](V2AssuranceTopologyInventoryPostRequest.md)| | + **v2_assurance_get_app_names_post_request** | [**V2AssuranceGetAppNamesPostRequest**](V2AssuranceGetAppNamesPostRequest.md)| | ### Return type -[**V2AssuranceTopologyInventoryPostResponse**](V2AssuranceTopologyInventoryPostResponse.md) +[**V2AssuranceGetAppNamesPostResponse**](V2AssuranceGetAppNamesPostResponse.md) ### Authorization @@ -33568,8 +33458,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_overview_post** -> V2AssuranceTopologyOverviewPostResponse v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) +# **v2_assurance_getclassifiedapplicationlist_get** +> V2AssuranceGetclassifiedapplicationlistGetResponse v2_assurance_getclassifiedapplicationlist_get(authorization) ### Example @@ -33577,8 +33467,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_overview_post_request import V2AssuranceTopologyOverviewPostRequest -from graphiant_sdk.models.v2_assurance_topology_overview_post_response import V2AssuranceTopologyOverviewPostResponse +from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33604,14 +33493,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_overview_post_request = graphiant_sdk.V2AssuranceTopologyOverviewPostRequest() # V2AssuranceTopologyOverviewPostRequest | try: - api_response = api_instance.v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) - print("The response of DefaultApi->v2_assurance_topology_overview_post:\n") + api_response = api_instance.v2_assurance_getclassifiedapplicationlist_get(authorization) + print("The response of DefaultApi->v2_assurance_getclassifiedapplicationlist_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_overview_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_getclassifiedapplicationlist_get: %s\n" % e) ``` @@ -33622,11 +33510,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_overview_post_request** | [**V2AssuranceTopologyOverviewPostRequest**](V2AssuranceTopologyOverviewPostRequest.md)| | ### Return type -[**V2AssuranceTopologyOverviewPostResponse**](V2AssuranceTopologyOverviewPostResponse.md) +[**V2AssuranceGetclassifiedapplicationlistGetResponse**](V2AssuranceGetclassifiedapplicationlistGetResponse.md) ### Authorization @@ -33634,7 +33521,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33645,8 +33532,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_region_summary_post** -> V2AssuranceTopologyRegionSummaryPostResponse v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) +# **v2_assurance_read_ai_adoption_approve_entries_get** +> V2AssuranceReadAiAdoptionApproveEntriesGetResponse v2_assurance_read_ai_adoption_approve_entries_get(authorization) ### Example @@ -33654,8 +33541,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_region_summary_post_request import V2AssuranceTopologyRegionSummaryPostRequest -from graphiant_sdk.models.v2_assurance_topology_region_summary_post_response import V2AssuranceTopologyRegionSummaryPostResponse +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33681,14 +33567,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_region_summary_post_request = graphiant_sdk.V2AssuranceTopologyRegionSummaryPostRequest() # V2AssuranceTopologyRegionSummaryPostRequest | try: - api_response = api_instance.v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) - print("The response of DefaultApi->v2_assurance_topology_region_summary_post:\n") + api_response = api_instance.v2_assurance_read_ai_adoption_approve_entries_get(authorization) + print("The response of DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_region_summary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get: %s\n" % e) ``` @@ -33699,11 +33584,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_region_summary_post_request** | [**V2AssuranceTopologyRegionSummaryPostRequest**](V2AssuranceTopologyRegionSummaryPostRequest.md)| | ### Return type -[**V2AssuranceTopologyRegionSummaryPostResponse**](V2AssuranceTopologyRegionSummaryPostResponse.md) +[**V2AssuranceReadAiAdoptionApproveEntriesGetResponse**](V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md) ### Authorization @@ -33711,7 +33595,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33722,8 +33606,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **v2_assurance_topology_site_summaries_post** -> V2AssuranceTopologySiteSummariesPostResponse v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) +# **v2_assurance_read_dnsproxy_list_get** +> V2AssuranceReadDnsproxyListGetResponse v2_assurance_read_dnsproxy_list_get(authorization) ### Example @@ -33731,8 +33615,695 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_request import V2AssuranceTopologySiteSummariesPostRequest -from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse +from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v2_assurance_read_dnsproxy_list_get(authorization) + print("The response of DefaultApi->v2_assurance_read_dnsproxy_list_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_read_dnsproxy_list_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V2AssuranceReadDnsproxyListGetResponse**](V2AssuranceReadDnsproxyListGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_read_user_report_list_get** +> V2AssuranceReadUserReportListGetResponse v2_assurance_read_user_report_list_get(authorization) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v2_assurance_read_user_report_list_get(authorization) + print("The response of DefaultApi->v2_assurance_read_user_report_list_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_read_user_report_list_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V2AssuranceReadUserReportListGetResponse**](V2AssuranceReadUserReportListGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_scoredetails_post** +> V2AssuranceScoredetailsPostResponse v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest +from graphiant_sdk.models.v2_assurance_scoredetails_post_response import V2AssuranceScoredetailsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_scoredetails_post_request = graphiant_sdk.V2AssuranceScoredetailsPostRequest() # V2AssuranceScoredetailsPostRequest | + + try: + api_response = api_instance.v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) + print("The response of DefaultApi->v2_assurance_scoredetails_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_scoredetails_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_scoredetails_post_request** | [**V2AssuranceScoredetailsPostRequest**](V2AssuranceScoredetailsPostRequest.md)| | + +### Return type + +[**V2AssuranceScoredetailsPostResponse**](V2AssuranceScoredetailsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_client_session_details_post** +> V2AssuranceTopologyClientSessionDetailsPostResponse v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_request import V2AssuranceTopologyClientSessionDetailsPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_response import V2AssuranceTopologyClientSessionDetailsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_client_session_details_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionDetailsPostRequest() # V2AssuranceTopologyClientSessionDetailsPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_session_details_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_client_session_details_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_client_session_details_post_request** | [**V2AssuranceTopologyClientSessionDetailsPostRequest**](V2AssuranceTopologyClientSessionDetailsPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyClientSessionDetailsPostResponse**](V2AssuranceTopologyClientSessionDetailsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_client_sessions_post** +> V2AssuranceTopologyClientSessionsPostResponse v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_request import V2AssuranceTopologyClientSessionsPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_response import V2AssuranceTopologyClientSessionsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_client_sessions_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionsPostRequest() # V2AssuranceTopologyClientSessionsPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_sessions_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_client_sessions_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_client_sessions_post_request** | [**V2AssuranceTopologyClientSessionsPostRequest**](V2AssuranceTopologyClientSessionsPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyClientSessionsPostResponse**](V2AssuranceTopologyClientSessionsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_client_summaries_post** +> V2AssuranceTopologyClientSummariesPostResponse v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_request import V2AssuranceTopologyClientSummariesPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_response import V2AssuranceTopologyClientSummariesPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_client_summaries_post_request = graphiant_sdk.V2AssuranceTopologyClientSummariesPostRequest() # V2AssuranceTopologyClientSummariesPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_summaries_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_client_summaries_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_client_summaries_post_request** | [**V2AssuranceTopologyClientSummariesPostRequest**](V2AssuranceTopologyClientSummariesPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyClientSummariesPostResponse**](V2AssuranceTopologyClientSummariesPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_inventory_post** +> V2AssuranceTopologyInventoryPostResponse v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_inventory_post_request import V2AssuranceTopologyInventoryPostRequest +from graphiant_sdk.models.v2_assurance_topology_inventory_post_response import V2AssuranceTopologyInventoryPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_inventory_post_request = graphiant_sdk.V2AssuranceTopologyInventoryPostRequest() # V2AssuranceTopologyInventoryPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) + print("The response of DefaultApi->v2_assurance_topology_inventory_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_inventory_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_inventory_post_request** | [**V2AssuranceTopologyInventoryPostRequest**](V2AssuranceTopologyInventoryPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyInventoryPostResponse**](V2AssuranceTopologyInventoryPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_overview_post** +> V2AssuranceTopologyOverviewPostResponse v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_overview_post_request import V2AssuranceTopologyOverviewPostRequest +from graphiant_sdk.models.v2_assurance_topology_overview_post_response import V2AssuranceTopologyOverviewPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_overview_post_request = graphiant_sdk.V2AssuranceTopologyOverviewPostRequest() # V2AssuranceTopologyOverviewPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) + print("The response of DefaultApi->v2_assurance_topology_overview_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_overview_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_overview_post_request** | [**V2AssuranceTopologyOverviewPostRequest**](V2AssuranceTopologyOverviewPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyOverviewPostResponse**](V2AssuranceTopologyOverviewPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_region_summary_post** +> V2AssuranceTopologyRegionSummaryPostResponse v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_region_summary_post_request import V2AssuranceTopologyRegionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_topology_region_summary_post_response import V2AssuranceTopologyRegionSummaryPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_topology_region_summary_post_request = graphiant_sdk.V2AssuranceTopologyRegionSummaryPostRequest() # V2AssuranceTopologyRegionSummaryPostRequest | + + try: + api_response = api_instance.v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) + print("The response of DefaultApi->v2_assurance_topology_region_summary_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_topology_region_summary_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_topology_region_summary_post_request** | [**V2AssuranceTopologyRegionSummaryPostRequest**](V2AssuranceTopologyRegionSummaryPostRequest.md)| | + +### Return type + +[**V2AssuranceTopologyRegionSummaryPostResponse**](V2AssuranceTopologyRegionSummaryPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v2_assurance_topology_site_summaries_post** +> V2AssuranceTopologySiteSummariesPostResponse v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_request import V2AssuranceTopologySiteSummariesPostRequest +from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33876,6 +34447,82 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **v2_assurance_update_ai_adoption_approve_entry_post** +> object v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_update_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceUpdateAiAdoptionApproveEntryPostRequest() # V2AssuranceUpdateAiAdoptionApproveEntryPostRequest | + + try: + api_response = api_instance.v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) + print("The response of DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_update_ai_adoption_approve_entry_post_request** | [**V2AssuranceUpdateAiAdoptionApproveEntryPostRequest**](V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md)| | + +### Return type + +**object** + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **v2_assurance_update_dnsproxy_entry_post** > object v2_assurance_update_dnsproxy_entry_post(authorization, v2_assurance_update_dnsproxy_entry_post_request) diff --git a/docs/ManaV2GuestConsumerSiteToSiteVpnConfig.md b/docs/ManaV2GuestConsumerSiteToSiteVpnConfig.md index 52d614b8..72a1d8bb 100644 --- a/docs/ManaV2GuestConsumerSiteToSiteVpnConfig.md +++ b/docs/ManaV2GuestConsumerSiteToSiteVpnConfig.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **emails** | **List[str]** | | [optional] **ipsec_gateway_details** | [**ManaV2IPsecGatewayDetails**](ManaV2IPsecGatewayDetails.md) | | [optional] +**ipsec_gateway_peers** | [**ManaV2IPsecGatewayPeersConfig**](ManaV2IPsecGatewayPeersConfig.md) | | [optional] **region_id** | **int** | | [optional] ## Example diff --git a/docs/ManaV2IPsecGatewayPeersConfig.md b/docs/ManaV2IPsecGatewayPeersConfig.md new file mode 100644 index 00000000..513d579c --- /dev/null +++ b/docs/ManaV2IPsecGatewayPeersConfig.md @@ -0,0 +1,31 @@ +# ManaV2IPsecGatewayPeersConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the IPsec gateway service | [optional] +**remote_peers** | [**List[ManaV2IPsecGatewayRemotePeer]**](ManaV2IPsecGatewayRemotePeer.md) | | [optional] +**routing** | [**ManaV2IpsecRoutingConfig**](ManaV2IpsecRoutingConfig.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2IPsecGatewayPeersConfig from a JSON string +mana_v2_i_psec_gateway_peers_config_instance = ManaV2IPsecGatewayPeersConfig.from_json(json) +# print the JSON string representation of the object +print(ManaV2IPsecGatewayPeersConfig.to_json()) + +# convert the object into a dict +mana_v2_i_psec_gateway_peers_config_dict = mana_v2_i_psec_gateway_peers_config_instance.to_dict() +# create an instance of ManaV2IPsecGatewayPeersConfig from a dict +mana_v2_i_psec_gateway_peers_config_from_dict = ManaV2IPsecGatewayPeersConfig.from_dict(mana_v2_i_psec_gateway_peers_config_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2IPsecGatewayRemotePeer.md b/docs/ManaV2IPsecGatewayRemotePeer.md new file mode 100644 index 00000000..55693258 --- /dev/null +++ b/docs/ManaV2IPsecGatewayRemotePeer.md @@ -0,0 +1,37 @@ +# ManaV2IPsecGatewayRemotePeer + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**destination_address** | **str** | | [optional] +**ike_initiator** | **bool** | When true, Graphiant initiates IKE for this peer | [optional] +**mtu** | **int** | | [optional] +**name** | **str** | Optional display name or label for this peer; used when generating tunnel names | [optional] +**remote_ike_peer_identity** | **str** | IKE identity of the remote peer | [optional] +**tcp_mss** | **int** | | [optional] +**tunnel1** | [**ManaV2IPsecGatewayTunnelDetails**](ManaV2IPsecGatewayTunnelDetails.md) | | [optional] +**tunnel2** | [**ManaV2IPsecGatewayTunnelDetails**](ManaV2IPsecGatewayTunnelDetails.md) | | [optional] +**vpn_profile** | **str** | Enterprise IPsec VPN profile name for this peer | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer import ManaV2IPsecGatewayRemotePeer + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2IPsecGatewayRemotePeer from a JSON string +mana_v2_i_psec_gateway_remote_peer_instance = ManaV2IPsecGatewayRemotePeer.from_json(json) +# print the JSON string representation of the object +print(ManaV2IPsecGatewayRemotePeer.to_json()) + +# convert the object into a dict +mana_v2_i_psec_gateway_remote_peer_dict = mana_v2_i_psec_gateway_remote_peer_instance.to_dict() +# create an instance of ManaV2IPsecGatewayRemotePeer from a dict +mana_v2_i_psec_gateway_remote_peer_from_dict = ManaV2IPsecGatewayRemotePeer.from_dict(mana_v2_i_psec_gateway_remote_peer_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2LanSegmentPublicInterfaceEntry.md b/docs/ManaV2LanSegmentPublicInterfaceEntry.md new file mode 100644 index 00000000..00c63572 --- /dev/null +++ b/docs/ManaV2LanSegmentPublicInterfaceEntry.md @@ -0,0 +1,32 @@ +# ManaV2LanSegmentPublicInterfaceEntry + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**interface_id** | **int** | network.interface id (required) | [optional] +**ipv4_addresses** | **List[str]** | | [optional] +**name** | **str** | Device interface name (BGP local_interface uses this) (required) | [optional] +**storage_provider** | **str** | Interface storage provider (cloud provider for gateway LAN interfaces) | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry import ManaV2LanSegmentPublicInterfaceEntry + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2LanSegmentPublicInterfaceEntry from a JSON string +mana_v2_lan_segment_public_interface_entry_instance = ManaV2LanSegmentPublicInterfaceEntry.from_json(json) +# print the JSON string representation of the object +print(ManaV2LanSegmentPublicInterfaceEntry.to_json()) + +# convert the object into a dict +mana_v2_lan_segment_public_interface_entry_dict = mana_v2_lan_segment_public_interface_entry_instance.to_dict() +# create an instance of ManaV2LanSegmentPublicInterfaceEntry from a dict +mana_v2_lan_segment_public_interface_entry_from_dict = ManaV2LanSegmentPublicInterfaceEntry.from_dict(mana_v2_lan_segment_public_interface_entry_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2LanSegmentPublicInterfacesLists.md b/docs/ManaV2LanSegmentPublicInterfacesLists.md new file mode 100644 index 00000000..9f48c419 --- /dev/null +++ b/docs/ManaV2LanSegmentPublicInterfacesLists.md @@ -0,0 +1,30 @@ +# ManaV2LanSegmentPublicInterfacesLists + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**private_interfaces** | [**List[ManaV2LanSegmentPublicInterfaceEntry]**](ManaV2LanSegmentPublicInterfaceEntry.md) | | [optional] +**public_interfaces** | [**List[ManaV2LanSegmentPublicInterfaceEntry]**](ManaV2LanSegmentPublicInterfaceEntry.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists import ManaV2LanSegmentPublicInterfacesLists + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2LanSegmentPublicInterfacesLists from a JSON string +mana_v2_lan_segment_public_interfaces_lists_instance = ManaV2LanSegmentPublicInterfacesLists.from_json(json) +# print the JSON string representation of the object +print(ManaV2LanSegmentPublicInterfacesLists.to_json()) + +# convert the object into a dict +mana_v2_lan_segment_public_interfaces_lists_dict = mana_v2_lan_segment_public_interfaces_lists_instance.to_dict() +# create an instance of ManaV2LanSegmentPublicInterfacesLists from a dict +mana_v2_lan_segment_public_interfaces_lists_from_dict = ManaV2LanSegmentPublicInterfacesLists.from_dict(mana_v2_lan_segment_public_interfaces_lists_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2PublicVifGatewayCentralizedNat.md b/docs/ManaV2PublicVifGatewayCentralizedNat.md new file mode 100644 index 00000000..12d88feb --- /dev/null +++ b/docs/ManaV2PublicVifGatewayCentralizedNat.md @@ -0,0 +1,29 @@ +# ManaV2PublicVifGatewayCentralizedNat + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_prefix** | **Dict[str, str]** | | + +## Example + +```python +from graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat import ManaV2PublicVifGatewayCentralizedNat + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2PublicVifGatewayCentralizedNat from a JSON string +mana_v2_public_vif_gateway_centralized_nat_instance = ManaV2PublicVifGatewayCentralizedNat.from_json(json) +# print the JSON string representation of the object +print(ManaV2PublicVifGatewayCentralizedNat.to_json()) + +# convert the object into a dict +mana_v2_public_vif_gateway_centralized_nat_dict = mana_v2_public_vif_gateway_centralized_nat_instance.to_dict() +# create an instance of ManaV2PublicVifGatewayCentralizedNat from a dict +mana_v2_public_vif_gateway_centralized_nat_from_dict = ManaV2PublicVifGatewayCentralizedNat.from_dict(mana_v2_public_vif_gateway_centralized_nat_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2PublicVifGatewayConsumerLanDevices.md b/docs/ManaV2PublicVifGatewayConsumerLanDevices.md new file mode 100644 index 00000000..94003446 --- /dev/null +++ b/docs/ManaV2PublicVifGatewayConsumerLanDevices.md @@ -0,0 +1,29 @@ +# ManaV2PublicVifGatewayConsumerLanDevices + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consumer_prefixes** | **List[str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2PublicVifGatewayConsumerLanDevices from a JSON string +mana_v2_public_vif_gateway_consumer_lan_devices_instance = ManaV2PublicVifGatewayConsumerLanDevices.from_json(json) +# print the JSON string representation of the object +print(ManaV2PublicVifGatewayConsumerLanDevices.to_json()) + +# convert the object into a dict +mana_v2_public_vif_gateway_consumer_lan_devices_dict = mana_v2_public_vif_gateway_consumer_lan_devices_instance.to_dict() +# create an instance of ManaV2PublicVifGatewayConsumerLanDevices from a dict +mana_v2_public_vif_gateway_consumer_lan_devices_from_dict = ManaV2PublicVifGatewayConsumerLanDevices.from_dict(mana_v2_public_vif_gateway_consumer_lan_devices_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2PublicVifGatewayDecentralizedPrefixes.md b/docs/ManaV2PublicVifGatewayDecentralizedPrefixes.md new file mode 100644 index 00000000..a9b944ba --- /dev/null +++ b/docs/ManaV2PublicVifGatewayDecentralizedPrefixes.md @@ -0,0 +1,29 @@ +# ManaV2PublicVifGatewayDecentralizedPrefixes + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixes** | **Dict[str, str]** | | + +## Example + +```python +from graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes import ManaV2PublicVifGatewayDecentralizedPrefixes + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2PublicVifGatewayDecentralizedPrefixes from a JSON string +mana_v2_public_vif_gateway_decentralized_prefixes_instance = ManaV2PublicVifGatewayDecentralizedPrefixes.from_json(json) +# print the JSON string representation of the object +print(ManaV2PublicVifGatewayDecentralizedPrefixes.to_json()) + +# convert the object into a dict +mana_v2_public_vif_gateway_decentralized_prefixes_dict = mana_v2_public_vif_gateway_decentralized_prefixes_instance.to_dict() +# create an instance of ManaV2PublicVifGatewayDecentralizedPrefixes from a dict +mana_v2_public_vif_gateway_decentralized_prefixes_from_dict = ManaV2PublicVifGatewayDecentralizedPrefixes.from_dict(mana_v2_public_vif_gateway_decentralized_prefixes_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2PublicVifGatewayNatPrefixStrategy.md b/docs/ManaV2PublicVifGatewayNatPrefixStrategy.md new file mode 100644 index 00000000..6291a099 --- /dev/null +++ b/docs/ManaV2PublicVifGatewayNatPrefixStrategy.md @@ -0,0 +1,30 @@ +# ManaV2PublicVifGatewayNatPrefixStrategy + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**centralized** | [**ManaV2PublicVifGatewayCentralizedNat**](ManaV2PublicVifGatewayCentralizedNat.md) | | [optional] +**decentralized** | [**ManaV2PublicVifGatewayDecentralizedPrefixes**](ManaV2PublicVifGatewayDecentralizedPrefixes.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2PublicVifGatewayNatPrefixStrategy from a JSON string +mana_v2_public_vif_gateway_nat_prefix_strategy_instance = ManaV2PublicVifGatewayNatPrefixStrategy.from_json(json) +# print the JSON string representation of the object +print(ManaV2PublicVifGatewayNatPrefixStrategy.to_json()) + +# convert the object into a dict +mana_v2_public_vif_gateway_nat_prefix_strategy_dict = mana_v2_public_vif_gateway_nat_prefix_strategy_instance.to_dict() +# create an instance of ManaV2PublicVifGatewayNatPrefixStrategy from a dict +mana_v2_public_vif_gateway_nat_prefix_strategy_from_dict = ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(mana_v2_public_vif_gateway_nat_prefix_strategy_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2PublicVifGatewayWriteRequest.md b/docs/ManaV2PublicVifGatewayWriteRequest.md new file mode 100644 index 00000000..5912370d --- /dev/null +++ b/docs/ManaV2PublicVifGatewayWriteRequest.md @@ -0,0 +1,37 @@ +# ManaV2PublicVifGatewayWriteRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**advertisement** | [**ManaV2SiteInformation**](ManaV2SiteInformation.md) | | [optional] +**consumer_lan_segments** | [**Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]**](ManaV2PublicVifGatewayConsumerLanDevices.md) | | +**covering_prefixes** | **List[str]** | | [optional] +**gateway_bgp_neighbors** | [**Dict[str, ManaV2BgpNeighborConfig]**](ManaV2BgpNeighborConfig.md) | | +**lan_segment_id** | **int** | Producer LAN segment (VRF) on gateway appliances (required) | +**nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | +**region_id** | **int** | Graphiant region for gateway appliances (required) | +**service_name** | **str** | Service display name (required) | +**storage_provider** | **str** | Storage provider; each gateway appliance must match region and provider (required) | + +## Example + +```python +from graphiant_sdk.models.mana_v2_public_vif_gateway_write_request import ManaV2PublicVifGatewayWriteRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2PublicVifGatewayWriteRequest from a JSON string +mana_v2_public_vif_gateway_write_request_instance = ManaV2PublicVifGatewayWriteRequest.from_json(json) +# print the JSON string representation of the object +print(ManaV2PublicVifGatewayWriteRequest.to_json()) + +# convert the object into a dict +mana_v2_public_vif_gateway_write_request_dict = mana_v2_public_vif_gateway_write_request_instance.to_dict() +# create an instance of ManaV2PublicVifGatewayWriteRequest from a dict +mana_v2_public_vif_gateway_write_request_from_dict = ManaV2PublicVifGatewayWriteRequest.from_dict(mana_v2_public_vif_gateway_write_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2SiteDeviceSummary.md b/docs/ManaV2SiteDeviceSummary.md index 1406242d..35644b0d 100644 --- a/docs/ManaV2SiteDeviceSummary.md +++ b/docs/ManaV2SiteDeviceSummary.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **device_id** | **int** | | [optional] **hostname** | **str** | | [optional] +**site_id** | **int** | | [optional] ## Example diff --git a/docs/ManaV2ZeroTrustConsumptionSummary.md b/docs/ManaV2ZeroTrustConsumptionSummary.md new file mode 100644 index 00000000..477b6de1 --- /dev/null +++ b/docs/ManaV2ZeroTrustConsumptionSummary.md @@ -0,0 +1,29 @@ +# ManaV2ZeroTrustConsumptionSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**user_agent_credits** | **float** | Number of devices that have been installed with the zero trust agent | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_zero_trust_consumption_summary import ManaV2ZeroTrustConsumptionSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2ZeroTrustConsumptionSummary from a JSON string +mana_v2_zero_trust_consumption_summary_instance = ManaV2ZeroTrustConsumptionSummary.from_json(json) +# print the JSON string representation of the object +print(ManaV2ZeroTrustConsumptionSummary.to_json()) + +# convert the object into a dict +mana_v2_zero_trust_consumption_summary_dict = mana_v2_zero_trust_consumption_summary_instance.to_dict() +# create an instance of ManaV2ZeroTrustConsumptionSummary from a dict +mana_v2_zero_trust_consumption_summary_from_dict = ManaV2ZeroTrustConsumptionSummary.from_dict(mana_v2_zero_trust_consumption_summary_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UpgradeRollout.md b/docs/UpgradeRollout.md index 2a1ee537..7231f27d 100644 --- a/docs/UpgradeRollout.md +++ b/docs/UpgradeRollout.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **next_run_ts** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] **num_devices** | **int** | Count of devices associated with the rollout. | [optional] **rollout_config** | [**UpgradeRolloutConfig**](UpgradeRolloutConfig.md) | | [optional] +**status** | **str** | Status of the upgrade rollout group | [optional] ## Example diff --git a/docs/V1EnterpriseAllocationGetResponse.md b/docs/V1EnterpriseAllocationGetResponse.md index 7eb2be09..fe4b3471 100644 --- a/docs/V1EnterpriseAllocationGetResponse.md +++ b/docs/V1EnterpriseAllocationGetResponse.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **consumption_summary** | [**ManaV2BandwidthConsumptionSummary**](ManaV2BandwidthConsumptionSummary.md) | | [optional] **conversion_holders** | [**Dict[str, ManaV2AllocationConversionHolder]**](ManaV2AllocationConversionHolder.md) | | [optional] **regional_allocations** | [**List[ManaV2RegionalAllocation]**](ManaV2RegionalAllocation.md) | | [optional] +**zero_trust_summary** | [**ManaV2ZeroTrustConsumptionSummary**](ManaV2ZeroTrustConsumptionSummary.md) | | [optional] ## Example diff --git a/docs/V1GatewaysReferenceConsumerGetResponse.md b/docs/V1GatewaysReferenceConsumerGetResponse.md index e4a21263..aa0c8659 100644 --- a/docs/V1GatewaysReferenceConsumerGetResponse.md +++ b/docs/V1GatewaysReferenceConsumerGetResponse.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ipsec_gateway_details** | [**ManaV2IPsecGatewayDetails**](ManaV2IPsecGatewayDetails.md) | | [optional] +**ipsec_gateway_peers** | [**ManaV2IPsecGatewayPeersConfig**](ManaV2IPsecGatewayPeersConfig.md) | | [optional] ## Example diff --git a/docs/V1LanSegmentsInterfacesPublicGetResponse.md b/docs/V1LanSegmentsInterfacesPublicGetResponse.md new file mode 100644 index 00000000..7de3522c --- /dev/null +++ b/docs/V1LanSegmentsInterfacesPublicGetResponse.md @@ -0,0 +1,29 @@ +# V1LanSegmentsInterfacesPublicGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lan_segment_ids** | [**Dict[str, ManaV2LanSegmentPublicInterfacesLists]**](ManaV2LanSegmentPublicInterfacesLists.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1LanSegmentsInterfacesPublicGetResponse from a JSON string +v1_lan_segments_interfaces_public_get_response_instance = V1LanSegmentsInterfacesPublicGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1LanSegmentsInterfacesPublicGetResponse.to_json()) + +# convert the object into a dict +v1_lan_segments_interfaces_public_get_response_dict = v1_lan_segments_interfaces_public_get_response_instance.to_dict() +# create an instance of V1LanSegmentsInterfacesPublicGetResponse from a dict +v1_lan_segments_interfaces_public_get_response_from_dict = V1LanSegmentsInterfacesPublicGetResponse.from_dict(v1_lan_segments_interfaces_public_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifIdDetailsGetResponse.md b/docs/V1PvifIdDetailsGetResponse.md new file mode 100644 index 00000000..e1fb7f33 --- /dev/null +++ b/docs/V1PvifIdDetailsGetResponse.md @@ -0,0 +1,39 @@ +# V1PvifIdDetailsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**advertise_all_sites** | **bool** | True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists | [optional] +**advertisement** | [**ManaV2SiteInformation**](ManaV2SiteInformation.md) | | [optional] +**consumer_lan_segments** | [**Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]**](ManaV2PublicVifGatewayConsumerLanDevices.md) | | [optional] +**covering_prefixes** | **List[str]** | | [optional] +**gateway_bgp_neighbors** | [**Dict[str, ManaV2BgpNeighbor]**](ManaV2BgpNeighbor.md) | | [optional] +**id** | **int** | Producer service id | [optional] +**lan_segment_id** | **int** | Producer LAN segment (VRF) id | [optional] +**nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | [optional] +**region_id** | **int** | Graphiant region for gateway appliances | [optional] +**service_name** | **str** | Service display name | [optional] +**storage_provider** | **str** | Storage provider for gateway appliances | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifIdDetailsGetResponse from a JSON string +v1_pvif_id_details_get_response_instance = V1PvifIdDetailsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1PvifIdDetailsGetResponse.to_json()) + +# convert the object into a dict +v1_pvif_id_details_get_response_dict = v1_pvif_id_details_get_response_instance.to_dict() +# create an instance of V1PvifIdDetailsGetResponse from a dict +v1_pvif_id_details_get_response_from_dict = V1PvifIdDetailsGetResponse.from_dict(v1_pvif_id_details_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifIdPutRequest.md b/docs/V1PvifIdPutRequest.md new file mode 100644 index 00000000..e3bf1e83 --- /dev/null +++ b/docs/V1PvifIdPutRequest.md @@ -0,0 +1,29 @@ +# V1PvifIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configuration** | [**ManaV2PublicVifGatewayWriteRequest**](ManaV2PublicVifGatewayWriteRequest.md) | | + +## Example + +```python +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifIdPutRequest from a JSON string +v1_pvif_id_put_request_instance = V1PvifIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1PvifIdPutRequest.to_json()) + +# convert the object into a dict +v1_pvif_id_put_request_dict = v1_pvif_id_put_request_instance.to_dict() +# create an instance of V1PvifIdPutRequest from a dict +v1_pvif_id_put_request_from_dict = V1PvifIdPutRequest.from_dict(v1_pvif_id_put_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifIdPutResponse.md b/docs/V1PvifIdPutResponse.md new file mode 100644 index 00000000..7dc4ac75 --- /dev/null +++ b/docs/V1PvifIdPutResponse.md @@ -0,0 +1,39 @@ +# V1PvifIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**advertise_all_sites** | **bool** | True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists | [optional] +**advertisement** | [**ManaV2SiteInformation**](ManaV2SiteInformation.md) | | [optional] +**consumer_lan_segments** | [**Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]**](ManaV2PublicVifGatewayConsumerLanDevices.md) | | [optional] +**covering_prefixes** | **List[str]** | | [optional] +**gateway_bgp_neighbors** | [**Dict[str, ManaV2BgpNeighbor]**](ManaV2BgpNeighbor.md) | | [optional] +**id** | **int** | Producer service id | [optional] +**lan_segment_id** | **int** | Producer LAN segment (VRF) id | [optional] +**nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | [optional] +**region_id** | **int** | Graphiant region for gateway appliances | [optional] +**service_name** | **str** | Service display name | [optional] +**storage_provider** | **str** | Storage provider for gateway appliances | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifIdPutResponse from a JSON string +v1_pvif_id_put_response_instance = V1PvifIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1PvifIdPutResponse.to_json()) + +# convert the object into a dict +v1_pvif_id_put_response_dict = v1_pvif_id_put_response_instance.to_dict() +# create an instance of V1PvifIdPutResponse from a dict +v1_pvif_id_put_response_from_dict = V1PvifIdPutResponse.from_dict(v1_pvif_id_put_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifPostRequest.md b/docs/V1PvifPostRequest.md new file mode 100644 index 00000000..db7cc4b8 --- /dev/null +++ b/docs/V1PvifPostRequest.md @@ -0,0 +1,37 @@ +# V1PvifPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**advertisement** | [**ManaV2SiteInformation**](ManaV2SiteInformation.md) | | [optional] +**consumer_lan_segments** | [**Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]**](ManaV2PublicVifGatewayConsumerLanDevices.md) | | +**covering_prefixes** | **List[str]** | | [optional] +**gateway_bgp_neighbors** | [**Dict[str, ManaV2BgpNeighborConfig]**](ManaV2BgpNeighborConfig.md) | | +**lan_segment_id** | **int** | Producer LAN segment (VRF) on gateway appliances (required) | +**nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | +**region_id** | **int** | Graphiant region for gateway appliances (required) | +**service_name** | **str** | Service display name (required) | +**storage_provider** | **str** | Storage provider; each gateway appliance must match region and provider (required) | + +## Example + +```python +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifPostRequest from a JSON string +v1_pvif_post_request_instance = V1PvifPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1PvifPostRequest.to_json()) + +# convert the object into a dict +v1_pvif_post_request_dict = v1_pvif_post_request_instance.to_dict() +# create an instance of V1PvifPostRequest from a dict +v1_pvif_post_request_from_dict = V1PvifPostRequest.from_dict(v1_pvif_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifPostResponse.md b/docs/V1PvifPostResponse.md new file mode 100644 index 00000000..374e0f89 --- /dev/null +++ b/docs/V1PvifPostResponse.md @@ -0,0 +1,39 @@ +# V1PvifPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**advertise_all_sites** | **bool** | True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists | [optional] +**advertisement** | [**ManaV2SiteInformation**](ManaV2SiteInformation.md) | | [optional] +**consumer_lan_segments** | [**Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]**](ManaV2PublicVifGatewayConsumerLanDevices.md) | | [optional] +**covering_prefixes** | **List[str]** | | [optional] +**gateway_bgp_neighbors** | [**Dict[str, ManaV2BgpNeighbor]**](ManaV2BgpNeighbor.md) | | [optional] +**id** | **int** | Producer service id | [optional] +**lan_segment_id** | **int** | Producer LAN segment (VRF) id | [optional] +**nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | [optional] +**region_id** | **int** | Graphiant region for gateway appliances | [optional] +**service_name** | **str** | Service display name | [optional] +**storage_provider** | **str** | Storage provider for gateway appliances | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifPostResponse from a JSON string +v1_pvif_post_response_instance = V1PvifPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1PvifPostResponse.to_json()) + +# convert the object into a dict +v1_pvif_post_response_dict = v1_pvif_post_response_instance.to_dict() +# create an instance of V1PvifPostResponse from a dict +v1_pvif_post_response_from_dict = V1PvifPostResponse.from_dict(v1_pvif_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1PvifSummaryGetResponse.md b/docs/V1PvifSummaryGetResponse.md new file mode 100644 index 00000000..b294e852 --- /dev/null +++ b/docs/V1PvifSummaryGetResponse.md @@ -0,0 +1,29 @@ +# V1PvifSummaryGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**summary** | [**List[ManaV2PublicVifSummary]**](ManaV2PublicVifSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1PvifSummaryGetResponse from a JSON string +v1_pvif_summary_get_response_instance = V1PvifSummaryGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1PvifSummaryGetResponse.to_json()) + +# convert the object into a dict +v1_pvif_summary_get_response_dict = v1_pvif_summary_get_response_instance.to_dict() +# create an instance of V1PvifSummaryGetResponse from a dict +v1_pvif_summary_get_response_from_dict = V1PvifSummaryGetResponse.from_dict(v1_pvif_summary_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1RegionsRegionIdGatewaysGetResponse.md b/docs/V1RegionsRegionIdGatewaysGetResponse.md new file mode 100644 index 00000000..7caa24d5 --- /dev/null +++ b/docs/V1RegionsRegionIdGatewaysGetResponse.md @@ -0,0 +1,29 @@ +# V1RegionsRegionIdGatewaysGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**gateways** | [**List[V1RegionsRegionIdGatewaysGetResponseGateway]**](V1RegionsRegionIdGatewaysGetResponseGateway.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1RegionsRegionIdGatewaysGetResponse from a JSON string +v1_regions_region_id_gateways_get_response_instance = V1RegionsRegionIdGatewaysGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1RegionsRegionIdGatewaysGetResponse.to_json()) + +# convert the object into a dict +v1_regions_region_id_gateways_get_response_dict = v1_regions_region_id_gateways_get_response_instance.to_dict() +# create an instance of V1RegionsRegionIdGatewaysGetResponse from a dict +v1_regions_region_id_gateways_get_response_from_dict = V1RegionsRegionIdGatewaysGetResponse.from_dict(v1_regions_region_id_gateways_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1RegionsRegionIdGatewaysGetResponseGateway.md b/docs/V1RegionsRegionIdGatewaysGetResponseGateway.md new file mode 100644 index 00000000..55b55446 --- /dev/null +++ b/docs/V1RegionsRegionIdGatewaysGetResponseGateway.md @@ -0,0 +1,30 @@ +# V1RegionsRegionIdGatewaysGetResponseGateway + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**device_id** | **int** | | [optional] +**hostname** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway + +# TODO update the JSON string below +json = "{}" +# create an instance of V1RegionsRegionIdGatewaysGetResponseGateway from a JSON string +v1_regions_region_id_gateways_get_response_gateway_instance = V1RegionsRegionIdGatewaysGetResponseGateway.from_json(json) +# print the JSON string representation of the object +print(V1RegionsRegionIdGatewaysGetResponseGateway.to_json()) + +# convert the object into a dict +v1_regions_region_id_gateways_get_response_gateway_dict = v1_regions_region_id_gateways_get_response_gateway_instance.to_dict() +# create an instance of V1RegionsRegionIdGatewaysGetResponseGateway from a dict +v1_regions_region_id_gateways_get_response_gateway_from_dict = V1RegionsRegionIdGatewaysGetResponseGateway.from_dict(v1_regions_region_id_gateways_get_response_gateway_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1ZtagentAgentsGetResponse.md b/docs/V1ZtagentAgentsGetResponse.md new file mode 100644 index 00000000..f8d63c2b --- /dev/null +++ b/docs/V1ZtagentAgentsGetResponse.md @@ -0,0 +1,30 @@ +# V1ZtagentAgentsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**agents** | [**List[ConcealAgent]**](ConcealAgent.md) | | [optional] +**count** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ZtagentAgentsGetResponse from a JSON string +v1_ztagent_agents_get_response_instance = V1ZtagentAgentsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1ZtagentAgentsGetResponse.to_json()) + +# convert the object into a dict +v1_ztagent_agents_get_response_dict = v1_ztagent_agents_get_response_instance.to_dict() +# create an instance of V1ZtagentAgentsGetResponse from a dict +v1_ztagent_agents_get_response_from_dict = V1ZtagentAgentsGetResponse.from_dict(v1_ztagent_agents_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceAiAdoptionSummaryPostRequest.md b/docs/V2AssuranceAiAdoptionSummaryPostRequest.md new file mode 100644 index 00000000..c28275ea --- /dev/null +++ b/docs/V2AssuranceAiAdoptionSummaryPostRequest.md @@ -0,0 +1,30 @@ +# V2AssuranceAiAdoptionSummaryPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**time_window** | [**AssuranceTimeWindow**](AssuranceTimeWindow.md) | | +**user_list_size** | **int** | list size of user list in where widget (required) | + +## Example + +```python +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceAiAdoptionSummaryPostRequest from a JSON string +v2_assurance_ai_adoption_summary_post_request_instance = V2AssuranceAiAdoptionSummaryPostRequest.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceAiAdoptionSummaryPostRequest.to_json()) + +# convert the object into a dict +v2_assurance_ai_adoption_summary_post_request_dict = v2_assurance_ai_adoption_summary_post_request_instance.to_dict() +# create an instance of V2AssuranceAiAdoptionSummaryPostRequest from a dict +v2_assurance_ai_adoption_summary_post_request_from_dict = V2AssuranceAiAdoptionSummaryPostRequest.from_dict(v2_assurance_ai_adoption_summary_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceAiAdoptionSummaryPostResponse.md b/docs/V2AssuranceAiAdoptionSummaryPostResponse.md new file mode 100644 index 00000000..04e3a078 --- /dev/null +++ b/docs/V2AssuranceAiAdoptionSummaryPostResponse.md @@ -0,0 +1,32 @@ +# V2AssuranceAiAdoptionSummaryPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**top_level_kpi** | [**AssuranceTopLevelKpi**](AssuranceTopLevelKpi.md) | | [optional] +**what_widget** | [**AssuranceWhatWidget**](AssuranceWhatWidget.md) | | [optional] +**when_widget** | [**AssuranceWhenWidget**](AssuranceWhenWidget.md) | | [optional] +**where_widget** | [**AssuranceWhereWidget**](AssuranceWhereWidget.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceAiAdoptionSummaryPostResponse from a JSON string +v2_assurance_ai_adoption_summary_post_response_instance = V2AssuranceAiAdoptionSummaryPostResponse.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceAiAdoptionSummaryPostResponse.to_json()) + +# convert the object into a dict +v2_assurance_ai_adoption_summary_post_response_dict = v2_assurance_ai_adoption_summary_post_response_instance.to_dict() +# create an instance of V2AssuranceAiAdoptionSummaryPostResponse from a dict +v2_assurance_ai_adoption_summary_post_response_from_dict = V2AssuranceAiAdoptionSummaryPostResponse.from_dict(v2_assurance_ai_adoption_summary_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md b/docs/V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md new file mode 100644 index 00000000..08a65a53 --- /dev/null +++ b/docs/V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md @@ -0,0 +1,29 @@ +# V2AssuranceCreateAiAdoptionApproveEntryPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**approved_app_entry** | [**AssuranceApprovedAppEntryRequest**](AssuranceApprovedAppEntryRequest.md) | | + +## Example + +```python +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostRequest from a JSON string +v2_assurance_create_ai_adoption_approve_entry_post_request_instance = V2AssuranceCreateAiAdoptionApproveEntryPostRequest.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceCreateAiAdoptionApproveEntryPostRequest.to_json()) + +# convert the object into a dict +v2_assurance_create_ai_adoption_approve_entry_post_request_dict = v2_assurance_create_ai_adoption_approve_entry_post_request_instance.to_dict() +# create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostRequest from a dict +v2_assurance_create_ai_adoption_approve_entry_post_request_from_dict = V2AssuranceCreateAiAdoptionApproveEntryPostRequest.from_dict(v2_assurance_create_ai_adoption_approve_entry_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md b/docs/V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md new file mode 100644 index 00000000..51afb0ff --- /dev/null +++ b/docs/V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md @@ -0,0 +1,29 @@ +# V2AssuranceCreateAiAdoptionApproveEntryPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | identifier of the created approved app entry (required) | [optional] + +## Example + +```python +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostResponse from a JSON string +v2_assurance_create_ai_adoption_approve_entry_post_response_instance = V2AssuranceCreateAiAdoptionApproveEntryPostResponse.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceCreateAiAdoptionApproveEntryPostResponse.to_json()) + +# convert the object into a dict +v2_assurance_create_ai_adoption_approve_entry_post_response_dict = v2_assurance_create_ai_adoption_approve_entry_post_response_instance.to_dict() +# create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostResponse from a dict +v2_assurance_create_ai_adoption_approve_entry_post_response_from_dict = V2AssuranceCreateAiAdoptionApproveEntryPostResponse.from_dict(v2_assurance_create_ai_adoption_approve_entry_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceGetAppNamesPostRequest.md b/docs/V2AssuranceGetAppNamesPostRequest.md new file mode 100644 index 00000000..67f9d976 --- /dev/null +++ b/docs/V2AssuranceGetAppNamesPostRequest.md @@ -0,0 +1,29 @@ +# V2AssuranceGetAppNamesPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **List[str]** | | + +## Example + +```python +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceGetAppNamesPostRequest from a JSON string +v2_assurance_get_app_names_post_request_instance = V2AssuranceGetAppNamesPostRequest.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceGetAppNamesPostRequest.to_json()) + +# convert the object into a dict +v2_assurance_get_app_names_post_request_dict = v2_assurance_get_app_names_post_request_instance.to_dict() +# create an instance of V2AssuranceGetAppNamesPostRequest from a dict +v2_assurance_get_app_names_post_request_from_dict = V2AssuranceGetAppNamesPostRequest.from_dict(v2_assurance_get_app_names_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceGetAppNamesPostResponse.md b/docs/V2AssuranceGetAppNamesPostResponse.md new file mode 100644 index 00000000..b68db28d --- /dev/null +++ b/docs/V2AssuranceGetAppNamesPostResponse.md @@ -0,0 +1,29 @@ +# V2AssuranceGetAppNamesPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**app_names** | **List[str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceGetAppNamesPostResponse from a JSON string +v2_assurance_get_app_names_post_response_instance = V2AssuranceGetAppNamesPostResponse.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceGetAppNamesPostResponse.to_json()) + +# convert the object into a dict +v2_assurance_get_app_names_post_response_dict = v2_assurance_get_app_names_post_response_instance.to_dict() +# create an instance of V2AssuranceGetAppNamesPostResponse from a dict +v2_assurance_get_app_names_post_response_from_dict = V2AssuranceGetAppNamesPostResponse.from_dict(v2_assurance_get_app_names_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md b/docs/V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md new file mode 100644 index 00000000..919f07cd --- /dev/null +++ b/docs/V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md @@ -0,0 +1,29 @@ +# V2AssuranceReadAiAdoptionApproveEntriesGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**approved_app_list** | [**List[AssuranceApprovedAppEntry]**](AssuranceApprovedAppEntry.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceReadAiAdoptionApproveEntriesGetResponse from a JSON string +v2_assurance_read_ai_adoption_approve_entries_get_response_instance = V2AssuranceReadAiAdoptionApproveEntriesGetResponse.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceReadAiAdoptionApproveEntriesGetResponse.to_json()) + +# convert the object into a dict +v2_assurance_read_ai_adoption_approve_entries_get_response_dict = v2_assurance_read_ai_adoption_approve_entries_get_response_instance.to_dict() +# create an instance of V2AssuranceReadAiAdoptionApproveEntriesGetResponse from a dict +v2_assurance_read_ai_adoption_approve_entries_get_response_from_dict = V2AssuranceReadAiAdoptionApproveEntriesGetResponse.from_dict(v2_assurance_read_ai_adoption_approve_entries_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md b/docs/V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md new file mode 100644 index 00000000..f2e3f7d8 --- /dev/null +++ b/docs/V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md @@ -0,0 +1,29 @@ +# V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**approved_app_entry** | [**AssuranceApprovedAppEntryRequest**](AssuranceApprovedAppEntryRequest.md) | | + +## Example + +```python +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from a JSON string +v2_assurance_update_ai_adoption_approve_entry_post_request_instance = V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.from_json(json) +# print the JSON string representation of the object +print(V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.to_json()) + +# convert the object into a dict +v2_assurance_update_ai_adoption_approve_entry_post_request_dict = v2_assurance_update_ai_adoption_approve_entry_post_request_instance.to_dict() +# create an instance of V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from a dict +v2_assurance_update_ai_adoption_approve_entry_post_request_from_dict = V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.from_dict(v2_assurance_update_ai_adoption_approve_entry_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/graphiant_cli/browser_capture.py b/graphiant_cli/browser_capture.py index c7c9e1d4..e12440da 100644 --- a/graphiant_cli/browser_capture.py +++ b/graphiant_cli/browser_capture.py @@ -5,6 +5,7 @@ import subprocess import sys import time +from typing import TYPE_CHECKING, Callable from graphiant_cli.cli_logging import ensure_cli_logging, get_logger, safe_api_url_for_log from graphiant_cli.token_parsing import ( @@ -17,18 +18,23 @@ token_from_authorization_headers_only, ) +if TYPE_CHECKING: + from playwright.sync_api import Page, PlaywrightContextManager, Request, Response + logger = get_logger("browser_capture") PLAYWRIGHT_AVAILABLE = False +sync_playwright: Callable[[], PlaywrightContextManager] | None = None try: - from playwright.sync_api import sync_playwright + from playwright.sync_api import sync_playwright as _sync_playwright + sync_playwright = _sync_playwright PLAYWRIGHT_AVAILABLE = True except ImportError: - sync_playwright = None # type: ignore[misc, assignment] + pass -def playwright_yield_ms(page: object, ms: int) -> None: +def playwright_yield_ms(page: Page, ms: int) -> None: """ Yield so Playwright's sync driver can process network events. @@ -110,12 +116,12 @@ def _attempt() -> str | None: page = context.new_page() captured: list[str] = [] - def on_request(request: object) -> None: + def on_request(request: Request) -> None: try: if not is_graphiant_api_url(request.url): return tok = token_from_authorization_headers_only(request) - if eligible_capture(tok, request.url): + if tok is not None and eligible_capture(tok, request.url): captured.append(tok) logger.debug( "Captured bearer from request %s", @@ -124,7 +130,7 @@ def on_request(request: object) -> None: except Exception: logger.debug("on_request handler failed", exc_info=True) - def on_response(response: object) -> None: + def on_response(response: Response) -> None: try: url = response.url if not is_graphiant_api_url(url): @@ -133,7 +139,7 @@ def on_response(response: object) -> None: tok = extract_token_from_refresh_response(response) else: tok = extract_token_from_graphiant_api_response(response) - if eligible_capture(tok, url): + if tok is not None and eligible_capture(tok, url): captured.append(tok) logger.debug( "Captured bearer from response %s status=%s", @@ -164,9 +170,11 @@ def on_response(response: object) -> None: if time.time() >= next_progress: if verbose: print( - "Still waiting for a Graphiant API bearer token (…/v1/…, …/v2/…, or …/auth/refresh) … " - "(sign in in this Chromium window; after login, refresh the portal home page if needed — " - "e.g. F5 or the reload button. Press Ctrl+C to paste a token.)", + "Still waiting for a Graphiant API bearer token " + "(…/v1/…, …/v2/…, or …/auth/refresh) … " + "(sign in in Chromium; after login, refresh the portal " + "home page if needed — e.g. F5 or the reload button. " + "Press Ctrl+C to paste a token.)", file=sys.stderr, ) else: @@ -198,7 +206,8 @@ def on_response(response: object) -> None: if verbose: print( "Signed in. The CLI will open the home URL and reload once. " - "If no further API traffic appears, refresh the portal home page yourself (F5 or reload).", + "If no further API traffic appears, refresh the portal home page " + "yourself (F5 or reload).", file=sys.stderr, ) else: @@ -233,7 +242,8 @@ def on_response(response: object) -> None: return _attempt() except Exception as e: if _launch_failure_suggests_missing_browser(e): - logger.warning("Browser missing or failed to start; attempting playwright install chromium") + logger.warning( + "Browser missing or failed to start; attempting playwright install chromium") if _install_chromium(): try: return _attempt() diff --git a/graphiant_cli/login_common.py b/graphiant_cli/login_common.py index bf834b01..7a7d9c81 100644 --- a/graphiant_cli/login_common.py +++ b/graphiant_cli/login_common.py @@ -3,6 +3,7 @@ from __future__ import annotations import json +import logging import sys from pathlib import Path @@ -20,7 +21,7 @@ def try_persist_login( profile: str, *, console: Console, - logger: object, + logger: logging.Logger, ) -> bool: """Persist token; print error and return False on filesystem/JSON failures.""" try: diff --git a/graphiant_cli/main.py b/graphiant_cli/main.py index 7c098c9b..626526e4 100644 --- a/graphiant_cli/main.py +++ b/graphiant_cli/main.py @@ -38,7 +38,7 @@ open_portal, portal_url_from_config, ) -from graphiant_cli.rest_client import request as rest_request +from graphiant_cli.rest_client import QueryDict, request as rest_request from graphiant_cli.sdk_invoke import invoke_method, list_api_method_rows, list_api_methods from graphiant_sdk.exceptions import ApiException @@ -52,7 +52,10 @@ ) configure_app = typer.Typer(help="Default API host and portal URL.") login_app = typer.Typer( - help="Open the portal; auto-captures bearer from Graphiant API traffic (/v1/… or auth/refresh) after login.", + help=( + "Open the portal; auto-captures bearer from Graphiant API traffic " + "(/v1/… or auth/refresh) after login." + ), invoke_without_command=True, ) api_app = typer.Typer(help="Call DefaultApi methods or list operation names.") @@ -144,7 +147,8 @@ def configure_show() -> None: cfg = load_config() prof = get_profile() console.print("[bold]API host:[/bold]", cfg.get("host") or _default_host()) - console.print("[bold]Portal URL:[/bold]", cfg.get("portal_url") or portal_url_from_config().rstrip("/")) + console.print("[bold]Portal URL:[/bold]", cfg.get("portal_url") + or portal_url_from_config().rstrip("/")) console.print("[bold]Profile:[/bold]", os.environ.get("GRAPHIANT_PROFILE", DEFAULT_PROFILE)) if prof: console.print("[bold]Token:[/bold]", "present" if prof.get("access_token") else "none") @@ -159,7 +163,10 @@ def login_callback( portal_url: Optional[str] = typer.Option( None, "--portal-url", - help=f"Graphiant portal base URL (default: {DEFAULT_PORTAL_URL} or configure set-portal-url)", + help=( + f"Graphiant portal base URL (default: {DEFAULT_PORTAL_URL} " + "or configure set-portal-url)" + ), ), no_browser: bool = typer.Option(False, "--no-browser", help="Do not open a browser"), no_capture: bool = typer.Option( @@ -171,19 +178,28 @@ def login_callback( 90, "--timeout", "-t", - help="Seconds to wait for API bearer capture after opening the browser (default 90; then paste prompt)", + help=( + "Seconds to wait for API bearer capture after opening the browser " + "(default 90; then paste prompt)" + ), ), export_shell: bool = typer.Option( False, "--export/--no-export", - help="After success, also print 'export GRAPHIANT_ACCESS_TOKEN=…' to stdout (for scripts/eval). " - "Default off so the token is not echoed to the terminal; ~/.graphiant/env.sh is always written.", + help=( + "After success, also print 'export GRAPHIANT_ACCESS_TOKEN=…' to stdout " + "(for scripts/eval). Default off so the token is not echoed to the " + "terminal; ~/.graphiant/env.sh is always written." + ), ), verbose: bool = typer.Option( False, "--verbose", "-v", - help="Verbose login diagnostics on stderr (debug). Or set GRAPHIANT_LOG=debug|info|warning.", + help=( + "Verbose login diagnostics on stderr (debug). " + "Or set GRAPHIANT_LOG=debug|info|warning." + ), ), ) -> None: if ctx.invoked_subcommand is not None: @@ -208,12 +224,16 @@ def login_callback( if verbose: console.print( "[dim]Complete sign-in in the [bold]Chromium[/bold] window. " - "The CLI captures [bold]Bearer[/bold] from Graphiant [bold]…/v1/…[/bold] or [bold]…/v2/…[/bold] API calls or [bold]…/auth/refresh[/bold]. " - "After login, refresh the home page [bold]if needed[/bold] (F5); the CLI also opens [cyan]/[/cyan] and reloads once. " + "The CLI captures [bold]Bearer[/bold] from Graphiant " + "[bold]…/v1/…[/bold] or [bold]…/v2/…[/bold] API calls or " + "[bold]…/auth/refresh[/bold]. " + "After login, refresh the home page [bold]if needed[/bold] (F5); " + "the CLI also opens [cyan]/[/cyan] and reloads once. " "[bold]Ctrl+C[/bold] skips wait and prompts for a token.[/dim]" ) else: - console.print("[dim]Sign in in the browser window. [bold]Ctrl+C[/bold] to paste a token.[/dim]") + console.print( + "[dim]Sign in in the browser window. [bold]Ctrl+C[/bold] to paste a token.[/dim]") capture_interrupted = False try: tok = capture_token_via_browser( @@ -225,8 +245,8 @@ def login_callback( capture_interrupted = True console.print( "\n[yellow]Auto-capture interrupted. Paste your token below " - "(DevTools → Network: copy the full [cyan]Authorization[/cyan] value, including the word " - "[cyan]Bearer[/cyan]).[/yellow]\n" + "(DevTools → Network: copy the full [cyan]Authorization[/cyan] value, " + "including the word [cyan]Bearer[/cyan]).[/yellow]\n" ) tok = None except Exception as e: @@ -246,10 +266,13 @@ def login_callback( return if not capture_interrupted: console.print( - "[yellow]Auto-capture did not see a bearer token from Graphiant API traffic in time.[/yellow] " - "Try a longer wait: [cyan]graphiant login -t 180[/cyan], complete sign-in sooner, refresh the portal home (F5), " + "[yellow]Auto-capture did not see a bearer token from Graphiant API " + "traffic in time.[/yellow] " + "Try a longer wait: [cyan]graphiant login -t 180[/cyan], complete sign-in " + "sooner, refresh the portal home (F5), " "or use [cyan]graphiant login --no-capture[/cyan]. " - "Diagnostics: [cyan]graphiant login -v[/cyan] or [cyan]GRAPHIANT_LOG=debug[/cyan].\n" + "Diagnostics: [cyan]graphiant login -v[/cyan] or " + "[cyan]GRAPHIANT_LOG=debug[/cyan].\n" ) if not no_browser: @@ -260,14 +283,17 @@ def login_callback( if not PLAYWRIGHT_AVAILABLE and not no_capture: console.print( - "[dim]Playwright is not installed; cannot auto-capture. Install dependencies: pip install graphiant-sdk[/dim]\n" + "[dim]Playwright is not installed; cannot auto-capture. " + "Install dependencies: pip install graphiant-sdk[/dim]\n" ) console.print( - "After the portal home page loads, open [bold]Developer tools[/bold] → [bold]Network[/bold], " - "select a request to the Graphiant API ([cyan]api.graphiant.com[/cyan] or your configured host), " - "and copy the entire [bold]Authorization[/bold] request header value, including the word " - "[cyan]Bearer[/cyan] and the token (you can also paste a raw JWT only).\n" + "After the portal home page loads, open [bold]Developer tools[/bold] → " + "[bold]Network[/bold], select a request to the Graphiant API " + "([cyan]api.graphiant.com[/cyan] or your configured host), " + "and copy the entire [bold]Authorization[/bold] request header value, " + "including the word [cyan]Bearer[/cyan] and the token " + "(you can also paste a raw JWT only).\n" ) line = click.prompt("Authorization / token", err=True).strip() if not line: @@ -305,7 +331,8 @@ def login_env_export(profile: Optional[str] = typer.Option(None, "--profile", "- def logout_cmd(profile: Optional[str] = typer.Option(None, "--profile", "-p")) -> None: name = profile or os.environ.get("GRAPHIANT_PROFILE", DEFAULT_PROFILE) clear_profile(name) - login_logger.info("Logged out profile %s (clear shell with unset GRAPHIANT_ACCESS_TOKEN if needed)", name) + login_logger.info( + "Logged out profile %s (clear shell with unset GRAPHIANT_ACCESS_TOKEN if needed)", name) console.print(f"[green]Logged out[/green] profile [bold]{name}[/bold]") console.print( "[dim]If this terminal still has a token exported, run:[/dim] " @@ -364,7 +391,10 @@ def api_invoke_cmd( None, "--kwargs", "-k", - help='JSON object of keyword args (request bodies as nested objects), e.g. \'{"v1_foo_post_request": {...}}\'', + help=( + 'JSON object of keyword args (request bodies as nested objects), ' + 'e.g. \'{"v1_foo_post_request": {...}}\'' + ), ), profile: Optional[str] = typer.Option(None, "--profile", "-p"), ) -> None: @@ -399,7 +429,8 @@ def _print_api_list(prefix: str, plain: bool) -> None: @api_app.command("list") def api_list_cmd( - prefix: str = typer.Option("", "--prefix", help="Only methods starting with this prefix (e.g. v1_edges)"), + prefix: str = typer.Option( + "", "--prefix", help="Only methods starting with this prefix (e.g. v1_edges)"), plain: bool = typer.Option( False, "--plain", @@ -407,7 +438,7 @@ def api_list_cmd( help="Print one SDK method name per line (no HTTP/path table)", ), ) -> None: - """List DefaultApi method names and raw HTTP path (for graphiant api invoke / graphiant rest).""" + """List DefaultApi method names and raw HTTP path (for graphiant api invoke).""" _print_api_list(prefix, plain) @@ -424,7 +455,8 @@ def apis_alias_cmd( def rest_cmd( method: str = typer.Argument(..., help="HTTP method: GET, POST, PATCH, PUT, DELETE"), path: str = typer.Argument(..., help="Path starting with /v1/..."), - body: Optional[str] = typer.Option(None, "--body", "-b", help="JSON body string or @file.json"), + body: Optional[str] = typer.Option( + None, "--body", "-b", help="JSON body string or @file.json"), profile: Optional[str] = typer.Option(None, "--profile", "-p"), query: Optional[str] = typer.Option(None, "--query", "-q", help="Query string a=b&c=d"), ) -> None: @@ -433,7 +465,7 @@ def rest_cmd( if not token: console.print("[red]Not logged in.[/red]") raise typer.Exit(1) - payload: dict | str | None = None + payload: dict[str, Any] | str | None = None if body: if body.startswith("@"): with open(body[1:], encoding="utf-8") as f: @@ -443,7 +475,7 @@ def rest_cmd( payload = json.loads(body) except json.JSONDecodeError: payload = body - qdict: dict[str, str] | None = None + qdict: QueryDict | None = None if query: qdict = {} for pair in query.split("&"): @@ -655,7 +687,8 @@ def whoami_cmd(profile: Optional[str] = typer.Option(None, "--profile", "-p")) - raise typer.Exit(1) raw_tok = token[7:].strip() if token.lower().startswith("bearer ") else token try: - status, text, _ = rest_request(host, "GET", "/v1/auth/user", raw_tok, body=None, query=None) + status, text, _ = rest_request(host, "GET", "/v1/auth/user", + raw_tok, body=None, query=None) if 200 <= status < 300: try: payload = json.loads(text) @@ -682,7 +715,8 @@ def version_cmd() -> None: def main() -> None: - # Stable prog name for Click/Typer shell completion (_GRAPHIANT_COMPLETE, --install-completion). + # Stable prog name for Click/Typer shell completion + # (_GRAPHIANT_COMPLETE, --install-completion). app(prog_name="graphiant") diff --git a/graphiant_cli/token_parsing.py b/graphiant_cli/token_parsing.py index 32978b71..5d301471 100644 --- a/graphiant_cli/token_parsing.py +++ b/graphiant_cli/token_parsing.py @@ -138,20 +138,24 @@ def extract_token_from_refresh_response(response: object) -> str | None: pass try: - data = response.json() - if isinstance(data, dict): - tok = extract_token_from_refresh_json(data) - if tok: - return tok + json_fn = getattr(response, "json", None) + if callable(json_fn): + data = json_fn() + if isinstance(data, dict): + tok = extract_token_from_refresh_json(data) + if tok: + return tok except Exception: try: - raw = response.body() - if raw: - data = json.loads(raw.decode("utf-8", errors="replace")) - if isinstance(data, dict): - tok = extract_token_from_refresh_json(data) - if tok: - return tok + body_fn = getattr(response, "body", None) + if callable(body_fn): + raw = body_fn() + if raw: + data = json.loads(raw.decode("utf-8", errors="replace")) + if isinstance(data, dict): + tok = extract_token_from_refresh_json(data) + if tok: + return tok except Exception: pass diff --git a/graphiant_sdk/__init__.py b/graphiant_sdk/__init__.py index 0936dd02..d1c22fb9 100644 --- a/graphiant_sdk/__init__.py +++ b/graphiant_sdk/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "26.5.0" +__version__ = "26.6.0" # Define package exports __all__ = [ @@ -48,6 +48,8 @@ "AssuranceAppIdRecord", "AssuranceAppNameRecord", "AssuranceApplicationProfileSummary", + "AssuranceApprovedAppEntry", + "AssuranceApprovedAppEntryRequest", "AssuranceBucketApp", "AssuranceBucketAppServer", "AssuranceBucketDetails", @@ -67,11 +69,13 @@ "AssuranceExchangeServiceIdentifier", "AssuranceFlexAlgoIdentifier", "AssuranceGeolocation", + "AssuranceKpiMetric", "AssuranceRegion", "AssuranceScoreBucketCount", "AssuranceScoreDetails", "AssuranceSite", "AssuranceTimeWindow", + "AssuranceTopLevelKpi", "AssuranceTopology", "AssuranceTopologyEdge", "AssuranceTopologyEdgeLinkPerformance", @@ -79,7 +83,11 @@ "AssuranceTopologyNode", "AssuranceTopologyPath", "AssuranceTrendValue", + "AssuranceUserDefinition", "AssuranceUserReport", + "AssuranceWhatWidget", + "AssuranceWhenWidget", + "AssuranceWhereWidget", "AuditActivityItem", "AuditAuditEntry", "AuditTarget", @@ -101,6 +109,7 @@ "CommonPermissions", "CommonUser", "CommonUserInfo", + "ConcealAgent", "ConfigWorkerJobStatus", "DiagnosticToolsArchive", "DiagnosticToolsArpEntry", @@ -291,6 +300,8 @@ "ManaV2GuestConsumerSiteToSiteVpnConfig", "ManaV2IPsecBgpRouteConfig", "ManaV2IPsecGatewayDetails", + "ManaV2IPsecGatewayPeersConfig", + "ManaV2IPsecGatewayRemotePeer", "ManaV2IPsecGatewayTunnelDetails", "ManaV2IPsecProfile", "ManaV2IPsecStaticRouteConfig", @@ -326,6 +337,8 @@ "ManaV2LacpConfig", "ManaV2LagInterface", "ManaV2LagInterfaceConfig", + "ManaV2LanSegmentPublicInterfaceEntry", + "ManaV2LanSegmentPublicInterfacesLists", "ManaV2LanSegmentSitesMap", "ManaV2LatencyBandwidth", "ManaV2LldpNeighbor", @@ -490,17 +503,11 @@ "ManaV2PrometheusRuleGroupConfig", "ManaV2PrometheusSysDbMonitorConfig", "ManaV2PskConfiguration", - "ManaV2PublicVif", - "ManaV2PublicVifConsumerLanSegment", - "ManaV2PublicVifConsumerLanSegmentResponse", - "ManaV2PublicVifConsumerPolicy", - "ManaV2PublicVifConsumerPolicyResponse", - "ManaV2PublicVifDevice", - "ManaV2PublicVifDynamic", - "ManaV2PublicVifFixed", - "ManaV2PublicVifFixedNat", - "ManaV2PublicVifProducerPolicy", - "ManaV2PublicVifProducerPolicyResponse", + "ManaV2PublicVifGatewayCentralizedNat", + "ManaV2PublicVifGatewayConsumerLanDevices", + "ManaV2PublicVifGatewayDecentralizedPrefixes", + "ManaV2PublicVifGatewayNatPrefixStrategy", + "ManaV2PublicVifGatewayWriteRequest", "ManaV2PublicVifSummary", "ManaV2QoSProfile", "ManaV2QoSProfileQueue", @@ -601,6 +608,7 @@ "ManaV2VrfConfig", "ManaV2VrrpGroup", "ManaV2VrrpGroupConfig", + "ManaV2ZeroTrustConsumptionSummary", "ManaV2Zone", "ManaV2ZoneFirewallConfig", "ManaV2ZoneFirewallIpPolicyConfig", @@ -1004,14 +1012,6 @@ "V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse", "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest", "V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse", - "V1ExtranetPublicVifCheckPostRequest", - "V1ExtranetPublicVifCheckPostResponse", - "V1ExtranetPublicVifGetResponse", - "V1ExtranetPublicVifIdGetResponse", - "V1ExtranetPublicVifIdPutRequest", - "V1ExtranetPublicVifIdPutResponse", - "V1ExtranetPublicVifPostRequest", - "V1ExtranetPublicVifPostResponse", "V1ExtranetSitesUsageTopPostRequest", "V1ExtranetSitesUsageTopPostResponse", "V1ExtranetSitesUsageTopPostResponseSiteUsage", @@ -1182,6 +1182,7 @@ "V1GroupsRootGetResponse", "V1InvitationEmailPostRequest", "V1LanSegmentsGetResponse", + "V1LanSegmentsInterfacesPublicGetResponse", "V1LldpInterfaceIdNeighborsGetResponse", "V1LldpInterfaceIdSummaryGetResponse", "V1LldpInterfaceIdVendorsGetResponse", @@ -1201,8 +1202,16 @@ "V1PolicyRouteTagSetsTagsGetResponse", "V1PolicyRouteTagSetsTagsSummaryGetResponse", "V1PresharedkeyGetResponse", + "V1PvifIdDetailsGetResponse", + "V1PvifIdPutRequest", + "V1PvifIdPutResponse", + "V1PvifPostRequest", + "V1PvifPostResponse", + "V1PvifSummaryGetResponse", "V1QosCircuitProfilesGetResponse", "V1RegionsGetResponse", + "V1RegionsRegionIdGatewaysGetResponse", + "V1RegionsRegionIdGatewaysGetResponseGateway", "V1SearchGetResponse", "V1SiteDetailsSitelistsPostRequest", "V1SiteDetailsSitelistsPostResponse", @@ -1263,6 +1272,7 @@ "V1VersionPostRequest", "V1VersionPostResponse", "V1ZonesGetResponse", + "V1ZtagentAgentsGetResponse", "V1ZtagentBindingsGetResponse", "V1ZtagentBindingsPutRequest", "V2AckCreateupdatePostRequest", @@ -1282,6 +1292,8 @@ "V2AssistantGetConversationsPostResponse", "V2AssistantUpdateConversationNamePostRequest", "V2AssistantVersionPostResponse", + "V2AssuranceAiAdoptionSummaryPostRequest", + "V2AssuranceAiAdoptionSummaryPostResponse", "V2AssuranceApplicationdetailsbynamePostRequest", "V2AssuranceApplicationdetailsbynamePostResponse", "V2AssuranceApplicationprofilesummaryPostRequest", @@ -1296,6 +1308,8 @@ "V2AssuranceBucketTopologiesPostResponse", "V2AssuranceBucketdetailsPostRequest", "V2AssuranceBucketdetailsPostResponse", + "V2AssuranceCreateAiAdoptionApproveEntryPostRequest", + "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", "V2AssuranceCreateDnsproxyEntryPostRequest", "V2AssuranceCreateDnsproxyEntryPostResponse", "V2AssuranceCreateUserReportPostRequest", @@ -1305,7 +1319,10 @@ "V2AssuranceDownloadUserReportGetResponse", "V2AssuranceEnterprisesummaryPostRequest", "V2AssuranceEnterprisesummaryPostResponse", + "V2AssuranceGetAppNamesPostRequest", + "V2AssuranceGetAppNamesPostResponse", "V2AssuranceGetclassifiedapplicationlistGetResponse", + "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", "V2AssuranceReadDnsproxyListGetResponse", "V2AssuranceReadUserReportListGetResponse", "V2AssuranceScoredetailsPostRequest", @@ -1331,6 +1348,7 @@ "V2AssuranceTopologySiteSummariesPostResponseSummary", "V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest", "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", + "V2AssuranceUpdateAiAdoptionApproveEntryPostRequest", "V2AssuranceUpdateDnsproxyEntryPostRequest", "V2AssuranceUpdateclassifiedapplicationPostRequest", "V2AuditLogsPostRequest", @@ -1471,6 +1489,8 @@ from graphiant_sdk.models.assurance_app_id_record import AssuranceAppIdRecord as AssuranceAppIdRecord from graphiant_sdk.models.assurance_app_name_record import AssuranceAppNameRecord as AssuranceAppNameRecord from graphiant_sdk.models.assurance_application_profile_summary import AssuranceApplicationProfileSummary as AssuranceApplicationProfileSummary +from graphiant_sdk.models.assurance_approved_app_entry import AssuranceApprovedAppEntry as AssuranceApprovedAppEntry +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest as AssuranceApprovedAppEntryRequest from graphiant_sdk.models.assurance_bucket_app import AssuranceBucketApp as AssuranceBucketApp from graphiant_sdk.models.assurance_bucket_app_server import AssuranceBucketAppServer as AssuranceBucketAppServer from graphiant_sdk.models.assurance_bucket_details import AssuranceBucketDetails as AssuranceBucketDetails @@ -1490,11 +1510,13 @@ from graphiant_sdk.models.assurance_exchange_service_identifier import AssuranceExchangeServiceIdentifier as AssuranceExchangeServiceIdentifier from graphiant_sdk.models.assurance_flex_algo_identifier import AssuranceFlexAlgoIdentifier as AssuranceFlexAlgoIdentifier from graphiant_sdk.models.assurance_geolocation import AssuranceGeolocation as AssuranceGeolocation +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric as AssuranceKpiMetric from graphiant_sdk.models.assurance_region import AssuranceRegion as AssuranceRegion from graphiant_sdk.models.assurance_score_bucket_count import AssuranceScoreBucketCount as AssuranceScoreBucketCount from graphiant_sdk.models.assurance_score_details import AssuranceScoreDetails as AssuranceScoreDetails from graphiant_sdk.models.assurance_site import AssuranceSite as AssuranceSite from graphiant_sdk.models.assurance_time_window import AssuranceTimeWindow as AssuranceTimeWindow +from graphiant_sdk.models.assurance_top_level_kpi import AssuranceTopLevelKpi as AssuranceTopLevelKpi from graphiant_sdk.models.assurance_topology import AssuranceTopology as AssuranceTopology from graphiant_sdk.models.assurance_topology_edge import AssuranceTopologyEdge as AssuranceTopologyEdge from graphiant_sdk.models.assurance_topology_edge_link_performance import AssuranceTopologyEdgeLinkPerformance as AssuranceTopologyEdgeLinkPerformance @@ -1502,7 +1524,11 @@ from graphiant_sdk.models.assurance_topology_node import AssuranceTopologyNode as AssuranceTopologyNode from graphiant_sdk.models.assurance_topology_path import AssuranceTopologyPath as AssuranceTopologyPath from graphiant_sdk.models.assurance_trend_value import AssuranceTrendValue as AssuranceTrendValue +from graphiant_sdk.models.assurance_user_definition import AssuranceUserDefinition as AssuranceUserDefinition from graphiant_sdk.models.assurance_user_report import AssuranceUserReport as AssuranceUserReport +from graphiant_sdk.models.assurance_what_widget import AssuranceWhatWidget as AssuranceWhatWidget +from graphiant_sdk.models.assurance_when_widget import AssuranceWhenWidget as AssuranceWhenWidget +from graphiant_sdk.models.assurance_where_widget import AssuranceWhereWidget as AssuranceWhereWidget from graphiant_sdk.models.audit_activity_item import AuditActivityItem as AuditActivityItem from graphiant_sdk.models.audit_audit_entry import AuditAuditEntry as AuditAuditEntry from graphiant_sdk.models.audit_target import AuditTarget as AuditTarget @@ -1524,6 +1550,7 @@ from graphiant_sdk.models.common_permissions import CommonPermissions as CommonPermissions from graphiant_sdk.models.common_user import CommonUser as CommonUser from graphiant_sdk.models.common_user_info import CommonUserInfo as CommonUserInfo +from graphiant_sdk.models.conceal_agent import ConcealAgent as ConcealAgent from graphiant_sdk.models.config_worker_job_status import ConfigWorkerJobStatus as ConfigWorkerJobStatus from graphiant_sdk.models.diagnostic_tools_archive import DiagnosticToolsArchive as DiagnosticToolsArchive from graphiant_sdk.models.diagnostic_tools_arp_entry import DiagnosticToolsArpEntry as DiagnosticToolsArpEntry @@ -1714,6 +1741,8 @@ from graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config import ManaV2GuestConsumerSiteToSiteVpnConfig as ManaV2GuestConsumerSiteToSiteVpnConfig from graphiant_sdk.models.mana_v2_i_psec_bgp_route_config import ManaV2IPsecBgpRouteConfig as ManaV2IPsecBgpRouteConfig from graphiant_sdk.models.mana_v2_i_psec_gateway_details import ManaV2IPsecGatewayDetails as ManaV2IPsecGatewayDetails +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig as ManaV2IPsecGatewayPeersConfig +from graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer import ManaV2IPsecGatewayRemotePeer as ManaV2IPsecGatewayRemotePeer from graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details import ManaV2IPsecGatewayTunnelDetails as ManaV2IPsecGatewayTunnelDetails from graphiant_sdk.models.mana_v2_i_psec_profile import ManaV2IPsecProfile as ManaV2IPsecProfile from graphiant_sdk.models.mana_v2_i_psec_static_route_config import ManaV2IPsecStaticRouteConfig as ManaV2IPsecStaticRouteConfig @@ -1749,6 +1778,8 @@ from graphiant_sdk.models.mana_v2_lacp_config import ManaV2LacpConfig as ManaV2LacpConfig from graphiant_sdk.models.mana_v2_lag_interface import ManaV2LagInterface as ManaV2LagInterface from graphiant_sdk.models.mana_v2_lag_interface_config import ManaV2LagInterfaceConfig as ManaV2LagInterfaceConfig +from graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry import ManaV2LanSegmentPublicInterfaceEntry as ManaV2LanSegmentPublicInterfaceEntry +from graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists import ManaV2LanSegmentPublicInterfacesLists as ManaV2LanSegmentPublicInterfacesLists from graphiant_sdk.models.mana_v2_lan_segment_sites_map import ManaV2LanSegmentSitesMap as ManaV2LanSegmentSitesMap from graphiant_sdk.models.mana_v2_latency_bandwidth import ManaV2LatencyBandwidth as ManaV2LatencyBandwidth from graphiant_sdk.models.mana_v2_lldp_neighbor import ManaV2LldpNeighbor as ManaV2LldpNeighbor @@ -1913,17 +1944,11 @@ from graphiant_sdk.models.mana_v2_prometheus_rule_group_config import ManaV2PrometheusRuleGroupConfig as ManaV2PrometheusRuleGroupConfig from graphiant_sdk.models.mana_v2_prometheus_sys_db_monitor_config import ManaV2PrometheusSysDbMonitorConfig as ManaV2PrometheusSysDbMonitorConfig from graphiant_sdk.models.mana_v2_psk_configuration import ManaV2PskConfiguration as ManaV2PskConfiguration -from graphiant_sdk.models.mana_v2_public_vif import ManaV2PublicVif as ManaV2PublicVif -from graphiant_sdk.models.mana_v2_public_vif_consumer_lan_segment import ManaV2PublicVifConsumerLanSegment as ManaV2PublicVifConsumerLanSegment -from graphiant_sdk.models.mana_v2_public_vif_consumer_lan_segment_response import ManaV2PublicVifConsumerLanSegmentResponse as ManaV2PublicVifConsumerLanSegmentResponse -from graphiant_sdk.models.mana_v2_public_vif_consumer_policy import ManaV2PublicVifConsumerPolicy as ManaV2PublicVifConsumerPolicy -from graphiant_sdk.models.mana_v2_public_vif_consumer_policy_response import ManaV2PublicVifConsumerPolicyResponse as ManaV2PublicVifConsumerPolicyResponse -from graphiant_sdk.models.mana_v2_public_vif_device import ManaV2PublicVifDevice as ManaV2PublicVifDevice -from graphiant_sdk.models.mana_v2_public_vif_dynamic import ManaV2PublicVifDynamic as ManaV2PublicVifDynamic -from graphiant_sdk.models.mana_v2_public_vif_fixed import ManaV2PublicVifFixed as ManaV2PublicVifFixed -from graphiant_sdk.models.mana_v2_public_vif_fixed_nat import ManaV2PublicVifFixedNat as ManaV2PublicVifFixedNat -from graphiant_sdk.models.mana_v2_public_vif_producer_policy import ManaV2PublicVifProducerPolicy as ManaV2PublicVifProducerPolicy -from graphiant_sdk.models.mana_v2_public_vif_producer_policy_response import ManaV2PublicVifProducerPolicyResponse as ManaV2PublicVifProducerPolicyResponse +from graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat import ManaV2PublicVifGatewayCentralizedNat as ManaV2PublicVifGatewayCentralizedNat +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices as ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes import ManaV2PublicVifGatewayDecentralizedPrefixes as ManaV2PublicVifGatewayDecentralizedPrefixes +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy as ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_public_vif_gateway_write_request import ManaV2PublicVifGatewayWriteRequest as ManaV2PublicVifGatewayWriteRequest from graphiant_sdk.models.mana_v2_public_vif_summary import ManaV2PublicVifSummary as ManaV2PublicVifSummary from graphiant_sdk.models.mana_v2_qo_s_profile import ManaV2QoSProfile as ManaV2QoSProfile from graphiant_sdk.models.mana_v2_qo_s_profile_queue import ManaV2QoSProfileQueue as ManaV2QoSProfileQueue @@ -2024,6 +2049,7 @@ from graphiant_sdk.models.mana_v2_vrf_config import ManaV2VrfConfig as ManaV2VrfConfig from graphiant_sdk.models.mana_v2_vrrp_group import ManaV2VrrpGroup as ManaV2VrrpGroup from graphiant_sdk.models.mana_v2_vrrp_group_config import ManaV2VrrpGroupConfig as ManaV2VrrpGroupConfig +from graphiant_sdk.models.mana_v2_zero_trust_consumption_summary import ManaV2ZeroTrustConsumptionSummary as ManaV2ZeroTrustConsumptionSummary from graphiant_sdk.models.mana_v2_zone import ManaV2Zone as ManaV2Zone from graphiant_sdk.models.mana_v2_zone_firewall_config import ManaV2ZoneFirewallConfig as ManaV2ZoneFirewallConfig from graphiant_sdk.models.mana_v2_zone_firewall_ip_policy_config import ManaV2ZoneFirewallIpPolicyConfig as ManaV2ZoneFirewallIpPolicyConfig @@ -2427,14 +2453,6 @@ from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse as V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest as V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse as V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_check_post_request import V1ExtranetPublicVifCheckPostRequest as V1ExtranetPublicVifCheckPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_check_post_response import V1ExtranetPublicVifCheckPostResponse as V1ExtranetPublicVifCheckPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_get_response import V1ExtranetPublicVifGetResponse as V1ExtranetPublicVifGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_get_response import V1ExtranetPublicVifIdGetResponse as V1ExtranetPublicVifIdGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_put_request import V1ExtranetPublicVifIdPutRequest as V1ExtranetPublicVifIdPutRequest -from graphiant_sdk.models.v1_extranet_public_vif_id_put_response import V1ExtranetPublicVifIdPutResponse as V1ExtranetPublicVifIdPutResponse -from graphiant_sdk.models.v1_extranet_public_vif_post_request import V1ExtranetPublicVifPostRequest as V1ExtranetPublicVifPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_post_response import V1ExtranetPublicVifPostResponse as V1ExtranetPublicVifPostResponse from graphiant_sdk.models.v1_extranet_sites_usage_top_post_request import V1ExtranetSitesUsageTopPostRequest as V1ExtranetSitesUsageTopPostRequest from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response import V1ExtranetSitesUsageTopPostResponse as V1ExtranetSitesUsageTopPostResponse from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response_site_usage import V1ExtranetSitesUsageTopPostResponseSiteUsage as V1ExtranetSitesUsageTopPostResponseSiteUsage @@ -2605,6 +2623,7 @@ from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse as V1GroupsRootGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest as V1InvitationEmailPostRequest from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse as V1LanSegmentsGetResponse +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse as V1LanSegmentsInterfacesPublicGetResponse from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_response import V1LldpInterfaceIdNeighborsGetResponse as V1LldpInterfaceIdNeighborsGetResponse from graphiant_sdk.models.v1_lldp_interface_id_summary_get_response import V1LldpInterfaceIdSummaryGetResponse as V1LldpInterfaceIdSummaryGetResponse from graphiant_sdk.models.v1_lldp_interface_id_vendors_get_response import V1LldpInterfaceIdVendorsGetResponse as V1LldpInterfaceIdVendorsGetResponse @@ -2624,8 +2643,16 @@ from graphiant_sdk.models.v1_policy_route_tag_sets_tags_get_response import V1PolicyRouteTagSetsTagsGetResponse as V1PolicyRouteTagSetsTagsGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_summary_get_response import V1PolicyRouteTagSetsTagsSummaryGetResponse as V1PolicyRouteTagSetsTagsSummaryGetResponse from graphiant_sdk.models.v1_presharedkey_get_response import V1PresharedkeyGetResponse as V1PresharedkeyGetResponse +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse as V1PvifIdDetailsGetResponse +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest as V1PvifIdPutRequest +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse as V1PvifIdPutResponse +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest as V1PvifPostRequest +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse as V1PvifPostResponse +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse as V1PvifSummaryGetResponse from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse as V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse as V1RegionsGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse as V1RegionsRegionIdGatewaysGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway as V1RegionsRegionIdGatewaysGetResponseGateway from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse as V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest as V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse as V1SiteDetailsSitelistsPostResponse @@ -2686,6 +2713,7 @@ from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest as V1VersionPostRequest from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse as V1VersionPostResponse from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse as V1ZonesGetResponse +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse as V1ZtagentAgentsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse as V1ZtagentBindingsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest as V1ZtagentBindingsPutRequest from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest as V2AckCreateupdatePostRequest @@ -2705,6 +2733,8 @@ from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse as V2AssistantGetConversationsPostResponse from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest as V2AssistantUpdateConversationNamePostRequest from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse as V2AssistantVersionPostResponse +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest as V2AssuranceAiAdoptionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse as V2AssuranceAiAdoptionSummaryPostResponse from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest as V2AssuranceApplicationdetailsbynamePostRequest from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse as V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest as V2AssuranceApplicationprofilesummaryPostRequest @@ -2719,6 +2749,8 @@ from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse as V2AssuranceBucketTopologiesPostResponse from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest as V2AssuranceBucketdetailsPostRequest from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse as V2AssuranceBucketdetailsPostResponse +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest as V2AssuranceCreateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse as V2AssuranceCreateAiAdoptionApproveEntryPostResponse from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest as V2AssuranceCreateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse as V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest as V2AssuranceCreateUserReportPostRequest @@ -2728,7 +2760,10 @@ from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse as V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest as V2AssuranceEnterprisesummaryPostRequest from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse as V2AssuranceEnterprisesummaryPostResponse +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest as V2AssuranceGetAppNamesPostRequest +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse as V2AssuranceGetAppNamesPostResponse from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse as V2AssuranceGetclassifiedapplicationlistGetResponse +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse as V2AssuranceReadAiAdoptionApproveEntriesGetResponse from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse as V2AssuranceReadDnsproxyListGetResponse from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse as V2AssuranceReadUserReportListGetResponse from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest as V2AssuranceScoredetailsPostRequest @@ -2754,6 +2789,7 @@ from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response_summary import V2AssuranceTopologySiteSummariesPostResponseSummary as V2AssuranceTopologySiteSummariesPostResponseSummary from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest as V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse as V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest as V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest as V2AssuranceUpdateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest as V2AssuranceUpdateclassifiedapplicationPostRequest from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest as V2AuditLogsPostRequest diff --git a/graphiant_sdk/api/default_api.py b/graphiant_sdk/api/default_api.py index 4c025400..cee5591e 100644 --- a/graphiant_sdk/api/default_api.py +++ b/graphiant_sdk/api/default_api.py @@ -243,14 +243,6 @@ from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_check_post_request import V1ExtranetPublicVifCheckPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_check_post_response import V1ExtranetPublicVifCheckPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_get_response import V1ExtranetPublicVifGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_get_response import V1ExtranetPublicVifIdGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_put_request import V1ExtranetPublicVifIdPutRequest -from graphiant_sdk.models.v1_extranet_public_vif_id_put_response import V1ExtranetPublicVifIdPutResponse -from graphiant_sdk.models.v1_extranet_public_vif_post_request import V1ExtranetPublicVifPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_post_response import V1ExtranetPublicVifPostResponse from graphiant_sdk.models.v1_extranet_sites_usage_top_post_request import V1ExtranetSitesUsageTopPostRequest from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response import V1ExtranetSitesUsageTopPostResponse from graphiant_sdk.models.v1_extranets_b2b_consumer_device_status_id_get_response import V1ExtranetsB2bConsumerDeviceStatusIdGetResponse @@ -402,6 +394,7 @@ from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_response import V1LldpInterfaceIdNeighborsGetResponse from graphiant_sdk.models.v1_lldp_interface_id_summary_get_response import V1LldpInterfaceIdSummaryGetResponse from graphiant_sdk.models.v1_lldp_interface_id_vendors_get_response import V1LldpInterfaceIdVendorsGetResponse @@ -420,8 +413,15 @@ from graphiant_sdk.models.v1_policy_route_tag_sets_tags_get_response import V1PolicyRouteTagSetsTagsGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_summary_get_response import V1PolicyRouteTagSetsTagsSummaryGetResponse from graphiant_sdk.models.v1_presharedkey_get_response import V1PresharedkeyGetResponse +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse @@ -474,6 +474,7 @@ from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest @@ -493,6 +494,8 @@ from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest @@ -507,6 +510,8 @@ from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest @@ -516,7 +521,10 @@ from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest @@ -537,6 +545,7 @@ from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest @@ -53681,10 +53690,10 @@ def _v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_pos @validate_call - def v1_extranet_public_vif_check_post( + def v1_extranet_sites_usage_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest, + v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53697,15 +53706,15 @@ def v1_extranet_public_vif_check_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetPublicVifCheckPostResponse: - """v1_extranet_public_vif_check_post + ) -> V1ExtranetSitesUsageTopPostResponse: + """v1_extranet_sites_usage_top_post - Check Public Vif service + Get extranet service top sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_check_post_request: (required) - :type v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest + :param v1_extranet_sites_usage_top_post_request: (required) + :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53728,9 +53737,9 @@ def v1_extranet_public_vif_check_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_check_post_serialize( + _param = self._v1_extranet_sites_usage_top_post_serialize( authorization=authorization, - v1_extranet_public_vif_check_post_request=v1_extranet_public_vif_check_post_request, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53738,7 +53747,7 @@ def v1_extranet_public_vif_check_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifCheckPostResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -53752,10 +53761,10 @@ def v1_extranet_public_vif_check_post( @validate_call - def v1_extranet_public_vif_check_post_with_http_info( + def v1_extranet_sites_usage_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest, + v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53768,15 +53777,15 @@ def v1_extranet_public_vif_check_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetPublicVifCheckPostResponse]: - """v1_extranet_public_vif_check_post + ) -> ApiResponse[V1ExtranetSitesUsageTopPostResponse]: + """v1_extranet_sites_usage_top_post - Check Public Vif service + Get extranet service top sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_check_post_request: (required) - :type v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest + :param v1_extranet_sites_usage_top_post_request: (required) + :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53799,9 +53808,9 @@ def v1_extranet_public_vif_check_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_check_post_serialize( + _param = self._v1_extranet_sites_usage_top_post_serialize( authorization=authorization, - v1_extranet_public_vif_check_post_request=v1_extranet_public_vif_check_post_request, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53809,7 +53818,7 @@ def v1_extranet_public_vif_check_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifCheckPostResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -53823,10 +53832,10 @@ def v1_extranet_public_vif_check_post_with_http_info( @validate_call - def v1_extranet_public_vif_check_post_without_preload_content( + def v1_extranet_sites_usage_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest, + v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53840,14 +53849,14 @@ def v1_extranet_public_vif_check_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_check_post + """v1_extranet_sites_usage_top_post - Check Public Vif service + Get extranet service top sites usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_check_post_request: (required) - :type v1_extranet_public_vif_check_post_request: V1ExtranetPublicVifCheckPostRequest + :param v1_extranet_sites_usage_top_post_request: (required) + :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -53870,9 +53879,9 @@ def v1_extranet_public_vif_check_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_check_post_serialize( + _param = self._v1_extranet_sites_usage_top_post_serialize( authorization=authorization, - v1_extranet_public_vif_check_post_request=v1_extranet_public_vif_check_post_request, + v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -53880,7 +53889,7 @@ def v1_extranet_public_vif_check_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifCheckPostResponse", + '200': "V1ExtranetSitesUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -53889,10 +53898,10 @@ def v1_extranet_public_vif_check_post_without_preload_content( return response_data.response - def _v1_extranet_public_vif_check_post_serialize( + def _v1_extranet_sites_usage_top_post_serialize( self, authorization, - v1_extranet_public_vif_check_post_request, + v1_extranet_sites_usage_top_post_request, _request_auth, _content_type, _headers, @@ -53920,8 +53929,8 @@ def _v1_extranet_public_vif_check_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranet_public_vif_check_post_request is not None: - _body_params = v1_extranet_public_vif_check_post_request + if v1_extranet_sites_usage_top_post_request is not None: + _body_params = v1_extranet_sites_usage_top_post_request # set the HTTP header `Accept` @@ -53953,7 +53962,7 @@ def _v1_extranet_public_vif_check_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranet-public-vif/check', + resource_path='/v1/extranet/sites-usage/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -53970,9 +53979,10 @@ def _v1_extranet_public_vif_check_post_serialize( @validate_call - def v1_extranet_public_vif_get( + def v1_extranets_b2b_consumer_device_status_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53985,13 +53995,15 @@ def v1_extranet_public_vif_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetPublicVifGetResponse: - """v1_extranet_public_vif_get + ) -> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse: + """v1_extranets_b2b_consumer_device_status_id_get - Get Public Vif summary + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54014,8 +54026,9 @@ def v1_extranet_public_vif_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_get_serialize( + _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54023,7 +54036,7 @@ def v1_extranet_public_vif_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54037,9 +54050,10 @@ def v1_extranet_public_vif_get( @validate_call - def v1_extranet_public_vif_get_with_http_info( + def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54052,13 +54066,15 @@ def v1_extranet_public_vif_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetPublicVifGetResponse]: - """v1_extranet_public_vif_get + ) -> ApiResponse[V1ExtranetsB2bConsumerDeviceStatusIdGetResponse]: + """v1_extranets_b2b_consumer_device_status_id_get - Get Public Vif summary + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54081,8 +54097,9 @@ def v1_extranet_public_vif_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_get_serialize( + _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54090,7 +54107,7 @@ def v1_extranet_public_vif_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54104,9 +54121,10 @@ def v1_extranet_public_vif_get_with_http_info( @validate_call - def v1_extranet_public_vif_get_without_preload_content( + def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54120,12 +54138,14 @@ def v1_extranet_public_vif_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_get + """v1_extranets_b2b_consumer_device_status_id_get - Get Public Vif summary + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54148,8 +54168,9 @@ def v1_extranet_public_vif_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_get_serialize( + _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54157,7 +54178,7 @@ def v1_extranet_public_vif_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifGetResponse", + '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54166,9 +54187,10 @@ def v1_extranet_public_vif_get_without_preload_content( return response_data.response - def _v1_extranet_public_vif_get_serialize( + def _v1_extranets_b2b_consumer_device_status_id_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -54190,6 +54212,8 @@ def _v1_extranet_public_vif_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -54214,7 +54238,7 @@ def _v1_extranet_public_vif_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranet-public-vif', + resource_path='/v1/extranets-b2b/consumer-device-status/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54231,7 +54255,7 @@ def _v1_extranet_public_vif_get_serialize( @validate_call - def v1_extranet_public_vif_id_delete( + def v1_extranets_b2b_consumer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -54248,9 +54272,9 @@ def v1_extranet_public_vif_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_extranet_public_vif_id_delete + """v1_extranets_b2b_consumer_id_delete - Delete Public Vif service + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -54278,7 +54302,7 @@ def v1_extranet_public_vif_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_delete_serialize( + _param = self._v1_extranets_b2b_consumer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54302,7 +54326,7 @@ def v1_extranet_public_vif_id_delete( @validate_call - def v1_extranet_public_vif_id_delete_with_http_info( + def v1_extranets_b2b_consumer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -54319,9 +54343,9 @@ def v1_extranet_public_vif_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_extranet_public_vif_id_delete + """v1_extranets_b2b_consumer_id_delete - Delete Public Vif service + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -54349,7 +54373,7 @@ def v1_extranet_public_vif_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_delete_serialize( + _param = self._v1_extranets_b2b_consumer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54373,7 +54397,7 @@ def v1_extranet_public_vif_id_delete_with_http_info( @validate_call - def v1_extranet_public_vif_id_delete_without_preload_content( + def v1_extranets_b2b_consumer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -54390,9 +54414,9 @@ def v1_extranet_public_vif_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_id_delete + """v1_extranets_b2b_consumer_id_delete - Delete Public Vif service + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -54420,7 +54444,7 @@ def v1_extranet_public_vif_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_delete_serialize( + _param = self._v1_extranets_b2b_consumer_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54439,7 +54463,7 @@ def v1_extranet_public_vif_id_delete_without_preload_content( return response_data.response - def _v1_extranet_public_vif_id_delete_serialize( + def _v1_extranets_b2b_consumer_id_delete_serialize( self, authorization, id, @@ -54490,7 +54514,7 @@ def _v1_extranet_public_vif_id_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v1/extranet-public-vif/{id}', + resource_path='/v1/extranets-b2b/consumer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54507,10 +54531,10 @@ def _v1_extranet_public_vif_id_delete_serialize( @validate_call - def v1_extranet_public_vif_id_get( + def v1_extranets_b2b_consumer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer policy")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54523,14 +54547,14 @@ def v1_extranet_public_vif_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetPublicVifIdGetResponse: - """v1_extranet_public_vif_id_get + ) -> V1ExtranetsB2bConsumerIdGetResponse: + """v1_extranets_b2b_consumer_id_get - Get Public Vif service + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer policy (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54554,7 +54578,7 @@ def v1_extranet_public_vif_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_get_serialize( + _param = self._v1_extranets_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54564,7 +54588,7 @@ def v1_extranet_public_vif_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdGetResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54578,10 +54602,10 @@ def v1_extranet_public_vif_id_get( @validate_call - def v1_extranet_public_vif_id_get_with_http_info( + def v1_extranets_b2b_consumer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer policy")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54594,14 +54618,14 @@ def v1_extranet_public_vif_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetPublicVifIdGetResponse]: - """v1_extranet_public_vif_id_get + ) -> ApiResponse[V1ExtranetsB2bConsumerIdGetResponse]: + """v1_extranets_b2b_consumer_id_get - Get Public Vif service + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer policy (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54625,7 +54649,7 @@ def v1_extranet_public_vif_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_get_serialize( + _param = self._v1_extranets_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54635,7 +54659,7 @@ def v1_extranet_public_vif_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdGetResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54649,10 +54673,10 @@ def v1_extranet_public_vif_id_get_with_http_info( @validate_call - def v1_extranet_public_vif_id_get_without_preload_content( + def v1_extranets_b2b_consumer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer policy")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54666,13 +54690,13 @@ def v1_extranet_public_vif_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_id_get + """v1_extranets_b2b_consumer_id_get - Get Public Vif service + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer policy (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -54696,7 +54720,7 @@ def v1_extranet_public_vif_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_get_serialize( + _param = self._v1_extranets_b2b_consumer_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -54706,7 +54730,7 @@ def v1_extranet_public_vif_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdGetResponse", + '200': "V1ExtranetsB2bConsumerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -54715,7 +54739,7 @@ def v1_extranet_public_vif_id_get_without_preload_content( return response_data.response - def _v1_extranet_public_vif_id_get_serialize( + def _v1_extranets_b2b_consumer_id_get_serialize( self, authorization, id, @@ -54766,7 +54790,7 @@ def _v1_extranet_public_vif_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranet-public-vif/{id}', + resource_path='/v1/extranets-b2b/consumer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -54783,11 +54807,10 @@ def _v1_extranet_public_vif_id_get_serialize( @validate_call - def v1_extranet_public_vif_id_put( + def v1_extranets_b2b_consumer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer service id")], - v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54800,17 +54823,15 @@ def v1_extranet_public_vif_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetPublicVifIdPutResponse: - """v1_extranet_public_vif_id_put + ) -> V1ExtranetsB2bConsumerPostResponse: + """v1_extranets_b2b_consumer_post - Update Public Vif service + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer service id (required) - :type id: int - :param v1_extranet_public_vif_id_put_request: (required) - :type v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest + :param v1_extranets_b2b_consumer_post_request: (required) + :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54833,10 +54854,9 @@ def v1_extranet_public_vif_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_put_serialize( + _param = self._v1_extranets_b2b_consumer_post_serialize( authorization=authorization, - id=id, - v1_extranet_public_vif_id_put_request=v1_extranet_public_vif_id_put_request, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54844,7 +54864,7 @@ def v1_extranet_public_vif_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdPutResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54858,11 +54878,10 @@ def v1_extranet_public_vif_id_put( @validate_call - def v1_extranet_public_vif_id_put_with_http_info( + def v1_extranets_b2b_consumer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer service id")], - v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54875,17 +54894,15 @@ def v1_extranet_public_vif_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetPublicVifIdPutResponse]: - """v1_extranet_public_vif_id_put + ) -> ApiResponse[V1ExtranetsB2bConsumerPostResponse]: + """v1_extranets_b2b_consumer_post - Update Public Vif service + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer service id (required) - :type id: int - :param v1_extranet_public_vif_id_put_request: (required) - :type v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest + :param v1_extranets_b2b_consumer_post_request: (required) + :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54908,10 +54925,9 @@ def v1_extranet_public_vif_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_put_serialize( + _param = self._v1_extranets_b2b_consumer_post_serialize( authorization=authorization, - id=id, - v1_extranet_public_vif_id_put_request=v1_extranet_public_vif_id_put_request, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54919,7 +54935,7 @@ def v1_extranet_public_vif_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdPutResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54933,11 +54949,10 @@ def v1_extranet_public_vif_id_put_with_http_info( @validate_call - def v1_extranet_public_vif_id_put_without_preload_content( + def v1_extranets_b2b_consumer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Public VIF producer service id")], - v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest, + v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54951,16 +54966,14 @@ def v1_extranet_public_vif_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_id_put + """v1_extranets_b2b_consumer_post - Update Public Vif service + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Public VIF producer service id (required) - :type id: int - :param v1_extranet_public_vif_id_put_request: (required) - :type v1_extranet_public_vif_id_put_request: V1ExtranetPublicVifIdPutRequest + :param v1_extranets_b2b_consumer_post_request: (required) + :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54983,10 +54996,9 @@ def v1_extranet_public_vif_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_id_put_serialize( + _param = self._v1_extranets_b2b_consumer_post_serialize( authorization=authorization, - id=id, - v1_extranet_public_vif_id_put_request=v1_extranet_public_vif_id_put_request, + v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54994,7 +55006,7 @@ def v1_extranet_public_vif_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifIdPutResponse", + '200': "V1ExtranetsB2bConsumerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -55003,11 +55015,10 @@ def v1_extranet_public_vif_id_put_without_preload_content( return response_data.response - def _v1_extranet_public_vif_id_put_serialize( + def _v1_extranets_b2b_consumer_post_serialize( self, authorization, - id, - v1_extranet_public_vif_id_put_request, + v1_extranets_b2b_consumer_post_request, _request_auth, _content_type, _headers, @@ -55029,16 +55040,14 @@ def _v1_extranet_public_vif_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranet_public_vif_id_put_request is not None: - _body_params = v1_extranet_public_vif_id_put_request + if v1_extranets_b2b_consumer_post_request is not None: + _body_params = v1_extranets_b2b_consumer_post_request # set the HTTP header `Accept` @@ -55069,8 +55078,8 @@ def _v1_extranet_public_vif_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranet-public-vif/{id}', + method='POST', + resource_path='/v1/extranets-b2b/consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55087,10 +55096,9 @@ def _v1_extranet_public_vif_id_put_serialize( @validate_call - def v1_extranet_public_vif_post( + def v1_extranets_b2b_consumer_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55103,15 +55111,13 @@ def v1_extranet_public_vif_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetPublicVifPostResponse: - """v1_extranet_public_vif_post + ) -> V1ExtranetsB2bConsumerSummaryGetResponse: + """v1_extranets_b2b_consumer_summary_get - Create Public Vif service + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_post_request: (required) - :type v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55134,9 +55140,8 @@ def v1_extranet_public_vif_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_post_serialize( + _param = self._v1_extranets_b2b_consumer_summary_get_serialize( authorization=authorization, - v1_extranet_public_vif_post_request=v1_extranet_public_vif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55144,7 +55149,7 @@ def v1_extranet_public_vif_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifPostResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55158,10 +55163,9 @@ def v1_extranet_public_vif_post( @validate_call - def v1_extranet_public_vif_post_with_http_info( + def v1_extranets_b2b_consumer_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55174,15 +55178,13 @@ def v1_extranet_public_vif_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetPublicVifPostResponse]: - """v1_extranet_public_vif_post + ) -> ApiResponse[V1ExtranetsB2bConsumerSummaryGetResponse]: + """v1_extranets_b2b_consumer_summary_get - Create Public Vif service + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_post_request: (required) - :type v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55205,9 +55207,8 @@ def v1_extranet_public_vif_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_post_serialize( + _param = self._v1_extranets_b2b_consumer_summary_get_serialize( authorization=authorization, - v1_extranet_public_vif_post_request=v1_extranet_public_vif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55215,7 +55216,7 @@ def v1_extranet_public_vif_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifPostResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55229,10 +55230,9 @@ def v1_extranet_public_vif_post_with_http_info( @validate_call - def v1_extranet_public_vif_post_without_preload_content( + def v1_extranets_b2b_consumer_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55246,14 +55246,12 @@ def v1_extranet_public_vif_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_public_vif_post + """v1_extranets_b2b_consumer_summary_get - Create Public Vif service + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_public_vif_post_request: (required) - :type v1_extranet_public_vif_post_request: V1ExtranetPublicVifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55276,9 +55274,8 @@ def v1_extranet_public_vif_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_public_vif_post_serialize( + _param = self._v1_extranets_b2b_consumer_summary_get_serialize( authorization=authorization, - v1_extranet_public_vif_post_request=v1_extranet_public_vif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55286,7 +55283,7 @@ def v1_extranet_public_vif_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetPublicVifPostResponse", + '200': "V1ExtranetsB2bConsumerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55295,10 +55292,9 @@ def v1_extranet_public_vif_post_without_preload_content( return response_data.response - def _v1_extranet_public_vif_post_serialize( + def _v1_extranets_b2b_consumer_summary_get_serialize( self, authorization, - v1_extranet_public_vif_post_request, _request_auth, _content_type, _headers, @@ -55326,8 +55322,6 @@ def _v1_extranet_public_vif_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranet_public_vif_post_request is not None: - _body_params = v1_extranet_public_vif_post_request # set the HTTP header `Accept` @@ -55338,19 +55332,6 @@ def _v1_extranet_public_vif_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -55358,8 +55339,8 @@ def _v1_extranet_public_vif_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet-public-vif', + method='GET', + resource_path='/v1/extranets-b2b/consumer-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55376,10 +55357,10 @@ def _v1_extranet_public_vif_post_serialize( @validate_call - def v1_extranet_sites_usage_top_post( + def v1_extranets_b2b_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55392,15 +55373,15 @@ def v1_extranet_sites_usage_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetSitesUsageTopPostResponse: - """v1_extranet_sites_usage_top_post + ) -> object: + """v1_extranets_b2b_customer_id_delete - Get extranet service top sites usage stats + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_sites_usage_top_post_request: (required) - :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55423,9 +55404,9 @@ def v1_extranet_sites_usage_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_sites_usage_top_post_serialize( + _param = self._v1_extranets_b2b_customer_id_delete_serialize( authorization=authorization, - v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55433,7 +55414,7 @@ def v1_extranet_sites_usage_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -55447,10 +55428,10 @@ def v1_extranet_sites_usage_top_post( @validate_call - def v1_extranet_sites_usage_top_post_with_http_info( + def v1_extranets_b2b_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55463,15 +55444,15 @@ def v1_extranet_sites_usage_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetSitesUsageTopPostResponse]: - """v1_extranet_sites_usage_top_post + ) -> ApiResponse[object]: + """v1_extranets_b2b_customer_id_delete - Get extranet service top sites usage stats + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_sites_usage_top_post_request: (required) - :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55494,9 +55475,9 @@ def v1_extranet_sites_usage_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_sites_usage_top_post_serialize( + _param = self._v1_extranets_b2b_customer_id_delete_serialize( authorization=authorization, - v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55504,7 +55485,7 @@ def v1_extranet_sites_usage_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -55518,10 +55499,10 @@ def v1_extranet_sites_usage_top_post_with_http_info( @validate_call - def v1_extranet_sites_usage_top_post_without_preload_content( + def v1_extranets_b2b_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55535,14 +55516,14 @@ def v1_extranet_sites_usage_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranet_sites_usage_top_post + """v1_extranets_b2b_customer_id_delete - Get extranet service top sites usage stats + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranet_sites_usage_top_post_request: (required) - :type v1_extranet_sites_usage_top_post_request: V1ExtranetSitesUsageTopPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55565,9 +55546,9 @@ def v1_extranet_sites_usage_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranet_sites_usage_top_post_serialize( + _param = self._v1_extranets_b2b_customer_id_delete_serialize( authorization=authorization, - v1_extranet_sites_usage_top_post_request=v1_extranet_sites_usage_top_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55575,7 +55556,7 @@ def v1_extranet_sites_usage_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetSitesUsageTopPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -55584,10 +55565,10 @@ def v1_extranet_sites_usage_top_post_without_preload_content( return response_data.response - def _v1_extranet_sites_usage_top_post_serialize( + def _v1_extranets_b2b_customer_id_delete_serialize( self, authorization, - v1_extranet_sites_usage_top_post_request, + id, _request_auth, _content_type, _headers, @@ -55609,14 +55590,14 @@ def _v1_extranet_sites_usage_top_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranet_sites_usage_top_post_request is not None: - _body_params = v1_extranet_sites_usage_top_post_request # set the HTTP header `Accept` @@ -55627,19 +55608,6 @@ def _v1_extranet_sites_usage_top_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -55647,8 +55615,8 @@ def _v1_extranet_sites_usage_top_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranet/sites-usage/top', + method='DELETE', + resource_path='/v1/extranets-b2b/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55665,7 +55633,7 @@ def _v1_extranet_sites_usage_top_post_serialize( @validate_call - def v1_extranets_b2b_consumer_device_status_id_get( + def v1_extranets_b2b_customer_info_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -55681,10 +55649,10 @@ def v1_extranets_b2b_consumer_device_status_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse: - """v1_extranets_b2b_consumer_device_status_id_get + ) -> V1ExtranetsB2bCustomerInfoIdGetResponse: + """v1_extranets_b2b_customer_info_id_get - Get B2B extranet consumer status + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55712,7 +55680,7 @@ def v1_extranets_b2b_consumer_device_status_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( + _param = self._v1_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -55722,7 +55690,7 @@ def v1_extranets_b2b_consumer_device_status_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55736,7 +55704,7 @@ def v1_extranets_b2b_consumer_device_status_id_get( @validate_call - def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( + def v1_extranets_b2b_customer_info_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -55752,10 +55720,10 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bConsumerDeviceStatusIdGetResponse]: - """v1_extranets_b2b_consumer_device_status_id_get + ) -> ApiResponse[V1ExtranetsB2bCustomerInfoIdGetResponse]: + """v1_extranets_b2b_customer_info_id_get - Get B2B extranet consumer status + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55783,7 +55751,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( + _param = self._v1_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -55793,7 +55761,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55807,7 +55775,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( @validate_call - def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( + def v1_extranets_b2b_customer_info_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -55824,9 +55792,9 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_consumer_device_status_id_get + """v1_extranets_b2b_customer_info_id_get - Get B2B extranet consumer status + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -55854,7 +55822,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_device_status_id_get_serialize( + _param = self._v1_extranets_b2b_customer_info_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -55864,7 +55832,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerDeviceStatusIdGetResponse", + '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -55873,7 +55841,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_device_status_id_get_serialize( + def _v1_extranets_b2b_customer_info_id_get_serialize( self, authorization, id, @@ -55924,7 +55892,7 @@ def _v1_extranets_b2b_consumer_device_status_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b/consumer-device-status/{id}', + resource_path='/v1/extranets-b2b/customer-info/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -55941,10 +55909,9 @@ def _v1_extranets_b2b_consumer_device_status_id_get_serialize( @validate_call - def v1_extranets_b2b_consumer_id_delete( + def v1_extranets_b2b_general_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -55957,15 +55924,13 @@ def v1_extranets_b2b_consumer_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_extranets_b2b_consumer_id_delete + ) -> V1ExtranetsB2bGeneralCustomersSummaryGetResponse: + """v1_extranets_b2b_general_customers_summary_get - Delete a B2B extranet consumer + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -55988,9 +55953,8 @@ def v1_extranets_b2b_consumer_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_delete_serialize( + _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -55998,7 +55962,7 @@ def v1_extranets_b2b_consumer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56012,10 +55976,9 @@ def v1_extranets_b2b_consumer_id_delete( @validate_call - def v1_extranets_b2b_consumer_id_delete_with_http_info( + def v1_extranets_b2b_general_customers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56028,15 +55991,13 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_extranets_b2b_consumer_id_delete + ) -> ApiResponse[V1ExtranetsB2bGeneralCustomersSummaryGetResponse]: + """v1_extranets_b2b_general_customers_summary_get - Delete a B2B extranet consumer + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56059,9 +56020,8 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_delete_serialize( + _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56069,7 +56029,7 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56083,10 +56043,9 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_consumer_id_delete_without_preload_content( + def v1_extranets_b2b_general_customers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56100,14 +56059,12 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_consumer_id_delete + """v1_extranets_b2b_general_customers_summary_get - Delete a B2B extranet consumer + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56130,9 +56087,8 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_delete_serialize( + _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56140,7 +56096,7 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56149,10 +56105,9 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_id_delete_serialize( + def _v1_extranets_b2b_general_customers_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -56174,8 +56129,6 @@ def _v1_extranets_b2b_consumer_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -56199,8 +56152,8 @@ def _v1_extranets_b2b_consumer_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b/consumer/{id}', + method='GET', + resource_path='/v1/extranets-b2b-general/customers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -56217,10 +56170,9 @@ def _v1_extranets_b2b_consumer_id_delete_serialize( @validate_call - def v1_extranets_b2b_consumer_id_get( + def v1_extranets_b2b_general_services_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56233,15 +56185,13 @@ def v1_extranets_b2b_consumer_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bConsumerIdGetResponse: - """v1_extranets_b2b_consumer_id_get + ) -> V1ExtranetsB2bGeneralServicesSummaryGetResponse: + """v1_extranets_b2b_general_services_summary_get - Get a B2B extranet consumer + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56264,9 +56214,8 @@ def v1_extranets_b2b_consumer_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_get_serialize( + _param = self._v1_extranets_b2b_general_services_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56274,7 +56223,7 @@ def v1_extranets_b2b_consumer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56288,10 +56237,9 @@ def v1_extranets_b2b_consumer_id_get( @validate_call - def v1_extranets_b2b_consumer_id_get_with_http_info( + def v1_extranets_b2b_general_services_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56304,15 +56252,13 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bConsumerIdGetResponse]: - """v1_extranets_b2b_consumer_id_get + ) -> ApiResponse[V1ExtranetsB2bGeneralServicesSummaryGetResponse]: + """v1_extranets_b2b_general_services_summary_get - Get a B2B extranet consumer + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56335,9 +56281,8 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_get_serialize( + _param = self._v1_extranets_b2b_general_services_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56345,7 +56290,7 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56359,10 +56304,9 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( @validate_call - def v1_extranets_b2b_consumer_id_get_without_preload_content( + def v1_extranets_b2b_general_services_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56376,14 +56320,145 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_consumer_id_get + """v1_extranets_b2b_general_services_summary_get - Get a B2B extranet consumer + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_general_services_summary_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_extranets_b2b_general_services_summary_get_serialize( + self, + authorization, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/extranets-b2b-general/services-summary', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_extranets_b2b_id_customer_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], + v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ExtranetsB2bIdCustomerPostResponse: + """v1_extranets_b2b_id_customer_post + + Create B2B extranet application customer invite + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Service ID of the application customer is invited to (required) :type id: int + :param v1_extranets_b2b_id_customer_post_request: (required) + :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56406,9 +56481,10 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_id_get_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, id=id, + v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56416,141 +56492,7 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerIdGetResponse", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _v1_extranets_b2b_consumer_id_get_serialize( - self, - authorization, - id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if id is not None: - _path_params['id'] = id - # process the query parameters - # process the header parameters - if authorization is not None: - _header_params['Authorization'] = authorization - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'jwtAuth' - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/consumer/{id}', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def v1_extranets_b2b_consumer_post( - self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bConsumerPostResponse: - """v1_extranets_b2b_consumer_post - - Create a new B2B extranet consumer - - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_extranets_b2b_consumer_post_request: (required) - :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._v1_extranets_b2b_consumer_post_serialize( - authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -56564,10 +56506,11 @@ def v1_extranets_b2b_consumer_post( @validate_call - def v1_extranets_b2b_consumer_post_with_http_info( + def v1_extranets_b2b_id_customer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], + v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56580,15 +56523,17 @@ def v1_extranets_b2b_consumer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bConsumerPostResponse]: - """v1_extranets_b2b_consumer_post + ) -> ApiResponse[V1ExtranetsB2bIdCustomerPostResponse]: + """v1_extranets_b2b_id_customer_post - Create a new B2B extranet consumer + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_consumer_post_request: (required) - :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest + :param id: Service ID of the application customer is invited to (required) + :type id: int + :param v1_extranets_b2b_id_customer_post_request: (required) + :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56611,9 +56556,10 @@ def v1_extranets_b2b_consumer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_post_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, + id=id, + v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56621,7 +56567,7 @@ def v1_extranets_b2b_consumer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -56635,10 +56581,11 @@ def v1_extranets_b2b_consumer_post_with_http_info( @validate_call - def v1_extranets_b2b_consumer_post_without_preload_content( + def v1_extranets_b2b_id_customer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest, + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], + v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56652,14 +56599,16 @@ def v1_extranets_b2b_consumer_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_consumer_post + """v1_extranets_b2b_id_customer_post - Create a new B2B extranet consumer + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_consumer_post_request: (required) - :type v1_extranets_b2b_consumer_post_request: V1ExtranetsB2bConsumerPostRequest + :param id: Service ID of the application customer is invited to (required) + :type id: int + :param v1_extranets_b2b_id_customer_post_request: (required) + :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56682,9 +56631,10 @@ def v1_extranets_b2b_consumer_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_post_serialize( + _param = self._v1_extranets_b2b_id_customer_post_serialize( authorization=authorization, - v1_extranets_b2b_consumer_post_request=v1_extranets_b2b_consumer_post_request, + id=id, + v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56692,7 +56642,7 @@ def v1_extranets_b2b_consumer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerPostResponse", + '200': "V1ExtranetsB2bIdCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -56701,10 +56651,11 @@ def v1_extranets_b2b_consumer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_post_serialize( + def _v1_extranets_b2b_id_customer_post_serialize( self, authorization, - v1_extranets_b2b_consumer_post_request, + id, + v1_extranets_b2b_id_customer_post_request, _request_auth, _content_type, _headers, @@ -56726,14 +56677,16 @@ def _v1_extranets_b2b_consumer_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_consumer_post_request is not None: - _body_params = v1_extranets_b2b_consumer_post_request + if v1_extranets_b2b_id_customer_post_request is not None: + _body_params = v1_extranets_b2b_id_customer_post_request # set the HTTP header `Accept` @@ -56765,7 +56718,7 @@ def _v1_extranets_b2b_consumer_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b/consumer', + resource_path='/v1/extranets-b2b/{id}/customer/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -56782,9 +56735,10 @@ def _v1_extranets_b2b_consumer_post_serialize( @validate_call - def v1_extranets_b2b_consumer_summary_get( + def v1_extranets_b2b_id_customer_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56797,13 +56751,15 @@ def v1_extranets_b2b_consumer_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bConsumerSummaryGetResponse: - """v1_extranets_b2b_consumer_summary_get + ) -> V1ExtranetsB2bIdCustomerSummaryGetResponse: + """v1_extranets_b2b_id_customer_summary_get - Get B2B extranet consumers summary + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56826,8 +56782,9 @@ def v1_extranets_b2b_consumer_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_summary_get_serialize( + _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56835,7 +56792,7 @@ def v1_extranets_b2b_consumer_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56849,9 +56806,10 @@ def v1_extranets_b2b_consumer_summary_get( @validate_call - def v1_extranets_b2b_consumer_summary_get_with_http_info( + def v1_extranets_b2b_id_customer_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56864,13 +56822,15 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bConsumerSummaryGetResponse]: - """v1_extranets_b2b_consumer_summary_get + ) -> ApiResponse[V1ExtranetsB2bIdCustomerSummaryGetResponse]: + """v1_extranets_b2b_id_customer_summary_get - Get B2B extranet consumers summary + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56893,8 +56853,9 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_summary_get_serialize( + _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56902,7 +56863,7 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56916,9 +56877,10 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_consumer_summary_get_without_preload_content( + def v1_extranets_b2b_id_customer_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -56932,12 +56894,14 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_consumer_summary_get + """v1_extranets_b2b_id_customer_summary_get - Get B2B extranet consumers summary + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -56960,8 +56924,9 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_consumer_summary_get_serialize( + _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -56969,7 +56934,7 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bConsumerSummaryGetResponse", + '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -56978,9 +56943,10 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_consumer_summary_get_serialize( + def _v1_extranets_b2b_id_customer_summary_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -57002,6 +56968,8 @@ def _v1_extranets_b2b_consumer_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -57026,7 +56994,7 @@ def _v1_extranets_b2b_consumer_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b/consumer-summary', + resource_path='/v1/extranets-b2b/{id}/customer-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57043,10 +57011,10 @@ def _v1_extranets_b2b_consumer_summary_get_serialize( @validate_call - def v1_extranets_b2b_customer_id_delete( + def v1_extranets_b2b_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57060,13 +57028,13 @@ def v1_extranets_b2b_customer_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_extranets_b2b_customer_id_delete + """v1_extranets_b2b_id_delete - Delete a B2B extranet customer + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -57090,7 +57058,7 @@ def v1_extranets_b2b_customer_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -57114,10 +57082,10 @@ def v1_extranets_b2b_customer_id_delete( @validate_call - def v1_extranets_b2b_customer_id_delete_with_http_info( + def v1_extranets_b2b_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57131,13 +57099,13 @@ def v1_extranets_b2b_customer_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_extranets_b2b_customer_id_delete + """v1_extranets_b2b_id_delete - Delete a B2B extranet customer + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -57161,7 +57129,7 @@ def v1_extranets_b2b_customer_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -57185,10 +57153,10 @@ def v1_extranets_b2b_customer_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_customer_id_delete_without_preload_content( + def v1_extranets_b2b_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57202,13 +57170,13 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_customer_id_delete + """v1_extranets_b2b_id_delete - Delete a B2B extranet customer + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -57232,7 +57200,7 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -57251,7 +57219,7 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_customer_id_delete_serialize( + def _v1_extranets_b2b_id_delete_serialize( self, authorization, id, @@ -57302,7 +57270,7 @@ def _v1_extranets_b2b_customer_id_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v1/extranets-b2b/customer/{id}', + resource_path='/v1/extranets-b2b/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57319,10 +57287,11 @@ def _v1_extranets_b2b_customer_id_delete_serialize( @validate_call - def v1_extranets_b2b_customer_info_id_get( + def v1_extranets_b2b_id_producer_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57335,15 +57304,17 @@ def v1_extranets_b2b_customer_info_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bCustomerInfoIdGetResponse: - """v1_extranets_b2b_customer_info_id_get + ) -> V1ExtranetsB2bIdProducerGetResponse: + """v1_extranets_b2b_id_producer_get - Get B2B extranet application customer + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param type: + :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57366,9 +57337,10 @@ def v1_extranets_b2b_customer_info_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_info_id_get_serialize( + _param = self._v1_extranets_b2b_id_producer_get_serialize( authorization=authorization, id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57376,7 +57348,7 @@ def v1_extranets_b2b_customer_info_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -57390,10 +57362,11 @@ def v1_extranets_b2b_customer_info_id_get( @validate_call - def v1_extranets_b2b_customer_info_id_get_with_http_info( + def v1_extranets_b2b_id_producer_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57406,15 +57379,17 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bCustomerInfoIdGetResponse]: - """v1_extranets_b2b_customer_info_id_get + ) -> ApiResponse[V1ExtranetsB2bIdProducerGetResponse]: + """v1_extranets_b2b_id_producer_get - Get B2B extranet application customer + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param type: + :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57437,9 +57412,10 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_info_id_get_serialize( + _param = self._v1_extranets_b2b_id_producer_get_serialize( authorization=authorization, id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57447,7 +57423,7 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -57461,10 +57437,11 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( @validate_call - def v1_extranets_b2b_customer_info_id_get_without_preload_content( + def v1_extranets_b2b_id_producer_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + type: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57478,14 +57455,16 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_customer_info_id_get + """v1_extranets_b2b_id_producer_get - Get B2B extranet application customer + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param type: + :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57508,9 +57487,10 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_customer_info_id_get_serialize( + _param = self._v1_extranets_b2b_id_producer_get_serialize( authorization=authorization, id=id, + type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57518,7 +57498,7 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bCustomerInfoIdGetResponse", + '200': "V1ExtranetsB2bIdProducerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -57527,10 +57507,11 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_customer_info_id_get_serialize( + def _v1_extranets_b2b_id_producer_get_serialize( self, authorization, id, + type, _request_auth, _content_type, _headers, @@ -57555,6 +57536,10 @@ def _v1_extranets_b2b_customer_info_id_get_serialize( if id is not None: _path_params['id'] = id # process the query parameters + if type is not None: + + _query_params.append(('type', type)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -57578,7 +57563,7 @@ def _v1_extranets_b2b_customer_info_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b/customer-info/{id}', + resource_path='/v1/extranets-b2b/{id}/producer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57595,9 +57580,11 @@ def _v1_extranets_b2b_customer_info_id_get_serialize( @validate_call - def v1_extranets_b2b_general_customers_summary_get( + def v1_extranets_b2b_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], + v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57610,13 +57597,17 @@ def v1_extranets_b2b_general_customers_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bGeneralCustomersSummaryGetResponse: - """v1_extranets_b2b_general_customers_summary_get + ) -> V1ExtranetsB2bIdPutResponse: + """v1_extranets_b2b_id_put - Get summary for a B2B extranet peering services customers + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID of the B2B Application service (required) + :type id: int + :param v1_extranets_b2b_id_put_request: (required) + :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57639,8 +57630,10 @@ def v1_extranets_b2b_general_customers_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( + _param = self._v1_extranets_b2b_id_put_serialize( authorization=authorization, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57648,7 +57641,7 @@ def v1_extranets_b2b_general_customers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57662,9 +57655,11 @@ def v1_extranets_b2b_general_customers_summary_get( @validate_call - def v1_extranets_b2b_general_customers_summary_get_with_http_info( + def v1_extranets_b2b_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], + v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57677,13 +57672,17 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bGeneralCustomersSummaryGetResponse]: - """v1_extranets_b2b_general_customers_summary_get + ) -> ApiResponse[V1ExtranetsB2bIdPutResponse]: + """v1_extranets_b2b_id_put - Get summary for a B2B extranet peering services customers + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID of the B2B Application service (required) + :type id: int + :param v1_extranets_b2b_id_put_request: (required) + :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57706,8 +57705,10 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( + _param = self._v1_extranets_b2b_id_put_serialize( authorization=authorization, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57715,7 +57716,7 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57729,9 +57730,11 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_general_customers_summary_get_without_preload_content( + def v1_extranets_b2b_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], + v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57745,12 +57748,16 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_general_customers_summary_get + """v1_extranets_b2b_id_put - Get summary for a B2B extranet peering services customers + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: ID of the B2B Application service (required) + :type id: int + :param v1_extranets_b2b_id_put_request: (required) + :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57773,8 +57780,10 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_customers_summary_get_serialize( + _param = self._v1_extranets_b2b_id_put_serialize( authorization=authorization, + id=id, + v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57782,7 +57791,7 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralCustomersSummaryGetResponse", + '200': "V1ExtranetsB2bIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -57791,9 +57800,11 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_general_customers_summary_get_serialize( + def _v1_extranets_b2b_id_put_serialize( self, authorization, + id, + v1_extranets_b2b_id_put_request, _request_auth, _content_type, _headers, @@ -57815,12 +57826,16 @@ def _v1_extranets_b2b_general_customers_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_b2b_id_put_request is not None: + _body_params = v1_extranets_b2b_id_put_request # set the HTTP header `Accept` @@ -57831,6 +57846,19 @@ def _v1_extranets_b2b_general_customers_summary_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -57838,8 +57866,8 @@ def _v1_extranets_b2b_general_customers_summary_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b-general/customers-summary', + method='PUT', + resource_path='/v1/extranets-b2b/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -57856,9 +57884,11 @@ def _v1_extranets_b2b_general_customers_summary_get_serialize( @validate_call - def v1_extranets_b2b_general_services_summary_get( + def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57871,13 +57901,17 @@ def v1_extranets_b2b_general_services_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bGeneralServicesSummaryGetResponse: - """v1_extranets_b2b_general_services_summary_get + ) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse: + """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get - Get a summary for all the B2B extranet services + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param customer_id: (required) + :type customer_id: int + :param service_id: + :type service_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57900,8 +57934,10 @@ def v1_extranets_b2b_general_services_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_services_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57909,7 +57945,7 @@ def v1_extranets_b2b_general_services_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -57923,9 +57959,11 @@ def v1_extranets_b2b_general_services_summary_get( @validate_call - def v1_extranets_b2b_general_services_summary_get_with_http_info( + def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57938,13 +57976,17 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bGeneralServicesSummaryGetResponse]: - """v1_extranets_b2b_general_services_summary_get + ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse]: + """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get - Get a summary for all the B2B extranet services + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param customer_id: (required) + :type customer_id: int + :param service_id: + :type service_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -57967,8 +58009,10 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_services_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -57976,7 +58020,7 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -57990,9 +58034,11 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_general_services_summary_get_without_preload_content( + def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + customer_id: StrictInt, + service_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58006,12 +58052,16 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_general_services_summary_get + """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get - Get a summary for all the B2B extranet services + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param customer_id: (required) + :type customer_id: int + :param service_id: + :type service_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58034,8 +58084,10 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_general_services_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( authorization=authorization, + customer_id=customer_id, + service_id=service_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58043,7 +58095,7 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bGeneralServicesSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -58052,9 +58104,11 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_general_services_summary_get_serialize( + def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( self, authorization, + customer_id, + service_id, _request_auth, _content_type, _headers, @@ -58076,7 +58130,13 @@ def _v1_extranets_b2b_general_services_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id # process the query parameters + if service_id is not None: + + _query_params.append(('serviceId', service_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -58100,7 +58160,7 @@ def _v1_extranets_b2b_general_services_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-general/services-summary', + resource_path='/v1/extranets-b2b-peering/consumer/{customerId}/consumer-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58117,11 +58177,11 @@ def _v1_extranets_b2b_general_services_summary_get_serialize( @validate_call - def v1_extranets_b2b_id_customer_post( + def v1_extranets_b2b_peering_consumer_id_prefixes_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], - v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, + id: Annotated[StrictInt, Field(description="consumer id")], + v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58134,17 +58194,17 @@ def v1_extranets_b2b_id_customer_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bIdCustomerPostResponse: - """v1_extranets_b2b_id_customer_post + ) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse: + """v1_extranets_b2b_peering_consumer_id_prefixes_put - Create B2B extranet application customer invite + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service ID of the application customer is invited to (required) + :param id: consumer id (required) :type id: int - :param v1_extranets_b2b_id_customer_post_request: (required) - :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest + :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) + :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58167,10 +58227,10 @@ def v1_extranets_b2b_id_customer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58178,7 +58238,7 @@ def v1_extranets_b2b_id_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -58192,11 +58252,11 @@ def v1_extranets_b2b_id_customer_post( @validate_call - def v1_extranets_b2b_id_customer_post_with_http_info( + def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], - v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, + id: Annotated[StrictInt, Field(description="consumer id")], + v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58209,17 +58269,17 @@ def v1_extranets_b2b_id_customer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bIdCustomerPostResponse]: - """v1_extranets_b2b_id_customer_post + ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse]: + """v1_extranets_b2b_peering_consumer_id_prefixes_put - Create B2B extranet application customer invite + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service ID of the application customer is invited to (required) + :param id: consumer id (required) :type id: int - :param v1_extranets_b2b_id_customer_post_request: (required) - :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest + :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) + :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58242,10 +58302,10 @@ def v1_extranets_b2b_id_customer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58253,7 +58313,7 @@ def v1_extranets_b2b_id_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -58267,11 +58327,11 @@ def v1_extranets_b2b_id_customer_post_with_http_info( @validate_call - def v1_extranets_b2b_id_customer_post_without_preload_content( + def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], - v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, + id: Annotated[StrictInt, Field(description="consumer id")], + v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58285,16 +58345,16 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_id_customer_post + """v1_extranets_b2b_peering_consumer_id_prefixes_put - Create B2B extranet application customer invite + Update B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service ID of the application customer is invited to (required) + :param id: consumer id (required) :type id: int - :param v1_extranets_b2b_id_customer_post_request: (required) - :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest + :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) + :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58317,10 +58377,10 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_customer_post_request=v1_extranets_b2b_id_customer_post_request, + v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58328,7 +58388,7 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", } response_data = self.api_client.call_api( *_param, @@ -58337,11 +58397,11 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_customer_post_serialize( + def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( self, authorization, id, - v1_extranets_b2b_id_customer_post_request, + v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth, _content_type, _headers, @@ -58371,8 +58431,8 @@ def _v1_extranets_b2b_id_customer_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_id_customer_post_request is not None: - _body_params = v1_extranets_b2b_id_customer_post_request + if v1_extranets_b2b_peering_consumer_id_prefixes_put_request is not None: + _body_params = v1_extranets_b2b_peering_consumer_id_prefixes_put_request # set the HTTP header `Accept` @@ -58403,8 +58463,8 @@ def _v1_extranets_b2b_id_customer_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b/{id}/customer/', + method='PUT', + resource_path='/v1/extranets-b2b-peering/consumer/{id}/prefixes', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58421,10 +58481,10 @@ def _v1_extranets_b2b_id_customer_post_serialize( @validate_call - def v1_extranets_b2b_id_customer_summary_get( + def v1_extranets_b2b_peering_consumer_match_id_match_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58437,15 +58497,15 @@ def v1_extranets_b2b_id_customer_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bIdCustomerSummaryGetResponse: - """v1_extranets_b2b_id_customer_summary_get + ) -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse: + """v1_extranets_b2b_peering_consumer_match_id_match_details_get - Get B2B extranet application customers summary + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: (required) + :type match_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58468,9 +58528,9 @@ def v1_extranets_b2b_id_customer_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58478,7 +58538,7 @@ def v1_extranets_b2b_id_customer_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -58492,10 +58552,10 @@ def v1_extranets_b2b_id_customer_summary_get( @validate_call - def v1_extranets_b2b_id_customer_summary_get_with_http_info( + def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58508,15 +58568,15 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bIdCustomerSummaryGetResponse]: - """v1_extranets_b2b_id_customer_summary_get + ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse]: + """v1_extranets_b2b_peering_consumer_match_id_match_details_get - Get B2B extranet application customers summary + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: (required) + :type match_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58539,9 +58599,9 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58549,7 +58609,7 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -58563,10 +58623,10 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_id_customer_summary_get_without_preload_content( + def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + match_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58580,14 +58640,14 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_id_customer_summary_get + """v1_extranets_b2b_peering_consumer_match_id_match_details_get - Get B2B extranet application customers summary + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param match_id: (required) + :type match_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58610,9 +58670,9 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_customer_summary_get_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( authorization=authorization, - id=id, + match_id=match_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58620,7 +58680,7 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdCustomerSummaryGetResponse", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -58629,10 +58689,10 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_customer_summary_get_serialize( + def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( self, authorization, - id, + match_id, _request_auth, _content_type, _headers, @@ -58654,8 +58714,8 @@ def _v1_extranets_b2b_id_customer_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if match_id is not None: + _path_params['matchId'] = match_id # process the query parameters # process the header parameters if authorization is not None: @@ -58680,7 +58740,7 @@ def _v1_extranets_b2b_id_customer_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b/{id}/customer-summary', + resource_path='/v1/extranets-b2b-peering/consumer/{matchId}/match-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58697,10 +58757,11 @@ def _v1_extranets_b2b_id_customer_summary_get_serialize( @validate_call - def v1_extranets_b2b_id_delete( + def v1_extranets_b2b_peering_consumer_match_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], + v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58713,15 +58774,17 @@ def v1_extranets_b2b_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_extranets_b2b_id_delete + ) -> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse: + """v1_extranets_b2b_peering_consumer_match_id_post - Delete a B2B extranet producer + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the producer service to be deleted (required) - :type id: int + :param match_id: ID of the match for the customer subscription of the service (required) + :type match_id: int + :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) + :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58744,9 +58807,10 @@ def v1_extranets_b2b_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58754,7 +58818,7 @@ def v1_extranets_b2b_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58768,10 +58832,11 @@ def v1_extranets_b2b_id_delete( @validate_call - def v1_extranets_b2b_id_delete_with_http_info( + def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], + v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58784,15 +58849,17 @@ def v1_extranets_b2b_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_extranets_b2b_id_delete + ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdPostResponse]: + """v1_extranets_b2b_peering_consumer_match_id_post - Delete a B2B extranet producer + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the producer service to be deleted (required) - :type id: int + :param match_id: ID of the match for the customer subscription of the service (required) + :type match_id: int + :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) + :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58815,9 +58882,10 @@ def v1_extranets_b2b_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58825,7 +58893,7 @@ def v1_extranets_b2b_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58839,10 +58907,11 @@ def v1_extranets_b2b_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_id_delete_without_preload_content( + def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], + v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58856,14 +58925,16 @@ def v1_extranets_b2b_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_id_delete + """v1_extranets_b2b_peering_consumer_match_id_post - Delete a B2B extranet producer + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the producer service to be deleted (required) - :type id: int + :param match_id: ID of the match for the customer subscription of the service (required) + :type match_id: int + :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) + :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -58886,9 +58957,10 @@ def v1_extranets_b2b_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( authorization=authorization, - id=id, + match_id=match_id, + v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -58896,7 +58968,7 @@ def v1_extranets_b2b_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -58905,10 +58977,11 @@ def v1_extranets_b2b_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_delete_serialize( + def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( self, authorization, - id, + match_id, + v1_extranets_b2b_peering_consumer_match_id_post_request, _request_auth, _content_type, _headers, @@ -58930,14 +59003,16 @@ def _v1_extranets_b2b_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if match_id is not None: + _path_params['matchId'] = match_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_b2b_peering_consumer_match_id_post_request is not None: + _body_params = v1_extranets_b2b_peering_consumer_match_id_post_request # set the HTTP header `Accept` @@ -58948,6 +59023,19 @@ def _v1_extranets_b2b_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -58955,8 +59043,8 @@ def _v1_extranets_b2b_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b/{id}', + method='POST', + resource_path='/v1/extranets-b2b-peering/consumer/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -58973,11 +59061,10 @@ def _v1_extranets_b2b_id_delete_serialize( @validate_call - def v1_extranets_b2b_id_producer_get( + def v1_extranets_b2b_peering_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -58990,17 +59077,15 @@ def v1_extranets_b2b_id_producer_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bIdProducerGetResponse: - """v1_extranets_b2b_id_producer_get + ) -> V1ExtranetsB2bPeeringCustomerIdDeleteResponse: + """v1_extranets_b2b_peering_customer_id_delete - Get a B2B extranet producer + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int - :param type: - :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59023,10 +59108,9 @@ def v1_extranets_b2b_id_producer_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_producer_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, id=id, - type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59034,7 +59118,7 @@ def v1_extranets_b2b_id_producer_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -59048,11 +59132,10 @@ def v1_extranets_b2b_id_producer_get( @validate_call - def v1_extranets_b2b_id_producer_get_with_http_info( + def v1_extranets_b2b_peering_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59065,17 +59148,15 @@ def v1_extranets_b2b_id_producer_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bIdProducerGetResponse]: - """v1_extranets_b2b_id_producer_get + ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdDeleteResponse]: + """v1_extranets_b2b_peering_customer_id_delete - Get a B2B extranet producer + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int - :param type: - :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59098,10 +59179,9 @@ def v1_extranets_b2b_id_producer_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_producer_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, id=id, - type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59109,7 +59189,7 @@ def v1_extranets_b2b_id_producer_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -59123,11 +59203,10 @@ def v1_extranets_b2b_id_producer_get_with_http_info( @validate_call - def v1_extranets_b2b_id_producer_get_without_preload_content( + def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - type: Optional[StrictStr] = None, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59141,16 +59220,14 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_id_producer_get + """v1_extranets_b2b_peering_customer_id_delete - Get a B2B extranet producer + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int - :param type: - :type type: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59173,10 +59250,9 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_producer_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( authorization=authorization, id=id, - type=type, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59184,7 +59260,7 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdProducerGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -59193,11 +59269,10 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_producer_get_serialize( + def _v1_extranets_b2b_peering_customer_id_delete_serialize( self, authorization, id, - type, _request_auth, _content_type, _headers, @@ -59222,10 +59297,6 @@ def _v1_extranets_b2b_id_producer_get_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if type is not None: - - _query_params.append(('type', type)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -59248,8 +59319,8 @@ def _v1_extranets_b2b_id_producer_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/{id}/producer', + method='DELETE', + resource_path='/v1/extranets-b2b-peering/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59266,11 +59337,10 @@ def _v1_extranets_b2b_id_producer_get_serialize( @validate_call - def v1_extranets_b2b_id_put( + def v1_extranets_b2b_peering_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], - v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59283,17 +59353,15 @@ def v1_extranets_b2b_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bIdPutResponse: - """v1_extranets_b2b_id_put + ) -> V1ExtranetsB2bPeeringCustomerIdGetResponse: + """v1_extranets_b2b_peering_customer_id_get - Update a B2B extranet producer + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the B2B Application service (required) + :param id: ID of the peering service customer (required) :type id: int - :param v1_extranets_b2b_id_put_request: (required) - :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59316,10 +59384,9 @@ def v1_extranets_b2b_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59327,7 +59394,7 @@ def v1_extranets_b2b_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -59341,11 +59408,10 @@ def v1_extranets_b2b_id_put( @validate_call - def v1_extranets_b2b_id_put_with_http_info( + def v1_extranets_b2b_peering_customer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], - v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59358,17 +59424,15 @@ def v1_extranets_b2b_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bIdPutResponse]: - """v1_extranets_b2b_id_put + ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdGetResponse]: + """v1_extranets_b2b_peering_customer_id_get - Update a B2B extranet producer + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the B2B Application service (required) + :param id: ID of the peering service customer (required) :type id: int - :param v1_extranets_b2b_id_put_request: (required) - :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59391,10 +59455,9 @@ def v1_extranets_b2b_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59402,7 +59465,7 @@ def v1_extranets_b2b_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -59416,11 +59479,10 @@ def v1_extranets_b2b_id_put_with_http_info( @validate_call - def v1_extranets_b2b_id_put_without_preload_content( + def v1_extranets_b2b_peering_customer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], - v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59434,16 +59496,14 @@ def v1_extranets_b2b_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_id_put + """v1_extranets_b2b_peering_customer_id_get - Update a B2B extranet producer + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the B2B Application service (required) + :param id: ID of the peering service customer (required) :type id: int - :param v1_extranets_b2b_id_put_request: (required) - :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59466,10 +59526,9 @@ def v1_extranets_b2b_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_id_put_serialize( + _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( authorization=authorization, id=id, - v1_extranets_b2b_id_put_request=v1_extranets_b2b_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59477,7 +59536,7 @@ def v1_extranets_b2b_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bIdPutResponse", + '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -59486,11 +59545,10 @@ def v1_extranets_b2b_id_put_without_preload_content( return response_data.response - def _v1_extranets_b2b_id_put_serialize( + def _v1_extranets_b2b_peering_customer_id_get_serialize( self, authorization, id, - v1_extranets_b2b_id_put_request, _request_auth, _content_type, _headers, @@ -59520,8 +59578,6 @@ def _v1_extranets_b2b_id_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_id_put_request is not None: - _body_params = v1_extranets_b2b_id_put_request # set the HTTP header `Accept` @@ -59532,19 +59588,6 @@ def _v1_extranets_b2b_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -59552,8 +59595,8 @@ def _v1_extranets_b2b_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets-b2b/{id}', + method='GET', + resource_path='/v1/extranets-b2b-peering/customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59570,11 +59613,10 @@ def _v1_extranets_b2b_id_put_serialize( @validate_call - def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( + def v1_extranets_b2b_peering_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59587,17 +59629,15 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse: - """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + ) -> V1ExtranetsB2bPeeringCustomerPostResponse: + """v1_extranets_b2b_peering_customer_post - Get details of a service subscription for a customer + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param customer_id: (required) - :type customer_id: int - :param service_id: - :type service_id: int + :param v1_extranets_b2b_peering_customer_post_request: (required) + :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59620,10 +59660,9 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59631,7 +59670,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59645,11 +59684,10 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( @validate_call - def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http_info( + def v1_extranets_b2b_peering_customer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59662,17 +59700,15 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse]: - """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerPostResponse]: + """v1_extranets_b2b_peering_customer_post - Get details of a service subscription for a customer + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param customer_id: (required) - :type customer_id: int - :param service_id: - :type service_id: int + :param v1_extranets_b2b_peering_customer_post_request: (required) + :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59695,10 +59731,9 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59706,7 +59741,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59720,11 +59755,10 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http @validate_call - def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_preload_content( + def v1_extranets_b2b_peering_customer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - customer_id: StrictInt, - service_id: Optional[StrictInt] = None, + v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59738,16 +59772,14 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + """v1_extranets_b2b_peering_customer_post - Get details of a service subscription for a customer + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param customer_id: (required) - :type customer_id: int - :param service_id: - :type service_id: int + :param v1_extranets_b2b_peering_customer_post_request: (required) + :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59770,10 +59802,9 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( + _param = self._v1_extranets_b2b_peering_customer_post_serialize( authorization=authorization, - customer_id=customer_id, - service_id=service_id, + v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59781,7 +59812,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -59790,11 +59821,10 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p return response_data.response - def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serialize( + def _v1_extranets_b2b_peering_customer_post_serialize( self, authorization, - customer_id, - service_id, + v1_extranets_b2b_peering_customer_post_request, _request_auth, _content_type, _headers, @@ -59816,18 +59846,14 @@ def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serializ _body_params: Optional[bytes] = None # process the path parameters - if customer_id is not None: - _path_params['customerId'] = customer_id # process the query parameters - if service_id is not None: - - _query_params.append(('serviceId', service_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_b2b_peering_customer_post_request is not None: + _body_params = v1_extranets_b2b_peering_customer_post_request # set the HTTP header `Accept` @@ -59838,6 +59864,19 @@ def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serializ ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -59845,8 +59884,8 @@ def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serializ ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b-peering/consumer/{customerId}/consumer-details', + method='POST', + resource_path='/v1/extranets-b2b-peering/customer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -59863,11 +59902,10 @@ def _v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_serializ @validate_call - def v1_extranets_b2b_peering_consumer_id_prefixes_put( + def v1_extranets_b2b_peering_match_service_to_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="consumer id")], - v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59880,17 +59918,15 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse: - """v1_extranets_b2b_peering_consumer_id_prefixes_put + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse: + """v1_extranets_b2b_peering_match_service_to_customer_id_delete - Update B2B extranet peering service consumer + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int - :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) - :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59913,10 +59949,9 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59924,7 +59959,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -59938,11 +59973,10 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put( @validate_call - def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( + def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="consumer id")], - v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59955,17 +59989,15 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse]: - """v1_extranets_b2b_peering_consumer_id_prefixes_put + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_id_delete - Update B2B extranet peering service consumer + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int - :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) - :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -59988,10 +60020,9 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -59999,7 +60030,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -60013,11 +60044,10 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_with_http_info( @validate_call - def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( + def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="consumer id")], - v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest, + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60031,16 +60061,14 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_consumer_id_prefixes_put + """v1_extranets_b2b_peering_match_service_to_customer_id_delete - Update B2B extranet peering service consumer + Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: consumer id (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int - :param v1_extranets_b2b_peering_consumer_id_prefixes_put_request: (required) - :type v1_extranets_b2b_peering_consumer_id_prefixes_put_request: V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60063,10 +60091,9 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( authorization=authorization, id=id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request=v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60074,7 +60101,7 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -60083,11 +60110,10 @@ def v1_extranets_b2b_peering_consumer_id_prefixes_put_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( self, authorization, id, - v1_extranets_b2b_peering_consumer_id_prefixes_put_request, _request_auth, _content_type, _headers, @@ -60117,8 +60143,6 @@ def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_consumer_id_prefixes_put_request is not None: - _body_params = v1_extranets_b2b_peering_consumer_id_prefixes_put_request # set the HTTP header `Accept` @@ -60129,19 +60153,6 @@ def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -60149,8 +60160,8 @@ def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets-b2b-peering/consumer/{id}/prefixes', + method='DELETE', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60167,10 +60178,11 @@ def _v1_extranets_b2b_peering_consumer_id_prefixes_put_serialize( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_match_details_get( + def v1_extranets_b2b_peering_match_service_to_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], + customer_id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60183,15 +60195,17 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse: - """v1_extranets_b2b_peering_consumer_match_id_match_details_get + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse: + """v1_extranets_b2b_peering_match_service_to_customer_id_get - Get details of a service match for a customer + Get details for a service to customer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param id: Service id for which match details are requested (required) + :type id: int + :param customer_id: Customer id (required) + :type customer_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60214,9 +60228,10 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - match_id=match_id, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60224,7 +60239,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60238,10 +60253,11 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( + def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], + customer_id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60254,15 +60270,17 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse]: - """v1_extranets_b2b_peering_consumer_match_id_match_details_get + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_id_get - Get details of a service match for a customer + Get details for a service to customer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param id: Service id for which match details are requested (required) + :type id: int + :param customer_id: Customer id (required) + :type customer_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60285,9 +60303,10 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - match_id=match_id, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60295,7 +60314,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60309,10 +60328,11 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload_content( + def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], + customer_id: Annotated[StrictInt, Field(description="Customer id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60326,14 +60346,16 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_consumer_match_id_match_details_get + """v1_extranets_b2b_peering_match_service_to_customer_id_get - Get details of a service match for a customer + Get details for a service to customer subscription :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int + :param id: Service id for which match details are requested (required) + :type id: int + :param customer_id: Customer id (required) + :type customer_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60356,9 +60378,10 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( authorization=authorization, - match_id=match_id, + id=id, + customer_id=customer_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60366,7 +60389,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -60375,10 +60398,11 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload return response_data.response - def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( self, authorization, - match_id, + id, + customer_id, _request_auth, _content_type, _headers, @@ -60400,9 +60424,13 @@ def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if match_id is not None: - _path_params['matchId'] = match_id + if id is not None: + _path_params['id'] = id # process the query parameters + if customer_id is not None: + + _query_params.append(('customerId', customer_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -60426,7 +60454,7 @@ def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-peering/consumer/{matchId}/match-details', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60443,11 +60471,10 @@ def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_post( + def v1_extranets_b2b_peering_match_service_to_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], - v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60460,17 +60487,15 @@ def v1_extranets_b2b_peering_consumer_match_id_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse: - """v1_extranets_b2b_peering_consumer_match_id_post + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse: + """v1_extranets_b2b_peering_match_service_to_customer_post - Create B2B extranet peering service consumer + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: ID of the match for the customer subscription of the service (required) - :type match_id: int - :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) - :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest + :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60493,10 +60518,9 @@ def v1_extranets_b2b_peering_consumer_match_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, - match_id=match_id, - v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, + v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60504,7 +60528,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -60518,11 +60542,10 @@ def v1_extranets_b2b_peering_consumer_match_id_post( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( + def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], - v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60535,17 +60558,15 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdPostResponse]: - """v1_extranets_b2b_peering_consumer_match_id_post + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_post - Create B2B extranet peering service consumer + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: ID of the match for the customer subscription of the service (required) - :type match_id: int - :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) - :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest + :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60568,10 +60589,9 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, - match_id=match_id, - v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, + v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60579,7 +60599,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -60593,11 +60613,10 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( @validate_call - def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( + def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], - v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, + v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60611,16 +60630,14 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_consumer_match_id_post + """v1_extranets_b2b_peering_match_service_to_customer_post - Create B2B extranet peering service consumer + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: ID of the match for the customer subscription of the service (required) - :type match_id: int - :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) - :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest + :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60643,10 +60660,9 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_consumer_match_id_post_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( authorization=authorization, - match_id=match_id, - v1_extranets_b2b_peering_consumer_match_id_post_request=v1_extranets_b2b_peering_consumer_match_id_post_request, + v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60654,7 +60670,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringConsumerMatchIdPostResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -60663,11 +60679,10 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( self, authorization, - match_id, - v1_extranets_b2b_peering_consumer_match_id_post_request, + v1_extranets_b2b_peering_match_service_to_customer_post_request, _request_auth, _content_type, _headers, @@ -60689,16 +60704,14 @@ def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if match_id is not None: - _path_params['matchId'] = match_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_consumer_match_id_post_request is not None: - _body_params = v1_extranets_b2b_peering_consumer_match_id_post_request + if v1_extranets_b2b_peering_match_service_to_customer_post_request is not None: + _body_params = v1_extranets_b2b_peering_match_service_to_customer_post_request # set the HTTP header `Accept` @@ -60730,7 +60743,7 @@ def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b-peering/consumer/{matchId}', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -60747,10 +60760,10 @@ def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( @validate_call - def v1_extranets_b2b_peering_customer_id_delete( + def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60763,15 +60776,15 @@ def v1_extranets_b2b_peering_customer_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringCustomerIdDeleteResponse: - """v1_extranets_b2b_peering_customer_id_delete + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse: + """v1_extranets_b2b_peering_match_service_to_customer_service_status_put - Delete a B2B extranet peering service customer + Pause B2B match service to customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60794,9 +60807,9 @@ def v1_extranets_b2b_peering_customer_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60804,7 +60817,7 @@ def v1_extranets_b2b_peering_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -60818,10 +60831,10 @@ def v1_extranets_b2b_peering_customer_id_delete( @validate_call - def v1_extranets_b2b_peering_customer_id_delete_with_http_info( + def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60834,15 +60847,15 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdDeleteResponse]: - """v1_extranets_b2b_peering_customer_id_delete + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse]: + """v1_extranets_b2b_peering_match_service_to_customer_service_status_put - Delete a B2B extranet peering service customer + Pause B2B match service to customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60865,9 +60878,9 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60875,7 +60888,7 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -60889,10 +60902,10 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( + def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -60906,14 +60919,14 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_customer_id_delete + """v1_extranets_b2b_peering_match_service_to_customer_service_status_put - Delete a B2B extranet peering service customer + Pause B2B match service to customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) - :type id: int + :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) + :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -60936,9 +60949,9 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( authorization=authorization, - id=id, + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -60946,7 +60959,7 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", } response_data = self.api_client.call_api( *_param, @@ -60955,10 +60968,10 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_customer_id_delete_serialize( + def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( self, authorization, - id, + v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, _request_auth, _content_type, _headers, @@ -60980,14 +60993,14 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request is not None: + _body_params = v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request # set the HTTP header `Accept` @@ -60998,6 +61011,19 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -61005,8 +61031,8 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b-peering/customer/{id}', + method='PUT', + resource_path='/v1/extranets-b2b-peering/match/service-to-customer/service-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61023,10 +61049,10 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( @validate_call - def v1_extranets_b2b_peering_customer_id_get( + def v1_extranets_b2b_peering_match_services_summary_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61039,14 +61065,14 @@ def v1_extranets_b2b_peering_customer_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringCustomerIdGetResponse: - """v1_extranets_b2b_peering_customer_id_get + ) -> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse: + """v1_extranets_b2b_peering_match_services_summary_id_get - Get a B2B extranet peering service customer + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61070,7 +61096,7 @@ def v1_extranets_b2b_peering_customer_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( + _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61080,7 +61106,7 @@ def v1_extranets_b2b_peering_customer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61094,10 +61120,10 @@ def v1_extranets_b2b_peering_customer_id_get( @validate_call - def v1_extranets_b2b_peering_customer_id_get_with_http_info( + def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61110,14 +61136,14 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdGetResponse]: - """v1_extranets_b2b_peering_customer_id_get + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse]: + """v1_extranets_b2b_peering_match_services_summary_id_get - Get a B2B extranet peering service customer + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61141,7 +61167,7 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( + _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61151,7 +61177,7 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61165,10 +61191,10 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( @validate_call - def v1_extranets_b2b_peering_customer_id_get_without_preload_content( + def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the peering service customer")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61182,13 +61208,13 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_customer_id_get + """v1_extranets_b2b_peering_match_services_summary_id_get - Get a B2B extranet peering service customer + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the peering service customer (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61212,7 +61238,7 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_id_get_serialize( + _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61222,7 +61248,7 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerIdGetResponse", + '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61231,7 +61257,7 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_customer_id_get_serialize( + def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( self, authorization, id, @@ -61282,7 +61308,7 @@ def _v1_extranets_b2b_peering_customer_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-peering/customer/{id}', + resource_path='/v1/extranets-b2b-peering/match/services/summary/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61299,10 +61325,10 @@ def _v1_extranets_b2b_peering_customer_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_customer_post( + def v1_extranets_b2b_peering_producer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61315,15 +61341,15 @@ def v1_extranets_b2b_peering_customer_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringCustomerPostResponse: - """v1_extranets_b2b_peering_customer_post + ) -> V1ExtranetsB2bPeeringProducerIdGetResponse: + """v1_extranets_b2b_peering_producer_id_get - Create a new B2B extranet peering service customer + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_customer_post_request: (required) - :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest + :param id: ID of the service (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61346,9 +61372,9 @@ def v1_extranets_b2b_peering_customer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61356,7 +61382,7 @@ def v1_extranets_b2b_peering_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61370,10 +61396,10 @@ def v1_extranets_b2b_peering_customer_post( @validate_call - def v1_extranets_b2b_peering_customer_post_with_http_info( + def v1_extranets_b2b_peering_producer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61386,15 +61412,15 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerPostResponse]: - """v1_extranets_b2b_peering_customer_post + ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdGetResponse]: + """v1_extranets_b2b_peering_producer_id_get - Create a new B2B extranet peering service customer + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_customer_post_request: (required) - :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest + :param id: ID of the service (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61417,9 +61443,9 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61427,7 +61453,7 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61441,10 +61467,10 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( @validate_call - def v1_extranets_b2b_peering_customer_post_without_preload_content( + def v1_extranets_b2b_peering_producer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61458,14 +61484,14 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_customer_post + """v1_extranets_b2b_peering_producer_id_get - Create a new B2B extranet peering service customer + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_customer_post_request: (required) - :type v1_extranets_b2b_peering_customer_post_request: V1ExtranetsB2bPeeringCustomerPostRequest + :param id: ID of the service (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61488,9 +61514,9 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_customer_post_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_customer_post_request=v1_extranets_b2b_peering_customer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61498,7 +61524,7 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringCustomerPostResponse", + '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61507,10 +61533,10 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_customer_post_serialize( + def _v1_extranets_b2b_peering_producer_id_get_serialize( self, authorization, - v1_extranets_b2b_peering_customer_post_request, + id, _request_auth, _content_type, _headers, @@ -61532,14 +61558,14 @@ def _v1_extranets_b2b_peering_customer_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_customer_post_request is not None: - _body_params = v1_extranets_b2b_peering_customer_post_request # set the HTTP header `Accept` @@ -61550,19 +61576,6 @@ def _v1_extranets_b2b_peering_customer_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -61570,8 +61583,8 @@ def _v1_extranets_b2b_peering_customer_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b-peering/customer', + method='GET', + resource_path='/v1/extranets-b2b-peering/producer/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61588,10 +61601,10 @@ def _v1_extranets_b2b_peering_customer_post_serialize( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_delete( + def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61604,14 +61617,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse: - """v1_extranets_b2b_peering_match_service_to_customer_id_delete + ) -> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse: + """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get - Unsubscribe a customer from a service + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61635,7 +61648,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61645,7 +61658,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61659,10 +61672,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( + def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61675,14 +61688,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse]: - """v1_extranets_b2b_peering_match_service_to_customer_id_delete + ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse]: + """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get - Unsubscribe a customer from a service + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61706,7 +61719,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61716,7 +61729,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61730,10 +61743,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload_content( + def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61747,13 +61760,13 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_match_service_to_customer_id_delete + """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get - Unsubscribe a customer from a service + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID for the service to customer match to be deleted (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -61777,7 +61790,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( + _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -61787,7 +61800,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", + '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -61796,7 +61809,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload return response_data.response - def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( + def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( self, authorization, id, @@ -61846,8 +61859,8 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets-b2b-peering/match/service-to-customer/{id}', + method='GET', + resource_path='/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -61864,11 +61877,10 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_get( + def v1_extranets_b2b_peering_producer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], - customer_id: Annotated[StrictInt, Field(description="Customer id")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61881,17 +61893,15 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse: - """v1_extranets_b2b_peering_match_service_to_customer_id_get + ) -> V1ExtranetsB2bPeeringProducerPostResponse: + """v1_extranets_b2b_peering_producer_post - Get details for a service to customer subscription + Create a new B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service id for which match details are requested (required) - :type id: int - :param customer_id: Customer id (required) - :type customer_id: int + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61914,10 +61924,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( + _param = self._v1_extranets_b2b_peering_producer_post_serialize( authorization=authorization, - id=id, - customer_id=customer_id, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -61925,7 +61934,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", + '200': "V1ExtranetsB2bPeeringProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -61939,11 +61948,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( + def v1_extranets_b2b_peering_producer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], - customer_id: Annotated[StrictInt, Field(description="Customer id")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61956,17 +61964,86 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse]: - """v1_extranets_b2b_peering_match_service_to_customer_id_get + ) -> ApiResponse[V1ExtranetsB2bPeeringProducerPostResponse]: + """v1_extranets_b2b_peering_producer_post - Get details for a service to customer subscription + Create a new B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Service id for which match details are requested (required) - :type id: int - :param customer_id: Customer id (required) - :type customer_id: int + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_peering_producer_post_serialize( + authorization=authorization, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPeeringProducerPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_extranets_b2b_peering_producer_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_extranets_b2b_peering_producer_post + + Create a new B2B extranet peering service producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -61989,85 +62066,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( - authorization=authorization, - id=id, - customer_id=customer_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_content( - self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], - customer_id: Annotated[StrictInt, Field(description="Customer id")], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """v1_extranets_b2b_peering_match_service_to_customer_id_get - - Get details for a service to customer subscription - - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param id: Service id for which match details are requested (required) - :type id: int - :param customer_id: Customer id (required) - :type customer_id: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( + _param = self._v1_extranets_b2b_peering_producer_post_serialize( authorization=authorization, - id=id, - customer_id=customer_id, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62075,7 +62076,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_co ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse", + '200': "V1ExtranetsB2bPeeringProducerPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62084,11 +62085,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_co return response_data.response - def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( + def _v1_extranets_b2b_peering_producer_post_serialize( self, authorization, - id, - customer_id, + v1_extranets_b2b_peering_producer_post_request, _request_auth, _content_type, _headers, @@ -62110,18 +62110,14 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters - if customer_id is not None: - - _query_params.append(('customerId', customer_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_b2b_peering_producer_post_request is not None: + _body_params = v1_extranets_b2b_peering_producer_post_request # set the HTTP header `Accept` @@ -62132,6 +62128,19 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -62139,8 +62148,8 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b-peering/match/service-to-customer/{id}', + method='POST', + resource_path='/v1/extranets-b2b-peering/producer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62157,10 +62166,10 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_post( + def v1_extranets_b2b_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62173,15 +62182,15 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse: - """v1_extranets_b2b_peering_match_service_to_customer_post + ) -> V1ExtranetsB2bPostResponse: + """v1_extranets_b2b_post - Create B2B extranet configuration for matching a service to a customer + Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62204,9 +62213,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( + _param = self._v1_extranets_b2b_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62214,7 +62223,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62228,10 +62237,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( + def v1_extranets_b2b_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62244,15 +62253,15 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse]: - """v1_extranets_b2b_peering_match_service_to_customer_post + ) -> ApiResponse[V1ExtranetsB2bPostResponse]: + """v1_extranets_b2b_post - Create B2B extranet configuration for matching a service to a customer + Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62275,9 +62284,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( + _param = self._v1_extranets_b2b_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62285,7 +62294,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62299,10 +62308,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_content( + def v1_extranets_b2b_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest, + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62316,14 +62325,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_match_service_to_customer_post + """v1_extranets_b2b_post - Create B2B extranet configuration for matching a service to a customer + Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_post_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_post_request: V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62346,9 +62355,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_post_serialize( + _param = self._v1_extranets_b2b_post_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request=v1_extranets_b2b_peering_match_service_to_customer_post_request, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62356,7 +62365,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse", + '200': "V1ExtranetsB2bPostResponse", } response_data = self.api_client.call_api( *_param, @@ -62365,10 +62374,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont return response_data.response - def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( + def _v1_extranets_b2b_post_serialize( self, authorization, - v1_extranets_b2b_peering_match_service_to_customer_post_request, + v1_extranets_b2b_post_request, _request_auth, _content_type, _headers, @@ -62396,8 +62405,8 @@ def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_match_service_to_customer_post_request is not None: - _body_params = v1_extranets_b2b_peering_match_service_to_customer_post_request + if v1_extranets_b2b_post_request is not None: + _body_params = v1_extranets_b2b_post_request # set the HTTP header `Accept` @@ -62429,7 +62438,7 @@ def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-b2b-peering/match/service-to-customer', + resource_path='/v1/extranets-b2b', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62446,10 +62455,10 @@ def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( + def v1_extranets_b2b_producer_device_status_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62462,15 +62471,15 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse: - """v1_extranets_b2b_peering_match_service_to_customer_service_status_put + ) -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse: + """v1_extranets_b2b_producer_device_status_id_get - Pause B2B match service to customer + Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62493,9 +62502,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62503,7 +62512,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62517,10 +62526,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put( @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_http_info( + def v1_extranets_b2b_producer_device_status_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62533,15 +62542,15 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_h _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse]: - """v1_extranets_b2b_peering_match_service_to_customer_service_status_put + ) -> ApiResponse[V1ExtranetsB2bProducerDeviceStatusIdGetResponse]: + """v1_extranets_b2b_producer_device_status_id_get - Pause B2B match service to customer + Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62564,9 +62573,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_h :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62574,7 +62583,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_h ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62588,10 +62597,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_with_h @validate_call - def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_without_preload_content( + def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62605,14 +62614,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_withou _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_match_service_to_customer_service_status_put + """v1_extranets_b2b_producer_device_status_id_get - Pause B2B match service to customer + Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: (required) - :type v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request: V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62635,9 +62644,9 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_withou :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request=v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62645,7 +62654,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_withou ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse", + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62654,10 +62663,10 @@ def v1_extranets_b2b_peering_match_service_to_customer_service_status_put_withou return response_data.response - def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_serialize( + def _v1_extranets_b2b_producer_device_status_id_get_serialize( self, authorization, - v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request, + id, _request_auth, _content_type, _headers, @@ -62679,14 +62688,14 @@ def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_seria _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request is not None: - _body_params = v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request # set the HTTP header `Accept` @@ -62697,19 +62706,6 @@ def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_seria ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -62717,8 +62713,8 @@ def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_seria ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets-b2b-peering/match/service-to-customer/service-status', + method='GET', + resource_path='/v1/extranets-b2b/producer-device-status/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -62735,10 +62731,9 @@ def _v1_extranets_b2b_peering_match_service_to_customer_service_status_put_seria @validate_call - def v1_extranets_b2b_peering_match_services_summary_id_get( + def v1_extranets_b2b_producers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62751,15 +62746,13 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse: - """v1_extranets_b2b_peering_match_services_summary_id_get + ) -> V1ExtranetsB2bProducersSummaryGetResponse: + """v1_extranets_b2b_producers_summary_get - Get B2B extranet services matching customers summary + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62782,9 +62775,8 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62792,7 +62784,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62806,10 +62798,9 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( @validate_call - def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( + def v1_extranets_b2b_producers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62822,15 +62813,13 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse]: - """v1_extranets_b2b_peering_match_services_summary_id_get + ) -> ApiResponse[V1ExtranetsB2bProducersSummaryGetResponse]: + """v1_extranets_b2b_producers_summary_get - Get B2B extranet services matching customers summary + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62853,9 +62842,8 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62863,7 +62851,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62877,10 +62865,9 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( @validate_call - def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_content( + def v1_extranets_b2b_producers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -62894,14 +62881,12 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_match_services_summary_id_get + """v1_extranets_b2b_producers_summary_get - Get B2B extranet services matching customers summary + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -62924,9 +62909,8 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_match_services_summary_id_get_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -62934,7 +62918,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -62943,10 +62927,9 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte return response_data.response - def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( + def _v1_extranets_b2b_producers_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -62968,8 +62951,6 @@ def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -62994,7 +62975,7 @@ def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-peering/match/services/summary/{id}', + resource_path='/v1/extranets-b2b/producers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63011,10 +62992,9 @@ def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_producer_id_get( + def v1_extranets_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63027,15 +63007,12 @@ def v1_extranets_b2b_peering_producer_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringProducerIdGetResponse: - """v1_extranets_b2b_peering_producer_id_get + ) -> V1ExtranetsGetResponse: + """v1_extranets_get - Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63058,9 +63035,8 @@ def v1_extranets_b2b_peering_producer_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63068,7 +63044,7 @@ def v1_extranets_b2b_peering_producer_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63082,10 +63058,9 @@ def v1_extranets_b2b_peering_producer_id_get( @validate_call - def v1_extranets_b2b_peering_producer_id_get_with_http_info( + def v1_extranets_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63098,15 +63073,12 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdGetResponse]: - """v1_extranets_b2b_peering_producer_id_get + ) -> ApiResponse[V1ExtranetsGetResponse]: + """v1_extranets_get - Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63129,9 +63101,8 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63139,7 +63110,7 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63153,10 +63124,9 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( @validate_call - def v1_extranets_b2b_peering_producer_id_get_without_preload_content( + def v1_extranets_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63170,14 +63140,11 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_producer_id_get + """v1_extranets_get - Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the service (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63200,9 +63167,8 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_get_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63210,7 +63176,7 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdGetResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63219,10 +63185,9 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_producer_id_get_serialize( + def _v1_extranets_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -63244,8 +63209,6 @@ def _v1_extranets_b2b_peering_producer_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -63270,7 +63233,7 @@ def _v1_extranets_b2b_peering_producer_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-peering/producer/{id}', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63287,10 +63250,11 @@ def _v1_extranets_b2b_peering_producer_id_get_serialize( @validate_call - def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( + def v1_extranets_id_apply_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63303,15 +63267,16 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse: - """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + ) -> V1ExtranetsIdApplyPostResponse: + """v1_extranets_id_apply_post - Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63334,9 +63299,10 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63344,7 +63310,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -63358,10 +63324,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( @validate_call - def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_http_info( + def v1_extranets_id_apply_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63374,15 +63341,16 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse]: - """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + ) -> ApiResponse[V1ExtranetsIdApplyPostResponse]: + """v1_extranets_id_apply_post - Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63405,9 +63373,10 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63415,7 +63384,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -63429,10 +63398,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt @validate_call - def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_preload_content( + def v1_extranets_id_apply_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="ID of the customer")], + id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63446,14 +63416,15 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + """v1_extranets_id_apply_post - Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: ID of the customer (required) + :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63476,9 +63447,10 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63486,7 +63458,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -63495,10 +63467,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ return response_data.response - def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_serialize( + def _v1_extranets_id_apply_post_serialize( self, authorization, id, + v1_extranets_id_apply_post_request, _request_auth, _content_type, _headers, @@ -63528,6 +63501,8 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_id_apply_post_request is not None: + _body_params = v1_extranets_id_apply_post_request # set the HTTP header `Accept` @@ -63538,6 +63513,19 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -63545,8 +63533,8 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary', + method='POST', + resource_path='/v1/extranets/{id}/apply', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63563,10 +63551,10 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali @validate_call - def v1_extranets_b2b_peering_producer_post( + def v1_extranets_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63579,15 +63567,14 @@ def v1_extranets_b2b_peering_producer_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringProducerPostResponse: - """v1_extranets_b2b_peering_producer_post + ) -> V1ExtranetsIdDeleteResponse: + """v1_extranets_id_delete - Create a new B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63610,9 +63597,9 @@ def v1_extranets_b2b_peering_producer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63620,7 +63607,7 @@ def v1_extranets_b2b_peering_producer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -63634,10 +63621,10 @@ def v1_extranets_b2b_peering_producer_post( @validate_call - def v1_extranets_b2b_peering_producer_post_with_http_info( + def v1_extranets_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63650,15 +63637,14 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringProducerPostResponse]: - """v1_extranets_b2b_peering_producer_post + ) -> ApiResponse[V1ExtranetsIdDeleteResponse]: + """v1_extranets_id_delete - Create a new B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63681,9 +63667,9 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63691,7 +63677,7 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -63705,10 +63691,10 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( @validate_call - def v1_extranets_b2b_peering_producer_post_without_preload_content( + def v1_extranets_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63722,14 +63708,13 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_producer_post + """v1_extranets_id_delete - Create a new B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63752,9 +63737,9 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63762,7 +63747,7 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -63771,10 +63756,10 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_producer_post_serialize( + def _v1_extranets_id_delete_serialize( self, authorization, - v1_extranets_b2b_peering_producer_post_request, + id, _request_auth, _content_type, _headers, @@ -63796,14 +63781,14 @@ def _v1_extranets_b2b_peering_producer_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_producer_post_request is not None: - _body_params = v1_extranets_b2b_peering_producer_post_request # set the HTTP header `Accept` @@ -63814,19 +63799,6 @@ def _v1_extranets_b2b_peering_producer_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -63834,8 +63806,8 @@ def _v1_extranets_b2b_peering_producer_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b-peering/producer', + method='DELETE', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -63852,10 +63824,10 @@ def _v1_extranets_b2b_peering_producer_post_serialize( @validate_call - def v1_extranets_b2b_post( + def v1_extranets_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63868,15 +63840,14 @@ def v1_extranets_b2b_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPostResponse: - """v1_extranets_b2b_post + ) -> V1ExtranetsIdGetResponse: + """v1_extranets_id_get - Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63899,9 +63870,9 @@ def v1_extranets_b2b_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63909,7 +63880,7 @@ def v1_extranets_b2b_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63923,10 +63894,10 @@ def v1_extranets_b2b_post( @validate_call - def v1_extranets_b2b_post_with_http_info( + def v1_extranets_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63939,15 +63910,14 @@ def v1_extranets_b2b_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPostResponse]: - """v1_extranets_b2b_post + ) -> ApiResponse[V1ExtranetsIdGetResponse]: + """v1_extranets_id_get - Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -63970,9 +63940,9 @@ def v1_extranets_b2b_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -63980,7 +63950,7 @@ def v1_extranets_b2b_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -63994,10 +63964,10 @@ def v1_extranets_b2b_post_with_http_info( @validate_call - def v1_extranets_b2b_post_without_preload_content( + def v1_extranets_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64011,14 +63981,13 @@ def v1_extranets_b2b_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_post + """v1_extranets_id_get - Create a new B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64041,9 +64010,9 @@ def v1_extranets_b2b_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64051,7 +64020,7 @@ def v1_extranets_b2b_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64060,10 +64029,10 @@ def v1_extranets_b2b_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_post_serialize( + def _v1_extranets_id_get_serialize( self, authorization, - v1_extranets_b2b_post_request, + id, _request_auth, _content_type, _headers, @@ -64085,14 +64054,14 @@ def _v1_extranets_b2b_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_post_request is not None: - _body_params = v1_extranets_b2b_post_request # set the HTTP header `Accept` @@ -64103,19 +64072,6 @@ def _v1_extranets_b2b_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -64123,8 +64079,8 @@ def _v1_extranets_b2b_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b', + method='GET', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64141,10 +64097,11 @@ def _v1_extranets_b2b_post_serialize( @validate_call - def v1_extranets_b2b_producer_device_status_id_get( + def v1_extranets_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64157,15 +64114,16 @@ def v1_extranets_b2b_producer_device_status_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse: - """v1_extranets_b2b_producer_device_status_id_get + ) -> V1ExtranetsIdPutResponse: + """v1_extranets_id_put - Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64188,9 +64146,10 @@ def v1_extranets_b2b_producer_device_status_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64198,7 +64157,7 @@ def v1_extranets_b2b_producer_device_status_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -64212,10 +64171,11 @@ def v1_extranets_b2b_producer_device_status_id_get( @validate_call - def v1_extranets_b2b_producer_device_status_id_get_with_http_info( + def v1_extranets_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64228,15 +64188,16 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bProducerDeviceStatusIdGetResponse]: - """v1_extranets_b2b_producer_device_status_id_get + ) -> ApiResponse[V1ExtranetsIdPutResponse]: + """v1_extranets_id_put - Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64259,9 +64220,10 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64269,7 +64231,7 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -64283,10 +64245,11 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( @validate_call - def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( + def v1_extranets_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64300,14 +64263,15 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_producer_device_status_id_get + """v1_extranets_id_put - Get B2B extranet producer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64330,9 +64294,10 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64340,7 +64305,7 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -64349,10 +64314,11 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_producer_device_status_id_get_serialize( + def _v1_extranets_id_put_serialize( self, authorization, id, + v1_extranets_id_put_request, _request_auth, _content_type, _headers, @@ -64382,6 +64348,8 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_id_put_request is not None: + _body_params = v1_extranets_id_put_request # set the HTTP header `Accept` @@ -64392,6 +64360,19 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -64399,8 +64380,8 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/producer-device-status/{id}', + method='PUT', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64417,9 +64398,10 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( @validate_call - def v1_extranets_b2b_producers_summary_get( + def v1_extranets_id_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64432,13 +64414,14 @@ def v1_extranets_b2b_producers_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bProducersSummaryGetResponse: - """v1_extranets_b2b_producers_summary_get + ) -> V1ExtranetsIdStatusGetResponse: + """v1_extranets_id_status_get - Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64461,8 +64444,9 @@ def v1_extranets_b2b_producers_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64470,7 +64454,7 @@ def v1_extranets_b2b_producers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64484,9 +64468,10 @@ def v1_extranets_b2b_producers_summary_get( @validate_call - def v1_extranets_b2b_producers_summary_get_with_http_info( + def v1_extranets_id_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64499,13 +64484,14 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bProducersSummaryGetResponse]: - """v1_extranets_b2b_producers_summary_get + ) -> ApiResponse[V1ExtranetsIdStatusGetResponse]: + """v1_extranets_id_status_get - Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64528,8 +64514,9 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64537,7 +64524,7 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64551,9 +64538,10 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_producers_summary_get_without_preload_content( + def v1_extranets_id_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64567,12 +64555,13 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_producers_summary_get + """v1_extranets_id_status_get - Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64595,8 +64584,9 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64604,7 +64594,7 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64613,9 +64603,10 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_producers_summary_get_serialize( + def _v1_extranets_id_status_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -64637,6 +64628,8 @@ def _v1_extranets_b2b_producers_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -64661,7 +64654,7 @@ def _v1_extranets_b2b_producers_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b/producers-summary', + resource_path='/v1/extranets/{id}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64678,9 +64671,11 @@ def _v1_extranets_b2b_producers_summary_get_serialize( @validate_call - def v1_extranets_get( + def v1_extranets_monitoring_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64693,12 +64688,16 @@ def v1_extranets_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsGetResponse: - """v1_extranets_get + ) -> V1ExtranetsMonitoringLanSegmentsGetResponse: + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet Service Id + :type id: int + :param is_provider: + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64721,8 +64720,10 @@ def v1_extranets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64730,7 +64731,7 @@ def v1_extranets_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64744,9 +64745,11 @@ def v1_extranets_get( @validate_call - def v1_extranets_get_with_http_info( + def v1_extranets_monitoring_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64759,12 +64762,16 @@ def v1_extranets_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsGetResponse]: - """v1_extranets_get + ) -> ApiResponse[V1ExtranetsMonitoringLanSegmentsGetResponse]: + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet Service Id + :type id: int + :param is_provider: + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64787,8 +64794,10 @@ def v1_extranets_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64796,7 +64805,7 @@ def v1_extranets_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64810,9 +64819,11 @@ def v1_extranets_get_with_http_info( @validate_call - def v1_extranets_get_without_preload_content( + def v1_extranets_monitoring_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, + is_provider: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64826,11 +64837,15 @@ def v1_extranets_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_get + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Extranet Service Id + :type id: int + :param is_provider: + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64853,8 +64868,10 @@ def v1_extranets_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64862,7 +64879,7 @@ def v1_extranets_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -64871,9 +64888,11 @@ def v1_extranets_get_without_preload_content( return response_data.response - def _v1_extranets_get_serialize( + def _v1_extranets_monitoring_lan_segments_get_serialize( self, authorization, + id, + is_provider, _request_auth, _content_type, _headers, @@ -64896,6 +64915,14 @@ def _v1_extranets_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -64919,7 +64946,7 @@ def _v1_extranets_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets', + resource_path='/v1/extranets-monitoring/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -64936,11 +64963,10 @@ def _v1_extranets_get_serialize( @validate_call - def v1_extranets_id_apply_post( + def v1_extranets_monitoring_nat_usage_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64953,16 +64979,14 @@ def v1_extranets_id_apply_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdApplyPostResponse: - """v1_extranets_id_apply_post + ) -> V1ExtranetsMonitoringNatUsageGetResponse: + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Extranet Service Id (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -64985,10 +65009,9 @@ def v1_extranets_id_apply_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -64996,7 +65019,7 @@ def v1_extranets_id_apply_post( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65010,11 +65033,10 @@ def v1_extranets_id_apply_post( @validate_call - def v1_extranets_id_apply_post_with_http_info( + def v1_extranets_monitoring_nat_usage_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65027,16 +65049,14 @@ def v1_extranets_id_apply_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdApplyPostResponse]: - """v1_extranets_id_apply_post + ) -> ApiResponse[V1ExtranetsMonitoringNatUsageGetResponse]: + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Extranet Service Id (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65059,10 +65079,9 @@ def v1_extranets_id_apply_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65070,7 +65089,7 @@ def v1_extranets_id_apply_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65084,11 +65103,10 @@ def v1_extranets_id_apply_post_with_http_info( @validate_call - def v1_extranets_id_apply_post_without_preload_content( + def v1_extranets_monitoring_nat_usage_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + id: Annotated[StrictInt, Field(description="Extranet Service Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65102,15 +65120,13 @@ def v1_extranets_id_apply_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_apply_post + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Extranet Service Id (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65133,10 +65149,9 @@ def v1_extranets_id_apply_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65144,7 +65159,7 @@ def v1_extranets_id_apply_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -65153,11 +65168,10 @@ def v1_extranets_id_apply_post_without_preload_content( return response_data.response - def _v1_extranets_id_apply_post_serialize( + def _v1_extranets_monitoring_nat_usage_get_serialize( self, authorization, id, - v1_extranets_id_apply_post_request, _request_auth, _content_type, _headers, @@ -65179,16 +65193,16 @@ def _v1_extranets_id_apply_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_id_apply_post_request is not None: - _body_params = v1_extranets_id_apply_post_request # set the HTTP header `Accept` @@ -65199,19 +65213,6 @@ def _v1_extranets_id_apply_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -65219,8 +65220,8 @@ def _v1_extranets_id_apply_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/{id}/apply', + method='GET', + resource_path='/v1/extranets-monitoring/nat-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65237,10 +65238,10 @@ def _v1_extranets_id_apply_post_serialize( @validate_call - def v1_extranets_id_delete( + def v1_extranets_monitoring_traffic_security_policy_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65253,14 +65254,15 @@ def v1_extranets_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdDeleteResponse: - """v1_extranets_id_delete + ) -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse: + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65283,9 +65285,9 @@ def v1_extranets_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65293,7 +65295,7 @@ def v1_extranets_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65307,10 +65309,10 @@ def v1_extranets_id_delete( @validate_call - def v1_extranets_id_delete_with_http_info( + def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65323,14 +65325,15 @@ def v1_extranets_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdDeleteResponse]: - """v1_extranets_id_delete + ) -> ApiResponse[V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse]: + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65353,9 +65356,9 @@ def v1_extranets_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65363,7 +65366,7 @@ def v1_extranets_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65377,10 +65380,10 @@ def v1_extranets_id_delete_with_http_info( @validate_call - def v1_extranets_id_delete_without_preload_content( + def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65394,13 +65397,14 @@ def v1_extranets_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_delete + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65423,9 +65427,9 @@ def v1_extranets_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65433,7 +65437,7 @@ def v1_extranets_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65442,10 +65446,10 @@ def v1_extranets_id_delete_without_preload_content( return response_data.response - def _v1_extranets_id_delete_serialize( + def _v1_extranets_monitoring_traffic_security_policy_post_serialize( self, authorization, - id, + v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth, _content_type, _headers, @@ -65467,14 +65471,14 @@ def _v1_extranets_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_monitoring_traffic_security_policy_post_request is not None: + _body_params = v1_extranets_monitoring_traffic_security_policy_post_request # set the HTTP header `Accept` @@ -65485,6 +65489,19 @@ def _v1_extranets_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -65492,8 +65509,8 @@ def _v1_extranets_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets/{id}', + method='POST', + resource_path='/v1/extranets-monitoring/traffic-security-policy', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65510,10 +65527,10 @@ def _v1_extranets_id_delete_serialize( @validate_call - def v1_extranets_id_get( + def v1_extranets_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65526,14 +65543,14 @@ def v1_extranets_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdGetResponse: - """v1_extranets_id_get + ) -> V1ExtranetsPostResponse: + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65556,9 +65573,9 @@ def v1_extranets_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, - id=id, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65566,7 +65583,7 @@ def v1_extranets_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65580,10 +65597,10 @@ def v1_extranets_id_get( @validate_call - def v1_extranets_id_get_with_http_info( + def v1_extranets_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65596,14 +65613,14 @@ def v1_extranets_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdGetResponse]: - """v1_extranets_id_get + ) -> ApiResponse[V1ExtranetsPostResponse]: + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65626,9 +65643,9 @@ def v1_extranets_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, - id=id, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65636,7 +65653,7 @@ def v1_extranets_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65650,10 +65667,10 @@ def v1_extranets_id_get_with_http_info( @validate_call - def v1_extranets_id_get_without_preload_content( + def v1_extranets_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65667,13 +65684,13 @@ def v1_extranets_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_get + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65696,9 +65713,9 @@ def v1_extranets_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, - id=id, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65706,7 +65723,7 @@ def v1_extranets_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65715,10 +65732,10 @@ def v1_extranets_id_get_without_preload_content( return response_data.response - def _v1_extranets_id_get_serialize( + def _v1_extranets_post_serialize( self, authorization, - id, + v1_extranets_post_request, _request_auth, _content_type, _headers, @@ -65740,14 +65757,14 @@ def _v1_extranets_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_post_request is not None: + _body_params = v1_extranets_post_request # set the HTTP header `Accept` @@ -65758,6 +65775,19 @@ def _v1_extranets_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -65765,8 +65795,8 @@ def _v1_extranets_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets/{id}', + method='POST', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -65783,11 +65813,10 @@ def _v1_extranets_id_get_serialize( @validate_call - def v1_extranets_id_put( + def v1_extranets_resolve_policy_target_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65800,16 +65829,14 @@ def v1_extranets_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdPutResponse: - """v1_extranets_id_put + ) -> V1ExtranetsResolvePolicyTargetPostResponse: + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65832,10 +65859,9 @@ def v1_extranets_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65843,7 +65869,7 @@ def v1_extranets_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65857,11 +65883,10 @@ def v1_extranets_id_put( @validate_call - def v1_extranets_id_put_with_http_info( + def v1_extranets_resolve_policy_target_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65874,16 +65899,14 @@ def v1_extranets_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdPutResponse]: - """v1_extranets_id_put + ) -> ApiResponse[V1ExtranetsResolvePolicyTargetPostResponse]: + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65906,10 +65929,9 @@ def v1_extranets_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65917,7 +65939,7 @@ def v1_extranets_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -65931,11 +65953,10 @@ def v1_extranets_id_put_with_http_info( @validate_call - def v1_extranets_id_put_without_preload_content( + def v1_extranets_resolve_policy_target_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -65949,15 +65970,13 @@ def v1_extranets_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_put + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -65980,10 +65999,9 @@ def v1_extranets_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -65991,7 +66009,7 @@ def v1_extranets_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66000,11 +66018,10 @@ def v1_extranets_id_put_without_preload_content( return response_data.response - def _v1_extranets_id_put_serialize( + def _v1_extranets_resolve_policy_target_post_serialize( self, authorization, - id, - v1_extranets_id_put_request, + v1_extranets_resolve_policy_target_post_request, _request_auth, _content_type, _headers, @@ -66026,16 +66043,14 @@ def _v1_extranets_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_id_put_request is not None: - _body_params = v1_extranets_id_put_request + if v1_extranets_resolve_policy_target_post_request is not None: + _body_params = v1_extranets_resolve_policy_target_post_request # set the HTTP header `Accept` @@ -66066,8 +66081,8 @@ def _v1_extranets_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets/{id}', + method='POST', + resource_path='/v1/extranets/resolve-policy-target', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66084,10 +66099,10 @@ def _v1_extranets_id_put_serialize( @validate_call - def v1_extranets_id_status_get( + def v1_extranets_source_segments_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66100,14 +66115,14 @@ def v1_extranets_id_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdStatusGetResponse: - """v1_extranets_id_status_get + ) -> V1ExtranetsSourceSegmentsPostResponse: + """v1_extranets_source_segments_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66130,9 +66145,9 @@ def v1_extranets_id_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - id=id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66140,7 +66155,7 @@ def v1_extranets_id_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66154,10 +66169,10 @@ def v1_extranets_id_status_get( @validate_call - def v1_extranets_id_status_get_with_http_info( + def v1_extranets_source_segments_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66170,14 +66185,14 @@ def v1_extranets_id_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdStatusGetResponse]: - """v1_extranets_id_status_get + ) -> ApiResponse[V1ExtranetsSourceSegmentsPostResponse]: + """v1_extranets_source_segments_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66200,9 +66215,9 @@ def v1_extranets_id_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - id=id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66210,7 +66225,7 @@ def v1_extranets_id_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66224,10 +66239,10 @@ def v1_extranets_id_status_get_with_http_info( @validate_call - def v1_extranets_id_status_get_without_preload_content( + def v1_extranets_source_segments_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66241,13 +66256,13 @@ def v1_extranets_id_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_status_get + """v1_extranets_source_segments_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66270,9 +66285,9 @@ def v1_extranets_id_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - id=id, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66280,7 +66295,7 @@ def v1_extranets_id_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66289,10 +66304,10 @@ def v1_extranets_id_status_get_without_preload_content( return response_data.response - def _v1_extranets_id_status_get_serialize( + def _v1_extranets_source_segments_post_serialize( self, authorization, - id, + v1_extranets_source_segments_post_request, _request_auth, _content_type, _headers, @@ -66314,14 +66329,14 @@ def _v1_extranets_id_status_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_source_segments_post_request is not None: + _body_params = v1_extranets_source_segments_post_request # set the HTTP header `Accept` @@ -66332,6 +66347,19 @@ def _v1_extranets_id_status_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -66339,8 +66367,8 @@ def _v1_extranets_id_status_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets/{id}/status', + method='POST', + resource_path='/v1/extranets/source-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66357,11 +66385,10 @@ def _v1_extranets_id_status_get_serialize( @validate_call - def v1_extranets_monitoring_lan_segments_get( + def v1_flows_flow_table_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, - is_provider: Optional[StrictBool] = None, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66374,16 +66401,15 @@ def v1_extranets_monitoring_lan_segments_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringLanSegmentsGetResponse: - """v1_extranets_monitoring_lan_segments_get + ) -> V1FlowsFlowTablePostResponse: + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id - :type id: int - :param is_provider: - :type is_provider: bool + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66406,10 +66432,9 @@ def v1_extranets_monitoring_lan_segments_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66417,7 +66442,7 @@ def v1_extranets_monitoring_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -66431,11 +66456,10 @@ def v1_extranets_monitoring_lan_segments_get( @validate_call - def v1_extranets_monitoring_lan_segments_get_with_http_info( + def v1_flows_flow_table_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, - is_provider: Optional[StrictBool] = None, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66448,16 +66472,15 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringLanSegmentsGetResponse]: - """v1_extranets_monitoring_lan_segments_get + ) -> ApiResponse[V1FlowsFlowTablePostResponse]: + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id - :type id: int - :param is_provider: - :type is_provider: bool + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66480,10 +66503,9 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66491,7 +66513,7 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -66505,11 +66527,10 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( @validate_call - def v1_extranets_monitoring_lan_segments_get_without_preload_content( + def v1_flows_flow_table_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[Optional[StrictInt], Field(description="Extranet Service Id")] = None, - is_provider: Optional[StrictBool] = None, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66523,15 +66544,14 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_lan_segments_get + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id - :type id: int - :param is_provider: - :type is_provider: bool + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66554,10 +66574,9 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66565,7 +66584,7 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -66574,11 +66593,10 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( return response_data.response - def _v1_extranets_monitoring_lan_segments_get_serialize( + def _v1_flows_flow_table_post_serialize( self, authorization, - id, - is_provider, + v1_flows_flow_table_post_request, _request_auth, _content_type, _headers, @@ -66601,19 +66619,13 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - - if is_provider is not None: - - _query_params.append(('isProvider', is_provider)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_flows_flow_table_post_request is not None: + _body_params = v1_flows_flow_table_post_request # set the HTTP header `Accept` @@ -66624,6 +66636,19 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -66631,8 +66656,8 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-monitoring/lan-segments', + method='POST', + resource_path='/v1/flows/flow-table', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66649,10 +66674,10 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( @validate_call - def v1_extranets_monitoring_nat_usage_get( + def v1_flows_topology_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Extranet Service Id")], + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66665,14 +66690,15 @@ def v1_extranets_monitoring_nat_usage_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringNatUsageGetResponse: - """v1_extranets_monitoring_nat_usage_get + ) -> V1FlowsTopologyPostResponse: + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id (required) - :type id: int + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66695,9 +66721,9 @@ def v1_extranets_monitoring_nat_usage_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - id=id, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66705,7 +66731,7 @@ def v1_extranets_monitoring_nat_usage_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66719,10 +66745,10 @@ def v1_extranets_monitoring_nat_usage_get( @validate_call - def v1_extranets_monitoring_nat_usage_get_with_http_info( + def v1_flows_topology_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Extranet Service Id")], + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66735,14 +66761,15 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringNatUsageGetResponse]: - """v1_extranets_monitoring_nat_usage_get + ) -> ApiResponse[V1FlowsTopologyPostResponse]: + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id (required) - :type id: int + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66765,9 +66792,9 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - id=id, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66775,7 +66802,7 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66789,10 +66816,10 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( @validate_call - def v1_extranets_monitoring_nat_usage_get_without_preload_content( + def v1_flows_topology_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Extranet Service Id")], + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66806,13 +66833,14 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_nat_usage_get + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Extranet Service Id (required) - :type id: int + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66835,9 +66863,9 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - id=id, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66845,7 +66873,7 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -66854,10 +66882,10 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( return response_data.response - def _v1_extranets_monitoring_nat_usage_get_serialize( + def _v1_flows_topology_post_serialize( self, authorization, - id, + v1_flows_topology_post_request, _request_auth, _content_type, _headers, @@ -66880,15 +66908,13 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_flows_topology_post_request is not None: + _body_params = v1_flows_topology_post_request # set the HTTP header `Accept` @@ -66899,6 +66925,19 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -66906,8 +66945,8 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-monitoring/nat-usage', + method='POST', + resource_path='/v1/flows/topology', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -66924,10 +66963,10 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post( + def v1_gateways_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66940,15 +66979,14 @@ def v1_extranets_monitoring_traffic_security_policy_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse: - """v1_extranets_monitoring_traffic_security_policy_post + ) -> object: + """v1_gateways_delete - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -66971,9 +67009,9 @@ def v1_extranets_monitoring_traffic_security_policy_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -66981,7 +67019,7 @@ def v1_extranets_monitoring_traffic_security_policy_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -66995,10 +67033,10 @@ def v1_extranets_monitoring_traffic_security_policy_post( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( + def v1_gateways_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67011,15 +67049,14 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse]: - """v1_extranets_monitoring_traffic_security_policy_post + ) -> ApiResponse[object]: + """v1_gateways_delete - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67042,9 +67079,9 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67052,7 +67089,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -67066,10 +67103,10 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content( + def v1_gateways_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67083,14 +67120,13 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_traffic_security_policy_post + """v1_gateways_delete - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67113,9 +67149,9 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67123,7 +67159,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -67132,10 +67168,10 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content return response_data.response - def _v1_extranets_monitoring_traffic_security_policy_post_serialize( + def _v1_gateways_delete_serialize( self, authorization, - v1_extranets_monitoring_traffic_security_policy_post_request, + id, _request_auth, _content_type, _headers, @@ -67158,13 +67194,15 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_monitoring_traffic_security_policy_post_request is not None: - _body_params = v1_extranets_monitoring_traffic_security_policy_post_request # set the HTTP header `Accept` @@ -67175,19 +67213,6 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -67195,8 +67220,8 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-monitoring/traffic-security-policy', + method='DELETE', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67213,10 +67238,11 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( @validate_call - def v1_extranets_post( + def v1_gateways_guest_consumer_match_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67229,14 +67255,17 @@ def v1_extranets_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsPostResponse: - """v1_extranets_post + ) -> V1GatewaysGuestConsumerMatchIdGetResponse: + """v1_gateways_guest_consumer_match_id_get + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67259,9 +67288,10 @@ def v1_extranets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67269,7 +67299,7 @@ def v1_extranets_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67283,10 +67313,11 @@ def v1_extranets_post( @validate_call - def v1_extranets_post_with_http_info( + def v1_gateways_guest_consumer_match_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67299,14 +67330,17 @@ def v1_extranets_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsPostResponse]: - """v1_extranets_post + ) -> ApiResponse[V1GatewaysGuestConsumerMatchIdGetResponse]: + """v1_gateways_guest_consumer_match_id_get + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67329,9 +67363,10 @@ def v1_extranets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67339,7 +67374,7 @@ def v1_extranets_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67353,10 +67388,11 @@ def v1_extranets_post_with_http_info( @validate_call - def v1_extranets_post_without_preload_content( + def v1_gateways_guest_consumer_match_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67370,13 +67406,16 @@ def v1_extranets_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_post + """v1_gateways_guest_consumer_match_id_get + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67399,9 +67438,10 @@ def v1_extranets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67409,7 +67449,7 @@ def v1_extranets_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67418,10 +67458,11 @@ def v1_extranets_post_without_preload_content( return response_data.response - def _v1_extranets_post_serialize( + def _v1_gateways_guest_consumer_match_id_get_serialize( self, authorization, - v1_extranets_post_request, + match_id, + email, _request_auth, _content_type, _headers, @@ -67443,14 +67484,18 @@ def _v1_extranets_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if match_id is not None: + _path_params['matchId'] = match_id # process the query parameters + if email is not None: + + _query_params.append(('email', email)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_post_request is not None: - _body_params = v1_extranets_post_request # set the HTTP header `Accept` @@ -67461,19 +67506,6 @@ def _v1_extranets_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -67481,8 +67513,8 @@ def _v1_extranets_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets', + method='GET', + resource_path='/v1/gateways/guest-consumer/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67499,10 +67531,10 @@ def _v1_extranets_post_serialize( @validate_call - def v1_extranets_resolve_policy_target_post( + def v1_gateways_id_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67515,14 +67547,14 @@ def v1_extranets_resolve_policy_target_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsResolvePolicyTargetPostResponse: - """v1_extranets_resolve_policy_target_post + ) -> V1GatewaysIdDetailsGetResponse: + """v1_gateways_id_details_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67545,9 +67577,9 @@ def v1_extranets_resolve_policy_target_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67555,7 +67587,7 @@ def v1_extranets_resolve_policy_target_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67569,10 +67601,10 @@ def v1_extranets_resolve_policy_target_post( @validate_call - def v1_extranets_resolve_policy_target_post_with_http_info( + def v1_gateways_id_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67585,14 +67617,14 @@ def v1_extranets_resolve_policy_target_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsResolvePolicyTargetPostResponse]: - """v1_extranets_resolve_policy_target_post + ) -> ApiResponse[V1GatewaysIdDetailsGetResponse]: + """v1_gateways_id_details_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67615,9 +67647,9 @@ def v1_extranets_resolve_policy_target_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67625,7 +67657,7 @@ def v1_extranets_resolve_policy_target_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67639,10 +67671,10 @@ def v1_extranets_resolve_policy_target_post_with_http_info( @validate_call - def v1_extranets_resolve_policy_target_post_without_preload_content( + def v1_gateways_id_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67656,13 +67688,13 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_resolve_policy_target_post + """v1_gateways_id_details_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67685,9 +67717,9 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67695,7 +67727,7 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67704,10 +67736,10 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( return response_data.response - def _v1_extranets_resolve_policy_target_post_serialize( + def _v1_gateways_id_details_get_serialize( self, authorization, - v1_extranets_resolve_policy_target_post_request, + id, _request_auth, _content_type, _headers, @@ -67729,14 +67761,14 @@ def _v1_extranets_resolve_policy_target_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_resolve_policy_target_post_request is not None: - _body_params = v1_extranets_resolve_policy_target_post_request # set the HTTP header `Accept` @@ -67747,19 +67779,6 @@ def _v1_extranets_resolve_policy_target_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -67767,8 +67786,8 @@ def _v1_extranets_resolve_policy_target_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/resolve-policy-target', + method='GET', + resource_path='/v1/gateways/{id}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -67785,10 +67804,12 @@ def _v1_extranets_resolve_policy_target_post_serialize( @validate_call - def v1_extranets_source_segments_post( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67801,14 +67822,19 @@ def v1_extranets_source_segments_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsSourceSegmentsPostResponse: - """v1_extranets_source_segments_post + ) -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67831,9 +67857,11 @@ def v1_extranets_source_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67841,7 +67869,7 @@ def v1_extranets_source_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67855,10 +67883,12 @@ def v1_extranets_source_segments_post( @validate_call - def v1_extranets_source_segments_post_with_http_info( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67871,14 +67901,19 @@ def v1_extranets_source_segments_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsSourceSegmentsPostResponse]: - """v1_extranets_source_segments_post + ) -> ApiResponse[V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse]: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67901,9 +67936,11 @@ def v1_extranets_source_segments_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67911,7 +67948,7 @@ def v1_extranets_source_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67925,10 +67962,12 @@ def v1_extranets_source_segments_post_with_http_info( @validate_call - def v1_extranets_source_segments_post_without_preload_content( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67942,13 +67981,18 @@ def v1_extranets_source_segments_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_source_segments_post + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -67971,9 +68015,11 @@ def v1_extranets_source_segments_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -67981,7 +68027,7 @@ def v1_extranets_source_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -67990,10 +68036,12 @@ def v1_extranets_source_segments_post_without_preload_content( return response_data.response - def _v1_extranets_source_segments_post_serialize( + def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( self, authorization, - v1_extranets_source_segments_post_request, + region_id, + vrf_id, + address_family, _request_auth, _content_type, _headers, @@ -68015,14 +68063,20 @@ def _v1_extranets_source_segments_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if region_id is not None: + _path_params['regionId'] = region_id + if vrf_id is not None: + _path_params['vrfId'] = vrf_id # process the query parameters + if address_family is not None: + + _query_params.append(('addressFamily', address_family)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_source_segments_post_request is not None: - _body_params = v1_extranets_source_segments_post_request # set the HTTP header `Accept` @@ -68033,19 +68087,6 @@ def _v1_extranets_source_segments_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -68053,8 +68094,8 @@ def _v1_extranets_source_segments_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/source-segments', + method='GET', + resource_path='/v1/gateways/ipsec/regions/{regionId}/vrfs/{vrfId}/inside-subnet', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68071,10 +68112,10 @@ def _v1_extranets_source_segments_post_serialize( @validate_call - def v1_flows_flow_table_post( + def v1_gateways_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68087,15 +68128,14 @@ def v1_flows_flow_table_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1FlowsFlowTablePostResponse: - """v1_flows_flow_table_post + ) -> V1GatewaysPostResponse: + """v1_gateways_post - Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68118,9 +68158,9 @@ def v1_flows_flow_table_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68128,7 +68168,7 @@ def v1_flows_flow_table_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68142,10 +68182,10 @@ def v1_flows_flow_table_post( @validate_call - def v1_flows_flow_table_post_with_http_info( + def v1_gateways_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68158,15 +68198,14 @@ def v1_flows_flow_table_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1FlowsFlowTablePostResponse]: - """v1_flows_flow_table_post + ) -> ApiResponse[V1GatewaysPostResponse]: + """v1_gateways_post - Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68189,9 +68228,9 @@ def v1_flows_flow_table_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68199,7 +68238,7 @@ def v1_flows_flow_table_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68213,10 +68252,10 @@ def v1_flows_flow_table_post_with_http_info( @validate_call - def v1_flows_flow_table_post_without_preload_content( + def v1_gateways_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68230,14 +68269,13 @@ def v1_flows_flow_table_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_flows_flow_table_post + """v1_gateways_post - Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68260,9 +68298,9 @@ def v1_flows_flow_table_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68270,7 +68308,7 @@ def v1_flows_flow_table_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -68279,10 +68317,10 @@ def v1_flows_flow_table_post_without_preload_content( return response_data.response - def _v1_flows_flow_table_post_serialize( + def _v1_gateways_post_serialize( self, authorization, - v1_flows_flow_table_post_request, + v1_gateways_post_request, _request_auth, _content_type, _headers, @@ -68310,8 +68348,8 @@ def _v1_flows_flow_table_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_flows_flow_table_post_request is not None: - _body_params = v1_flows_flow_table_post_request + if v1_gateways_post_request is not None: + _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -68343,7 +68381,7 @@ def _v1_flows_flow_table_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/flows/flow-table', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68360,10 +68398,10 @@ def _v1_flows_flow_table_post_serialize( @validate_call - def v1_flows_topology_post( + def v1_gateways_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68376,15 +68414,14 @@ def v1_flows_topology_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1FlowsTopologyPostResponse: - """v1_flows_topology_post + ) -> object: + """v1_gateways_put - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68407,9 +68444,9 @@ def v1_flows_topology_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68417,7 +68454,7 @@ def v1_flows_topology_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -68431,10 +68468,10 @@ def v1_flows_topology_post( @validate_call - def v1_flows_topology_post_with_http_info( + def v1_gateways_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68447,15 +68484,14 @@ def v1_flows_topology_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1FlowsTopologyPostResponse]: - """v1_flows_topology_post + ) -> ApiResponse[object]: + """v1_gateways_put - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68478,9 +68514,9 @@ def v1_flows_topology_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68488,7 +68524,7 @@ def v1_flows_topology_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -68502,10 +68538,10 @@ def v1_flows_topology_post_with_http_info( @validate_call - def v1_flows_topology_post_without_preload_content( + def v1_gateways_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68519,14 +68555,13 @@ def v1_flows_topology_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_flows_topology_post + """v1_gateways_put - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68549,9 +68584,9 @@ def v1_flows_topology_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68559,7 +68594,7 @@ def v1_flows_topology_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -68568,10 +68603,10 @@ def v1_flows_topology_post_without_preload_content( return response_data.response - def _v1_flows_topology_post_serialize( + def _v1_gateways_put_serialize( self, authorization, - v1_flows_topology_post_request, + v1_gateways_put_request, _request_auth, _content_type, _headers, @@ -68599,8 +68634,8 @@ def _v1_flows_topology_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_flows_topology_post_request is not None: - _body_params = v1_flows_topology_post_request + if v1_gateways_put_request is not None: + _body_params = v1_gateways_put_request # set the HTTP header `Accept` @@ -68631,8 +68666,8 @@ def _v1_flows_topology_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/flows/topology', + method='PUT', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68649,10 +68684,9 @@ def _v1_flows_topology_post_serialize( @validate_call - def v1_gateways_delete( + def v1_gateways_reference_consumer_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68665,14 +68699,13 @@ def v1_gateways_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_gateways_delete + ) -> V1GatewaysReferenceConsumerGetResponse: + """v1_gateways_reference_consumer_get + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68695,9 +68728,8 @@ def v1_gateways_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68705,7 +68737,7 @@ def v1_gateways_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68719,10 +68751,9 @@ def v1_gateways_delete( @validate_call - def v1_gateways_delete_with_http_info( + def v1_gateways_reference_consumer_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68735,14 +68766,13 @@ def v1_gateways_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_gateways_delete + ) -> ApiResponse[V1GatewaysReferenceConsumerGetResponse]: + """v1_gateways_reference_consumer_get + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68765,9 +68795,8 @@ def v1_gateways_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68775,7 +68804,7 @@ def v1_gateways_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68789,10 +68818,9 @@ def v1_gateways_delete_with_http_info( @validate_call - def v1_gateways_delete_without_preload_content( + def v1_gateways_reference_consumer_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68806,13 +68834,12 @@ def v1_gateways_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_delete + """v1_gateways_reference_consumer_get + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68835,9 +68862,8 @@ def v1_gateways_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68845,7 +68871,7 @@ def v1_gateways_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68854,10 +68880,9 @@ def v1_gateways_delete_without_preload_content( return response_data.response - def _v1_gateways_delete_serialize( + def _v1_gateways_reference_consumer_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -68880,10 +68905,6 @@ def _v1_gateways_delete_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -68906,8 +68927,8 @@ def _v1_gateways_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/gateways/reference-consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68924,11 +68945,9 @@ def _v1_gateways_delete_serialize( @validate_call - def v1_gateways_guest_consumer_match_id_get( + def v1_gateways_regions_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68941,17 +68960,12 @@ def v1_gateways_guest_consumer_match_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysGuestConsumerMatchIdGetResponse: - """v1_gateways_guest_consumer_match_id_get + ) -> V1GatewaysRegionsGetResponse: + """v1_gateways_regions_get - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68974,10 +68988,8 @@ def v1_gateways_guest_consumer_match_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - match_id=match_id, - email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68985,7 +68997,7 @@ def v1_gateways_guest_consumer_match_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68999,11 +69011,9 @@ def v1_gateways_guest_consumer_match_id_get( @validate_call - def v1_gateways_guest_consumer_match_id_get_with_http_info( + def v1_gateways_regions_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69016,17 +69026,12 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysGuestConsumerMatchIdGetResponse]: - """v1_gateways_guest_consumer_match_id_get + ) -> ApiResponse[V1GatewaysRegionsGetResponse]: + """v1_gateways_regions_get - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69049,10 +69054,8 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - match_id=match_id, - email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69060,7 +69063,7 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69074,11 +69077,9 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( @validate_call - def v1_gateways_guest_consumer_match_id_get_without_preload_content( + def v1_gateways_regions_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69092,16 +69093,11 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_guest_consumer_match_id_get + """v1_gateways_regions_get - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69124,10 +69120,8 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - match_id=match_id, - email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69135,7 +69129,7 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69144,11 +69138,9 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( return response_data.response - def _v1_gateways_guest_consumer_match_id_get_serialize( + def _v1_gateways_regions_get_serialize( self, authorization, - match_id, - email, _request_auth, _content_type, _headers, @@ -69170,13 +69162,7 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if match_id is not None: - _path_params['matchId'] = match_id # process the query parameters - if email is not None: - - _query_params.append(('email', email)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -69200,7 +69186,7 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/guest-consumer/{matchId}', + resource_path='/v1/gateways/regions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69217,10 +69203,10 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( @validate_call - def v1_gateways_id_details_get( + def v1_gateways_status_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69233,14 +69219,14 @@ def v1_gateways_id_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysIdDetailsGetResponse: - """v1_gateways_id_details_get + ) -> object: + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69263,9 +69249,9 @@ def v1_gateways_id_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - id=id, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69273,7 +69259,7 @@ def v1_gateways_id_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -69287,10 +69273,10 @@ def v1_gateways_id_details_get( @validate_call - def v1_gateways_id_details_get_with_http_info( + def v1_gateways_status_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69303,14 +69289,14 @@ def v1_gateways_id_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysIdDetailsGetResponse]: - """v1_gateways_id_details_get + ) -> ApiResponse[object]: + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69333,9 +69319,9 @@ def v1_gateways_id_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - id=id, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69343,7 +69329,7 @@ def v1_gateways_id_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -69357,10 +69343,10 @@ def v1_gateways_id_details_get_with_http_info( @validate_call - def v1_gateways_id_details_get_without_preload_content( + def v1_gateways_status_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69374,13 +69360,13 @@ def v1_gateways_id_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_id_details_get + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69403,9 +69389,9 @@ def v1_gateways_id_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - id=id, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69413,7 +69399,7 @@ def v1_gateways_id_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -69422,10 +69408,10 @@ def v1_gateways_id_details_get_without_preload_content( return response_data.response - def _v1_gateways_id_details_get_serialize( + def _v1_gateways_status_post_serialize( self, authorization, - id, + v1_gateways_status_post_request, _request_auth, _content_type, _headers, @@ -69447,14 +69433,14 @@ def _v1_gateways_id_details_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_gateways_status_post_request is not None: + _body_params = v1_gateways_status_post_request # set the HTTP header `Accept` @@ -69465,6 +69451,19 @@ def _v1_gateways_id_details_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -69472,8 +69471,8 @@ def _v1_gateways_id_details_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/{id}/details', + method='POST', + resource_path='/v1/gateways/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69490,12 +69489,9 @@ def _v1_gateways_id_details_get_serialize( @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( + def v1_gateways_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69508,19 +69504,12 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + ) -> V1GatewaysSummaryGetResponse: + """v1_gateways_summary_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69543,11 +69532,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69555,7 +69541,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69569,12 +69555,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_info( + def v1_gateways_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69587,19 +69570,12 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse]: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + ) -> ApiResponse[V1GatewaysSummaryGetResponse]: + """v1_gateways_summary_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69622,11 +69598,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69634,7 +69607,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69648,12 +69621,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_preload_content( + def v1_gateways_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69667,18 +69637,11 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + """v1_gateways_summary_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69701,11 +69664,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69713,7 +69673,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69722,12 +69682,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr return response_data.response - def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + def _v1_gateways_summary_get_serialize( self, authorization, - region_id, - vrf_id, - address_family, _request_auth, _content_type, _headers, @@ -69749,15 +69706,7 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize _body_params: Optional[bytes] = None # process the path parameters - if region_id is not None: - _path_params['regionId'] = region_id - if vrf_id is not None: - _path_params['vrfId'] = vrf_id # process the query parameters - if address_family is not None: - - _query_params.append(('addressFamily', address_family)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -69781,7 +69730,7 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/ipsec/regions/{regionId}/vrfs/{vrfId}/inside-subnet', + resource_path='/v1/gateways/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69798,10 +69747,9 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize @validate_call - def v1_gateways_post( + def v1_global_apps_app_list_options_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69814,14 +69762,13 @@ def v1_gateways_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysPostResponse: - """v1_gateways_post + ) -> V1GlobalAppsAppListOptionsGetResponse: + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69844,9 +69791,8 @@ def v1_gateways_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69854,7 +69800,7 @@ def v1_gateways_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69868,10 +69814,9 @@ def v1_gateways_post( @validate_call - def v1_gateways_post_with_http_info( + def v1_global_apps_app_list_options_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69884,14 +69829,13 @@ def v1_gateways_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysPostResponse]: - """v1_gateways_post + ) -> ApiResponse[V1GlobalAppsAppListOptionsGetResponse]: + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69914,9 +69858,8 @@ def v1_gateways_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69924,7 +69867,7 @@ def v1_gateways_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69938,10 +69881,9 @@ def v1_gateways_post_with_http_info( @validate_call - def v1_gateways_post_without_preload_content( + def v1_global_apps_app_list_options_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69955,13 +69897,12 @@ def v1_gateways_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_post + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69984,9 +69925,8 @@ def v1_gateways_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69994,7 +69934,7 @@ def v1_gateways_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70003,10 +69943,9 @@ def v1_gateways_post_without_preload_content( return response_data.response - def _v1_gateways_post_serialize( + def _v1_global_apps_app_list_options_get_serialize( self, authorization, - v1_gateways_post_request, _request_auth, _content_type, _headers, @@ -70034,8 +69973,6 @@ def _v1_gateways_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_post_request is not None: - _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -70046,19 +69983,6 @@ def _v1_gateways_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -70066,8 +69990,8 @@ def _v1_gateways_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/global/apps/app-list-options', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70084,10 +70008,10 @@ def _v1_gateways_post_serialize( @validate_call - def v1_gateways_put( + def v1_global_apps_app_lists_app_list_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70101,13 +70025,14 @@ def v1_gateways_put( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_gateways_put + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70130,9 +70055,9 @@ def v1_gateways_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70154,10 +70079,10 @@ def v1_gateways_put( @validate_call - def v1_gateways_put_with_http_info( + def v1_global_apps_app_lists_app_list_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70171,13 +70096,14 @@ def v1_gateways_put_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_gateways_put + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70200,9 +70126,9 @@ def v1_gateways_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70224,10 +70150,10 @@ def v1_gateways_put_with_http_info( @validate_call - def v1_gateways_put_without_preload_content( + def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70241,13 +70167,14 @@ def v1_gateways_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_put + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70270,9 +70197,9 @@ def v1_gateways_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70289,10 +70216,10 @@ def v1_gateways_put_without_preload_content( return response_data.response - def _v1_gateways_put_serialize( + def _v1_global_apps_app_lists_app_list_id_delete_serialize( self, authorization, - v1_gateways_put_request, + app_list_id, _request_auth, _content_type, _headers, @@ -70314,14 +70241,14 @@ def _v1_gateways_put_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_put_request is not None: - _body_params = v1_gateways_put_request # set the HTTP header `Accept` @@ -70332,19 +70259,6 @@ def _v1_gateways_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -70352,8 +70266,8 @@ def _v1_gateways_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/gateways', + method='DELETE', + resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70370,9 +70284,10 @@ def _v1_gateways_put_serialize( @validate_call - def v1_gateways_reference_consumer_get( + def v1_global_apps_app_lists_app_list_id_details_apps_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70385,13 +70300,15 @@ def v1_gateways_reference_consumer_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysReferenceConsumerGetResponse: - """v1_gateways_reference_consumer_get + ) -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse: + """v1_global_apps_app_lists_app_list_id_details_apps_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70414,8 +70331,9 @@ def v1_gateways_reference_consumer_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70423,7 +70341,7 @@ def v1_gateways_reference_consumer_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70437,9 +70355,10 @@ def v1_gateways_reference_consumer_get( @validate_call - def v1_gateways_reference_consumer_get_with_http_info( + def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70452,13 +70371,15 @@ def v1_gateways_reference_consumer_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysReferenceConsumerGetResponse]: - """v1_gateways_reference_consumer_get + ) -> ApiResponse[V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse]: + """v1_global_apps_app_lists_app_list_id_details_apps_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70481,8 +70402,9 @@ def v1_gateways_reference_consumer_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70490,7 +70412,7 @@ def v1_gateways_reference_consumer_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70504,9 +70426,10 @@ def v1_gateways_reference_consumer_get_with_http_info( @validate_call - def v1_gateways_reference_consumer_get_without_preload_content( + def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70520,12 +70443,14 @@ def v1_gateways_reference_consumer_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_reference_consumer_get + """v1_global_apps_app_lists_app_list_id_details_apps_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70548,8 +70473,9 @@ def v1_gateways_reference_consumer_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70557,7 +70483,7 @@ def v1_gateways_reference_consumer_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70566,9 +70492,10 @@ def v1_gateways_reference_consumer_get_without_preload_content( return response_data.response - def _v1_gateways_reference_consumer_get_serialize( + def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( self, authorization, + app_list_id, _request_auth, _content_type, _headers, @@ -70590,6 +70517,8 @@ def _v1_gateways_reference_consumer_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -70614,7 +70543,7 @@ def _v1_gateways_reference_consumer_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/reference-consumer', + resource_path='/v1/global/apps/app-lists/{appListId}/details/apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70631,9 +70560,10 @@ def _v1_gateways_reference_consumer_get_serialize( @validate_call - def v1_gateways_regions_get( + def v1_global_apps_app_lists_app_list_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70646,12 +70576,15 @@ def v1_gateways_regions_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysRegionsGetResponse: - """v1_gateways_regions_get + ) -> V1GlobalAppsAppListsAppListIdGetResponse: + """v1_global_apps_app_lists_app_list_id_get + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70674,8 +70607,9 @@ def v1_gateways_regions_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70683,7 +70617,7 @@ def v1_gateways_regions_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70697,9 +70631,10 @@ def v1_gateways_regions_get( @validate_call - def v1_gateways_regions_get_with_http_info( + def v1_global_apps_app_lists_app_list_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70712,12 +70647,15 @@ def v1_gateways_regions_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysRegionsGetResponse]: - """v1_gateways_regions_get + ) -> ApiResponse[V1GlobalAppsAppListsAppListIdGetResponse]: + """v1_global_apps_app_lists_app_list_id_get + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70740,8 +70678,9 @@ def v1_gateways_regions_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70749,7 +70688,7 @@ def v1_gateways_regions_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70763,9 +70702,10 @@ def v1_gateways_regions_get_with_http_info( @validate_call - def v1_gateways_regions_get_without_preload_content( + def v1_global_apps_app_lists_app_list_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70779,11 +70719,14 @@ def v1_gateways_regions_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_regions_get + """v1_global_apps_app_lists_app_list_id_get + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70806,8 +70749,9 @@ def v1_gateways_regions_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70815,7 +70759,7 @@ def v1_gateways_regions_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70824,9 +70768,10 @@ def v1_gateways_regions_get_without_preload_content( return response_data.response - def _v1_gateways_regions_get_serialize( + def _v1_global_apps_app_lists_app_list_id_get_serialize( self, authorization, + app_list_id, _request_auth, _content_type, _headers, @@ -70848,6 +70793,8 @@ def _v1_gateways_regions_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -70872,7 +70819,7 @@ def _v1_gateways_regions_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/regions', + resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70889,10 +70836,11 @@ def _v1_gateways_regions_get_serialize( @validate_call - def v1_gateways_status_post( + def v1_global_apps_app_lists_app_list_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70906,13 +70854,16 @@ def v1_gateways_status_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_put + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70935,9 +70886,10 @@ def v1_gateways_status_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70959,10 +70911,11 @@ def v1_gateways_status_post( @validate_call - def v1_gateways_status_post_with_http_info( + def v1_global_apps_app_lists_app_list_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70976,13 +70929,16 @@ def v1_gateways_status_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_put + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71005,9 +70961,10 @@ def v1_gateways_status_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71029,10 +70986,11 @@ def v1_gateways_status_post_with_http_info( @validate_call - def v1_gateways_status_post_without_preload_content( + def v1_global_apps_app_lists_app_list_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71046,13 +71004,16 @@ def v1_gateways_status_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_put + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71075,9 +71036,10 @@ def v1_gateways_status_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71094,10 +71056,11 @@ def v1_gateways_status_post_without_preload_content( return response_data.response - def _v1_gateways_status_post_serialize( + def _v1_global_apps_app_lists_app_list_id_put_serialize( self, authorization, - v1_gateways_status_post_request, + app_list_id, + v1_global_apps_app_lists_app_list_id_put_request, _request_auth, _content_type, _headers, @@ -71119,14 +71082,16 @@ def _v1_gateways_status_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_status_post_request is not None: - _body_params = v1_gateways_status_post_request + if v1_global_apps_app_lists_app_list_id_put_request is not None: + _body_params = v1_global_apps_app_lists_app_list_id_put_request # set the HTTP header `Accept` @@ -71157,8 +71122,8 @@ def _v1_gateways_status_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways/status', + method='PUT', + resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71175,7 +71140,7 @@ def _v1_gateways_status_post_serialize( @validate_call - def v1_gateways_summary_get( + def v1_global_apps_app_lists_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -71190,9 +71155,10 @@ def v1_gateways_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysSummaryGetResponse: - """v1_gateways_summary_get + ) -> V1GlobalAppsAppListsGetResponse: + """v1_global_apps_app_lists_get + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -71218,7 +71184,7 @@ def v1_gateways_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -71227,7 +71193,7 @@ def v1_gateways_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71241,7 +71207,7 @@ def v1_gateways_summary_get( @validate_call - def v1_gateways_summary_get_with_http_info( + def v1_global_apps_app_lists_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -71256,9 +71222,10 @@ def v1_gateways_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysSummaryGetResponse]: - """v1_gateways_summary_get + ) -> ApiResponse[V1GlobalAppsAppListsGetResponse]: + """v1_global_apps_app_lists_get + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -71284,7 +71251,7 @@ def v1_gateways_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -71293,7 +71260,7 @@ def v1_gateways_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71307,7 +71274,7 @@ def v1_gateways_summary_get_with_http_info( @validate_call - def v1_gateways_summary_get_without_preload_content( + def v1_global_apps_app_lists_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -71323,8 +71290,9 @@ def v1_gateways_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_summary_get + """v1_global_apps_app_lists_get + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -71350,7 +71318,7 @@ def v1_gateways_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -71359,7 +71327,7 @@ def v1_gateways_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71368,7 +71336,7 @@ def v1_gateways_summary_get_without_preload_content( return response_data.response - def _v1_gateways_summary_get_serialize( + def _v1_global_apps_app_lists_get_serialize( self, authorization, _request_auth, @@ -71416,7 +71384,7 @@ def _v1_gateways_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/summary', + resource_path='/v1/global/apps/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71433,9 +71401,10 @@ def _v1_gateways_summary_get_serialize( @validate_call - def v1_global_apps_app_list_options_get( + def v1_global_apps_app_lists_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71448,13 +71417,15 @@ def v1_global_apps_app_list_options_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListOptionsGetResponse: - """v1_global_apps_app_list_options_get + ) -> V1GlobalAppsAppListsPostResponse: + """v1_global_apps_app_lists_post - Gets all apps and categories assignable to an app list for the the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71477,8 +71448,9 @@ def v1_global_apps_app_list_options_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71486,7 +71458,7 @@ def v1_global_apps_app_list_options_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71500,9 +71472,10 @@ def v1_global_apps_app_list_options_get( @validate_call - def v1_global_apps_app_list_options_get_with_http_info( + def v1_global_apps_app_lists_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71515,13 +71488,15 @@ def v1_global_apps_app_list_options_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListOptionsGetResponse]: - """v1_global_apps_app_list_options_get + ) -> ApiResponse[V1GlobalAppsAppListsPostResponse]: + """v1_global_apps_app_lists_post - Gets all apps and categories assignable to an app list for the the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71544,8 +71519,9 @@ def v1_global_apps_app_list_options_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71553,7 +71529,7 @@ def v1_global_apps_app_list_options_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71567,9 +71543,10 @@ def v1_global_apps_app_list_options_get_with_http_info( @validate_call - def v1_global_apps_app_list_options_get_without_preload_content( + def v1_global_apps_app_lists_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71583,12 +71560,14 @@ def v1_global_apps_app_list_options_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_list_options_get + """v1_global_apps_app_lists_post - Gets all apps and categories assignable to an app list for the the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71611,8 +71590,9 @@ def v1_global_apps_app_list_options_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71620,7 +71600,7 @@ def v1_global_apps_app_list_options_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71629,9 +71609,10 @@ def v1_global_apps_app_list_options_get_without_preload_content( return response_data.response - def _v1_global_apps_app_list_options_get_serialize( + def _v1_global_apps_app_lists_post_serialize( self, authorization, + v1_global_apps_app_lists_post_request, _request_auth, _content_type, _headers, @@ -71659,6 +71640,8 @@ def _v1_global_apps_app_list_options_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_app_lists_post_request is not None: + _body_params = v1_global_apps_app_lists_post_request # set the HTTP header `Accept` @@ -71669,6 +71652,19 @@ def _v1_global_apps_app_list_options_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -71676,8 +71672,8 @@ def _v1_global_apps_app_list_options_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/app-list-options', + method='POST', + resource_path='/v1/global/apps/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71694,10 +71690,10 @@ def _v1_global_apps_app_list_options_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_delete( + def v1_global_apps_categories_category_id_apps_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71710,15 +71706,15 @@ def v1_global_apps_app_lists_app_list_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_app_lists_app_list_id_delete + ) -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse: + """v1_global_apps_categories_category_id_apps_get - Delete an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71741,9 +71737,9 @@ def v1_global_apps_app_lists_app_list_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71751,7 +71747,7 @@ def v1_global_apps_app_lists_app_list_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71765,10 +71761,10 @@ def v1_global_apps_app_lists_app_list_id_delete( @validate_call - def v1_global_apps_app_lists_app_list_id_delete_with_http_info( + def v1_global_apps_categories_category_id_apps_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71781,15 +71777,15 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_app_lists_app_list_id_delete + ) -> ApiResponse[V1GlobalAppsCategoriesCategoryIdAppsGetResponse]: + """v1_global_apps_categories_category_id_apps_get - Delete an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71812,9 +71808,9 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71822,7 +71818,7 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71836,10 +71832,10 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( + def v1_global_apps_categories_category_id_apps_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71853,14 +71849,14 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_delete + """v1_global_apps_categories_category_id_apps_get - Delete an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71883,9 +71879,9 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71893,7 +71889,7 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -71902,10 +71898,10 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_delete_serialize( + def _v1_global_apps_categories_category_id_apps_get_serialize( self, authorization, - app_list_id, + category_id, _request_auth, _content_type, _headers, @@ -71927,8 +71923,8 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id + if category_id is not None: + _path_params['categoryId'] = category_id # process the query parameters # process the header parameters if authorization is not None: @@ -71952,8 +71948,8 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/apps/app-lists/{appListId}', + method='GET', + resource_path='/v1/global/apps/categories/{categoryId}/apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71970,10 +71966,9 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get( + def v1_global_apps_categories_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71986,15 +71981,13 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse: - """v1_global_apps_app_lists_app_list_id_details_apps_get + ) -> V1GlobalAppsCategoriesGetResponse: + """v1_global_apps_categories_get - Get all apps that are members of the provided app list + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72017,9 +72010,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72027,7 +72019,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72041,10 +72033,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( + def v1_global_apps_categories_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72057,15 +72048,13 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse]: - """v1_global_apps_app_lists_app_list_id_details_apps_get + ) -> ApiResponse[V1GlobalAppsCategoriesGetResponse]: + """v1_global_apps_categories_get - Get all apps that are members of the provided app list + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72088,9 +72077,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72098,7 +72086,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72112,10 +72100,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_content( + def v1_global_apps_categories_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72129,14 +72116,12 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_details_apps_get + """v1_global_apps_categories_get - Get all apps that are members of the provided app list + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72159,9 +72144,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72169,7 +72153,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72178,10 +72162,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten return response_data.response - def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + def _v1_global_apps_categories_get_serialize( self, authorization, - app_list_id, _request_auth, _content_type, _headers, @@ -72203,8 +72186,6 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -72229,7 +72210,7 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/app-lists/{appListId}/details/apps', + resource_path='/v1/global/apps/categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72246,10 +72227,10 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_get( + def v1_global_apps_custom_app_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72262,15 +72243,15 @@ def v1_global_apps_app_lists_app_list_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsAppListIdGetResponse: - """v1_global_apps_app_lists_app_list_id_get + ) -> object: + """v1_global_apps_custom_app_id_delete - Get the configuration for an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72293,9 +72274,9 @@ def v1_global_apps_app_lists_app_list_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - app_list_id=app_list_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72303,7 +72284,7 @@ def v1_global_apps_app_lists_app_list_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72317,10 +72298,10 @@ def v1_global_apps_app_lists_app_list_id_get( @validate_call - def v1_global_apps_app_lists_app_list_id_get_with_http_info( + def v1_global_apps_custom_app_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72333,15 +72314,15 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsAppListIdGetResponse]: - """v1_global_apps_app_lists_app_list_id_get + ) -> ApiResponse[object]: + """v1_global_apps_custom_app_id_delete - Get the configuration for an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72364,9 +72345,9 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - app_list_id=app_list_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72374,7 +72355,7 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72388,10 +72369,10 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_get_without_preload_content( + def v1_global_apps_custom_app_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72405,14 +72386,14 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_get + """v1_global_apps_custom_app_id_delete - Get the configuration for an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72435,9 +72416,9 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - app_list_id=app_list_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72445,7 +72426,7 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72454,10 +72435,10 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_get_serialize( + def _v1_global_apps_custom_app_id_delete_serialize( self, authorization, - app_list_id, + app_id, _request_auth, _content_type, _headers, @@ -72479,8 +72460,8 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -72504,8 +72485,8 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/app-lists/{appListId}', + method='DELETE', + resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72522,11 +72503,10 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_put( + def v1_global_apps_custom_app_id_details_app_lists_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72539,17 +72519,15 @@ def v1_global_apps_app_lists_app_list_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_app_lists_app_list_id_put + ) -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse: + """v1_global_apps_custom_app_id_details_app_lists_get - Overwrite the configuration for an app list under the current enterprise + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72572,10 +72550,9 @@ def v1_global_apps_app_lists_app_list_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72583,7 +72560,7 @@ def v1_global_apps_app_lists_app_list_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72597,11 +72574,10 @@ def v1_global_apps_app_lists_app_list_id_put( @validate_call - def v1_global_apps_app_lists_app_list_id_put_with_http_info( + def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72614,17 +72590,15 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_app_lists_app_list_id_put + ) -> ApiResponse[V1GlobalAppsCustomAppIdDetailsAppListsGetResponse]: + """v1_global_apps_custom_app_id_details_app_lists_get - Overwrite the configuration for an app list under the current enterprise + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72647,10 +72621,9 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72658,7 +72631,7 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72672,11 +72645,10 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_put_without_preload_content( + def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72690,16 +72662,14 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_put + """v1_global_apps_custom_app_id_details_app_lists_get - Overwrite the configuration for an app list under the current enterprise + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72722,10 +72692,9 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72733,7 +72702,7 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72742,11 +72711,10 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_put_serialize( + def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( self, authorization, - app_list_id, - v1_global_apps_app_lists_app_list_id_put_request, + app_id, _request_auth, _content_type, _headers, @@ -72768,16 +72736,14 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_app_lists_app_list_id_put_request is not None: - _body_params = v1_global_apps_app_lists_app_list_id_put_request # set the HTTP header `Accept` @@ -72788,19 +72754,6 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -72808,8 +72761,8 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/apps/app-lists/{appListId}', + method='GET', + resource_path='/v1/global/apps/custom/{appId}/details/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72826,9 +72779,10 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( @validate_call - def v1_global_apps_app_lists_get( + def v1_global_apps_custom_app_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72841,13 +72795,15 @@ def v1_global_apps_app_lists_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsGetResponse: - """v1_global_apps_app_lists_get + ) -> V1GlobalAppsCustomAppIdGetResponse: + """v1_global_apps_custom_app_id_get - Get all app lists for the current enterprise + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72870,8 +72826,9 @@ def v1_global_apps_app_lists_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72879,7 +72836,7 @@ def v1_global_apps_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72893,9 +72850,10 @@ def v1_global_apps_app_lists_get( @validate_call - def v1_global_apps_app_lists_get_with_http_info( + def v1_global_apps_custom_app_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72908,13 +72866,15 @@ def v1_global_apps_app_lists_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsGetResponse]: - """v1_global_apps_app_lists_get + ) -> ApiResponse[V1GlobalAppsCustomAppIdGetResponse]: + """v1_global_apps_custom_app_id_get - Get all app lists for the current enterprise + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72937,8 +72897,9 @@ def v1_global_apps_app_lists_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72946,7 +72907,7 @@ def v1_global_apps_app_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -72960,9 +72921,10 @@ def v1_global_apps_app_lists_get_with_http_info( @validate_call - def v1_global_apps_app_lists_get_without_preload_content( + def v1_global_apps_custom_app_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72976,12 +72938,14 @@ def v1_global_apps_app_lists_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_get + """v1_global_apps_custom_app_id_get - Get all app lists for the current enterprise + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73004,8 +72968,9 @@ def v1_global_apps_app_lists_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73013,7 +72978,7 @@ def v1_global_apps_app_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73022,9 +72987,10 @@ def v1_global_apps_app_lists_get_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_get_serialize( + def _v1_global_apps_custom_app_id_get_serialize( self, authorization, + app_id, _request_auth, _content_type, _headers, @@ -73046,6 +73012,8 @@ def _v1_global_apps_app_lists_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -73070,7 +73038,7 @@ def _v1_global_apps_app_lists_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/app-lists', + resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73087,10 +73055,11 @@ def _v1_global_apps_app_lists_get_serialize( @validate_call - def v1_global_apps_app_lists_post( + def v1_global_apps_custom_app_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73103,15 +73072,17 @@ def v1_global_apps_app_lists_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsPostResponse: - """v1_global_apps_app_lists_post + ) -> object: + """v1_global_apps_custom_app_id_put - Create an app list under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73134,9 +73105,10 @@ def v1_global_apps_app_lists_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73144,7 +73116,7 @@ def v1_global_apps_app_lists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -73158,10 +73130,11 @@ def v1_global_apps_app_lists_post( @validate_call - def v1_global_apps_app_lists_post_with_http_info( + def v1_global_apps_custom_app_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73174,15 +73147,17 @@ def v1_global_apps_app_lists_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsPostResponse]: - """v1_global_apps_app_lists_post + ) -> ApiResponse[object]: + """v1_global_apps_custom_app_id_put - Create an app list under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73205,9 +73180,10 @@ def v1_global_apps_app_lists_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73215,7 +73191,7 @@ def v1_global_apps_app_lists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -73229,10 +73205,11 @@ def v1_global_apps_app_lists_post_with_http_info( @validate_call - def v1_global_apps_app_lists_post_without_preload_content( + def v1_global_apps_custom_app_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73246,14 +73223,16 @@ def v1_global_apps_app_lists_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_post + """v1_global_apps_custom_app_id_put - Create an app list under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73276,9 +73255,10 @@ def v1_global_apps_app_lists_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73286,7 +73266,7 @@ def v1_global_apps_app_lists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -73295,10 +73275,11 @@ def v1_global_apps_app_lists_post_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_post_serialize( + def _v1_global_apps_custom_app_id_put_serialize( self, authorization, - v1_global_apps_app_lists_post_request, + app_id, + v1_global_apps_custom_app_id_put_request, _request_auth, _content_type, _headers, @@ -73320,14 +73301,16 @@ def _v1_global_apps_app_lists_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_app_lists_post_request is not None: - _body_params = v1_global_apps_app_lists_post_request + if v1_global_apps_custom_app_id_put_request is not None: + _body_params = v1_global_apps_custom_app_id_put_request # set the HTTP header `Accept` @@ -73358,8 +73341,8 @@ def _v1_global_apps_app_lists_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/apps/app-lists', + method='PUT', + resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73376,10 +73359,9 @@ def _v1_global_apps_app_lists_post_serialize( @validate_call - def v1_global_apps_categories_category_id_apps_get( + def v1_global_apps_custom_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73392,15 +73374,13 @@ def v1_global_apps_categories_category_id_apps_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse: - """v1_global_apps_categories_category_id_apps_get + ) -> V1GlobalAppsCustomGetResponse: + """v1_global_apps_custom_get - Get all Graphiant apps in an app category + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73423,9 +73403,8 @@ def v1_global_apps_categories_category_id_apps_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73433,7 +73412,7 @@ def v1_global_apps_categories_category_id_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73447,10 +73426,9 @@ def v1_global_apps_categories_category_id_apps_get( @validate_call - def v1_global_apps_categories_category_id_apps_get_with_http_info( + def v1_global_apps_custom_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73463,15 +73441,13 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCategoriesCategoryIdAppsGetResponse]: - """v1_global_apps_categories_category_id_apps_get + ) -> ApiResponse[V1GlobalAppsCustomGetResponse]: + """v1_global_apps_custom_get - Get all Graphiant apps in an app category + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73494,9 +73470,8 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73504,7 +73479,7 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73518,10 +73493,9 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( @validate_call - def v1_global_apps_categories_category_id_apps_get_without_preload_content( + def v1_global_apps_custom_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73535,14 +73509,12 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_categories_category_id_apps_get + """v1_global_apps_custom_get - Get all Graphiant apps in an app category + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73565,9 +73537,8 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73575,7 +73546,7 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73584,10 +73555,9 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( return response_data.response - def _v1_global_apps_categories_category_id_apps_get_serialize( + def _v1_global_apps_custom_get_serialize( self, authorization, - category_id, _request_auth, _content_type, _headers, @@ -73609,8 +73579,6 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if category_id is not None: - _path_params['categoryId'] = category_id # process the query parameters # process the header parameters if authorization is not None: @@ -73635,7 +73603,7 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/categories/{categoryId}/apps', + resource_path='/v1/global/apps/custom', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73652,9 +73620,10 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( @validate_call - def v1_global_apps_categories_get( + def v1_global_apps_custom_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73667,13 +73636,15 @@ def v1_global_apps_categories_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCategoriesGetResponse: - """v1_global_apps_categories_get + ) -> V1GlobalAppsCustomPostResponse: + """v1_global_apps_custom_post - Get all app categories holding Graphiant apps + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73696,8 +73667,9 @@ def v1_global_apps_categories_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73705,7 +73677,7 @@ def v1_global_apps_categories_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -73719,9 +73691,10 @@ def v1_global_apps_categories_get( @validate_call - def v1_global_apps_categories_get_with_http_info( + def v1_global_apps_custom_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73734,13 +73707,15 @@ def v1_global_apps_categories_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCategoriesGetResponse]: - """v1_global_apps_categories_get + ) -> ApiResponse[V1GlobalAppsCustomPostResponse]: + """v1_global_apps_custom_post - Get all app categories holding Graphiant apps + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73763,8 +73738,9 @@ def v1_global_apps_categories_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73772,7 +73748,7 @@ def v1_global_apps_categories_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -73786,9 +73762,10 @@ def v1_global_apps_categories_get_with_http_info( @validate_call - def v1_global_apps_categories_get_without_preload_content( + def v1_global_apps_custom_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73802,12 +73779,14 @@ def v1_global_apps_categories_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_categories_get + """v1_global_apps_custom_post - Get all app categories holding Graphiant apps + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73830,8 +73809,9 @@ def v1_global_apps_categories_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73839,7 +73819,7 @@ def v1_global_apps_categories_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -73848,9 +73828,10 @@ def v1_global_apps_categories_get_without_preload_content( return response_data.response - def _v1_global_apps_categories_get_serialize( + def _v1_global_apps_custom_post_serialize( self, authorization, + v1_global_apps_custom_post_request, _request_auth, _content_type, _headers, @@ -73878,6 +73859,8 @@ def _v1_global_apps_categories_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_custom_post_request is not None: + _body_params = v1_global_apps_custom_post_request # set the HTTP header `Accept` @@ -73888,6 +73871,19 @@ def _v1_global_apps_categories_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -73895,8 +73891,8 @@ def _v1_global_apps_categories_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/categories', + method='POST', + resource_path='/v1/global/apps/custom', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73913,10 +73909,9 @@ def _v1_global_apps_categories_get_serialize( @validate_call - def v1_global_apps_custom_app_id_delete( + def v1_global_apps_graphiant_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73929,15 +73924,13 @@ def v1_global_apps_custom_app_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_custom_app_id_delete + ) -> V1GlobalAppsGraphiantGetResponse: + """v1_global_apps_graphiant_get - Delete a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73960,9 +73953,8 @@ def v1_global_apps_custom_app_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73970,7 +73962,7 @@ def v1_global_apps_custom_app_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73984,10 +73976,9 @@ def v1_global_apps_custom_app_id_delete( @validate_call - def v1_global_apps_custom_app_id_delete_with_http_info( + def v1_global_apps_graphiant_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74000,15 +73991,13 @@ def v1_global_apps_custom_app_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_custom_app_id_delete + ) -> ApiResponse[V1GlobalAppsGraphiantGetResponse]: + """v1_global_apps_graphiant_get - Delete a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74031,9 +74020,8 @@ def v1_global_apps_custom_app_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74041,7 +74029,7 @@ def v1_global_apps_custom_app_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74055,10 +74043,9 @@ def v1_global_apps_custom_app_id_delete_with_http_info( @validate_call - def v1_global_apps_custom_app_id_delete_without_preload_content( + def v1_global_apps_graphiant_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74072,14 +74059,12 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_delete + """v1_global_apps_graphiant_get - Delete a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74102,9 +74087,8 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74112,7 +74096,7 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74121,10 +74105,9 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_delete_serialize( + def _v1_global_apps_graphiant_get_serialize( self, authorization, - app_id, _request_auth, _content_type, _headers, @@ -74146,8 +74129,6 @@ def _v1_global_apps_custom_app_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -74171,8 +74152,8 @@ def _v1_global_apps_custom_app_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/apps/custom/{appId}', + method='GET', + resource_path='/v1/global/apps/graphiant', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74189,10 +74170,10 @@ def _v1_global_apps_custom_app_id_delete_serialize( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get( + def v1_global_attached_edges_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74205,15 +74186,15 @@ def v1_global_apps_custom_app_id_details_app_lists_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse: - """v1_global_apps_custom_app_id_details_app_lists_get + ) -> V1GlobalAttachedEdgesPostResponse: + """v1_global_attached_edges_post - Get all app lists that contain the relevant global app + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74236,9 +74217,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74246,7 +74227,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74260,10 +74241,10 @@ def v1_global_apps_custom_app_id_details_app_lists_get( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( + def v1_global_attached_edges_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74276,15 +74257,15 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomAppIdDetailsAppListsGetResponse]: - """v1_global_apps_custom_app_id_details_app_lists_get + ) -> ApiResponse[V1GlobalAttachedEdgesPostResponse]: + """v1_global_attached_edges_post - Get all app lists that contain the relevant global app + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74307,9 +74288,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74317,7 +74298,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74331,10 +74312,10 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( + def v1_global_attached_edges_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74348,14 +74329,14 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_details_app_lists_get + """v1_global_attached_edges_post - Get all app lists that contain the relevant global app + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74378,9 +74359,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74388,7 +74369,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74397,10 +74378,10 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( + def _v1_global_attached_edges_post_serialize( self, authorization, - app_id, + v1_global_attached_edges_post_request, _request_auth, _content_type, _headers, @@ -74422,14 +74403,14 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_attached_edges_post_request is not None: + _body_params = v1_global_attached_edges_post_request # set the HTTP header `Accept` @@ -74440,6 +74421,19 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -74447,8 +74441,8 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/custom/{appId}/details/app-lists', + method='POST', + resource_path='/v1/global/attached-edges', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74465,10 +74459,10 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( @validate_call - def v1_global_apps_custom_app_id_get( + def v1_global_config_patch( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74481,15 +74475,15 @@ def v1_global_apps_custom_app_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomAppIdGetResponse: - """v1_global_apps_custom_app_id_get + ) -> V1GlobalConfigPatchResponse: + """v1_global_config_patch - Get the configuration for a global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74512,9 +74506,9 @@ def v1_global_apps_custom_app_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - app_id=app_id, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74522,7 +74516,7 @@ def v1_global_apps_custom_app_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -74536,10 +74530,10 @@ def v1_global_apps_custom_app_id_get( @validate_call - def v1_global_apps_custom_app_id_get_with_http_info( + def v1_global_config_patch_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74552,15 +74546,15 @@ def v1_global_apps_custom_app_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomAppIdGetResponse]: - """v1_global_apps_custom_app_id_get + ) -> ApiResponse[V1GlobalConfigPatchResponse]: + """v1_global_config_patch - Get the configuration for a global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74583,9 +74577,9 @@ def v1_global_apps_custom_app_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - app_id=app_id, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74593,7 +74587,7 @@ def v1_global_apps_custom_app_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -74607,10 +74601,10 @@ def v1_global_apps_custom_app_id_get_with_http_info( @validate_call - def v1_global_apps_custom_app_id_get_without_preload_content( + def v1_global_config_patch_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74624,14 +74618,14 @@ def v1_global_apps_custom_app_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_get + """v1_global_config_patch - Get the configuration for a global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74654,9 +74648,9 @@ def v1_global_apps_custom_app_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - app_id=app_id, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74664,7 +74658,7 @@ def v1_global_apps_custom_app_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -74673,10 +74667,10 @@ def v1_global_apps_custom_app_id_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_get_serialize( + def _v1_global_config_patch_serialize( self, authorization, - app_id, + v1_global_config_patch_request, _request_auth, _content_type, _headers, @@ -74698,14 +74692,14 @@ def _v1_global_apps_custom_app_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_config_patch_request is not None: + _body_params = v1_global_config_patch_request # set the HTTP header `Accept` @@ -74716,6 +74710,19 @@ def _v1_global_apps_custom_app_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -74723,8 +74730,8 @@ def _v1_global_apps_custom_app_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/custom/{appId}', + method='PATCH', + resource_path='/v1/global/config', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74741,11 +74748,9 @@ def _v1_global_apps_custom_app_id_get_serialize( @validate_call - def v1_global_apps_custom_app_id_put( + def v1_global_content_filters_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74758,17 +74763,13 @@ def v1_global_apps_custom_app_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_custom_app_id_put + ) -> V1GlobalContentFiltersGetResponse: + """v1_global_content_filters_get - Overwrite the configuration for a global app under the current enterprise + Get basic details for all content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74791,10 +74792,8 @@ def v1_global_apps_custom_app_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_content_filters_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74802,7 +74801,7 @@ def v1_global_apps_custom_app_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalContentFiltersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74816,11 +74815,9 @@ def v1_global_apps_custom_app_id_put( @validate_call - def v1_global_apps_custom_app_id_put_with_http_info( + def v1_global_content_filters_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74833,17 +74830,13 @@ def v1_global_apps_custom_app_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_custom_app_id_put + ) -> ApiResponse[V1GlobalContentFiltersGetResponse]: + """v1_global_content_filters_get - Overwrite the configuration for a global app under the current enterprise + Get basic details for all content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74866,10 +74859,8 @@ def v1_global_apps_custom_app_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_content_filters_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74877,7 +74868,7 @@ def v1_global_apps_custom_app_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalContentFiltersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74891,11 +74882,9 @@ def v1_global_apps_custom_app_id_put_with_http_info( @validate_call - def v1_global_apps_custom_app_id_put_without_preload_content( + def v1_global_content_filters_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74909,16 +74898,12 @@ def v1_global_apps_custom_app_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_put + """v1_global_content_filters_get - Overwrite the configuration for a global app under the current enterprise + Get basic details for all content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74941,10 +74926,8 @@ def v1_global_apps_custom_app_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_content_filters_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74952,7 +74935,7 @@ def v1_global_apps_custom_app_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalContentFiltersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74961,11 +74944,9 @@ def v1_global_apps_custom_app_id_put_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_put_serialize( + def _v1_global_content_filters_get_serialize( self, authorization, - app_id, - v1_global_apps_custom_app_id_put_request, _request_auth, _content_type, _headers, @@ -74987,16 +74968,12 @@ def _v1_global_apps_custom_app_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_custom_app_id_put_request is not None: - _body_params = v1_global_apps_custom_app_id_put_request # set the HTTP header `Accept` @@ -75007,19 +74984,6 @@ def _v1_global_apps_custom_app_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -75027,8 +74991,8 @@ def _v1_global_apps_custom_app_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/apps/custom/{appId}', + method='GET', + resource_path='/v1/global/content-filters', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75045,9 +75009,10 @@ def _v1_global_apps_custom_app_id_put_serialize( @validate_call - def v1_global_apps_custom_get( + def v1_global_content_filters_global_content_filter_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75060,13 +75025,15 @@ def v1_global_apps_custom_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomGetResponse: - """v1_global_apps_custom_get + ) -> object: + """v1_global_content_filters_global_content_filter_id_delete - Get all global apps mapped by the current enterprise + Delete a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to remove. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75089,8 +75056,9 @@ def v1_global_apps_custom_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75098,7 +75066,7 @@ def v1_global_apps_custom_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75112,9 +75080,10 @@ def v1_global_apps_custom_get( @validate_call - def v1_global_apps_custom_get_with_http_info( + def v1_global_content_filters_global_content_filter_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75127,13 +75096,15 @@ def v1_global_apps_custom_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomGetResponse]: - """v1_global_apps_custom_get + ) -> ApiResponse[object]: + """v1_global_content_filters_global_content_filter_id_delete - Get all global apps mapped by the current enterprise + Delete a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to remove. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75156,8 +75127,9 @@ def v1_global_apps_custom_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75165,7 +75137,7 @@ def v1_global_apps_custom_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75179,9 +75151,10 @@ def v1_global_apps_custom_get_with_http_info( @validate_call - def v1_global_apps_custom_get_without_preload_content( + def v1_global_content_filters_global_content_filter_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75195,12 +75168,14 @@ def v1_global_apps_custom_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_get + """v1_global_content_filters_global_content_filter_id_delete - Get all global apps mapped by the current enterprise + Delete a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to remove. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75223,8 +75198,9 @@ def v1_global_apps_custom_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75232,7 +75208,7 @@ def v1_global_apps_custom_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75241,9 +75217,10 @@ def v1_global_apps_custom_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_get_serialize( + def _v1_global_content_filters_global_content_filter_id_delete_serialize( self, authorization, + global_content_filter_id, _request_auth, _content_type, _headers, @@ -75265,6 +75242,8 @@ def _v1_global_apps_custom_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if global_content_filter_id is not None: + _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters # process the header parameters if authorization is not None: @@ -75288,8 +75267,8 @@ def _v1_global_apps_custom_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/custom', + method='DELETE', + resource_path='/v1/global/content-filters/{globalContentFilterId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75306,10 +75285,10 @@ def _v1_global_apps_custom_get_serialize( @validate_call - def v1_global_apps_custom_post( + def v1_global_content_filters_global_content_filter_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75322,15 +75301,15 @@ def v1_global_apps_custom_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomPostResponse: - """v1_global_apps_custom_post + ) -> V1GlobalContentFiltersGlobalContentFilterIdGetResponse: + """v1_global_content_filters_global_content_filter_id_get - Create a new global app under the current enterprise + Get the config for a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75353,9 +75332,9 @@ def v1_global_apps_custom_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75363,7 +75342,7 @@ def v1_global_apps_custom_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75377,10 +75356,10 @@ def v1_global_apps_custom_post( @validate_call - def v1_global_apps_custom_post_with_http_info( + def v1_global_content_filters_global_content_filter_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75393,15 +75372,15 @@ def v1_global_apps_custom_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomPostResponse]: - """v1_global_apps_custom_post + ) -> ApiResponse[V1GlobalContentFiltersGlobalContentFilterIdGetResponse]: + """v1_global_content_filters_global_content_filter_id_get - Create a new global app under the current enterprise + Get the config for a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75424,9 +75403,9 @@ def v1_global_apps_custom_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75434,7 +75413,7 @@ def v1_global_apps_custom_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75448,10 +75427,10 @@ def v1_global_apps_custom_post_with_http_info( @validate_call - def v1_global_apps_custom_post_without_preload_content( + def v1_global_content_filters_global_content_filter_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75465,14 +75444,14 @@ def v1_global_apps_custom_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_post + """v1_global_content_filters_global_content_filter_id_get - Create a new global app under the current enterprise + Get the config for a content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) + :type global_content_filter_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75495,9 +75474,9 @@ def v1_global_apps_custom_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + global_content_filter_id=global_content_filter_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75505,7 +75484,7 @@ def v1_global_apps_custom_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75514,10 +75493,10 @@ def v1_global_apps_custom_post_without_preload_content( return response_data.response - def _v1_global_apps_custom_post_serialize( + def _v1_global_content_filters_global_content_filter_id_get_serialize( self, authorization, - v1_global_apps_custom_post_request, + global_content_filter_id, _request_auth, _content_type, _headers, @@ -75539,14 +75518,14 @@ def _v1_global_apps_custom_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if global_content_filter_id is not None: + _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_custom_post_request is not None: - _body_params = v1_global_apps_custom_post_request # set the HTTP header `Accept` @@ -75557,19 +75536,6 @@ def _v1_global_apps_custom_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -75577,8 +75543,8 @@ def _v1_global_apps_custom_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/apps/custom', + method='GET', + resource_path='/v1/global/content-filters/{globalContentFilterId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75595,9 +75561,11 @@ def _v1_global_apps_custom_post_serialize( @validate_call - def v1_global_apps_graphiant_get( + def v1_global_content_filters_global_content_filter_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], + v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75610,13 +75578,17 @@ def v1_global_apps_graphiant_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsGraphiantGetResponse: - """v1_global_apps_graphiant_get + ) -> object: + """v1_global_content_filters_global_content_filter_id_put - Get all apps mapped by Graphiant + Overwrite a pre-existing content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) + :type global_content_filter_id: int + :param v1_global_content_filters_global_content_filter_id_put_request: (required) + :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75639,8 +75611,10 @@ def v1_global_apps_graphiant_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, + v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75648,7 +75622,7 @@ def v1_global_apps_graphiant_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75662,9 +75636,11 @@ def v1_global_apps_graphiant_get( @validate_call - def v1_global_apps_graphiant_get_with_http_info( + def v1_global_content_filters_global_content_filter_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], + v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75677,13 +75653,17 @@ def v1_global_apps_graphiant_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsGraphiantGetResponse]: - """v1_global_apps_graphiant_get + ) -> ApiResponse[object]: + """v1_global_content_filters_global_content_filter_id_put - Get all apps mapped by Graphiant + Overwrite a pre-existing content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) + :type global_content_filter_id: int + :param v1_global_content_filters_global_content_filter_id_put_request: (required) + :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75706,8 +75686,10 @@ def v1_global_apps_graphiant_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, + v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75715,7 +75697,7 @@ def v1_global_apps_graphiant_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75729,9 +75711,11 @@ def v1_global_apps_graphiant_get_with_http_info( @validate_call - def v1_global_apps_graphiant_get_without_preload_content( + def v1_global_content_filters_global_content_filter_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], + v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75745,12 +75729,16 @@ def v1_global_apps_graphiant_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_graphiant_get + """v1_global_content_filters_global_content_filter_id_put - Get all apps mapped by Graphiant + Overwrite a pre-existing content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) + :type global_content_filter_id: int + :param v1_global_content_filters_global_content_filter_id_put_request: (required) + :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75773,8 +75761,10 @@ def v1_global_apps_graphiant_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( authorization=authorization, + global_content_filter_id=global_content_filter_id, + v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75782,7 +75772,7 @@ def v1_global_apps_graphiant_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -75791,9 +75781,11 @@ def v1_global_apps_graphiant_get_without_preload_content( return response_data.response - def _v1_global_apps_graphiant_get_serialize( + def _v1_global_content_filters_global_content_filter_id_put_serialize( self, authorization, + global_content_filter_id, + v1_global_content_filters_global_content_filter_id_put_request, _request_auth, _content_type, _headers, @@ -75815,12 +75807,16 @@ def _v1_global_apps_graphiant_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if global_content_filter_id is not None: + _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_content_filters_global_content_filter_id_put_request is not None: + _body_params = v1_global_content_filters_global_content_filter_id_put_request # set the HTTP header `Accept` @@ -75831,6 +75827,19 @@ def _v1_global_apps_graphiant_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -75838,8 +75847,8 @@ def _v1_global_apps_graphiant_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/graphiant', + method='PUT', + resource_path='/v1/global/content-filters/{globalContentFilterId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75856,10 +75865,10 @@ def _v1_global_apps_graphiant_get_serialize( @validate_call - def v1_global_attached_edges_post( + def v1_global_content_filters_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75872,15 +75881,15 @@ def v1_global_attached_edges_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAttachedEdgesPostResponse: - """v1_global_attached_edges_post + ) -> V1GlobalContentFiltersPostResponse: + """v1_global_content_filters_post - Returns attached edges for global object + Configure a new content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest + :param v1_global_content_filters_post_request: (required) + :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75903,9 +75912,9 @@ def v1_global_attached_edges_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_content_filters_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75913,7 +75922,7 @@ def v1_global_attached_edges_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalContentFiltersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75927,10 +75936,10 @@ def v1_global_attached_edges_post( @validate_call - def v1_global_attached_edges_post_with_http_info( + def v1_global_content_filters_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75943,15 +75952,15 @@ def v1_global_attached_edges_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAttachedEdgesPostResponse]: - """v1_global_attached_edges_post + ) -> ApiResponse[V1GlobalContentFiltersPostResponse]: + """v1_global_content_filters_post - Returns attached edges for global object + Configure a new content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest + :param v1_global_content_filters_post_request: (required) + :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75974,9 +75983,9 @@ def v1_global_attached_edges_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_content_filters_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75984,7 +75993,7 @@ def v1_global_attached_edges_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalContentFiltersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -75998,10 +76007,10 @@ def v1_global_attached_edges_post_with_http_info( @validate_call - def v1_global_attached_edges_post_without_preload_content( + def v1_global_content_filters_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, + v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76015,14 +76024,14 @@ def v1_global_attached_edges_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_attached_edges_post + """v1_global_content_filters_post - Returns attached edges for global object + Configure a new content filter under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest + :param v1_global_content_filters_post_request: (required) + :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76045,9 +76054,9 @@ def v1_global_attached_edges_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_content_filters_post_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, + v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76055,7 +76064,7 @@ def v1_global_attached_edges_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalContentFiltersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -76064,10 +76073,10 @@ def v1_global_attached_edges_post_without_preload_content( return response_data.response - def _v1_global_attached_edges_post_serialize( + def _v1_global_content_filters_post_serialize( self, authorization, - v1_global_attached_edges_post_request, + v1_global_content_filters_post_request, _request_auth, _content_type, _headers, @@ -76095,8 +76104,8 @@ def _v1_global_attached_edges_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_attached_edges_post_request is not None: - _body_params = v1_global_attached_edges_post_request + if v1_global_content_filters_post_request is not None: + _body_params = v1_global_content_filters_post_request # set the HTTP header `Accept` @@ -76128,7 +76137,7 @@ def _v1_global_attached_edges_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/attached-edges', + resource_path='/v1/global/content-filters', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76145,10 +76154,16 @@ def _v1_global_attached_edges_post_serialize( @validate_call - def v1_global_config_patch( + def v1_global_device_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + ipfix_exported_id: Optional[StrictInt] = None, + ntp_id: Optional[StrictInt] = None, + prefix_set_id: Optional[StrictInt] = None, + routing_policy_id: Optional[StrictInt] = None, + snmp_id: Optional[StrictInt] = None, + syslog_server_id: Optional[StrictInt] = None, + traffic_policy_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76161,15 +76176,27 @@ def v1_global_config_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalConfigPatchResponse: - """v1_global_config_patch + ) -> V1GlobalDeviceStatusGetResponse: + """v1_global_device_status_get - Update global objects for an enterprise + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest + :param ipfix_exported_id: + :type ipfix_exported_id: int + :param ntp_id: + :type ntp_id: int + :param prefix_set_id: + :type prefix_set_id: int + :param routing_policy_id: + :type routing_policy_id: int + :param snmp_id: + :type snmp_id: int + :param syslog_server_id: + :type syslog_server_id: int + :param traffic_policy_id: + :type traffic_policy_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76192,9 +76219,15 @@ def v1_global_config_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + ipfix_exported_id=ipfix_exported_id, + ntp_id=ntp_id, + prefix_set_id=prefix_set_id, + routing_policy_id=routing_policy_id, + snmp_id=snmp_id, + syslog_server_id=syslog_server_id, + traffic_policy_id=traffic_policy_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76202,7 +76235,7 @@ def v1_global_config_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76216,10 +76249,16 @@ def v1_global_config_patch( @validate_call - def v1_global_config_patch_with_http_info( + def v1_global_device_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + ipfix_exported_id: Optional[StrictInt] = None, + ntp_id: Optional[StrictInt] = None, + prefix_set_id: Optional[StrictInt] = None, + routing_policy_id: Optional[StrictInt] = None, + snmp_id: Optional[StrictInt] = None, + syslog_server_id: Optional[StrictInt] = None, + traffic_policy_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76232,15 +76271,27 @@ def v1_global_config_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalConfigPatchResponse]: - """v1_global_config_patch + ) -> ApiResponse[V1GlobalDeviceStatusGetResponse]: + """v1_global_device_status_get - Update global objects for an enterprise + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest + :param ipfix_exported_id: + :type ipfix_exported_id: int + :param ntp_id: + :type ntp_id: int + :param prefix_set_id: + :type prefix_set_id: int + :param routing_policy_id: + :type routing_policy_id: int + :param snmp_id: + :type snmp_id: int + :param syslog_server_id: + :type syslog_server_id: int + :param traffic_policy_id: + :type traffic_policy_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76263,9 +76314,15 @@ def v1_global_config_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + ipfix_exported_id=ipfix_exported_id, + ntp_id=ntp_id, + prefix_set_id=prefix_set_id, + routing_policy_id=routing_policy_id, + snmp_id=snmp_id, + syslog_server_id=syslog_server_id, + traffic_policy_id=traffic_policy_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76273,7 +76330,7 @@ def v1_global_config_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76287,10 +76344,16 @@ def v1_global_config_patch_with_http_info( @validate_call - def v1_global_config_patch_without_preload_content( + def v1_global_device_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, + ipfix_exported_id: Optional[StrictInt] = None, + ntp_id: Optional[StrictInt] = None, + prefix_set_id: Optional[StrictInt] = None, + routing_policy_id: Optional[StrictInt] = None, + snmp_id: Optional[StrictInt] = None, + syslog_server_id: Optional[StrictInt] = None, + traffic_policy_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76304,14 +76367,26 @@ def v1_global_config_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_config_patch + """v1_global_device_status_get - Update global objects for an enterprise + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest + :param ipfix_exported_id: + :type ipfix_exported_id: int + :param ntp_id: + :type ntp_id: int + :param prefix_set_id: + :type prefix_set_id: int + :param routing_policy_id: + :type routing_policy_id: int + :param snmp_id: + :type snmp_id: int + :param syslog_server_id: + :type syslog_server_id: int + :param traffic_policy_id: + :type traffic_policy_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76334,9 +76409,15 @@ def v1_global_config_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, + ipfix_exported_id=ipfix_exported_id, + ntp_id=ntp_id, + prefix_set_id=prefix_set_id, + routing_policy_id=routing_policy_id, + snmp_id=snmp_id, + syslog_server_id=syslog_server_id, + traffic_policy_id=traffic_policy_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76344,7 +76425,7 @@ def v1_global_config_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76353,10 +76434,16 @@ def v1_global_config_patch_without_preload_content( return response_data.response - def _v1_global_config_patch_serialize( + def _v1_global_device_status_get_serialize( self, authorization, - v1_global_config_patch_request, + ipfix_exported_id, + ntp_id, + prefix_set_id, + routing_policy_id, + snmp_id, + syslog_server_id, + traffic_policy_id, _request_auth, _content_type, _headers, @@ -76379,13 +76466,39 @@ def _v1_global_config_patch_serialize( # process the path parameters # process the query parameters + if ipfix_exported_id is not None: + + _query_params.append(('ipfixExportedId', ipfix_exported_id)) + + if ntp_id is not None: + + _query_params.append(('ntpId', ntp_id)) + + if prefix_set_id is not None: + + _query_params.append(('prefixSetId', prefix_set_id)) + + if routing_policy_id is not None: + + _query_params.append(('routingPolicyId', routing_policy_id)) + + if snmp_id is not None: + + _query_params.append(('snmpId', snmp_id)) + + if syslog_server_id is not None: + + _query_params.append(('syslogServerId', syslog_server_id)) + + if traffic_policy_id is not None: + + _query_params.append(('trafficPolicyId', traffic_policy_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_config_patch_request is not None: - _body_params = v1_global_config_patch_request # set the HTTP header `Accept` @@ -76396,19 +76509,6 @@ def _v1_global_config_patch_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -76416,8 +76516,8 @@ def _v1_global_config_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/global/config', + method='GET', + resource_path='/v1/global/device-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76434,7 +76534,7 @@ def _v1_global_config_patch_serialize( @validate_call - def v1_global_content_filters_get( + def v1_global_domain_categories_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -76449,10 +76549,10 @@ def v1_global_content_filters_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalContentFiltersGetResponse: - """v1_global_content_filters_get + ) -> V1GlobalDomainCategoriesGetResponse: + """v1_global_domain_categories_get - Get basic details for all content filter under the current enterprise + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -76478,7 +76578,7 @@ def v1_global_content_filters_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_get_serialize( + _param = self._v1_global_domain_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -76487,7 +76587,7 @@ def v1_global_content_filters_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1GlobalDomainCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76501,7 +76601,7 @@ def v1_global_content_filters_get( @validate_call - def v1_global_content_filters_get_with_http_info( + def v1_global_domain_categories_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -76516,10 +76616,10 @@ def v1_global_content_filters_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalContentFiltersGetResponse]: - """v1_global_content_filters_get + ) -> ApiResponse[V1GlobalDomainCategoriesGetResponse]: + """v1_global_domain_categories_get - Get basic details for all content filter under the current enterprise + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -76545,7 +76645,7 @@ def v1_global_content_filters_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_get_serialize( + _param = self._v1_global_domain_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -76554,7 +76654,7 @@ def v1_global_content_filters_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1GlobalDomainCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76568,7 +76668,7 @@ def v1_global_content_filters_get_with_http_info( @validate_call - def v1_global_content_filters_get_without_preload_content( + def v1_global_domain_categories_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -76584,9 +76684,9 @@ def v1_global_content_filters_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_content_filters_get + """v1_global_domain_categories_get - Get basic details for all content filter under the current enterprise + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -76612,7 +76712,7 @@ def v1_global_content_filters_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_get_serialize( + _param = self._v1_global_domain_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -76621,7 +76721,7 @@ def v1_global_content_filters_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGetResponse", + '200': "V1GlobalDomainCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76630,7 +76730,7 @@ def v1_global_content_filters_get_without_preload_content( return response_data.response - def _v1_global_content_filters_get_serialize( + def _v1_global_domain_categories_get_serialize( self, authorization, _request_auth, @@ -76678,7 +76778,7 @@ def _v1_global_content_filters_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/content-filters', + resource_path='/v1/global/domain-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76695,10 +76795,10 @@ def _v1_global_content_filters_get_serialize( @validate_call - def v1_global_content_filters_global_content_filter_id_delete( + def v1_global_ipfix_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76711,15 +76811,15 @@ def v1_global_content_filters_global_content_filter_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_content_filters_global_content_filter_id_delete + ) -> V1GlobalIpfixDeviceGetResponse: + """v1_global_ipfix_device_get - Delete a content filter under the current enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to remove. (required) - :type global_content_filter_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76742,9 +76842,9 @@ def v1_global_content_filters_global_content_filter_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76752,7 +76852,7 @@ def v1_global_content_filters_global_content_filter_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76766,10 +76866,10 @@ def v1_global_content_filters_global_content_filter_id_delete( @validate_call - def v1_global_content_filters_global_content_filter_id_delete_with_http_info( + def v1_global_ipfix_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76782,15 +76882,15 @@ def v1_global_content_filters_global_content_filter_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_content_filters_global_content_filter_id_delete + ) -> ApiResponse[V1GlobalIpfixDeviceGetResponse]: + """v1_global_ipfix_device_get - Delete a content filter under the current enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to remove. (required) - :type global_content_filter_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76813,9 +76913,9 @@ def v1_global_content_filters_global_content_filter_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76823,7 +76923,7 @@ def v1_global_content_filters_global_content_filter_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76837,10 +76937,10 @@ def v1_global_content_filters_global_content_filter_id_delete_with_http_info( @validate_call - def v1_global_content_filters_global_content_filter_id_delete_without_preload_content( + def v1_global_ipfix_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to remove.")], + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76854,14 +76954,14 @@ def v1_global_content_filters_global_content_filter_id_delete_without_preload_co _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_content_filters_global_content_filter_id_delete + """v1_global_ipfix_device_get - Delete a content filter under the current enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to remove. (required) - :type global_content_filter_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76884,9 +76984,9 @@ def v1_global_content_filters_global_content_filter_id_delete_without_preload_co :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_delete_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76894,7 +76994,7 @@ def v1_global_content_filters_global_content_filter_id_delete_without_preload_co ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76903,10 +77003,10 @@ def v1_global_content_filters_global_content_filter_id_delete_without_preload_co return response_data.response - def _v1_global_content_filters_global_content_filter_id_delete_serialize( + def _v1_global_ipfix_device_get_serialize( self, authorization, - global_content_filter_id, + device_id, _request_auth, _content_type, _headers, @@ -76928,9 +77028,11 @@ def _v1_global_content_filters_global_content_filter_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if global_content_filter_id is not None: - _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters + if device_id is not None: + + _query_params.append(('deviceId', device_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -76953,8 +77055,8 @@ def _v1_global_content_filters_global_content_filter_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/content-filters/{globalContentFilterId}', + method='GET', + resource_path='/v1/global/ipfix/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76971,10 +77073,10 @@ def _v1_global_content_filters_global_content_filter_id_delete_serialize( @validate_call - def v1_global_content_filters_global_content_filter_id_get( + def v1_global_ipfix_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76987,15 +77089,15 @@ def v1_global_content_filters_global_content_filter_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalContentFiltersGlobalContentFilterIdGetResponse: - """v1_global_content_filters_global_content_filter_id_get + ) -> V1GlobalIpfixPostResponse: + """v1_global_ipfix_post - Get the config for a content filter under the current enterprise + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) - :type global_content_filter_id: int + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77018,9 +77120,9 @@ def v1_global_content_filters_global_content_filter_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77028,7 +77130,7 @@ def v1_global_content_filters_global_content_filter_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77042,10 +77144,10 @@ def v1_global_content_filters_global_content_filter_id_get( @validate_call - def v1_global_content_filters_global_content_filter_id_get_with_http_info( + def v1_global_ipfix_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77058,15 +77160,15 @@ def v1_global_content_filters_global_content_filter_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalContentFiltersGlobalContentFilterIdGetResponse]: - """v1_global_content_filters_global_content_filter_id_get + ) -> ApiResponse[V1GlobalIpfixPostResponse]: + """v1_global_ipfix_post - Get the config for a content filter under the current enterprise + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) - :type global_content_filter_id: int + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77089,9 +77191,9 @@ def v1_global_content_filters_global_content_filter_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77099,7 +77201,7 @@ def v1_global_content_filters_global_content_filter_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77113,10 +77215,10 @@ def v1_global_content_filters_global_content_filter_id_get_with_http_info( @validate_call - def v1_global_content_filters_global_content_filter_id_get_without_preload_content( + def v1_global_ipfix_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter whose configuration should be returned.")], + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77130,14 +77232,14 @@ def v1_global_content_filters_global_content_filter_id_get_without_preload_conte _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_content_filters_global_content_filter_id_get + """v1_global_ipfix_post - Get the config for a content filter under the current enterprise + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter whose configuration should be returned. (required) - :type global_content_filter_id: int + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77160,9 +77262,9 @@ def v1_global_content_filters_global_content_filter_id_get_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_get_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77170,7 +77272,7 @@ def v1_global_content_filters_global_content_filter_id_get_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersGlobalContentFilterIdGetResponse", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77179,10 +77281,10 @@ def v1_global_content_filters_global_content_filter_id_get_without_preload_conte return response_data.response - def _v1_global_content_filters_global_content_filter_id_get_serialize( + def _v1_global_ipfix_post_serialize( self, authorization, - global_content_filter_id, + v1_global_ipfix_post_request, _request_auth, _content_type, _headers, @@ -77204,14 +77306,14 @@ def _v1_global_content_filters_global_content_filter_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if global_content_filter_id is not None: - _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_ipfix_post_request is not None: + _body_params = v1_global_ipfix_post_request # set the HTTP header `Accept` @@ -77222,6 +77324,19 @@ def _v1_global_content_filters_global_content_filter_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -77229,8 +77344,8 @@ def _v1_global_content_filters_global_content_filter_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/content-filters/{globalContentFilterId}', + method='POST', + resource_path='/v1/global/ipfix', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77247,11 +77362,10 @@ def _v1_global_content_filters_global_content_filter_id_get_serialize( @validate_call - def v1_global_content_filters_global_content_filter_id_put( + def v1_global_ipfix_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77264,17 +77378,15 @@ def v1_global_content_filters_global_content_filter_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_content_filters_global_content_filter_id_put + ) -> V1GlobalIpfixSiteGetResponse: + """v1_global_ipfix_site_get - Overwrite a pre-existing content filter under the current enterprise + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) - :type global_content_filter_id: int - :param v1_global_content_filters_global_content_filter_id_put_request: (required) - :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77297,10 +77409,9 @@ def v1_global_content_filters_global_content_filter_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, - v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77308,7 +77419,7 @@ def v1_global_content_filters_global_content_filter_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77322,11 +77433,10 @@ def v1_global_content_filters_global_content_filter_id_put( @validate_call - def v1_global_content_filters_global_content_filter_id_put_with_http_info( + def v1_global_ipfix_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77339,17 +77449,15 @@ def v1_global_content_filters_global_content_filter_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_content_filters_global_content_filter_id_put + ) -> ApiResponse[V1GlobalIpfixSiteGetResponse]: + """v1_global_ipfix_site_get - Overwrite a pre-existing content filter under the current enterprise + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) - :type global_content_filter_id: int - :param v1_global_content_filters_global_content_filter_id_put_request: (required) - :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77372,10 +77480,9 @@ def v1_global_content_filters_global_content_filter_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, - v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77383,7 +77490,7 @@ def v1_global_content_filters_global_content_filter_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77397,11 +77504,10 @@ def v1_global_content_filters_global_content_filter_id_put_with_http_info( @validate_call - def v1_global_content_filters_global_content_filter_id_put_without_preload_content( + def v1_global_ipfix_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - global_content_filter_id: Annotated[StrictInt, Field(description="ID of the global content filter to replace with the supplied configuration.")], - v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77415,16 +77521,14 @@ def v1_global_content_filters_global_content_filter_id_put_without_preload_conte _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_content_filters_global_content_filter_id_put + """v1_global_ipfix_site_get - Overwrite a pre-existing content filter under the current enterprise + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param global_content_filter_id: ID of the global content filter to replace with the supplied configuration. (required) - :type global_content_filter_id: int - :param v1_global_content_filters_global_content_filter_id_put_request: (required) - :type v1_global_content_filters_global_content_filter_id_put_request: V1GlobalContentFiltersGlobalContentFilterIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77447,10 +77551,9 @@ def v1_global_content_filters_global_content_filter_id_put_without_preload_conte :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_global_content_filter_id_put_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, - global_content_filter_id=global_content_filter_id, - v1_global_content_filters_global_content_filter_id_put_request=v1_global_content_filters_global_content_filter_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77458,7 +77561,7 @@ def v1_global_content_filters_global_content_filter_id_put_without_preload_conte ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77467,11 +77570,10 @@ def v1_global_content_filters_global_content_filter_id_put_without_preload_conte return response_data.response - def _v1_global_content_filters_global_content_filter_id_put_serialize( + def _v1_global_ipfix_site_get_serialize( self, authorization, - global_content_filter_id, - v1_global_content_filters_global_content_filter_id_put_request, + site_id, _request_auth, _content_type, _headers, @@ -77493,16 +77595,16 @@ def _v1_global_content_filters_global_content_filter_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if global_content_filter_id is not None: - _path_params['globalContentFilterId'] = global_content_filter_id # process the query parameters + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_content_filters_global_content_filter_id_put_request is not None: - _body_params = v1_global_content_filters_global_content_filter_id_put_request # set the HTTP header `Accept` @@ -77513,19 +77615,6 @@ def _v1_global_content_filters_global_content_filter_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -77533,8 +77622,8 @@ def _v1_global_content_filters_global_content_filter_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/content-filters/{globalContentFilterId}', + method='GET', + resource_path='/v1/global/ipfix/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77551,10 +77640,9 @@ def _v1_global_content_filters_global_content_filter_id_put_serialize( @validate_call - def v1_global_content_filters_post( + def v1_global_ipsec_profile_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77567,15 +77655,13 @@ def v1_global_content_filters_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalContentFiltersPostResponse: - """v1_global_content_filters_post + ) -> V1GlobalIpsecProfileGetResponse: + """v1_global_ipsec_profile_get - Configure a new content filter under the current enterprise + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_content_filters_post_request: (required) - :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77598,9 +77684,8 @@ def v1_global_content_filters_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_post_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77608,7 +77693,7 @@ def v1_global_content_filters_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77622,10 +77707,9 @@ def v1_global_content_filters_post( @validate_call - def v1_global_content_filters_post_with_http_info( + def v1_global_ipsec_profile_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77638,15 +77722,13 @@ def v1_global_content_filters_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalContentFiltersPostResponse]: - """v1_global_content_filters_post + ) -> ApiResponse[V1GlobalIpsecProfileGetResponse]: + """v1_global_ipsec_profile_get - Configure a new content filter under the current enterprise + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_content_filters_post_request: (required) - :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77669,9 +77751,8 @@ def v1_global_content_filters_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_post_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77679,7 +77760,7 @@ def v1_global_content_filters_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77693,10 +77774,9 @@ def v1_global_content_filters_post_with_http_info( @validate_call - def v1_global_content_filters_post_without_preload_content( + def v1_global_ipsec_profile_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77710,14 +77790,12 @@ def v1_global_content_filters_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_content_filters_post + """v1_global_ipsec_profile_get - Configure a new content filter under the current enterprise + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_content_filters_post_request: (required) - :type v1_global_content_filters_post_request: V1GlobalContentFiltersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77740,9 +77818,8 @@ def v1_global_content_filters_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_content_filters_post_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, - v1_global_content_filters_post_request=v1_global_content_filters_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77750,7 +77827,7 @@ def v1_global_content_filters_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalContentFiltersPostResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77759,10 +77836,9 @@ def v1_global_content_filters_post_without_preload_content( return response_data.response - def _v1_global_content_filters_post_serialize( + def _v1_global_ipsec_profile_get_serialize( self, authorization, - v1_global_content_filters_post_request, _request_auth, _content_type, _headers, @@ -77790,8 +77866,6 @@ def _v1_global_content_filters_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_content_filters_post_request is not None: - _body_params = v1_global_content_filters_post_request # set the HTTP header `Accept` @@ -77802,19 +77876,6 @@ def _v1_global_content_filters_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -77822,8 +77883,8 @@ def _v1_global_content_filters_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/content-filters', + method='GET', + resource_path='/v1/global/ipsec-profile', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77840,16 +77901,10 @@ def _v1_global_content_filters_post_serialize( @validate_call - def v1_global_device_status_get( + def v1_global_ipsec_profile_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_id: Optional[StrictInt] = None, - ntp_id: Optional[StrictInt] = None, - prefix_set_id: Optional[StrictInt] = None, - routing_policy_id: Optional[StrictInt] = None, - snmp_id: Optional[StrictInt] = None, - syslog_server_id: Optional[StrictInt] = None, - traffic_policy_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77862,27 +77917,15 @@ def v1_global_device_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalDeviceStatusGetResponse: - """v1_global_device_status_get + ) -> V1GlobalIpsecProfileIdGetResponse: + """v1_global_ipsec_profile_id_get - Get status on global collector attached to devices + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_id: - :type ipfix_exported_id: int - :param ntp_id: - :type ntp_id: int - :param prefix_set_id: - :type prefix_set_id: int - :param routing_policy_id: - :type routing_policy_id: int - :param snmp_id: - :type snmp_id: int - :param syslog_server_id: - :type syslog_server_id: int - :param traffic_policy_id: - :type traffic_policy_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77905,15 +77948,9 @@ def v1_global_device_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - ipfix_exported_id=ipfix_exported_id, - ntp_id=ntp_id, - prefix_set_id=prefix_set_id, - routing_policy_id=routing_policy_id, - snmp_id=snmp_id, - syslog_server_id=syslog_server_id, - traffic_policy_id=traffic_policy_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77921,7 +77958,7 @@ def v1_global_device_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77935,16 +77972,10 @@ def v1_global_device_status_get( @validate_call - def v1_global_device_status_get_with_http_info( + def v1_global_ipsec_profile_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_id: Optional[StrictInt] = None, - ntp_id: Optional[StrictInt] = None, - prefix_set_id: Optional[StrictInt] = None, - routing_policy_id: Optional[StrictInt] = None, - snmp_id: Optional[StrictInt] = None, - syslog_server_id: Optional[StrictInt] = None, - traffic_policy_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77957,27 +77988,15 @@ def v1_global_device_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalDeviceStatusGetResponse]: - """v1_global_device_status_get + ) -> ApiResponse[V1GlobalIpsecProfileIdGetResponse]: + """v1_global_ipsec_profile_id_get - Get status on global collector attached to devices + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_id: - :type ipfix_exported_id: int - :param ntp_id: - :type ntp_id: int - :param prefix_set_id: - :type prefix_set_id: int - :param routing_policy_id: - :type routing_policy_id: int - :param snmp_id: - :type snmp_id: int - :param syslog_server_id: - :type syslog_server_id: int - :param traffic_policy_id: - :type traffic_policy_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78000,15 +78019,9 @@ def v1_global_device_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - ipfix_exported_id=ipfix_exported_id, - ntp_id=ntp_id, - prefix_set_id=prefix_set_id, - routing_policy_id=routing_policy_id, - snmp_id=snmp_id, - syslog_server_id=syslog_server_id, - traffic_policy_id=traffic_policy_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78016,7 +78029,7 @@ def v1_global_device_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78030,16 +78043,10 @@ def v1_global_device_status_get_with_http_info( @validate_call - def v1_global_device_status_get_without_preload_content( + def v1_global_ipsec_profile_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_id: Optional[StrictInt] = None, - ntp_id: Optional[StrictInt] = None, - prefix_set_id: Optional[StrictInt] = None, - routing_policy_id: Optional[StrictInt] = None, - snmp_id: Optional[StrictInt] = None, - syslog_server_id: Optional[StrictInt] = None, - traffic_policy_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78053,26 +78060,14 @@ def v1_global_device_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_device_status_get + """v1_global_ipsec_profile_id_get - Get status on global collector attached to devices + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_id: - :type ipfix_exported_id: int - :param ntp_id: - :type ntp_id: int - :param prefix_set_id: - :type prefix_set_id: int - :param routing_policy_id: - :type routing_policy_id: int - :param snmp_id: - :type snmp_id: int - :param syslog_server_id: - :type syslog_server_id: int - :param traffic_policy_id: - :type traffic_policy_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78095,15 +78090,9 @@ def v1_global_device_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - ipfix_exported_id=ipfix_exported_id, - ntp_id=ntp_id, - prefix_set_id=prefix_set_id, - routing_policy_id=routing_policy_id, - snmp_id=snmp_id, - syslog_server_id=syslog_server_id, - traffic_policy_id=traffic_policy_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78111,7 +78100,7 @@ def v1_global_device_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78120,16 +78109,10 @@ def v1_global_device_status_get_without_preload_content( return response_data.response - def _v1_global_device_status_get_serialize( + def _v1_global_ipsec_profile_id_get_serialize( self, authorization, - ipfix_exported_id, - ntp_id, - prefix_set_id, - routing_policy_id, - snmp_id, - syslog_server_id, - traffic_policy_id, + id, _request_auth, _content_type, _headers, @@ -78151,35 +78134,9 @@ def _v1_global_device_status_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters - if ipfix_exported_id is not None: - - _query_params.append(('ipfixExportedId', ipfix_exported_id)) - - if ntp_id is not None: - - _query_params.append(('ntpId', ntp_id)) - - if prefix_set_id is not None: - - _query_params.append(('prefixSetId', prefix_set_id)) - - if routing_policy_id is not None: - - _query_params.append(('routingPolicyId', routing_policy_id)) - - if snmp_id is not None: - - _query_params.append(('snmpId', snmp_id)) - - if syslog_server_id is not None: - - _query_params.append(('syslogServerId', syslog_server_id)) - - if traffic_policy_id is not None: - - _query_params.append(('trafficPolicyId', traffic_policy_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -78203,7 +78160,7 @@ def _v1_global_device_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/device-status', + resource_path='/v1/global/ipsec-profile/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78220,9 +78177,10 @@ def _v1_global_device_status_get_serialize( @validate_call - def v1_global_domain_categories_get( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78235,13 +78193,15 @@ def v1_global_domain_categories_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalDomainCategoriesGetResponse: - """v1_global_domain_categories_get + ) -> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse: + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get all domain categories from the DPI engine + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78264,8 +78224,9 @@ def v1_global_domain_categories_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_domain_categories_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78273,7 +78234,7 @@ def v1_global_domain_categories_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78287,9 +78248,10 @@ def v1_global_domain_categories_get( @validate_call - def v1_global_domain_categories_get_with_http_info( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78302,13 +78264,15 @@ def v1_global_domain_categories_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalDomainCategoriesGetResponse]: - """v1_global_domain_categories_get + ) -> ApiResponse[V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse]: + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get all domain categories from the DPI engine + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78331,8 +78295,9 @@ def v1_global_domain_categories_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_domain_categories_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78340,7 +78305,7 @@ def v1_global_domain_categories_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78354,9 +78319,10 @@ def v1_global_domain_categories_get_with_http_info( @validate_call - def v1_global_domain_categories_get_without_preload_content( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78370,12 +78336,14 @@ def v1_global_domain_categories_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_domain_categories_get + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get all domain categories from the DPI engine + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78398,8 +78366,9 @@ def v1_global_domain_categories_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_domain_categories_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78407,7 +78376,7 @@ def v1_global_domain_categories_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDomainCategoriesGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78416,9 +78385,10 @@ def v1_global_domain_categories_get_without_preload_content( return response_data.response - def _v1_global_domain_categories_get_serialize( + def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( self, authorization, + vpn_profile_id, _request_auth, _content_type, _headers, @@ -78440,6 +78410,8 @@ def _v1_global_domain_categories_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if vpn_profile_id is not None: + _path_params['vpnProfileId'] = vpn_profile_id # process the query parameters # process the header parameters if authorization is not None: @@ -78464,7 +78436,7 @@ def _v1_global_domain_categories_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/domain-categories', + resource_path='/v1/global/ipsec-profile/{vpnProfileId}/site-to-site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78481,10 +78453,9 @@ def _v1_global_domain_categories_get_serialize( @validate_call - def v1_global_ipfix_device_get( + def v1_global_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78497,15 +78468,13 @@ def v1_global_ipfix_device_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixDeviceGetResponse: - """v1_global_ipfix_device_get + ) -> V1GlobalLanSegmentsGetResponse: + """v1_global_lan_segments_get - Get global ipfix exporters objects that failed to attach for a device + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78528,9 +78497,8 @@ def v1_global_ipfix_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, - device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78538,7 +78506,7 @@ def v1_global_ipfix_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78552,10 +78520,9 @@ def v1_global_ipfix_device_get( @validate_call - def v1_global_ipfix_device_get_with_http_info( + def v1_global_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78568,15 +78535,13 @@ def v1_global_ipfix_device_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixDeviceGetResponse]: - """v1_global_ipfix_device_get + ) -> ApiResponse[V1GlobalLanSegmentsGetResponse]: + """v1_global_lan_segments_get - Get global ipfix exporters objects that failed to attach for a device + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78599,9 +78564,8 @@ def v1_global_ipfix_device_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, - device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78609,7 +78573,7 @@ def v1_global_ipfix_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78623,10 +78587,9 @@ def v1_global_ipfix_device_get_with_http_info( @validate_call - def v1_global_ipfix_device_get_without_preload_content( + def v1_global_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78640,14 +78603,12 @@ def v1_global_ipfix_device_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_device_get + """v1_global_lan_segments_get - Get global ipfix exporters objects that failed to attach for a device + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78670,9 +78631,8 @@ def v1_global_ipfix_device_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, - device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78680,7 +78640,7 @@ def v1_global_ipfix_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78689,10 +78649,9 @@ def v1_global_ipfix_device_get_without_preload_content( return response_data.response - def _v1_global_ipfix_device_get_serialize( + def _v1_global_lan_segments_get_serialize( self, authorization, - device_id, _request_auth, _content_type, _headers, @@ -78715,10 +78674,6 @@ def _v1_global_ipfix_device_get_serialize( # process the path parameters # process the query parameters - if device_id is not None: - - _query_params.append(('deviceId', device_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -78742,7 +78697,7 @@ def _v1_global_ipfix_device_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipfix/device', + resource_path='/v1/global/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78759,10 +78714,10 @@ def _v1_global_ipfix_device_get_serialize( @validate_call - def v1_global_ipfix_post( + def v1_global_lan_segments_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78775,15 +78730,15 @@ def v1_global_ipfix_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixPostResponse: - """v1_global_ipfix_post + ) -> None: + """v1_global_lan_segments_id_delete - Get configured global ipfix exporters + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78806,9 +78761,9 @@ def v1_global_ipfix_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78816,7 +78771,7 @@ def v1_global_ipfix_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -78830,10 +78785,10 @@ def v1_global_ipfix_post( @validate_call - def v1_global_ipfix_post_with_http_info( + def v1_global_lan_segments_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78846,15 +78801,15 @@ def v1_global_ipfix_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixPostResponse]: - """v1_global_ipfix_post + ) -> ApiResponse[None]: + """v1_global_lan_segments_id_delete - Get configured global ipfix exporters + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78877,9 +78832,9 @@ def v1_global_ipfix_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78887,7 +78842,7 @@ def v1_global_ipfix_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -78901,10 +78856,10 @@ def v1_global_ipfix_post_with_http_info( @validate_call - def v1_global_ipfix_post_without_preload_content( + def v1_global_lan_segments_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78918,14 +78873,14 @@ def v1_global_ipfix_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_post + """v1_global_lan_segments_id_delete - Get configured global ipfix exporters + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78948,9 +78903,9 @@ def v1_global_ipfix_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78958,7 +78913,7 @@ def v1_global_ipfix_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -78967,10 +78922,10 @@ def v1_global_ipfix_post_without_preload_content( return response_data.response - def _v1_global_ipfix_post_serialize( + def _v1_global_lan_segments_id_delete_serialize( self, authorization, - v1_global_ipfix_post_request, + id, _request_auth, _content_type, _headers, @@ -78992,37 +78947,17 @@ def _v1_global_ipfix_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_ipfix_post_request is not None: - _body_params = v1_global_ipfix_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -79030,8 +78965,8 @@ def _v1_global_ipfix_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/ipfix', + method='DELETE', + resource_path='/v1/global/lan-segments/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79048,10 +78983,10 @@ def _v1_global_ipfix_post_serialize( @validate_call - def v1_global_ipfix_site_get( + def v1_global_lan_segments_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79064,15 +78999,15 @@ def v1_global_ipfix_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixSiteGetResponse: - """v1_global_ipfix_site_get + ) -> V1GlobalLanSegmentsPostResponse: + """v1_global_lan_segments_post - Get configured global ipfix exporters for a site + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79095,9 +79030,9 @@ def v1_global_ipfix_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79105,7 +79040,7 @@ def v1_global_ipfix_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79119,10 +79054,10 @@ def v1_global_ipfix_site_get( @validate_call - def v1_global_ipfix_site_get_with_http_info( + def v1_global_lan_segments_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79135,15 +79070,15 @@ def v1_global_ipfix_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixSiteGetResponse]: - """v1_global_ipfix_site_get + ) -> ApiResponse[V1GlobalLanSegmentsPostResponse]: + """v1_global_lan_segments_post - Get configured global ipfix exporters for a site + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79166,9 +79101,9 @@ def v1_global_ipfix_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79176,7 +79111,7 @@ def v1_global_ipfix_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79190,10 +79125,10 @@ def v1_global_ipfix_site_get_with_http_info( @validate_call - def v1_global_ipfix_site_get_without_preload_content( + def v1_global_lan_segments_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79207,14 +79142,14 @@ def v1_global_ipfix_site_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_site_get + """v1_global_lan_segments_post - Get configured global ipfix exporters for a site + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79237,9 +79172,9 @@ def v1_global_ipfix_site_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79247,7 +79182,7 @@ def v1_global_ipfix_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79256,10 +79191,10 @@ def v1_global_ipfix_site_get_without_preload_content( return response_data.response - def _v1_global_ipfix_site_get_serialize( + def _v1_global_lan_segments_post_serialize( self, authorization, - site_id, + v1_global_lan_segments_post_request, _request_auth, _content_type, _headers, @@ -79282,15 +79217,13 @@ def _v1_global_ipfix_site_get_serialize( # process the path parameters # process the query parameters - if site_id is not None: - - _query_params.append(('siteId', site_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_lan_segments_post_request is not None: + _body_params = v1_global_lan_segments_post_request # set the HTTP header `Accept` @@ -79301,6 +79234,19 @@ def _v1_global_ipfix_site_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -79308,8 +79254,8 @@ def _v1_global_ipfix_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ipfix/site', + method='POST', + resource_path='/v1/global/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79326,9 +79272,10 @@ def _v1_global_ipfix_site_get_serialize( @validate_call - def v1_global_ipsec_profile_get( + def v1_global_lan_segments_vrf_id_devices_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79341,13 +79288,15 @@ def v1_global_ipsec_profile_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileGetResponse: - """v1_global_ipsec_profile_get + ) -> V1GlobalLanSegmentsVrfIdDevicesGetResponse: + """v1_global_lan_segments_vrf_id_devices_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79370,8 +79319,9 @@ def v1_global_ipsec_profile_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79379,7 +79329,7 @@ def v1_global_ipsec_profile_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79393,9 +79343,10 @@ def v1_global_ipsec_profile_get( @validate_call - def v1_global_ipsec_profile_get_with_http_info( + def v1_global_lan_segments_vrf_id_devices_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79408,13 +79359,15 @@ def v1_global_ipsec_profile_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileGetResponse]: - """v1_global_ipsec_profile_get + ) -> ApiResponse[V1GlobalLanSegmentsVrfIdDevicesGetResponse]: + """v1_global_lan_segments_vrf_id_devices_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79437,8 +79390,9 @@ def v1_global_ipsec_profile_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79446,7 +79400,7 @@ def v1_global_ipsec_profile_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79460,9 +79414,10 @@ def v1_global_ipsec_profile_get_with_http_info( @validate_call - def v1_global_ipsec_profile_get_without_preload_content( + def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79476,12 +79431,14 @@ def v1_global_ipsec_profile_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_get + """v1_global_lan_segments_vrf_id_devices_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79504,8 +79461,9 @@ def v1_global_ipsec_profile_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79513,7 +79471,7 @@ def v1_global_ipsec_profile_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79522,9 +79480,10 @@ def v1_global_ipsec_profile_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_get_serialize( + def _v1_global_lan_segments_vrf_id_devices_get_serialize( self, authorization, + vrf_id, _request_auth, _content_type, _headers, @@ -79546,6 +79505,8 @@ def _v1_global_ipsec_profile_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if vrf_id is not None: + _path_params['vrfId'] = vrf_id # process the query parameters # process the header parameters if authorization is not None: @@ -79570,7 +79531,7 @@ def _v1_global_ipsec_profile_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipsec-profile', + resource_path='/v1/global/lan-segments/{vrfId}/devices', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79587,10 +79548,10 @@ def _v1_global_ipsec_profile_get_serialize( @validate_call - def v1_global_ipsec_profile_id_get( + def v1_global_ntps_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79603,15 +79564,15 @@ def v1_global_ipsec_profile_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileIdGetResponse: - """v1_global_ipsec_profile_id_get + ) -> V1GlobalNtpsDeviceGetResponse: + """v1_global_ntps_device_get - Get details of the configured global IPsec Profiles + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79634,9 +79595,9 @@ def v1_global_ipsec_profile_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79644,7 +79605,7 @@ def v1_global_ipsec_profile_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79658,10 +79619,10 @@ def v1_global_ipsec_profile_id_get( @validate_call - def v1_global_ipsec_profile_id_get_with_http_info( + def v1_global_ntps_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79674,15 +79635,15 @@ def v1_global_ipsec_profile_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileIdGetResponse]: - """v1_global_ipsec_profile_id_get + ) -> ApiResponse[V1GlobalNtpsDeviceGetResponse]: + """v1_global_ntps_device_get - Get details of the configured global IPsec Profiles + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79705,9 +79666,9 @@ def v1_global_ipsec_profile_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79715,7 +79676,7 @@ def v1_global_ipsec_profile_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79729,10 +79690,10 @@ def v1_global_ipsec_profile_id_get_with_http_info( @validate_call - def v1_global_ipsec_profile_id_get_without_preload_content( + def v1_global_ntps_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79746,14 +79707,14 @@ def v1_global_ipsec_profile_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_id_get + """v1_global_ntps_device_get - Get details of the configured global IPsec Profiles + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79776,9 +79737,9 @@ def v1_global_ipsec_profile_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79786,7 +79747,7 @@ def v1_global_ipsec_profile_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79795,10 +79756,10 @@ def v1_global_ipsec_profile_id_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_id_get_serialize( + def _v1_global_ntps_device_get_serialize( self, authorization, - id, + device_id, _request_auth, _content_type, _headers, @@ -79820,9 +79781,11 @@ def _v1_global_ipsec_profile_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if device_id is not None: + + _query_params.append(('deviceId', device_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -79846,7 +79809,7 @@ def _v1_global_ipsec_profile_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipsec-profile/{id}', + resource_path='/v1/global/ntps/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79863,10 +79826,10 @@ def _v1_global_ipsec_profile_id_get_serialize( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( + def v1_global_ntps_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79879,15 +79842,15 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + ) -> V1GlobalNtpsPostResponse: + """v1_global_ntps_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79910,9 +79873,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79920,7 +79883,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79934,10 +79897,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( + def v1_global_ntps_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79950,15 +79913,15 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse]: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + ) -> ApiResponse[V1GlobalNtpsPostResponse]: + """v1_global_ntps_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79981,9 +79944,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79991,7 +79954,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80005,10 +79968,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_content( + def v1_global_ntps_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80022,14 +79985,14 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + """v1_global_ntps_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80052,9 +80015,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80062,7 +80025,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80071,10 +80034,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont return response_data.response - def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + def _v1_global_ntps_post_serialize( self, authorization, - vpn_profile_id, + v1_global_ntps_post_request, _request_auth, _content_type, _headers, @@ -80096,14 +80059,14 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if vpn_profile_id is not None: - _path_params['vpnProfileId'] = vpn_profile_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_ntps_post_request is not None: + _body_params = v1_global_ntps_post_request # set the HTTP header `Accept` @@ -80114,6 +80077,19 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -80121,8 +80097,8 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ipsec-profile/{vpnProfileId}/site-to-site', + method='POST', + resource_path='/v1/global/ntps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80139,9 +80115,10 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( @validate_call - def v1_global_lan_segments_get( + def v1_global_ntps_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80154,13 +80131,15 @@ def v1_global_lan_segments_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsGetResponse: - """v1_global_lan_segments_get + ) -> V1GlobalNtpsSiteGetResponse: + """v1_global_ntps_site_get - Get a list of lan-segments under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80183,8 +80162,9 @@ def v1_global_lan_segments_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80192,7 +80172,7 @@ def v1_global_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80206,9 +80186,10 @@ def v1_global_lan_segments_get( @validate_call - def v1_global_lan_segments_get_with_http_info( + def v1_global_ntps_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80221,13 +80202,15 @@ def v1_global_lan_segments_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsGetResponse]: - """v1_global_lan_segments_get + ) -> ApiResponse[V1GlobalNtpsSiteGetResponse]: + """v1_global_ntps_site_get - Get a list of lan-segments under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80250,8 +80233,9 @@ def v1_global_lan_segments_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80259,7 +80243,7 @@ def v1_global_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80273,9 +80257,10 @@ def v1_global_lan_segments_get_with_http_info( @validate_call - def v1_global_lan_segments_get_without_preload_content( + def v1_global_ntps_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80289,12 +80274,14 @@ def v1_global_lan_segments_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_get + """v1_global_ntps_site_get - Get a list of lan-segments under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80317,8 +80304,9 @@ def v1_global_lan_segments_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80326,7 +80314,7 @@ def v1_global_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80335,9 +80323,10 @@ def v1_global_lan_segments_get_without_preload_content( return response_data.response - def _v1_global_lan_segments_get_serialize( + def _v1_global_ntps_site_get_serialize( self, authorization, + site_id, _request_auth, _content_type, _headers, @@ -80360,6 +80349,10 @@ def _v1_global_lan_segments_get_serialize( # process the path parameters # process the query parameters + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -80383,7 +80376,7 @@ def _v1_global_lan_segments_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/lan-segments', + resource_path='/v1/global/ntps/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80400,10 +80393,10 @@ def _v1_global_lan_segments_get_serialize( @validate_call - def v1_global_lan_segments_id_delete( + def v1_global_prefix_sets_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80416,15 +80409,15 @@ def v1_global_lan_segments_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_global_lan_segments_id_delete + ) -> V1GlobalPrefixSetsPostResponse: + """v1_global_prefix_sets_post - Delete a lan-segment + Get configured global prefix-sets :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_prefix_sets_post_request: (required) + :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80447,9 +80440,9 @@ def v1_global_lan_segments_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_prefix_sets_post_serialize( authorization=authorization, - id=id, + v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80457,7 +80450,7 @@ def v1_global_lan_segments_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalPrefixSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80471,10 +80464,10 @@ def v1_global_lan_segments_id_delete( @validate_call - def v1_global_lan_segments_id_delete_with_http_info( + def v1_global_prefix_sets_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80487,15 +80480,15 @@ def v1_global_lan_segments_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_global_lan_segments_id_delete + ) -> ApiResponse[V1GlobalPrefixSetsPostResponse]: + """v1_global_prefix_sets_post - Delete a lan-segment + Get configured global prefix-sets :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_prefix_sets_post_request: (required) + :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80518,9 +80511,9 @@ def v1_global_lan_segments_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_prefix_sets_post_serialize( authorization=authorization, - id=id, + v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80528,7 +80521,7 @@ def v1_global_lan_segments_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalPrefixSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80542,10 +80535,10 @@ def v1_global_lan_segments_id_delete_with_http_info( @validate_call - def v1_global_lan_segments_id_delete_without_preload_content( + def v1_global_prefix_sets_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80559,14 +80552,14 @@ def v1_global_lan_segments_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_id_delete + """v1_global_prefix_sets_post - Delete a lan-segment + Get configured global prefix-sets :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_prefix_sets_post_request: (required) + :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80589,9 +80582,9 @@ def v1_global_lan_segments_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_prefix_sets_post_serialize( authorization=authorization, - id=id, + v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80599,7 +80592,7 @@ def v1_global_lan_segments_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalPrefixSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80608,10 +80601,10 @@ def v1_global_lan_segments_id_delete_without_preload_content( return response_data.response - def _v1_global_lan_segments_id_delete_serialize( + def _v1_global_prefix_sets_post_serialize( self, authorization, - id, + v1_global_prefix_sets_post_request, _request_auth, _content_type, _headers, @@ -80633,17 +80626,37 @@ def _v1_global_lan_segments_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_prefix_sets_post_request is not None: + _body_params = v1_global_prefix_sets_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -80651,8 +80664,8 @@ def _v1_global_lan_segments_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/lan-segments/{id}', + method='POST', + resource_path='/v1/global/prefix-sets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80669,10 +80682,10 @@ def _v1_global_lan_segments_id_delete_serialize( @validate_call - def v1_global_lan_segments_post( + def v1_global_routing_policies_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80685,15 +80698,15 @@ def v1_global_lan_segments_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsPostResponse: - """v1_global_lan_segments_post + ) -> V1GlobalRoutingPoliciesPostResponse: + """v1_global_routing_policies_post - Create a new lan-segment scoped to the enterprise + Get configured global routing-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_routing_policies_post_request: (required) + :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80716,9 +80729,9 @@ def v1_global_lan_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_routing_policies_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80726,7 +80739,7 @@ def v1_global_lan_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalRoutingPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80740,10 +80753,10 @@ def v1_global_lan_segments_post( @validate_call - def v1_global_lan_segments_post_with_http_info( + def v1_global_routing_policies_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80756,15 +80769,15 @@ def v1_global_lan_segments_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsPostResponse]: - """v1_global_lan_segments_post + ) -> ApiResponse[V1GlobalRoutingPoliciesPostResponse]: + """v1_global_routing_policies_post - Create a new lan-segment scoped to the enterprise + Get configured global routing-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_routing_policies_post_request: (required) + :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80787,9 +80800,9 @@ def v1_global_lan_segments_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_routing_policies_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80797,7 +80810,7 @@ def v1_global_lan_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalRoutingPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80811,10 +80824,10 @@ def v1_global_lan_segments_post_with_http_info( @validate_call - def v1_global_lan_segments_post_without_preload_content( + def v1_global_routing_policies_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80828,14 +80841,14 @@ def v1_global_lan_segments_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_post + """v1_global_routing_policies_post - Create a new lan-segment scoped to the enterprise + Get configured global routing-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_routing_policies_post_request: (required) + :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80858,9 +80871,9 @@ def v1_global_lan_segments_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_routing_policies_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80868,7 +80881,7 @@ def v1_global_lan_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalRoutingPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80877,10 +80890,10 @@ def v1_global_lan_segments_post_without_preload_content( return response_data.response - def _v1_global_lan_segments_post_serialize( + def _v1_global_routing_policies_post_serialize( self, authorization, - v1_global_lan_segments_post_request, + v1_global_routing_policies_post_request, _request_auth, _content_type, _headers, @@ -80908,8 +80921,8 @@ def _v1_global_lan_segments_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_lan_segments_post_request is not None: - _body_params = v1_global_lan_segments_post_request + if v1_global_routing_policies_post_request is not None: + _body_params = v1_global_routing_policies_post_request # set the HTTP header `Accept` @@ -80941,7 +80954,7 @@ def _v1_global_lan_segments_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/lan-segments', + resource_path='/v1/global/routing-policies', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80958,10 +80971,9 @@ def _v1_global_lan_segments_post_serialize( @validate_call - def v1_global_lan_segments_vrf_id_devices_get( + def v1_global_site_lists_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80974,15 +80986,13 @@ def v1_global_lan_segments_vrf_id_devices_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsVrfIdDevicesGetResponse: - """v1_global_lan_segments_vrf_id_devices_get + ) -> V1GlobalSiteListsGetResponse: + """v1_global_site_lists_get - Get a list of lan-segment devices under the currently logged in enterprise + Get a list of site lists under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81005,9 +81015,8 @@ def v1_global_lan_segments_vrf_id_devices_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_site_lists_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81015,7 +81024,7 @@ def v1_global_lan_segments_vrf_id_devices_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalSiteListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81029,10 +81038,9 @@ def v1_global_lan_segments_vrf_id_devices_get( @validate_call - def v1_global_lan_segments_vrf_id_devices_get_with_http_info( + def v1_global_site_lists_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81045,15 +81053,13 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsVrfIdDevicesGetResponse]: - """v1_global_lan_segments_vrf_id_devices_get + ) -> ApiResponse[V1GlobalSiteListsGetResponse]: + """v1_global_site_lists_get - Get a list of lan-segment devices under the currently logged in enterprise + Get a list of site lists under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81076,9 +81082,8 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_site_lists_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81086,7 +81091,7 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalSiteListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81100,10 +81105,9 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( @validate_call - def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( + def v1_global_site_lists_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81117,14 +81121,12 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_vrf_id_devices_get + """v1_global_site_lists_get - Get a list of lan-segment devices under the currently logged in enterprise + Get a list of site lists under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81147,9 +81149,8 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_site_lists_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81157,7 +81158,7 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalSiteListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81166,10 +81167,9 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( return response_data.response - def _v1_global_lan_segments_vrf_id_devices_get_serialize( + def _v1_global_site_lists_get_serialize( self, authorization, - vrf_id, _request_auth, _content_type, _headers, @@ -81191,8 +81191,6 @@ def _v1_global_lan_segments_vrf_id_devices_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if vrf_id is not None: - _path_params['vrfId'] = vrf_id # process the query parameters # process the header parameters if authorization is not None: @@ -81217,7 +81215,7 @@ def _v1_global_lan_segments_vrf_id_devices_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/lan-segments/{vrfId}/devices', + resource_path='/v1/global/site-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81234,10 +81232,10 @@ def _v1_global_lan_segments_vrf_id_devices_get_serialize( @validate_call - def v1_global_ntps_device_get( + def v1_global_site_lists_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81250,15 +81248,15 @@ def v1_global_ntps_device_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalNtpsDeviceGetResponse: - """v1_global_ntps_device_get + ) -> None: + """v1_global_site_lists_id_delete - Get global ntp objects that failed to attach for a device + Delete a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81281,9 +81279,9 @@ def v1_global_ntps_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_device_get_serialize( + _param = self._v1_global_site_lists_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81291,7 +81289,7 @@ def v1_global_ntps_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -81305,10 +81303,10 @@ def v1_global_ntps_device_get( @validate_call - def v1_global_ntps_device_get_with_http_info( + def v1_global_site_lists_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81321,15 +81319,15 @@ def v1_global_ntps_device_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalNtpsDeviceGetResponse]: - """v1_global_ntps_device_get + ) -> ApiResponse[None]: + """v1_global_site_lists_id_delete - Get global ntp objects that failed to attach for a device + Delete a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81352,9 +81350,9 @@ def v1_global_ntps_device_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_device_get_serialize( + _param = self._v1_global_site_lists_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81362,7 +81360,7 @@ def v1_global_ntps_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -81376,10 +81374,10 @@ def v1_global_ntps_device_get_with_http_info( @validate_call - def v1_global_ntps_device_get_without_preload_content( + def v1_global_site_lists_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81393,14 +81391,14 @@ def v1_global_ntps_device_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ntps_device_get + """v1_global_site_lists_id_delete - Get global ntp objects that failed to attach for a device + Delete a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81423,9 +81421,9 @@ def v1_global_ntps_device_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_device_get_serialize( + _param = self._v1_global_site_lists_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81433,7 +81431,7 @@ def v1_global_ntps_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -81442,10 +81440,10 @@ def v1_global_ntps_device_get_without_preload_content( return response_data.response - def _v1_global_ntps_device_get_serialize( + def _v1_global_site_lists_id_delete_serialize( self, authorization, - device_id, + id, _request_auth, _content_type, _headers, @@ -81467,11 +81465,9 @@ def _v1_global_ntps_device_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters - if device_id is not None: - - _query_params.append(('deviceId', device_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -81479,13 +81475,6 @@ def _v1_global_ntps_device_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -81494,8 +81483,8 @@ def _v1_global_ntps_device_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ntps/device', + method='DELETE', + resource_path='/v1/global/site-lists/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81512,10 +81501,10 @@ def _v1_global_ntps_device_get_serialize( @validate_call - def v1_global_ntps_post( + def v1_global_site_lists_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ntps_post_request: V1GlobalNtpsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81528,15 +81517,15 @@ def v1_global_ntps_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalNtpsPostResponse: - """v1_global_ntps_post + ) -> V1GlobalSiteListsIdGetResponse: + """v1_global_site_lists_id_get - Get configured global ntps + Get a details of a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ntps_post_request: (required) - :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81559,9 +81548,9 @@ def v1_global_ntps_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_post_serialize( + _param = self._v1_global_site_lists_id_get_serialize( authorization=authorization, - v1_global_ntps_post_request=v1_global_ntps_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81569,7 +81558,7 @@ def v1_global_ntps_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsPostResponse", + '200': "V1GlobalSiteListsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81583,10 +81572,10 @@ def v1_global_ntps_post( @validate_call - def v1_global_ntps_post_with_http_info( + def v1_global_site_lists_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ntps_post_request: V1GlobalNtpsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81599,15 +81588,15 @@ def v1_global_ntps_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalNtpsPostResponse]: - """v1_global_ntps_post + ) -> ApiResponse[V1GlobalSiteListsIdGetResponse]: + """v1_global_site_lists_id_get - Get configured global ntps + Get a details of a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ntps_post_request: (required) - :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81630,9 +81619,9 @@ def v1_global_ntps_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_post_serialize( + _param = self._v1_global_site_lists_id_get_serialize( authorization=authorization, - v1_global_ntps_post_request=v1_global_ntps_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81640,7 +81629,7 @@ def v1_global_ntps_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsPostResponse", + '200': "V1GlobalSiteListsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81654,10 +81643,10 @@ def v1_global_ntps_post_with_http_info( @validate_call - def v1_global_ntps_post_without_preload_content( + def v1_global_site_lists_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ntps_post_request: V1GlobalNtpsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81671,14 +81660,14 @@ def v1_global_ntps_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ntps_post + """v1_global_site_lists_id_get - Get configured global ntps + Get a details of a site list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ntps_post_request: (required) - :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81701,9 +81690,9 @@ def v1_global_ntps_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_post_serialize( + _param = self._v1_global_site_lists_id_get_serialize( authorization=authorization, - v1_global_ntps_post_request=v1_global_ntps_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81711,7 +81700,7 @@ def v1_global_ntps_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsPostResponse", + '200': "V1GlobalSiteListsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81720,10 +81709,10 @@ def v1_global_ntps_post_without_preload_content( return response_data.response - def _v1_global_ntps_post_serialize( + def _v1_global_site_lists_id_get_serialize( self, authorization, - v1_global_ntps_post_request, + id, _request_auth, _content_type, _headers, @@ -81745,14 +81734,14 @@ def _v1_global_ntps_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_ntps_post_request is not None: - _body_params = v1_global_ntps_post_request # set the HTTP header `Accept` @@ -81763,19 +81752,6 @@ def _v1_global_ntps_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -81783,8 +81759,8 @@ def _v1_global_ntps_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/ntps', + method='GET', + resource_path='/v1/global/site-lists/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81801,10 +81777,11 @@ def _v1_global_ntps_post_serialize( @validate_call - def v1_global_ntps_site_get( + def v1_global_site_lists_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + id: StrictInt, + v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81817,15 +81794,17 @@ def v1_global_ntps_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalNtpsSiteGetResponse: - """v1_global_ntps_site_get + ) -> V1GlobalSiteListsIdPutResponse: + """v1_global_site_lists_id_put - Get configured global ntps + Update a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param id: (required) + :type id: int + :param v1_global_site_lists_id_put_request: (required) + :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81848,9 +81827,10 @@ def v1_global_ntps_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_site_get_serialize( + _param = self._v1_global_site_lists_id_put_serialize( authorization=authorization, - site_id=site_id, + id=id, + v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81858,7 +81838,7 @@ def v1_global_ntps_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsSiteGetResponse", + '200': "V1GlobalSiteListsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -81872,10 +81852,11 @@ def v1_global_ntps_site_get( @validate_call - def v1_global_ntps_site_get_with_http_info( + def v1_global_site_lists_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + id: StrictInt, + v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81888,15 +81869,17 @@ def v1_global_ntps_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalNtpsSiteGetResponse]: - """v1_global_ntps_site_get + ) -> ApiResponse[V1GlobalSiteListsIdPutResponse]: + """v1_global_site_lists_id_put - Get configured global ntps + Update a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param id: (required) + :type id: int + :param v1_global_site_lists_id_put_request: (required) + :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81919,9 +81902,10 @@ def v1_global_ntps_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_site_get_serialize( + _param = self._v1_global_site_lists_id_put_serialize( authorization=authorization, - site_id=site_id, + id=id, + v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81929,7 +81913,7 @@ def v1_global_ntps_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsSiteGetResponse", + '200': "V1GlobalSiteListsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -81943,10 +81927,11 @@ def v1_global_ntps_site_get_with_http_info( @validate_call - def v1_global_ntps_site_get_without_preload_content( + def v1_global_site_lists_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + id: StrictInt, + v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81960,14 +81945,16 @@ def v1_global_ntps_site_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ntps_site_get + """v1_global_site_lists_id_put - Get configured global ntps + Update a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param id: (required) + :type id: int + :param v1_global_site_lists_id_put_request: (required) + :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81990,9 +81977,10 @@ def v1_global_ntps_site_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ntps_site_get_serialize( + _param = self._v1_global_site_lists_id_put_serialize( authorization=authorization, - site_id=site_id, + id=id, + v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82000,7 +81988,7 @@ def v1_global_ntps_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalNtpsSiteGetResponse", + '200': "V1GlobalSiteListsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -82009,10 +81997,11 @@ def v1_global_ntps_site_get_without_preload_content( return response_data.response - def _v1_global_ntps_site_get_serialize( + def _v1_global_site_lists_id_put_serialize( self, authorization, - site_id, + id, + v1_global_site_lists_id_put_request, _request_auth, _content_type, _headers, @@ -82034,16 +82023,16 @@ def _v1_global_ntps_site_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters - if site_id is not None: - - _query_params.append(('siteId', site_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_site_lists_id_put_request is not None: + _body_params = v1_global_site_lists_id_put_request # set the HTTP header `Accept` @@ -82054,6 +82043,19 @@ def _v1_global_ntps_site_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -82061,8 +82063,8 @@ def _v1_global_ntps_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ntps/site', + method='PUT', + resource_path='/v1/global/site-lists/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82079,10 +82081,10 @@ def _v1_global_ntps_site_get_serialize( @validate_call - def v1_global_prefix_sets_post( + def v1_global_site_lists_id_sites_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82095,15 +82097,15 @@ def v1_global_prefix_sets_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalPrefixSetsPostResponse: - """v1_global_prefix_sets_post + ) -> V1GlobalSiteListsIdSitesGetResponse: + """v1_global_site_lists_id_sites_get - Get configured global prefix-sets + Get a details of a site list sites :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_prefix_sets_post_request: (required) - :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82126,9 +82128,9 @@ def v1_global_prefix_sets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_prefix_sets_post_serialize( + _param = self._v1_global_site_lists_id_sites_get_serialize( authorization=authorization, - v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82136,7 +82138,7 @@ def v1_global_prefix_sets_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalPrefixSetsPostResponse", + '200': "V1GlobalSiteListsIdSitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82150,10 +82152,10 @@ def v1_global_prefix_sets_post( @validate_call - def v1_global_prefix_sets_post_with_http_info( + def v1_global_site_lists_id_sites_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82166,15 +82168,15 @@ def v1_global_prefix_sets_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalPrefixSetsPostResponse]: - """v1_global_prefix_sets_post + ) -> ApiResponse[V1GlobalSiteListsIdSitesGetResponse]: + """v1_global_site_lists_id_sites_get - Get configured global prefix-sets + Get a details of a site list sites :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_prefix_sets_post_request: (required) - :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82197,9 +82199,9 @@ def v1_global_prefix_sets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_prefix_sets_post_serialize( + _param = self._v1_global_site_lists_id_sites_get_serialize( authorization=authorization, - v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82207,7 +82209,7 @@ def v1_global_prefix_sets_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalPrefixSetsPostResponse", + '200': "V1GlobalSiteListsIdSitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82221,10 +82223,10 @@ def v1_global_prefix_sets_post_with_http_info( @validate_call - def v1_global_prefix_sets_post_without_preload_content( + def v1_global_site_lists_id_sites_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82238,14 +82240,14 @@ def v1_global_prefix_sets_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_prefix_sets_post + """v1_global_site_lists_id_sites_get - Get configured global prefix-sets + Get a details of a site list sites :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_prefix_sets_post_request: (required) - :type v1_global_prefix_sets_post_request: V1GlobalPrefixSetsPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82268,9 +82270,9 @@ def v1_global_prefix_sets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_prefix_sets_post_serialize( + _param = self._v1_global_site_lists_id_sites_get_serialize( authorization=authorization, - v1_global_prefix_sets_post_request=v1_global_prefix_sets_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82278,7 +82280,7 @@ def v1_global_prefix_sets_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalPrefixSetsPostResponse", + '200': "V1GlobalSiteListsIdSitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82287,10 +82289,10 @@ def v1_global_prefix_sets_post_without_preload_content( return response_data.response - def _v1_global_prefix_sets_post_serialize( + def _v1_global_site_lists_id_sites_get_serialize( self, authorization, - v1_global_prefix_sets_post_request, + id, _request_auth, _content_type, _headers, @@ -82312,14 +82314,14 @@ def _v1_global_prefix_sets_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_prefix_sets_post_request is not None: - _body_params = v1_global_prefix_sets_post_request # set the HTTP header `Accept` @@ -82330,19 +82332,6 @@ def _v1_global_prefix_sets_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -82350,8 +82339,8 @@ def _v1_global_prefix_sets_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/prefix-sets', + method='GET', + resource_path='/v1/global/site-lists/{id}/sites', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82368,10 +82357,10 @@ def _v1_global_prefix_sets_post_serialize( @validate_call - def v1_global_routing_policies_post( + def v1_global_site_lists_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, + v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82384,15 +82373,15 @@ def v1_global_routing_policies_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalRoutingPoliciesPostResponse: - """v1_global_routing_policies_post + ) -> V1GlobalSiteListsPostResponse: + """v1_global_site_lists_post - Get configured global routing-policies + Create a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_routing_policies_post_request: (required) - :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest + :param v1_global_site_lists_post_request: (required) + :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82415,9 +82404,9 @@ def v1_global_routing_policies_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_routing_policies_post_serialize( + _param = self._v1_global_site_lists_post_serialize( authorization=authorization, - v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, + v1_global_site_lists_post_request=v1_global_site_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82425,7 +82414,7 @@ def v1_global_routing_policies_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalRoutingPoliciesPostResponse", + '200': "V1GlobalSiteListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -82439,10 +82428,10 @@ def v1_global_routing_policies_post( @validate_call - def v1_global_routing_policies_post_with_http_info( + def v1_global_site_lists_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, + v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82455,15 +82444,15 @@ def v1_global_routing_policies_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalRoutingPoliciesPostResponse]: - """v1_global_routing_policies_post + ) -> ApiResponse[V1GlobalSiteListsPostResponse]: + """v1_global_site_lists_post - Get configured global routing-policies + Create a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_routing_policies_post_request: (required) - :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest + :param v1_global_site_lists_post_request: (required) + :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82486,9 +82475,9 @@ def v1_global_routing_policies_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_routing_policies_post_serialize( + _param = self._v1_global_site_lists_post_serialize( authorization=authorization, - v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, + v1_global_site_lists_post_request=v1_global_site_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82496,7 +82485,7 @@ def v1_global_routing_policies_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalRoutingPoliciesPostResponse", + '200': "V1GlobalSiteListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -82510,10 +82499,10 @@ def v1_global_routing_policies_post_with_http_info( @validate_call - def v1_global_routing_policies_post_without_preload_content( + def v1_global_site_lists_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest, + v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82527,14 +82516,14 @@ def v1_global_routing_policies_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_routing_policies_post + """v1_global_site_lists_post - Get configured global routing-policies + Create a new site list scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_routing_policies_post_request: (required) - :type v1_global_routing_policies_post_request: V1GlobalRoutingPoliciesPostRequest + :param v1_global_site_lists_post_request: (required) + :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82557,9 +82546,9 @@ def v1_global_routing_policies_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_routing_policies_post_serialize( + _param = self._v1_global_site_lists_post_serialize( authorization=authorization, - v1_global_routing_policies_post_request=v1_global_routing_policies_post_request, + v1_global_site_lists_post_request=v1_global_site_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82567,7 +82556,7 @@ def v1_global_routing_policies_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalRoutingPoliciesPostResponse", + '200': "V1GlobalSiteListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -82576,10 +82565,10 @@ def v1_global_routing_policies_post_without_preload_content( return response_data.response - def _v1_global_routing_policies_post_serialize( + def _v1_global_site_lists_post_serialize( self, authorization, - v1_global_routing_policies_post_request, + v1_global_site_lists_post_request, _request_auth, _content_type, _headers, @@ -82607,8 +82596,8 @@ def _v1_global_routing_policies_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_routing_policies_post_request is not None: - _body_params = v1_global_routing_policies_post_request + if v1_global_site_lists_post_request is not None: + _body_params = v1_global_site_lists_post_request # set the HTTP header `Accept` @@ -82640,7 +82629,7 @@ def _v1_global_routing_policies_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/routing-policies', + resource_path='/v1/global/site-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82657,9 +82646,16 @@ def _v1_global_routing_policies_post_serialize( @validate_call - def v1_global_site_lists_get( + def v1_global_site_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + ipfix_exported_site_id: Optional[StrictInt] = None, + ntp_site_id: Optional[StrictInt] = None, + prefix_set_site_id: Optional[StrictInt] = None, + routing_policy_site_id: Optional[StrictInt] = None, + snmp_site_id: Optional[StrictInt] = None, + syslog_server_site_id: Optional[StrictInt] = None, + traffic_policy_site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82672,13 +82668,27 @@ def v1_global_site_lists_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsGetResponse: - """v1_global_site_lists_get + ) -> V1GlobalSiteStatusGetResponse: + """v1_global_site_status_get - Get a list of site lists under the currently logged in enterprise + Get status on global objects attached to a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param ipfix_exported_site_id: + :type ipfix_exported_site_id: int + :param ntp_site_id: + :type ntp_site_id: int + :param prefix_set_site_id: + :type prefix_set_site_id: int + :param routing_policy_site_id: + :type routing_policy_site_id: int + :param snmp_site_id: + :type snmp_site_id: int + :param syslog_server_site_id: + :type syslog_server_site_id: int + :param traffic_policy_site_id: + :type traffic_policy_site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82701,8 +82711,15 @@ def v1_global_site_lists_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_get_serialize( + _param = self._v1_global_site_status_get_serialize( authorization=authorization, + ipfix_exported_site_id=ipfix_exported_site_id, + ntp_site_id=ntp_site_id, + prefix_set_site_id=prefix_set_site_id, + routing_policy_site_id=routing_policy_site_id, + snmp_site_id=snmp_site_id, + syslog_server_site_id=syslog_server_site_id, + traffic_policy_site_id=traffic_policy_site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82710,7 +82727,7 @@ def v1_global_site_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsGetResponse", + '200': "V1GlobalSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82724,9 +82741,16 @@ def v1_global_site_lists_get( @validate_call - def v1_global_site_lists_get_with_http_info( + def v1_global_site_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + ipfix_exported_site_id: Optional[StrictInt] = None, + ntp_site_id: Optional[StrictInt] = None, + prefix_set_site_id: Optional[StrictInt] = None, + routing_policy_site_id: Optional[StrictInt] = None, + snmp_site_id: Optional[StrictInt] = None, + syslog_server_site_id: Optional[StrictInt] = None, + traffic_policy_site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82739,13 +82763,27 @@ def v1_global_site_lists_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsGetResponse]: - """v1_global_site_lists_get + ) -> ApiResponse[V1GlobalSiteStatusGetResponse]: + """v1_global_site_status_get - Get a list of site lists under the currently logged in enterprise + Get status on global objects attached to a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param ipfix_exported_site_id: + :type ipfix_exported_site_id: int + :param ntp_site_id: + :type ntp_site_id: int + :param prefix_set_site_id: + :type prefix_set_site_id: int + :param routing_policy_site_id: + :type routing_policy_site_id: int + :param snmp_site_id: + :type snmp_site_id: int + :param syslog_server_site_id: + :type syslog_server_site_id: int + :param traffic_policy_site_id: + :type traffic_policy_site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82768,8 +82806,15 @@ def v1_global_site_lists_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_get_serialize( + _param = self._v1_global_site_status_get_serialize( authorization=authorization, + ipfix_exported_site_id=ipfix_exported_site_id, + ntp_site_id=ntp_site_id, + prefix_set_site_id=prefix_set_site_id, + routing_policy_site_id=routing_policy_site_id, + snmp_site_id=snmp_site_id, + syslog_server_site_id=syslog_server_site_id, + traffic_policy_site_id=traffic_policy_site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82777,7 +82822,7 @@ def v1_global_site_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsGetResponse", + '200': "V1GlobalSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82791,9 +82836,16 @@ def v1_global_site_lists_get_with_http_info( @validate_call - def v1_global_site_lists_get_without_preload_content( + def v1_global_site_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + ipfix_exported_site_id: Optional[StrictInt] = None, + ntp_site_id: Optional[StrictInt] = None, + prefix_set_site_id: Optional[StrictInt] = None, + routing_policy_site_id: Optional[StrictInt] = None, + snmp_site_id: Optional[StrictInt] = None, + syslog_server_site_id: Optional[StrictInt] = None, + traffic_policy_site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82807,12 +82859,26 @@ def v1_global_site_lists_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_get + """v1_global_site_status_get - Get a list of site lists under the currently logged in enterprise + Get status on global objects attached to a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param ipfix_exported_site_id: + :type ipfix_exported_site_id: int + :param ntp_site_id: + :type ntp_site_id: int + :param prefix_set_site_id: + :type prefix_set_site_id: int + :param routing_policy_site_id: + :type routing_policy_site_id: int + :param snmp_site_id: + :type snmp_site_id: int + :param syslog_server_site_id: + :type syslog_server_site_id: int + :param traffic_policy_site_id: + :type traffic_policy_site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82835,8 +82901,15 @@ def v1_global_site_lists_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_get_serialize( + _param = self._v1_global_site_status_get_serialize( authorization=authorization, + ipfix_exported_site_id=ipfix_exported_site_id, + ntp_site_id=ntp_site_id, + prefix_set_site_id=prefix_set_site_id, + routing_policy_site_id=routing_policy_site_id, + snmp_site_id=snmp_site_id, + syslog_server_site_id=syslog_server_site_id, + traffic_policy_site_id=traffic_policy_site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82844,7 +82917,7 @@ def v1_global_site_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsGetResponse", + '200': "V1GlobalSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82853,9 +82926,16 @@ def v1_global_site_lists_get_without_preload_content( return response_data.response - def _v1_global_site_lists_get_serialize( + def _v1_global_site_status_get_serialize( self, authorization, + ipfix_exported_site_id, + ntp_site_id, + prefix_set_site_id, + routing_policy_site_id, + snmp_site_id, + syslog_server_site_id, + traffic_policy_site_id, _request_auth, _content_type, _headers, @@ -82878,6 +82958,34 @@ def _v1_global_site_lists_get_serialize( # process the path parameters # process the query parameters + if ipfix_exported_site_id is not None: + + _query_params.append(('ipfixExportedSiteId', ipfix_exported_site_id)) + + if ntp_site_id is not None: + + _query_params.append(('ntpSiteId', ntp_site_id)) + + if prefix_set_site_id is not None: + + _query_params.append(('prefixSetSiteId', prefix_set_site_id)) + + if routing_policy_site_id is not None: + + _query_params.append(('routingPolicySiteId', routing_policy_site_id)) + + if snmp_site_id is not None: + + _query_params.append(('snmpSiteId', snmp_site_id)) + + if syslog_server_site_id is not None: + + _query_params.append(('syslogServerSiteId', syslog_server_site_id)) + + if traffic_policy_site_id is not None: + + _query_params.append(('trafficPolicySiteId', traffic_policy_site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -82901,7 +83009,7 @@ def _v1_global_site_lists_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/site-lists', + resource_path='/v1/global/site-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82918,10 +83026,10 @@ def _v1_global_site_lists_get_serialize( @validate_call - def v1_global_site_lists_id_delete( + def v1_global_snmps_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82934,15 +83042,15 @@ def v1_global_site_lists_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_global_site_lists_id_delete + ) -> V1GlobalSnmpsDeviceGetResponse: + """v1_global_snmps_device_get - Delete a site list + Get global snmp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82965,9 +83073,9 @@ def v1_global_site_lists_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_delete_serialize( + _param = self._v1_global_snmps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82975,7 +83083,7 @@ def v1_global_site_lists_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalSnmpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82989,10 +83097,10 @@ def v1_global_site_lists_id_delete( @validate_call - def v1_global_site_lists_id_delete_with_http_info( + def v1_global_snmps_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83005,15 +83113,15 @@ def v1_global_site_lists_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_global_site_lists_id_delete + ) -> ApiResponse[V1GlobalSnmpsDeviceGetResponse]: + """v1_global_snmps_device_get - Delete a site list + Get global snmp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83036,9 +83144,9 @@ def v1_global_site_lists_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_delete_serialize( + _param = self._v1_global_snmps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83046,7 +83154,7 @@ def v1_global_site_lists_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalSnmpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83060,10 +83168,10 @@ def v1_global_site_lists_id_delete_with_http_info( @validate_call - def v1_global_site_lists_id_delete_without_preload_content( + def v1_global_snmps_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83077,14 +83185,14 @@ def v1_global_site_lists_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_id_delete + """v1_global_snmps_device_get - Delete a site list + Get global snmp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83107,9 +83215,9 @@ def v1_global_site_lists_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_delete_serialize( + _param = self._v1_global_snmps_device_get_serialize( authorization=authorization, - id=id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83117,7 +83225,7 @@ def v1_global_site_lists_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1GlobalSnmpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83126,10 +83234,10 @@ def v1_global_site_lists_id_delete_without_preload_content( return response_data.response - def _v1_global_site_lists_id_delete_serialize( + def _v1_global_snmps_device_get_serialize( self, authorization, - id, + device_id, _request_auth, _content_type, _headers, @@ -83151,9 +83259,11 @@ def _v1_global_site_lists_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if device_id is not None: + + _query_params.append(('deviceId', device_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -83161,6 +83271,13 @@ def _v1_global_site_lists_id_delete_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -83169,8 +83286,8 @@ def _v1_global_site_lists_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/site-lists/{id}', + method='GET', + resource_path='/v1/global/snmps/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83187,10 +83304,10 @@ def _v1_global_site_lists_id_delete_serialize( @validate_call - def v1_global_site_lists_id_get( + def v1_global_snmps_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83203,15 +83320,15 @@ def v1_global_site_lists_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsIdGetResponse: - """v1_global_site_lists_id_get + ) -> V1GlobalSnmpsPostResponse: + """v1_global_snmps_post - Get a details of a site list + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_snmps_post_request: (required) + :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83234,9 +83351,9 @@ def v1_global_site_lists_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_get_serialize( + _param = self._v1_global_snmps_post_serialize( authorization=authorization, - id=id, + v1_global_snmps_post_request=v1_global_snmps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83244,7 +83361,7 @@ def v1_global_site_lists_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdGetResponse", + '200': "V1GlobalSnmpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83258,10 +83375,10 @@ def v1_global_site_lists_id_get( @validate_call - def v1_global_site_lists_id_get_with_http_info( + def v1_global_snmps_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83274,15 +83391,15 @@ def v1_global_site_lists_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsIdGetResponse]: - """v1_global_site_lists_id_get + ) -> ApiResponse[V1GlobalSnmpsPostResponse]: + """v1_global_snmps_post - Get a details of a site list + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_snmps_post_request: (required) + :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83305,9 +83422,9 @@ def v1_global_site_lists_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_get_serialize( + _param = self._v1_global_snmps_post_serialize( authorization=authorization, - id=id, + v1_global_snmps_post_request=v1_global_snmps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83315,7 +83432,7 @@ def v1_global_site_lists_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdGetResponse", + '200': "V1GlobalSnmpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83329,10 +83446,10 @@ def v1_global_site_lists_id_get_with_http_info( @validate_call - def v1_global_site_lists_id_get_without_preload_content( + def v1_global_snmps_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83346,14 +83463,14 @@ def v1_global_site_lists_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_id_get + """v1_global_snmps_post - Get a details of a site list + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_snmps_post_request: (required) + :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83376,9 +83493,9 @@ def v1_global_site_lists_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_get_serialize( + _param = self._v1_global_snmps_post_serialize( authorization=authorization, - id=id, + v1_global_snmps_post_request=v1_global_snmps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83386,7 +83503,7 @@ def v1_global_site_lists_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdGetResponse", + '200': "V1GlobalSnmpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83395,10 +83512,10 @@ def v1_global_site_lists_id_get_without_preload_content( return response_data.response - def _v1_global_site_lists_id_get_serialize( + def _v1_global_snmps_post_serialize( self, authorization, - id, + v1_global_snmps_post_request, _request_auth, _content_type, _headers, @@ -83420,14 +83537,14 @@ def _v1_global_site_lists_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_snmps_post_request is not None: + _body_params = v1_global_snmps_post_request # set the HTTP header `Accept` @@ -83438,6 +83555,19 @@ def _v1_global_site_lists_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -83445,8 +83575,8 @@ def _v1_global_site_lists_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/site-lists/{id}', + method='POST', + resource_path='/v1/global/snmps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83463,11 +83593,10 @@ def _v1_global_site_lists_id_get_serialize( @validate_call - def v1_global_site_lists_id_put( + def v1_global_snmps_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83480,17 +83609,15 @@ def v1_global_site_lists_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsIdPutResponse: - """v1_global_site_lists_id_put + ) -> V1GlobalSnmpsSiteGetResponse: + """v1_global_snmps_site_get - Update a new site list scoped to the enterprise + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_global_site_lists_id_put_request: (required) - :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83513,10 +83640,9 @@ def v1_global_site_lists_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_put_serialize( + _param = self._v1_global_snmps_site_get_serialize( authorization=authorization, - id=id, - v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83524,7 +83650,7 @@ def v1_global_site_lists_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdPutResponse", + '200': "V1GlobalSnmpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83538,11 +83664,10 @@ def v1_global_site_lists_id_put( @validate_call - def v1_global_site_lists_id_put_with_http_info( + def v1_global_snmps_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83555,17 +83680,15 @@ def v1_global_site_lists_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsIdPutResponse]: - """v1_global_site_lists_id_put + ) -> ApiResponse[V1GlobalSnmpsSiteGetResponse]: + """v1_global_snmps_site_get - Update a new site list scoped to the enterprise + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_global_site_lists_id_put_request: (required) - :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83588,10 +83711,9 @@ def v1_global_site_lists_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_put_serialize( + _param = self._v1_global_snmps_site_get_serialize( authorization=authorization, - id=id, - v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83599,7 +83721,7 @@ def v1_global_site_lists_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdPutResponse", + '200': "V1GlobalSnmpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83613,11 +83735,10 @@ def v1_global_site_lists_id_put_with_http_info( @validate_call - def v1_global_site_lists_id_put_without_preload_content( + def v1_global_snmps_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83631,16 +83752,14 @@ def v1_global_site_lists_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_id_put + """v1_global_snmps_site_get - Update a new site list scoped to the enterprise + Get configured global snmps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_global_site_lists_id_put_request: (required) - :type v1_global_site_lists_id_put_request: V1GlobalSiteListsIdPutRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83663,10 +83782,9 @@ def v1_global_site_lists_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_put_serialize( + _param = self._v1_global_snmps_site_get_serialize( authorization=authorization, - id=id, - v1_global_site_lists_id_put_request=v1_global_site_lists_id_put_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83674,7 +83792,7 @@ def v1_global_site_lists_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdPutResponse", + '200': "V1GlobalSnmpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83683,11 +83801,10 @@ def v1_global_site_lists_id_put_without_preload_content( return response_data.response - def _v1_global_site_lists_id_put_serialize( + def _v1_global_snmps_site_get_serialize( self, authorization, - id, - v1_global_site_lists_id_put_request, + site_id, _request_auth, _content_type, _headers, @@ -83709,16 +83826,16 @@ def _v1_global_site_lists_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_site_lists_id_put_request is not None: - _body_params = v1_global_site_lists_id_put_request # set the HTTP header `Accept` @@ -83729,19 +83846,6 @@ def _v1_global_site_lists_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -83749,8 +83853,8 @@ def _v1_global_site_lists_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/site-lists/{id}', + method='GET', + resource_path='/v1/global/snmps/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83767,10 +83871,10 @@ def _v1_global_site_lists_id_put_serialize( @validate_call - def v1_global_site_lists_id_sites_get( + def v1_global_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83783,15 +83887,15 @@ def v1_global_site_lists_id_sites_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsIdSitesGetResponse: - """v1_global_site_lists_id_sites_get + ) -> V1GlobalSummaryPostResponse: + """v1_global_summary_post - Get a details of a site list sites + Get summary on global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_summary_post_request: (required) + :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83814,9 +83918,9 @@ def v1_global_site_lists_id_sites_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_sites_get_serialize( + _param = self._v1_global_summary_post_serialize( authorization=authorization, - id=id, + v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83824,7 +83928,7 @@ def v1_global_site_lists_id_sites_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdSitesGetResponse", + '200': "V1GlobalSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83838,10 +83942,10 @@ def v1_global_site_lists_id_sites_get( @validate_call - def v1_global_site_lists_id_sites_get_with_http_info( + def v1_global_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83854,15 +83958,15 @@ def v1_global_site_lists_id_sites_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsIdSitesGetResponse]: - """v1_global_site_lists_id_sites_get + ) -> ApiResponse[V1GlobalSummaryPostResponse]: + """v1_global_summary_post - Get a details of a site list sites + Get summary on global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_summary_post_request: (required) + :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83885,9 +83989,9 @@ def v1_global_site_lists_id_sites_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_sites_get_serialize( + _param = self._v1_global_summary_post_serialize( authorization=authorization, - id=id, + v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83895,7 +83999,7 @@ def v1_global_site_lists_id_sites_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdSitesGetResponse", + '200': "V1GlobalSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83909,10 +84013,10 @@ def v1_global_site_lists_id_sites_get_with_http_info( @validate_call - def v1_global_site_lists_id_sites_get_without_preload_content( + def v1_global_summary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83926,14 +84030,14 @@ def v1_global_site_lists_id_sites_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_id_sites_get + """v1_global_summary_post - Get a details of a site list sites + Get summary on global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_global_summary_post_request: (required) + :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83956,9 +84060,9 @@ def v1_global_site_lists_id_sites_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_id_sites_get_serialize( + _param = self._v1_global_summary_post_serialize( authorization=authorization, - id=id, + v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83966,7 +84070,7 @@ def v1_global_site_lists_id_sites_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsIdSitesGetResponse", + '200': "V1GlobalSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83975,10 +84079,10 @@ def v1_global_site_lists_id_sites_get_without_preload_content( return response_data.response - def _v1_global_site_lists_id_sites_get_serialize( + def _v1_global_summary_post_serialize( self, authorization, - id, + v1_global_summary_post_request, _request_auth, _content_type, _headers, @@ -84000,14 +84104,14 @@ def _v1_global_site_lists_id_sites_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_summary_post_request is not None: + _body_params = v1_global_summary_post_request # set the HTTP header `Accept` @@ -84018,6 +84122,19 @@ def _v1_global_site_lists_id_sites_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -84025,8 +84142,8 @@ def _v1_global_site_lists_id_sites_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/site-lists/{id}/sites', + method='POST', + resource_path='/v1/global/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84043,10 +84160,10 @@ def _v1_global_site_lists_id_sites_get_serialize( @validate_call - def v1_global_site_lists_post( + def v1_global_sync_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, + v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84059,15 +84176,15 @@ def v1_global_site_lists_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsPostResponse: - """v1_global_site_lists_post + ) -> object: + """v1_global_sync_post - Create a new site list scoped to the enterprise + Tries synching device with the global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_site_lists_post_request: (required) - :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest + :param v1_global_sync_post_request: (required) + :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84090,9 +84207,9 @@ def v1_global_site_lists_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_post_serialize( + _param = self._v1_global_sync_post_serialize( authorization=authorization, - v1_global_site_lists_post_request=v1_global_site_lists_post_request, + v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84100,7 +84217,7 @@ def v1_global_site_lists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -84114,10 +84231,10 @@ def v1_global_site_lists_post( @validate_call - def v1_global_site_lists_post_with_http_info( + def v1_global_sync_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, + v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84130,15 +84247,15 @@ def v1_global_site_lists_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsPostResponse]: - """v1_global_site_lists_post + ) -> ApiResponse[object]: + """v1_global_sync_post - Create a new site list scoped to the enterprise + Tries synching device with the global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_site_lists_post_request: (required) - :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest + :param v1_global_sync_post_request: (required) + :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84161,9 +84278,9 @@ def v1_global_site_lists_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_post_serialize( + _param = self._v1_global_sync_post_serialize( authorization=authorization, - v1_global_site_lists_post_request=v1_global_site_lists_post_request, + v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84171,7 +84288,7 @@ def v1_global_site_lists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -84185,10 +84302,10 @@ def v1_global_site_lists_post_with_http_info( @validate_call - def v1_global_site_lists_post_without_preload_content( + def v1_global_sync_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest, + v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84202,14 +84319,14 @@ def v1_global_site_lists_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_lists_post + """v1_global_sync_post - Create a new site list scoped to the enterprise + Tries synching device with the global objects :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_site_lists_post_request: (required) - :type v1_global_site_lists_post_request: V1GlobalSiteListsPostRequest + :param v1_global_sync_post_request: (required) + :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84232,9 +84349,9 @@ def v1_global_site_lists_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_lists_post_serialize( + _param = self._v1_global_sync_post_serialize( authorization=authorization, - v1_global_site_lists_post_request=v1_global_site_lists_post_request, + v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84242,7 +84359,7 @@ def v1_global_site_lists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -84251,10 +84368,10 @@ def v1_global_site_lists_post_without_preload_content( return response_data.response - def _v1_global_site_lists_post_serialize( + def _v1_global_sync_post_serialize( self, authorization, - v1_global_site_lists_post_request, + v1_global_sync_post_request, _request_auth, _content_type, _headers, @@ -84282,8 +84399,8 @@ def _v1_global_site_lists_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_site_lists_post_request is not None: - _body_params = v1_global_site_lists_post_request + if v1_global_sync_post_request is not None: + _body_params = v1_global_sync_post_request # set the HTTP header `Accept` @@ -84315,7 +84432,7 @@ def _v1_global_site_lists_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/site-lists', + resource_path='/v1/global/sync', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84332,16 +84449,10 @@ def _v1_global_site_lists_post_serialize( @validate_call - def v1_global_site_status_get( + def v1_global_syslogs_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_site_id: Optional[StrictInt] = None, - ntp_site_id: Optional[StrictInt] = None, - prefix_set_site_id: Optional[StrictInt] = None, - routing_policy_site_id: Optional[StrictInt] = None, - snmp_site_id: Optional[StrictInt] = None, - syslog_server_site_id: Optional[StrictInt] = None, - traffic_policy_site_id: Optional[StrictInt] = None, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84354,27 +84465,15 @@ def v1_global_site_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteStatusGetResponse: - """v1_global_site_status_get + ) -> V1GlobalSyslogsDeviceGetResponse: + """v1_global_syslogs_device_get - Get status on global objects attached to a site + Get global syslog objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_site_id: - :type ipfix_exported_site_id: int - :param ntp_site_id: - :type ntp_site_id: int - :param prefix_set_site_id: - :type prefix_set_site_id: int - :param routing_policy_site_id: - :type routing_policy_site_id: int - :param snmp_site_id: - :type snmp_site_id: int - :param syslog_server_site_id: - :type syslog_server_site_id: int - :param traffic_policy_site_id: - :type traffic_policy_site_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84397,15 +84496,9 @@ def v1_global_site_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_status_get_serialize( + _param = self._v1_global_syslogs_device_get_serialize( authorization=authorization, - ipfix_exported_site_id=ipfix_exported_site_id, - ntp_site_id=ntp_site_id, - prefix_set_site_id=prefix_set_site_id, - routing_policy_site_id=routing_policy_site_id, - snmp_site_id=snmp_site_id, - syslog_server_site_id=syslog_server_site_id, - traffic_policy_site_id=traffic_policy_site_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84413,7 +84506,7 @@ def v1_global_site_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteStatusGetResponse", + '200': "V1GlobalSyslogsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84427,16 +84520,10 @@ def v1_global_site_status_get( @validate_call - def v1_global_site_status_get_with_http_info( + def v1_global_syslogs_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_site_id: Optional[StrictInt] = None, - ntp_site_id: Optional[StrictInt] = None, - prefix_set_site_id: Optional[StrictInt] = None, - routing_policy_site_id: Optional[StrictInt] = None, - snmp_site_id: Optional[StrictInt] = None, - syslog_server_site_id: Optional[StrictInt] = None, - traffic_policy_site_id: Optional[StrictInt] = None, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84449,27 +84536,15 @@ def v1_global_site_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteStatusGetResponse]: - """v1_global_site_status_get + ) -> ApiResponse[V1GlobalSyslogsDeviceGetResponse]: + """v1_global_syslogs_device_get - Get status on global objects attached to a site + Get global syslog objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_site_id: - :type ipfix_exported_site_id: int - :param ntp_site_id: - :type ntp_site_id: int - :param prefix_set_site_id: - :type prefix_set_site_id: int - :param routing_policy_site_id: - :type routing_policy_site_id: int - :param snmp_site_id: - :type snmp_site_id: int - :param syslog_server_site_id: - :type syslog_server_site_id: int - :param traffic_policy_site_id: - :type traffic_policy_site_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84492,15 +84567,9 @@ def v1_global_site_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_status_get_serialize( + _param = self._v1_global_syslogs_device_get_serialize( authorization=authorization, - ipfix_exported_site_id=ipfix_exported_site_id, - ntp_site_id=ntp_site_id, - prefix_set_site_id=prefix_set_site_id, - routing_policy_site_id=routing_policy_site_id, - snmp_site_id=snmp_site_id, - syslog_server_site_id=syslog_server_site_id, - traffic_policy_site_id=traffic_policy_site_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84508,7 +84577,7 @@ def v1_global_site_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteStatusGetResponse", + '200': "V1GlobalSyslogsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84522,16 +84591,10 @@ def v1_global_site_status_get_with_http_info( @validate_call - def v1_global_site_status_get_without_preload_content( + def v1_global_syslogs_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - ipfix_exported_site_id: Optional[StrictInt] = None, - ntp_site_id: Optional[StrictInt] = None, - prefix_set_site_id: Optional[StrictInt] = None, - routing_policy_site_id: Optional[StrictInt] = None, - snmp_site_id: Optional[StrictInt] = None, - syslog_server_site_id: Optional[StrictInt] = None, - traffic_policy_site_id: Optional[StrictInt] = None, + device_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84545,26 +84608,14 @@ def v1_global_site_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_site_status_get + """v1_global_syslogs_device_get - Get status on global objects attached to a site + Get global syslog objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param ipfix_exported_site_id: - :type ipfix_exported_site_id: int - :param ntp_site_id: - :type ntp_site_id: int - :param prefix_set_site_id: - :type prefix_set_site_id: int - :param routing_policy_site_id: - :type routing_policy_site_id: int - :param snmp_site_id: - :type snmp_site_id: int - :param syslog_server_site_id: - :type syslog_server_site_id: int - :param traffic_policy_site_id: - :type traffic_policy_site_id: int + :param device_id: + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84587,15 +84638,9 @@ def v1_global_site_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_site_status_get_serialize( + _param = self._v1_global_syslogs_device_get_serialize( authorization=authorization, - ipfix_exported_site_id=ipfix_exported_site_id, - ntp_site_id=ntp_site_id, - prefix_set_site_id=prefix_set_site_id, - routing_policy_site_id=routing_policy_site_id, - snmp_site_id=snmp_site_id, - syslog_server_site_id=syslog_server_site_id, - traffic_policy_site_id=traffic_policy_site_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84603,7 +84648,7 @@ def v1_global_site_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSiteStatusGetResponse", + '200': "V1GlobalSyslogsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84612,16 +84657,10 @@ def v1_global_site_status_get_without_preload_content( return response_data.response - def _v1_global_site_status_get_serialize( + def _v1_global_syslogs_device_get_serialize( self, authorization, - ipfix_exported_site_id, - ntp_site_id, - prefix_set_site_id, - routing_policy_site_id, - snmp_site_id, - syslog_server_site_id, - traffic_policy_site_id, + device_id, _request_auth, _content_type, _headers, @@ -84644,33 +84683,9 @@ def _v1_global_site_status_get_serialize( # process the path parameters # process the query parameters - if ipfix_exported_site_id is not None: - - _query_params.append(('ipfixExportedSiteId', ipfix_exported_site_id)) - - if ntp_site_id is not None: - - _query_params.append(('ntpSiteId', ntp_site_id)) - - if prefix_set_site_id is not None: - - _query_params.append(('prefixSetSiteId', prefix_set_site_id)) - - if routing_policy_site_id is not None: - - _query_params.append(('routingPolicySiteId', routing_policy_site_id)) - - if snmp_site_id is not None: - - _query_params.append(('snmpSiteId', snmp_site_id)) - - if syslog_server_site_id is not None: - - _query_params.append(('syslogServerSiteId', syslog_server_site_id)) - - if traffic_policy_site_id is not None: + if device_id is not None: - _query_params.append(('trafficPolicySiteId', traffic_policy_site_id)) + _query_params.append(('deviceId', device_id)) # process the header parameters if authorization is not None: @@ -84695,7 +84710,7 @@ def _v1_global_site_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/site-status', + resource_path='/v1/global/syslogs/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84712,10 +84727,10 @@ def _v1_global_site_status_get_serialize( @validate_call - def v1_global_snmps_device_get( + def v1_global_syslogs_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84728,15 +84743,15 @@ def v1_global_snmps_device_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSnmpsDeviceGetResponse: - """v1_global_snmps_device_get + ) -> V1GlobalSyslogsPostResponse: + """v1_global_syslogs_post - Get global snmp objects that failed to attach for a device + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param v1_global_syslogs_post_request: (required) + :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84759,9 +84774,9 @@ def v1_global_snmps_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_device_get_serialize( + _param = self._v1_global_syslogs_post_serialize( authorization=authorization, - device_id=device_id, + v1_global_syslogs_post_request=v1_global_syslogs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84769,7 +84784,7 @@ def v1_global_snmps_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsDeviceGetResponse", + '200': "V1GlobalSyslogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84783,10 +84798,10 @@ def v1_global_snmps_device_get( @validate_call - def v1_global_snmps_device_get_with_http_info( + def v1_global_syslogs_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84799,15 +84814,15 @@ def v1_global_snmps_device_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSnmpsDeviceGetResponse]: - """v1_global_snmps_device_get + ) -> ApiResponse[V1GlobalSyslogsPostResponse]: + """v1_global_syslogs_post - Get global snmp objects that failed to attach for a device + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param v1_global_syslogs_post_request: (required) + :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84830,9 +84845,9 @@ def v1_global_snmps_device_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_device_get_serialize( + _param = self._v1_global_syslogs_post_serialize( authorization=authorization, - device_id=device_id, + v1_global_syslogs_post_request=v1_global_syslogs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84840,7 +84855,7 @@ def v1_global_snmps_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsDeviceGetResponse", + '200': "V1GlobalSyslogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84854,10 +84869,10 @@ def v1_global_snmps_device_get_with_http_info( @validate_call - def v1_global_snmps_device_get_without_preload_content( + def v1_global_syslogs_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84871,14 +84886,14 @@ def v1_global_snmps_device_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_snmps_device_get + """v1_global_syslogs_post - Get global snmp objects that failed to attach for a device + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param v1_global_syslogs_post_request: (required) + :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84901,9 +84916,9 @@ def v1_global_snmps_device_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_device_get_serialize( + _param = self._v1_global_syslogs_post_serialize( authorization=authorization, - device_id=device_id, + v1_global_syslogs_post_request=v1_global_syslogs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84911,7 +84926,7 @@ def v1_global_snmps_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsDeviceGetResponse", + '200': "V1GlobalSyslogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84920,10 +84935,10 @@ def v1_global_snmps_device_get_without_preload_content( return response_data.response - def _v1_global_snmps_device_get_serialize( + def _v1_global_syslogs_post_serialize( self, authorization, - device_id, + v1_global_syslogs_post_request, _request_auth, _content_type, _headers, @@ -84946,15 +84961,13 @@ def _v1_global_snmps_device_get_serialize( # process the path parameters # process the query parameters - if device_id is not None: - - _query_params.append(('deviceId', device_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_syslogs_post_request is not None: + _body_params = v1_global_syslogs_post_request # set the HTTP header `Accept` @@ -84965,6 +84978,19 @@ def _v1_global_snmps_device_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -84972,8 +84998,8 @@ def _v1_global_snmps_device_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/snmps/device', + method='POST', + resource_path='/v1/global/syslogs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84990,10 +85016,10 @@ def _v1_global_snmps_device_get_serialize( @validate_call - def v1_global_snmps_post( + def v1_global_syslogs_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85006,15 +85032,15 @@ def v1_global_snmps_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSnmpsPostResponse: - """v1_global_snmps_post + ) -> V1GlobalSyslogsSiteGetResponse: + """v1_global_syslogs_site_get - Get configured global snmps + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_snmps_post_request: (required) - :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85037,9 +85063,9 @@ def v1_global_snmps_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_post_serialize( + _param = self._v1_global_syslogs_site_get_serialize( authorization=authorization, - v1_global_snmps_post_request=v1_global_snmps_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85047,7 +85073,7 @@ def v1_global_snmps_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsPostResponse", + '200': "V1GlobalSyslogsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85061,10 +85087,10 @@ def v1_global_snmps_post( @validate_call - def v1_global_snmps_post_with_http_info( + def v1_global_syslogs_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85077,15 +85103,15 @@ def v1_global_snmps_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSnmpsPostResponse]: - """v1_global_snmps_post + ) -> ApiResponse[V1GlobalSyslogsSiteGetResponse]: + """v1_global_syslogs_site_get - Get configured global snmps + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_snmps_post_request: (required) - :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85108,9 +85134,9 @@ def v1_global_snmps_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_post_serialize( + _param = self._v1_global_syslogs_site_get_serialize( authorization=authorization, - v1_global_snmps_post_request=v1_global_snmps_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85118,7 +85144,7 @@ def v1_global_snmps_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsPostResponse", + '200': "V1GlobalSyslogsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85132,10 +85158,10 @@ def v1_global_snmps_post_with_http_info( @validate_call - def v1_global_snmps_post_without_preload_content( + def v1_global_syslogs_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_snmps_post_request: V1GlobalSnmpsPostRequest, + site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85149,14 +85175,14 @@ def v1_global_snmps_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_snmps_post + """v1_global_syslogs_site_get - Get configured global snmps + Get configured global syslog collectors :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_snmps_post_request: (required) - :type v1_global_snmps_post_request: V1GlobalSnmpsPostRequest + :param site_id: + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85179,9 +85205,9 @@ def v1_global_snmps_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_post_serialize( + _param = self._v1_global_syslogs_site_get_serialize( authorization=authorization, - v1_global_snmps_post_request=v1_global_snmps_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85189,7 +85215,7 @@ def v1_global_snmps_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsPostResponse", + '200': "V1GlobalSyslogsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85198,10 +85224,10 @@ def v1_global_snmps_post_without_preload_content( return response_data.response - def _v1_global_snmps_post_serialize( + def _v1_global_syslogs_site_get_serialize( self, authorization, - v1_global_snmps_post_request, + site_id, _request_auth, _content_type, _headers, @@ -85224,13 +85250,15 @@ def _v1_global_snmps_post_serialize( # process the path parameters # process the query parameters + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_snmps_post_request is not None: - _body_params = v1_global_snmps_post_request # set the HTTP header `Accept` @@ -85241,19 +85269,6 @@ def _v1_global_snmps_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -85261,8 +85276,8 @@ def _v1_global_snmps_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/snmps', + method='GET', + resource_path='/v1/global/syslogs/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -85279,10 +85294,10 @@ def _v1_global_snmps_post_serialize( @validate_call - def v1_global_snmps_site_get( + def v1_global_traffic_policies_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85295,15 +85310,15 @@ def v1_global_snmps_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSnmpsSiteGetResponse: - """v1_global_snmps_site_get + ) -> V1GlobalTrafficPoliciesPostResponse: + """v1_global_traffic_policies_post - Get configured global snmps + Get configured global traffic-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_traffic_policies_post_request: (required) + :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85326,9 +85341,9 @@ def v1_global_snmps_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_site_get_serialize( + _param = self._v1_global_traffic_policies_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85336,7 +85351,7 @@ def v1_global_snmps_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsSiteGetResponse", + '200': "V1GlobalTrafficPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -85350,10 +85365,10 @@ def v1_global_snmps_site_get( @validate_call - def v1_global_snmps_site_get_with_http_info( + def v1_global_traffic_policies_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85366,15 +85381,15 @@ def v1_global_snmps_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSnmpsSiteGetResponse]: - """v1_global_snmps_site_get + ) -> ApiResponse[V1GlobalTrafficPoliciesPostResponse]: + """v1_global_traffic_policies_post - Get configured global snmps + Get configured global traffic-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_traffic_policies_post_request: (required) + :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85397,9 +85412,9 @@ def v1_global_snmps_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_site_get_serialize( + _param = self._v1_global_traffic_policies_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85407,7 +85422,7 @@ def v1_global_snmps_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsSiteGetResponse", + '200': "V1GlobalTrafficPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -85421,10 +85436,10 @@ def v1_global_snmps_site_get_with_http_info( @validate_call - def v1_global_snmps_site_get_without_preload_content( + def v1_global_traffic_policies_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, + v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85438,14 +85453,14 @@ def v1_global_snmps_site_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_snmps_site_get + """v1_global_traffic_policies_post - Get configured global snmps + Get configured global traffic-policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int + :param v1_global_traffic_policies_post_request: (required) + :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85468,9 +85483,9 @@ def v1_global_snmps_site_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_snmps_site_get_serialize( + _param = self._v1_global_traffic_policies_post_serialize( authorization=authorization, - site_id=site_id, + v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85478,7 +85493,7 @@ def v1_global_snmps_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSnmpsSiteGetResponse", + '200': "V1GlobalTrafficPoliciesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -85487,10 +85502,10 @@ def v1_global_snmps_site_get_without_preload_content( return response_data.response - def _v1_global_snmps_site_get_serialize( + def _v1_global_traffic_policies_post_serialize( self, authorization, - site_id, + v1_global_traffic_policies_post_request, _request_auth, _content_type, _headers, @@ -85513,15 +85528,13 @@ def _v1_global_snmps_site_get_serialize( # process the path parameters # process the query parameters - if site_id is not None: - - _query_params.append(('siteId', site_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_traffic_policies_post_request is not None: + _body_params = v1_global_traffic_policies_post_request # set the HTTP header `Accept` @@ -85532,6 +85545,19 @@ def _v1_global_snmps_site_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -85539,8 +85565,8 @@ def _v1_global_snmps_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/snmps/site', + method='POST', + resource_path='/v1/global/traffic-policies', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -85557,10 +85583,9 @@ def _v1_global_snmps_site_get_serialize( @validate_call - def v1_global_summary_post( + def v1_groups_enterprises_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85573,15 +85598,13 @@ def v1_global_summary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSummaryPostResponse: - """v1_global_summary_post + ) -> V1GroupsEnterprisesGetResponse: + """v1_groups_enterprises_get - Get summary on global objects + Get all enterprise-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_summary_post_request: (required) - :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85604,9 +85627,8 @@ def v1_global_summary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_summary_post_serialize( + _param = self._v1_groups_enterprises_get_serialize( authorization=authorization, - v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85614,7 +85636,7 @@ def v1_global_summary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSummaryPostResponse", + '200': "V1GroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85628,10 +85650,9 @@ def v1_global_summary_post( @validate_call - def v1_global_summary_post_with_http_info( + def v1_groups_enterprises_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85644,15 +85665,13 @@ def v1_global_summary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSummaryPostResponse]: - """v1_global_summary_post + ) -> ApiResponse[V1GroupsEnterprisesGetResponse]: + """v1_groups_enterprises_get - Get summary on global objects + Get all enterprise-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_summary_post_request: (required) - :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85675,9 +85694,8 @@ def v1_global_summary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_summary_post_serialize( + _param = self._v1_groups_enterprises_get_serialize( authorization=authorization, - v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85685,7 +85703,7 @@ def v1_global_summary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSummaryPostResponse", + '200': "V1GroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85699,10 +85717,9 @@ def v1_global_summary_post_with_http_info( @validate_call - def v1_global_summary_post_without_preload_content( + def v1_groups_enterprises_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_summary_post_request: V1GlobalSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85716,14 +85733,12 @@ def v1_global_summary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_summary_post + """v1_groups_enterprises_get - Get summary on global objects + Get all enterprise-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_summary_post_request: (required) - :type v1_global_summary_post_request: V1GlobalSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85746,9 +85761,8 @@ def v1_global_summary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_summary_post_serialize( + _param = self._v1_groups_enterprises_get_serialize( authorization=authorization, - v1_global_summary_post_request=v1_global_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85756,7 +85770,7 @@ def v1_global_summary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSummaryPostResponse", + '200': "V1GroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85765,10 +85779,9 @@ def v1_global_summary_post_without_preload_content( return response_data.response - def _v1_global_summary_post_serialize( + def _v1_groups_enterprises_get_serialize( self, authorization, - v1_global_summary_post_request, _request_auth, _content_type, _headers, @@ -85796,8 +85809,6 @@ def _v1_global_summary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_summary_post_request is not None: - _body_params = v1_global_summary_post_request # set the HTTP header `Accept` @@ -85808,19 +85819,6 @@ def _v1_global_summary_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -85828,8 +85826,8 @@ def _v1_global_summary_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/summary', + method='GET', + resource_path='/v1/groups/enterprises', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -85846,10 +85844,9 @@ def _v1_global_summary_post_serialize( @validate_call - def v1_global_sync_post( + def v1_groups_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85862,15 +85859,13 @@ def v1_global_sync_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_sync_post + ) -> V1GroupsGetResponse: + """v1_groups_get - Tries synching device with the global objects + Get all groups in the enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_sync_post_request: (required) - :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85893,9 +85888,8 @@ def v1_global_sync_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_sync_post_serialize( + _param = self._v1_groups_get_serialize( authorization=authorization, - v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85903,7 +85897,7 @@ def v1_global_sync_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85917,10 +85911,9 @@ def v1_global_sync_post( @validate_call - def v1_global_sync_post_with_http_info( + def v1_groups_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -85933,15 +85926,13 @@ def v1_global_sync_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_sync_post + ) -> ApiResponse[V1GroupsGetResponse]: + """v1_groups_get - Tries synching device with the global objects + Get all groups in the enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_sync_post_request: (required) - :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -85964,9 +85955,8 @@ def v1_global_sync_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_sync_post_serialize( + _param = self._v1_groups_get_serialize( authorization=authorization, - v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -85974,7 +85964,7 @@ def v1_global_sync_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -85988,10 +85978,9 @@ def v1_global_sync_post_with_http_info( @validate_call - def v1_global_sync_post_without_preload_content( + def v1_groups_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_sync_post_request: V1GlobalSyncPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86005,14 +85994,12 @@ def v1_global_sync_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_sync_post + """v1_groups_get - Tries synching device with the global objects + Get all groups in the enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_sync_post_request: (required) - :type v1_global_sync_post_request: V1GlobalSyncPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86035,9 +86022,8 @@ def v1_global_sync_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_sync_post_serialize( + _param = self._v1_groups_get_serialize( authorization=authorization, - v1_global_sync_post_request=v1_global_sync_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86045,7 +86031,7 @@ def v1_global_sync_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -86054,10 +86040,9 @@ def v1_global_sync_post_without_preload_content( return response_data.response - def _v1_global_sync_post_serialize( + def _v1_groups_get_serialize( self, authorization, - v1_global_sync_post_request, _request_auth, _content_type, _headers, @@ -86085,8 +86070,6 @@ def _v1_global_sync_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_sync_post_request is not None: - _body_params = v1_global_sync_post_request # set the HTTP header `Accept` @@ -86097,19 +86080,6 @@ def _v1_global_sync_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -86117,8 +86087,8 @@ def _v1_global_sync_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/sync', + method='GET', + resource_path='/v1/groups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -86135,10 +86105,10 @@ def _v1_global_sync_post_serialize( @validate_call - def v1_global_syslogs_device_get( + def v1_groups_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86151,15 +86121,15 @@ def v1_global_syslogs_device_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSyslogsDeviceGetResponse: - """v1_global_syslogs_device_get + ) -> None: + """v1_groups_id_delete - Get global syslog objects that failed to attach for a device + Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86182,9 +86152,9 @@ def v1_global_syslogs_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_device_get_serialize( + _param = self._v1_groups_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86192,7 +86162,7 @@ def v1_global_syslogs_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86206,10 +86176,10 @@ def v1_global_syslogs_device_get( @validate_call - def v1_global_syslogs_device_get_with_http_info( + def v1_groups_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86222,15 +86192,15 @@ def v1_global_syslogs_device_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSyslogsDeviceGetResponse]: - """v1_global_syslogs_device_get + ) -> ApiResponse[None]: + """v1_groups_id_delete - Get global syslog objects that failed to attach for a device + Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86253,9 +86223,9 @@ def v1_global_syslogs_device_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_device_get_serialize( + _param = self._v1_groups_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86263,7 +86233,7 @@ def v1_global_syslogs_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86277,10 +86247,10 @@ def v1_global_syslogs_device_get_with_http_info( @validate_call - def v1_global_syslogs_device_get_without_preload_content( + def v1_groups_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: Optional[StrictInt] = None, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86294,14 +86264,14 @@ def v1_global_syslogs_device_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_syslogs_device_get + """v1_groups_id_delete - Get global syslog objects that failed to attach for a device + Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: - :type device_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86324,9 +86294,9 @@ def v1_global_syslogs_device_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_device_get_serialize( + _param = self._v1_groups_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86334,7 +86304,7 @@ def v1_global_syslogs_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsDeviceGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86343,10 +86313,10 @@ def v1_global_syslogs_device_get_without_preload_content( return response_data.response - def _v1_global_syslogs_device_get_serialize( + def _v1_groups_id_delete_serialize( self, authorization, - device_id, + id, _request_auth, _content_type, _headers, @@ -86368,11 +86338,9 @@ def _v1_global_syslogs_device_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters - if device_id is not None: - - _query_params.append(('deviceId', device_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -86380,13 +86348,6 @@ def _v1_global_syslogs_device_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -86395,8 +86356,8 @@ def _v1_global_syslogs_device_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/syslogs/device', + method='DELETE', + resource_path='/v1/groups/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -86413,10 +86374,11 @@ def _v1_global_syslogs_device_get_serialize( @validate_call - def v1_global_syslogs_post( + def v1_groups_id_enterprises_enterprise_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, + enterprise_id: StrictInt, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86429,15 +86391,92 @@ def v1_global_syslogs_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSyslogsPostResponse: - """v1_global_syslogs_post + ) -> None: + """v1_groups_id_enterprises_enterprise_id_delete - Get configured global syslog collectors + Remove group's association with a specific enterprise, revoking cross-enterprise access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_syslogs_post_request: (required) - :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest + :param enterprise_id: (required) + :type enterprise_id: int + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + enterprise_id: StrictInt, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_id_enterprises_enterprise_id_delete + + Remove group's association with a specific enterprise, revoking cross-enterprise access. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param enterprise_id: (required) + :type enterprise_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86460,9 +86499,1523 @@ def v1_global_syslogs_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_post_serialize( + _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + enterprise_id: StrictInt, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_enterprises_enterprise_id_delete + + Remove group's association with a specific enterprise, revoking cross-enterprise access. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param enterprise_id: (required) + :type enterprise_id: int + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_enterprises_enterprise_id_delete_serialize( + self, + authorization, + enterprise_id, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if enterprise_id is not None: + _path_params['enterpriseId'] = enterprise_id + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v1/groups/{id}/enterprises/{enterpriseId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_enterprises_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_id_enterprises_post + + Associate group with additional enterprises to enable cross-enterprise access and management. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_enterprises_post_request: (required) + :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_enterprises_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_enterprises_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_id_enterprises_post + + Associate group with additional enterprises to enable cross-enterprise access and management. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_enterprises_post_request: (required) + :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_enterprises_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_enterprises_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_enterprises_post + + Associate group with additional enterprises to enable cross-enterprise access and management. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_enterprises_post_request: (required) + :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_enterprises_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_enterprises_post_serialize( + self, + authorization, + id, + v1_groups_id_enterprises_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_groups_id_enterprises_post_request is not None: + _body_params = v1_groups_id_enterprises_post_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/groups/{id}/enterprises', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_members_delete_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_id_members_delete_post + + Remove multiple users from a group by their member IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_delete_post_request: (required) + :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_delete_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_members_delete_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_id_members_delete_post + + Remove multiple users from a group by their member IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_delete_post_request: (required) + :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_delete_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_members_delete_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_members_delete_post + + Remove multiple users from a group by their member IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_delete_post_request: (required) + :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_delete_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_members_delete_post_serialize( + self, + authorization, + id, + v1_groups_id_members_delete_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_groups_id_members_delete_post_request is not None: + _body_params = v1_groups_id_members_delete_post_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/groups/{id}/members/delete', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_members_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1GroupsIdMembersGetResponse: + """v1_groups_id_members_get + + Get all members of a specific group. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GroupsIdMembersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_members_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1GroupsIdMembersGetResponse]: + """v1_groups_id_members_get + + Get all members of a specific group. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GroupsIdMembersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_members_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_members_get + + Get all members of a specific group. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1GroupsIdMembersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_members_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/groups/{id}/members', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_members_member_id_delete( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + member_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_id_members_member_id_delete + + Remove a specific user from a group by member ID. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param member_id: (required) + :type member_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_member_id_delete_serialize( + authorization=authorization, + id=id, + member_id=member_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_members_member_id_delete_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + member_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_id_members_member_id_delete + + Remove a specific user from a group by member ID. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param member_id: (required) + :type member_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_member_id_delete_serialize( + authorization=authorization, + id=id, + member_id=member_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_members_member_id_delete_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + member_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_members_member_id_delete + + Remove a specific user from a group by member ID. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param member_id: (required) + :type member_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_member_id_delete_serialize( + authorization=authorization, + id=id, + member_id=member_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_members_member_id_delete_serialize( + self, + authorization, + id, + member_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + if member_id is not None: + _path_params['memberId'] = member_id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v1/groups/{id}/members/{memberId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_members_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_id_members_post + + Add multiple users to a group by their global IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_post_request: (required) + :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_members_post_request=v1_groups_id_members_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_id_members_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_id_members_post + + Add multiple users to a group by their global IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_post_request: (required) + :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_post_serialize( + authorization=authorization, + id=id, + v1_groups_id_members_post_request=v1_groups_id_members_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_members_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_members_post + + Add multiple users to a group by their global IDs. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_members_post_request: (required) + :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_members_post_serialize( authorization=authorization, - v1_global_syslogs_post_request=v1_global_syslogs_post_request, + id=id, + v1_groups_id_members_post_request=v1_groups_id_members_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86470,7 +88023,154 @@ def v1_global_syslogs_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsPostResponse", + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_members_post_serialize( + self, + authorization, + id, + v1_groups_id_members_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_groups_id_members_post_request is not None: + _body_params = v1_groups_id_members_post_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/groups/{id}/members', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_id_patch( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_patch_request: V1GroupsIdPatchRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_id_patch + + Update group information. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_patch_request: (required) + :type v1_groups_id_patch_request: V1GroupsIdPatchRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_patch_serialize( + authorization=authorization, + id=id, + v1_groups_id_patch_request=v1_groups_id_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86484,10 +88184,11 @@ def v1_global_syslogs_post( @validate_call - def v1_global_syslogs_post_with_http_info( + def v1_groups_id_patch_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, + id: StrictStr, + v1_groups_id_patch_request: V1GroupsIdPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86500,15 +88201,307 @@ def v1_global_syslogs_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSyslogsPostResponse]: - """v1_global_syslogs_post + ) -> ApiResponse[None]: + """v1_groups_id_patch - Get configured global syslog collectors + Update group information. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_syslogs_post_request: (required) - :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest + :param id: (required) + :type id: str + :param v1_groups_id_patch_request: (required) + :type v1_groups_id_patch_request: V1GroupsIdPatchRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_patch_serialize( + authorization=authorization, + id=id, + v1_groups_id_patch_request=v1_groups_id_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_groups_id_patch_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + v1_groups_id_patch_request: V1GroupsIdPatchRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_groups_id_patch + + Update group information. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param v1_groups_id_patch_request: (required) + :type v1_groups_id_patch_request: V1GroupsIdPatchRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_id_patch_serialize( + authorization=authorization, + id=id, + v1_groups_id_patch_request=v1_groups_id_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_groups_id_patch_serialize( + self, + authorization, + id, + v1_groups_id_patch_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_groups_id_patch_request is not None: + _body_params = v1_groups_id_patch_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v1/groups/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_groups_put( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_groups_put_request: V1GroupsPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_groups_put + + Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_groups_put_request: (required) + :type v1_groups_put_request: V1GroupsPutRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_groups_put_serialize( + authorization=authorization, + v1_groups_put_request=v1_groups_put_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_groups_put_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_groups_put_request: V1GroupsPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_groups_put + + Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_groups_put_request: (required) + :type v1_groups_put_request: V1GroupsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86531,9 +88524,9 @@ def v1_global_syslogs_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_post_serialize( + _param = self._v1_groups_put_serialize( authorization=authorization, - v1_global_syslogs_post_request=v1_global_syslogs_post_request, + v1_groups_put_request=v1_groups_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86541,7 +88534,7 @@ def v1_global_syslogs_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86555,10 +88548,10 @@ def v1_global_syslogs_post_with_http_info( @validate_call - def v1_global_syslogs_post_without_preload_content( + def v1_groups_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest, + v1_groups_put_request: V1GroupsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86572,14 +88565,14 @@ def v1_global_syslogs_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_syslogs_post + """v1_groups_put - Get configured global syslog collectors + Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_syslogs_post_request: (required) - :type v1_global_syslogs_post_request: V1GlobalSyslogsPostRequest + :param v1_groups_put_request: (required) + :type v1_groups_put_request: V1GroupsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86602,9 +88595,9 @@ def v1_global_syslogs_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_post_serialize( + _param = self._v1_groups_put_serialize( authorization=authorization, - v1_global_syslogs_post_request=v1_global_syslogs_post_request, + v1_groups_put_request=v1_groups_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86612,7 +88605,7 @@ def v1_global_syslogs_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86621,10 +88614,10 @@ def v1_global_syslogs_post_without_preload_content( return response_data.response - def _v1_global_syslogs_post_serialize( + def _v1_groups_put_serialize( self, authorization, - v1_global_syslogs_post_request, + v1_groups_put_request, _request_auth, _content_type, _headers, @@ -86652,17 +88645,10 @@ def _v1_global_syslogs_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_syslogs_post_request is not None: - _body_params = v1_global_syslogs_post_request + if v1_groups_put_request is not None: + _body_params = v1_groups_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -86684,8 +88670,8 @@ def _v1_global_syslogs_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/syslogs', + method='PUT', + resource_path='/v1/groups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -86702,10 +88688,9 @@ def _v1_global_syslogs_post_serialize( @validate_call - def v1_global_syslogs_site_get( + def v1_groups_root_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86718,15 +88703,13 @@ def v1_global_syslogs_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSyslogsSiteGetResponse: - """v1_global_syslogs_site_get + ) -> V1GroupsRootGetResponse: + """v1_groups_root_get - Get configured global syslog collectors + Get all root-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86749,9 +88732,8 @@ def v1_global_syslogs_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_site_get_serialize( + _param = self._v1_groups_root_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86759,7 +88741,7 @@ def v1_global_syslogs_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsSiteGetResponse", + '200': "V1GroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -86773,10 +88755,9 @@ def v1_global_syslogs_site_get( @validate_call - def v1_global_syslogs_site_get_with_http_info( + def v1_groups_root_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86789,15 +88770,13 @@ def v1_global_syslogs_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSyslogsSiteGetResponse]: - """v1_global_syslogs_site_get + ) -> ApiResponse[V1GroupsRootGetResponse]: + """v1_groups_root_get - Get configured global syslog collectors + Get all root-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86820,9 +88799,8 @@ def v1_global_syslogs_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_site_get_serialize( + _param = self._v1_groups_root_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86830,7 +88808,7 @@ def v1_global_syslogs_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsSiteGetResponse", + '200': "V1GroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -86844,10 +88822,9 @@ def v1_global_syslogs_site_get_with_http_info( @validate_call - def v1_global_syslogs_site_get_without_preload_content( + def v1_groups_root_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86861,14 +88838,12 @@ def v1_global_syslogs_site_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_syslogs_site_get + """v1_groups_root_get - Get configured global syslog collectors + Get all root-level groups. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -86891,9 +88866,8 @@ def v1_global_syslogs_site_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_syslogs_site_get_serialize( + _param = self._v1_groups_root_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -86901,7 +88875,7 @@ def v1_global_syslogs_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalSyslogsSiteGetResponse", + '200': "V1GroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -86910,10 +88884,9 @@ def v1_global_syslogs_site_get_without_preload_content( return response_data.response - def _v1_global_syslogs_site_get_serialize( + def _v1_groups_root_get_serialize( self, authorization, - site_id, _request_auth, _content_type, _headers, @@ -86936,10 +88909,6 @@ def _v1_global_syslogs_site_get_serialize( # process the path parameters # process the query parameters - if site_id is not None: - - _query_params.append(('siteId', site_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -86963,7 +88932,7 @@ def _v1_global_syslogs_site_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/syslogs/site', + resource_path='/v1/groups/root', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -86980,10 +88949,10 @@ def _v1_global_syslogs_site_get_serialize( @validate_call - def v1_global_traffic_policies_post( + def v1_invitation_email_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, + v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -86996,15 +88965,15 @@ def v1_global_traffic_policies_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalTrafficPoliciesPostResponse: - """v1_global_traffic_policies_post + ) -> object: + """v1_invitation_email_post - Get configured global traffic-policies + Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_traffic_policies_post_request: (required) - :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest + :param v1_invitation_email_post_request: (required) + :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87027,9 +88996,9 @@ def v1_global_traffic_policies_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_traffic_policies_post_serialize( + _param = self._v1_invitation_email_post_serialize( authorization=authorization, - v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, + v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87037,7 +89006,7 @@ def v1_global_traffic_policies_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalTrafficPoliciesPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -87051,10 +89020,10 @@ def v1_global_traffic_policies_post( @validate_call - def v1_global_traffic_policies_post_with_http_info( + def v1_invitation_email_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, + v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87067,15 +89036,15 @@ def v1_global_traffic_policies_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalTrafficPoliciesPostResponse]: - """v1_global_traffic_policies_post + ) -> ApiResponse[object]: + """v1_invitation_email_post - Get configured global traffic-policies + Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_traffic_policies_post_request: (required) - :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest + :param v1_invitation_email_post_request: (required) + :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87098,9 +89067,9 @@ def v1_global_traffic_policies_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_traffic_policies_post_serialize( + _param = self._v1_invitation_email_post_serialize( authorization=authorization, - v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, + v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87108,7 +89077,7 @@ def v1_global_traffic_policies_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalTrafficPoliciesPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -87122,10 +89091,10 @@ def v1_global_traffic_policies_post_with_http_info( @validate_call - def v1_global_traffic_policies_post_without_preload_content( + def v1_invitation_email_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest, + v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87139,14 +89108,14 @@ def v1_global_traffic_policies_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_traffic_policies_post + """v1_invitation_email_post - Get configured global traffic-policies + Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_traffic_policies_post_request: (required) - :type v1_global_traffic_policies_post_request: V1GlobalTrafficPoliciesPostRequest + :param v1_invitation_email_post_request: (required) + :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87169,9 +89138,9 @@ def v1_global_traffic_policies_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_traffic_policies_post_serialize( + _param = self._v1_invitation_email_post_serialize( authorization=authorization, - v1_global_traffic_policies_post_request=v1_global_traffic_policies_post_request, + v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87179,7 +89148,7 @@ def v1_global_traffic_policies_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalTrafficPoliciesPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -87188,10 +89157,10 @@ def v1_global_traffic_policies_post_without_preload_content( return response_data.response - def _v1_global_traffic_policies_post_serialize( + def _v1_invitation_email_post_serialize( self, authorization, - v1_global_traffic_policies_post_request, + v1_invitation_email_post_request, _request_auth, _content_type, _headers, @@ -87219,8 +89188,8 @@ def _v1_global_traffic_policies_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_traffic_policies_post_request is not None: - _body_params = v1_global_traffic_policies_post_request + if v1_invitation_email_post_request is not None: + _body_params = v1_invitation_email_post_request # set the HTTP header `Accept` @@ -87252,7 +89221,7 @@ def _v1_global_traffic_policies_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/traffic-policies', + resource_path='/v1/invitation/email', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -87269,9 +89238,13 @@ def _v1_global_traffic_policies_post_serialize( @validate_call - def v1_groups_enterprises_get( + def v1_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Optional[StrictInt] = None, + device_ids: Optional[List[StrictInt]] = None, + filter: Optional[StrictStr] = None, + gateway_cloud_provider: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87284,13 +89257,21 @@ def v1_groups_enterprises_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsEnterprisesGetResponse: - """v1_groups_enterprises_get + ) -> V1LanSegmentsGetResponse: + """v1_lan_segments_get - Get all enterprise-level groups. + Get LAN Segments for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: + :type device_id: int + :param device_ids: + :type device_ids: List[int] + :param filter: + :type filter: str + :param gateway_cloud_provider: + :type gateway_cloud_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87313,8 +89294,12 @@ def v1_groups_enterprises_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_enterprises_get_serialize( + _param = self._v1_lan_segments_get_serialize( authorization=authorization, + device_id=device_id, + device_ids=device_ids, + filter=filter, + gateway_cloud_provider=gateway_cloud_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87322,7 +89307,7 @@ def v1_groups_enterprises_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsEnterprisesGetResponse", + '200': "V1LanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87336,9 +89321,13 @@ def v1_groups_enterprises_get( @validate_call - def v1_groups_enterprises_get_with_http_info( + def v1_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Optional[StrictInt] = None, + device_ids: Optional[List[StrictInt]] = None, + filter: Optional[StrictStr] = None, + gateway_cloud_provider: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87351,13 +89340,21 @@ def v1_groups_enterprises_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsEnterprisesGetResponse]: - """v1_groups_enterprises_get + ) -> ApiResponse[V1LanSegmentsGetResponse]: + """v1_lan_segments_get - Get all enterprise-level groups. + Get LAN Segments for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: + :type device_id: int + :param device_ids: + :type device_ids: List[int] + :param filter: + :type filter: str + :param gateway_cloud_provider: + :type gateway_cloud_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87380,8 +89377,12 @@ def v1_groups_enterprises_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_enterprises_get_serialize( + _param = self._v1_lan_segments_get_serialize( authorization=authorization, + device_id=device_id, + device_ids=device_ids, + filter=filter, + gateway_cloud_provider=gateway_cloud_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87389,7 +89390,7 @@ def v1_groups_enterprises_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsEnterprisesGetResponse", + '200': "V1LanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87403,9 +89404,13 @@ def v1_groups_enterprises_get_with_http_info( @validate_call - def v1_groups_enterprises_get_without_preload_content( + def v1_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Optional[StrictInt] = None, + device_ids: Optional[List[StrictInt]] = None, + filter: Optional[StrictStr] = None, + gateway_cloud_provider: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87419,12 +89424,20 @@ def v1_groups_enterprises_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_enterprises_get + """v1_lan_segments_get - Get all enterprise-level groups. + Get LAN Segments for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: + :type device_id: int + :param device_ids: + :type device_ids: List[int] + :param filter: + :type filter: str + :param gateway_cloud_provider: + :type gateway_cloud_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87447,8 +89460,12 @@ def v1_groups_enterprises_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_enterprises_get_serialize( + _param = self._v1_lan_segments_get_serialize( authorization=authorization, + device_id=device_id, + device_ids=device_ids, + filter=filter, + gateway_cloud_provider=gateway_cloud_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87456,7 +89473,7 @@ def v1_groups_enterprises_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsEnterprisesGetResponse", + '200': "V1LanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87465,9 +89482,13 @@ def v1_groups_enterprises_get_without_preload_content( return response_data.response - def _v1_groups_enterprises_get_serialize( + def _v1_lan_segments_get_serialize( self, authorization, + device_id, + device_ids, + filter, + gateway_cloud_provider, _request_auth, _content_type, _headers, @@ -87477,6 +89498,7 @@ def _v1_groups_enterprises_get_serialize( _host = None _collection_formats: Dict[str, str] = { + 'deviceIds': 'multi', } _path_params: Dict[str, str] = {} @@ -87490,6 +89512,22 @@ def _v1_groups_enterprises_get_serialize( # process the path parameters # process the query parameters + if device_id is not None: + + _query_params.append(('deviceId', device_id)) + + if device_ids is not None: + + _query_params.append(('deviceIds', device_ids)) + + if filter is not None: + + _query_params.append(('filter', filter)) + + if gateway_cloud_provider is not None: + + _query_params.append(('gatewayCloudProvider', gateway_cloud_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -87513,7 +89551,7 @@ def _v1_groups_enterprises_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/groups/enterprises', + resource_path='/v1/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -87530,9 +89568,10 @@ def _v1_groups_enterprises_get_serialize( @validate_call - def v1_groups_get( + def v1_lan_segments_interfaces_public_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Annotated[StrictInt, Field(description="device id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87545,13 +89584,15 @@ def v1_groups_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsGetResponse: - """v1_groups_get + ) -> V1LanSegmentsInterfacesPublicGetResponse: + """v1_lan_segments_interfaces_public_get - Get all groups in the enterprise. + Per LAN segment (VRF) on a device: interfaces split by globally routable IPv4 (for Public VIF / BGP) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: device id (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87574,8 +89615,9 @@ def v1_groups_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_get_serialize( + _param = self._v1_lan_segments_interfaces_public_get_serialize( authorization=authorization, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87583,7 +89625,7 @@ def v1_groups_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsGetResponse", + '200': "V1LanSegmentsInterfacesPublicGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87597,9 +89639,10 @@ def v1_groups_get( @validate_call - def v1_groups_get_with_http_info( + def v1_lan_segments_interfaces_public_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Annotated[StrictInt, Field(description="device id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87612,13 +89655,15 @@ def v1_groups_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsGetResponse]: - """v1_groups_get + ) -> ApiResponse[V1LanSegmentsInterfacesPublicGetResponse]: + """v1_lan_segments_interfaces_public_get - Get all groups in the enterprise. + Per LAN segment (VRF) on a device: interfaces split by globally routable IPv4 (for Public VIF / BGP) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: device id (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87641,8 +89686,9 @@ def v1_groups_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_get_serialize( + _param = self._v1_lan_segments_interfaces_public_get_serialize( authorization=authorization, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87650,7 +89696,7 @@ def v1_groups_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsGetResponse", + '200': "V1LanSegmentsInterfacesPublicGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87664,9 +89710,10 @@ def v1_groups_get_with_http_info( @validate_call - def v1_groups_get_without_preload_content( + def v1_lan_segments_interfaces_public_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + device_id: Annotated[StrictInt, Field(description="device id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87680,12 +89727,14 @@ def v1_groups_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_get + """v1_lan_segments_interfaces_public_get - Get all groups in the enterprise. + Per LAN segment (VRF) on a device: interfaces split by globally routable IPv4 (for Public VIF / BGP) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param device_id: device id (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87708,8 +89757,9 @@ def v1_groups_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_get_serialize( + _param = self._v1_lan_segments_interfaces_public_get_serialize( authorization=authorization, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87717,7 +89767,7 @@ def v1_groups_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsGetResponse", + '200': "V1LanSegmentsInterfacesPublicGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87726,9 +89776,10 @@ def v1_groups_get_without_preload_content( return response_data.response - def _v1_groups_get_serialize( + def _v1_lan_segments_interfaces_public_get_serialize( self, authorization, + device_id, _request_auth, _content_type, _headers, @@ -87751,6 +89802,10 @@ def _v1_groups_get_serialize( # process the path parameters # process the query parameters + if device_id is not None: + + _query_params.append(('deviceId', device_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -87774,7 +89829,7 @@ def _v1_groups_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/groups', + resource_path='/v1/lan-segments/interfaces/public', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -87791,10 +89846,10 @@ def _v1_groups_get_serialize( @validate_call - def v1_groups_id_delete( + def v1_lldp_interface_id_neighbors_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87807,15 +89862,15 @@ def v1_groups_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_delete + ) -> V1LldpInterfaceIdNeighborsGetResponse: + """v1_lldp_interface_id_neighbors_get - Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. + Get the LLDP neighbors for an interface and optionally for a specific vendor :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87838,9 +89893,9 @@ def v1_groups_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_delete_serialize( + _param = self._v1_lldp_interface_id_neighbors_get_serialize( authorization=authorization, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87848,7 +89903,7 @@ def v1_groups_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdNeighborsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87862,10 +89917,10 @@ def v1_groups_id_delete( @validate_call - def v1_groups_id_delete_with_http_info( + def v1_lldp_interface_id_neighbors_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87878,15 +89933,15 @@ def v1_groups_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_delete + ) -> ApiResponse[V1LldpInterfaceIdNeighborsGetResponse]: + """v1_lldp_interface_id_neighbors_get - Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. + Get the LLDP neighbors for an interface and optionally for a specific vendor :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87909,9 +89964,9 @@ def v1_groups_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_delete_serialize( + _param = self._v1_lldp_interface_id_neighbors_get_serialize( authorization=authorization, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87919,7 +89974,7 @@ def v1_groups_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdNeighborsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87933,10 +89988,10 @@ def v1_groups_id_delete_with_http_info( @validate_call - def v1_groups_id_delete_without_preload_content( + def v1_lldp_interface_id_neighbors_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -87950,14 +90005,14 @@ def v1_groups_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_delete + """v1_lldp_interface_id_neighbors_get - Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. + Get the LLDP neighbors for an interface and optionally for a specific vendor :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87980,9 +90035,9 @@ def v1_groups_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_delete_serialize( + _param = self._v1_lldp_interface_id_neighbors_get_serialize( authorization=authorization, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -87990,7 +90045,7 @@ def v1_groups_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdNeighborsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -87999,10 +90054,10 @@ def v1_groups_id_delete_without_preload_content( return response_data.response - def _v1_groups_id_delete_serialize( + def _v1_lldp_interface_id_neighbors_get_serialize( self, authorization, - id, + interface_id, _request_auth, _content_type, _headers, @@ -88024,8 +90079,8 @@ def _v1_groups_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if interface_id is not None: + _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: @@ -88034,6 +90089,13 @@ def _v1_groups_id_delete_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -88042,8 +90104,8 @@ def _v1_groups_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/groups/{id}', + method='GET', + resource_path='/v1/lldp/{interfaceId}/neighbors', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -88060,11 +90122,10 @@ def _v1_groups_id_delete_serialize( @validate_call - def v1_groups_id_enterprises_enterprise_id_delete( + def v1_lldp_interface_id_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: StrictInt, - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88077,17 +90138,15 @@ def v1_groups_id_enterprises_enterprise_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_enterprises_enterprise_id_delete + ) -> V1LldpInterfaceIdSummaryGetResponse: + """v1_lldp_interface_id_summary_get - Remove group's association with a specific enterprise, revoking cross-enterprise access. + Get the summary of LLDP neighbors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: (required) - :type enterprise_id: int - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88110,10 +90169,9 @@ def v1_groups_id_enterprises_enterprise_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + _param = self._v1_lldp_interface_id_summary_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88121,7 +90179,7 @@ def v1_groups_id_enterprises_enterprise_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88135,11 +90193,10 @@ def v1_groups_id_enterprises_enterprise_id_delete( @validate_call - def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( + def v1_lldp_interface_id_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: StrictInt, - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88152,17 +90209,15 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_enterprises_enterprise_id_delete + ) -> ApiResponse[V1LldpInterfaceIdSummaryGetResponse]: + """v1_lldp_interface_id_summary_get - Remove group's association with a specific enterprise, revoking cross-enterprise access. + Get the summary of LLDP neighbors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: (required) - :type enterprise_id: int - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88185,10 +90240,9 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + _param = self._v1_lldp_interface_id_summary_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88196,7 +90250,7 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88210,11 +90264,10 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( @validate_call - def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( + def v1_lldp_interface_id_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: StrictInt, - id: StrictStr, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88228,16 +90281,14 @@ def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_enterprises_enterprise_id_delete + """v1_lldp_interface_id_summary_get - Remove group's association with a specific enterprise, revoking cross-enterprise access. + Get the summary of LLDP neighbors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: (required) - :type enterprise_id: int - :param id: (required) - :type id: str + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88260,10 +90311,9 @@ def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_enterprise_id_delete_serialize( + _param = self._v1_lldp_interface_id_summary_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, - id=id, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88271,7 +90321,7 @@ def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88280,11 +90330,10 @@ def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( return response_data.response - def _v1_groups_id_enterprises_enterprise_id_delete_serialize( + def _v1_lldp_interface_id_summary_get_serialize( self, authorization, - enterprise_id, - id, + interface_id, _request_auth, _content_type, _headers, @@ -88306,10 +90355,8 @@ def _v1_groups_id_enterprises_enterprise_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if enterprise_id is not None: - _path_params['enterpriseId'] = enterprise_id - if id is not None: - _path_params['id'] = id + if interface_id is not None: + _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: @@ -88318,6 +90365,13 @@ def _v1_groups_id_enterprises_enterprise_id_delete_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -88326,8 +90380,8 @@ def _v1_groups_id_enterprises_enterprise_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/groups/{id}/enterprises/{enterpriseId}', + method='GET', + resource_path='/v1/lldp/{interfaceId}/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -88344,11 +90398,10 @@ def _v1_groups_id_enterprises_enterprise_id_delete_serialize( @validate_call - def v1_groups_id_enterprises_post( + def v1_lldp_interface_id_vendors_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88361,17 +90414,15 @@ def v1_groups_id_enterprises_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_enterprises_post + ) -> V1LldpInterfaceIdVendorsGetResponse: + """v1_lldp_interface_id_vendors_get - Associate group with additional enterprises to enable cross-enterprise access and management. + Get the list LLDP vendors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_enterprises_post_request: (required) - :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88394,10 +90445,9 @@ def v1_groups_id_enterprises_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_post_serialize( + _param = self._v1_lldp_interface_id_vendors_get_serialize( authorization=authorization, - id=id, - v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88405,7 +90455,7 @@ def v1_groups_id_enterprises_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdVendorsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88419,11 +90469,10 @@ def v1_groups_id_enterprises_post( @validate_call - def v1_groups_id_enterprises_post_with_http_info( + def v1_lldp_interface_id_vendors_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88436,17 +90485,15 @@ def v1_groups_id_enterprises_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_enterprises_post + ) -> ApiResponse[V1LldpInterfaceIdVendorsGetResponse]: + """v1_lldp_interface_id_vendors_get - Associate group with additional enterprises to enable cross-enterprise access and management. + Get the list LLDP vendors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_enterprises_post_request: (required) - :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88469,10 +90516,9 @@ def v1_groups_id_enterprises_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_post_serialize( + _param = self._v1_lldp_interface_id_vendors_get_serialize( authorization=authorization, - id=id, - v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88480,7 +90526,7 @@ def v1_groups_id_enterprises_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdVendorsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88494,11 +90540,10 @@ def v1_groups_id_enterprises_post_with_http_info( @validate_call - def v1_groups_id_enterprises_post_without_preload_content( + def v1_lldp_interface_id_vendors_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest, + interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88512,16 +90557,14 @@ def v1_groups_id_enterprises_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_enterprises_post + """v1_lldp_interface_id_vendors_get - Associate group with additional enterprises to enable cross-enterprise access and management. + Get the list LLDP vendors for an interface :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_enterprises_post_request: (required) - :type v1_groups_id_enterprises_post_request: V1GroupsIdEnterprisesPostRequest + :param interface_id: (required) + :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88544,10 +90587,9 @@ def v1_groups_id_enterprises_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_enterprises_post_serialize( + _param = self._v1_lldp_interface_id_vendors_get_serialize( authorization=authorization, - id=id, - v1_groups_id_enterprises_post_request=v1_groups_id_enterprises_post_request, + interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88555,7 +90597,7 @@ def v1_groups_id_enterprises_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LldpInterfaceIdVendorsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -88564,11 +90606,10 @@ def v1_groups_id_enterprises_post_without_preload_content( return response_data.response - def _v1_groups_id_enterprises_post_serialize( + def _v1_lldp_interface_id_vendors_get_serialize( self, authorization, - id, - v1_groups_id_enterprises_post_request, + interface_id, _request_auth, _content_type, _headers, @@ -88590,32 +90631,24 @@ def _v1_groups_id_enterprises_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if interface_id is not None: + _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_groups_id_enterprises_post_request is not None: - _body_params = v1_groups_id_enterprises_post_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -88623,8 +90656,8 @@ def _v1_groups_id_enterprises_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/groups/{id}/enterprises', + method='GET', + resource_path='/v1/lldp/{interfaceId}/vendors', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -88641,11 +90674,10 @@ def _v1_groups_id_enterprises_post_serialize( @validate_call - def v1_groups_id_members_delete_post( + def v1_logs_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88658,17 +90690,14 @@ def v1_groups_id_members_delete_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_members_delete_post + ) -> V1LogsPostResponse: + """v1_logs_post - Remove multiple users from a group by their member IDs. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_delete_post_request: (required) - :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param v1_logs_post_request: (required) + :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88691,10 +90720,9 @@ def v1_groups_id_members_delete_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_delete_post_serialize( + _param = self._v1_logs_post_serialize( authorization=authorization, - id=id, - v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88702,7 +90730,7 @@ def v1_groups_id_members_delete_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -88716,11 +90744,10 @@ def v1_groups_id_members_delete_post( @validate_call - def v1_groups_id_members_delete_post_with_http_info( + def v1_logs_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88733,17 +90760,14 @@ def v1_groups_id_members_delete_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_members_delete_post + ) -> ApiResponse[V1LogsPostResponse]: + """v1_logs_post - Remove multiple users from a group by their member IDs. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_delete_post_request: (required) - :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param v1_logs_post_request: (required) + :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88766,10 +90790,9 @@ def v1_groups_id_members_delete_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_delete_post_serialize( + _param = self._v1_logs_post_serialize( authorization=authorization, - id=id, - v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88777,7 +90800,7 @@ def v1_groups_id_members_delete_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -88791,11 +90814,10 @@ def v1_groups_id_members_delete_post_with_http_info( @validate_call - def v1_groups_id_members_delete_post_without_preload_content( + def v1_logs_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest, + v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88809,16 +90831,13 @@ def v1_groups_id_members_delete_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_members_delete_post + """v1_logs_post - Remove multiple users from a group by their member IDs. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_delete_post_request: (required) - :type v1_groups_id_members_delete_post_request: V1GroupsIdMembersDeletePostRequest + :param v1_logs_post_request: (required) + :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88841,10 +90860,9 @@ def v1_groups_id_members_delete_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_delete_post_serialize( + _param = self._v1_logs_post_serialize( authorization=authorization, - id=id, - v1_groups_id_members_delete_post_request=v1_groups_id_members_delete_post_request, + v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88852,7 +90870,7 @@ def v1_groups_id_members_delete_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1LogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -88861,11 +90879,10 @@ def v1_groups_id_members_delete_post_without_preload_content( return response_data.response - def _v1_groups_id_members_delete_post_serialize( + def _v1_logs_post_serialize( self, authorization, - id, - v1_groups_id_members_delete_post_request, + v1_logs_post_request, _request_auth, _content_type, _headers, @@ -88887,18 +90904,23 @@ def _v1_groups_id_members_delete_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_groups_id_members_delete_post_request is not None: - _body_params = v1_groups_id_members_delete_post_request + if v1_logs_post_request is not None: + _body_params = v1_logs_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -88921,7 +90943,7 @@ def _v1_groups_id_members_delete_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/groups/{id}/members/delete', + resource_path='/v1/logs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -88938,10 +90960,9 @@ def _v1_groups_id_members_delete_post_serialize( @validate_call - def v1_groups_id_members_get( + def v1_msp_managed_enterprise_contract_info_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -88954,15 +90975,13 @@ def v1_groups_id_members_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdMembersGetResponse: - """v1_groups_id_members_get + ) -> V1MspManagedEnterpriseContractInfoGetResponse: + """v1_msp_managed_enterprise_contract_info_get - Get all members of a specific group. + Managed enterprises under the MSP with contract and credit allocation details for the requested month :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -88985,9 +91004,8 @@ def v1_groups_id_members_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_get_serialize( + _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -88995,7 +91013,7 @@ def v1_groups_id_members_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsIdMembersGetResponse", + '200': "V1MspManagedEnterpriseContractInfoGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89009,10 +91027,9 @@ def v1_groups_id_members_get( @validate_call - def v1_groups_id_members_get_with_http_info( + def v1_msp_managed_enterprise_contract_info_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89025,15 +91042,13 @@ def v1_groups_id_members_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdMembersGetResponse]: - """v1_groups_id_members_get + ) -> ApiResponse[V1MspManagedEnterpriseContractInfoGetResponse]: + """v1_msp_managed_enterprise_contract_info_get - Get all members of a specific group. + Managed enterprises under the MSP with contract and credit allocation details for the requested month :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89056,9 +91071,8 @@ def v1_groups_id_members_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_get_serialize( + _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89066,7 +91080,7 @@ def v1_groups_id_members_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsIdMembersGetResponse", + '200': "V1MspManagedEnterpriseContractInfoGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89080,10 +91094,9 @@ def v1_groups_id_members_get_with_http_info( @validate_call - def v1_groups_id_members_get_without_preload_content( + def v1_msp_managed_enterprise_contract_info_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89097,14 +91110,12 @@ def v1_groups_id_members_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_members_get + """v1_msp_managed_enterprise_contract_info_get - Get all members of a specific group. + Managed enterprises under the MSP with contract and credit allocation details for the requested month :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89127,9 +91138,8 @@ def v1_groups_id_members_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_get_serialize( + _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89137,7 +91147,7 @@ def v1_groups_id_members_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsIdMembersGetResponse", + '200': "V1MspManagedEnterpriseContractInfoGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89146,10 +91156,9 @@ def v1_groups_id_members_get_without_preload_content( return response_data.response - def _v1_groups_id_members_get_serialize( + def _v1_msp_managed_enterprise_contract_info_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -89171,8 +91180,6 @@ def _v1_groups_id_members_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -89197,7 +91204,7 @@ def _v1_groups_id_members_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/groups/{id}/members', + resource_path='/v1/msp/managed-enterprise-contract-info', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -89214,11 +91221,10 @@ def _v1_groups_id_members_get_serialize( @validate_call - def v1_groups_id_members_member_id_delete( + def v1_nat_entries_device_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - member_id: StrictStr, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89231,17 +91237,15 @@ def v1_groups_id_members_member_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_members_member_id_delete + ) -> V1NatEntriesDeviceIdGetResponse: + """v1_nat_entries_device_id_get - Remove a specific user from a group by member ID. + Get the NAT entries for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param member_id: (required) - :type member_id: str + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89264,10 +91268,9 @@ def v1_groups_id_members_member_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_member_id_delete_serialize( + _param = self._v1_nat_entries_device_id_get_serialize( authorization=authorization, - id=id, - member_id=member_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89275,7 +91278,7 @@ def v1_groups_id_members_member_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatEntriesDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89289,11 +91292,10 @@ def v1_groups_id_members_member_id_delete( @validate_call - def v1_groups_id_members_member_id_delete_with_http_info( + def v1_nat_entries_device_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - member_id: StrictStr, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89306,17 +91308,15 @@ def v1_groups_id_members_member_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_members_member_id_delete + ) -> ApiResponse[V1NatEntriesDeviceIdGetResponse]: + """v1_nat_entries_device_id_get - Remove a specific user from a group by member ID. + Get the NAT entries for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param member_id: (required) - :type member_id: str + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89339,10 +91339,9 @@ def v1_groups_id_members_member_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_member_id_delete_serialize( + _param = self._v1_nat_entries_device_id_get_serialize( authorization=authorization, - id=id, - member_id=member_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89350,7 +91349,7 @@ def v1_groups_id_members_member_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatEntriesDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89364,11 +91363,10 @@ def v1_groups_id_members_member_id_delete_with_http_info( @validate_call - def v1_groups_id_members_member_id_delete_without_preload_content( + def v1_nat_entries_device_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - member_id: StrictStr, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89382,16 +91380,14 @@ def v1_groups_id_members_member_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_members_member_id_delete + """v1_nat_entries_device_id_get - Remove a specific user from a group by member ID. + Get the NAT entries for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param member_id: (required) - :type member_id: str + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89414,10 +91410,9 @@ def v1_groups_id_members_member_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_member_id_delete_serialize( + _param = self._v1_nat_entries_device_id_get_serialize( authorization=authorization, - id=id, - member_id=member_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89425,7 +91420,7 @@ def v1_groups_id_members_member_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatEntriesDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89434,11 +91429,10 @@ def v1_groups_id_members_member_id_delete_without_preload_content( return response_data.response - def _v1_groups_id_members_member_id_delete_serialize( + def _v1_nat_entries_device_id_get_serialize( self, authorization, - id, - member_id, + device_id, _request_auth, _content_type, _headers, @@ -89460,10 +91454,8 @@ def _v1_groups_id_members_member_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id - if member_id is not None: - _path_params['memberId'] = member_id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: @@ -89472,6 +91464,13 @@ def _v1_groups_id_members_member_id_delete_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -89480,8 +91479,8 @@ def _v1_groups_id_members_member_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/groups/{id}/members/{memberId}', + method='GET', + resource_path='/v1/nat/entries/{deviceId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -89498,11 +91497,10 @@ def _v1_groups_id_members_member_id_delete_serialize( @validate_call - def v1_groups_id_members_post( + def v1_nat_utilization_device_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89515,17 +91513,15 @@ def v1_groups_id_members_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_id_members_post + ) -> V1NatUtilizationDeviceIdGetResponse: + """v1_nat_utilization_device_id_get - Add multiple users to a group by their global IDs. + Get the NAT usage for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_post_request: (required) - :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89548,10 +91544,9 @@ def v1_groups_id_members_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_post_serialize( + _param = self._v1_nat_utilization_device_id_get_serialize( authorization=authorization, - id=id, - v1_groups_id_members_post_request=v1_groups_id_members_post_request, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89559,7 +91554,7 @@ def v1_groups_id_members_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatUtilizationDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89573,11 +91568,10 @@ def v1_groups_id_members_post( @validate_call - def v1_groups_id_members_post_with_http_info( + def v1_nat_utilization_device_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89590,17 +91584,15 @@ def v1_groups_id_members_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_id_members_post + ) -> ApiResponse[V1NatUtilizationDeviceIdGetResponse]: + """v1_nat_utilization_device_id_get - Add multiple users to a group by their global IDs. + Get the NAT usage for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_post_request: (required) - :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89623,10 +91615,9 @@ def v1_groups_id_members_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_post_serialize( + _param = self._v1_nat_utilization_device_id_get_serialize( authorization=authorization, - id=id, - v1_groups_id_members_post_request=v1_groups_id_members_post_request, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89634,7 +91625,7 @@ def v1_groups_id_members_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatUtilizationDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89648,11 +91639,10 @@ def v1_groups_id_members_post_with_http_info( @validate_call - def v1_groups_id_members_post_without_preload_content( + def v1_nat_utilization_device_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest, + device_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89666,16 +91656,14 @@ def v1_groups_id_members_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_members_post + """v1_nat_utilization_device_id_get - Add multiple users to a group by their global IDs. + Get the NAT usage for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_members_post_request: (required) - :type v1_groups_id_members_post_request: V1GroupsIdMembersPostRequest + :param device_id: (required) + :type device_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89698,10 +91686,9 @@ def v1_groups_id_members_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_members_post_serialize( + _param = self._v1_nat_utilization_device_id_get_serialize( authorization=authorization, - id=id, - v1_groups_id_members_post_request=v1_groups_id_members_post_request, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89709,7 +91696,7 @@ def v1_groups_id_members_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1NatUtilizationDeviceIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -89718,11 +91705,10 @@ def v1_groups_id_members_post_without_preload_content( return response_data.response - def _v1_groups_id_members_post_serialize( + def _v1_nat_utilization_device_id_get_serialize( self, authorization, - id, - v1_groups_id_members_post_request, + device_id, _request_auth, _content_type, _headers, @@ -89744,32 +91730,24 @@ def _v1_groups_id_members_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_groups_id_members_post_request is not None: - _body_params = v1_groups_id_members_post_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -89777,8 +91755,8 @@ def _v1_groups_id_members_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/groups/{id}/members', + method='GET', + resource_path='/v1/nat/utilization/{deviceId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -89795,11 +91773,9 @@ def _v1_groups_id_members_post_serialize( @validate_call - def v1_groups_id_patch( + def v1_onboarding_cloudinit_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_patch_request: V1GroupsIdPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89813,16 +91789,12 @@ def v1_groups_id_patch( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> None: - """v1_groups_id_patch + """v1_onboarding_cloudinit_delete - Update group information. + Delete the onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_patch_request: (required) - :type v1_groups_id_patch_request: V1GroupsIdPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89845,10 +91817,8 @@ def v1_groups_id_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_patch_serialize( + _param = self._v1_onboarding_cloudinit_delete_serialize( authorization=authorization, - id=id, - v1_groups_id_patch_request=v1_groups_id_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89870,11 +91840,9 @@ def v1_groups_id_patch( @validate_call - def v1_groups_id_patch_with_http_info( + def v1_onboarding_cloudinit_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_patch_request: V1GroupsIdPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89888,16 +91856,12 @@ def v1_groups_id_patch_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[None]: - """v1_groups_id_patch + """v1_onboarding_cloudinit_delete - Update group information. + Delete the onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_patch_request: (required) - :type v1_groups_id_patch_request: V1GroupsIdPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89920,10 +91884,8 @@ def v1_groups_id_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_patch_serialize( + _param = self._v1_onboarding_cloudinit_delete_serialize( authorization=authorization, - id=id, - v1_groups_id_patch_request=v1_groups_id_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -89945,11 +91907,9 @@ def v1_groups_id_patch_with_http_info( @validate_call - def v1_groups_id_patch_without_preload_content( + def v1_onboarding_cloudinit_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - v1_groups_id_patch_request: V1GroupsIdPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -89963,16 +91923,12 @@ def v1_groups_id_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_id_patch + """v1_onboarding_cloudinit_delete - Update group information. + Delete the onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param v1_groups_id_patch_request: (required) - :type v1_groups_id_patch_request: V1GroupsIdPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -89995,10 +91951,8 @@ def v1_groups_id_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_id_patch_serialize( + _param = self._v1_onboarding_cloudinit_delete_serialize( authorization=authorization, - id=id, - v1_groups_id_patch_request=v1_groups_id_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90015,11 +91969,9 @@ def v1_groups_id_patch_without_preload_content( return response_data.response - def _v1_groups_id_patch_serialize( + def _v1_onboarding_cloudinit_delete_serialize( self, authorization, - id, - v1_groups_id_patch_request, _request_auth, _content_type, _headers, @@ -90041,32 +91993,15 @@ def _v1_groups_id_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_groups_id_patch_request is not None: - _body_params = v1_groups_id_patch_request - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -90074,8 +92009,8 @@ def _v1_groups_id_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/groups/{id}', + method='DELETE', + resource_path='/v1/onboarding/cloudinit', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -90092,10 +92027,9 @@ def _v1_groups_id_patch_serialize( @validate_call - def v1_groups_put( + def v1_onboarding_cloudinit_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_groups_put_request: V1GroupsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90108,15 +92042,13 @@ def v1_groups_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_groups_put + ) -> V1OnboardingCloudinitGetResponse: + """v1_onboarding_cloudinit_get - Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). + Get all the onboarding tokens :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_groups_put_request: (required) - :type v1_groups_put_request: V1GroupsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90139,9 +92071,8 @@ def v1_groups_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_put_serialize( + _param = self._v1_onboarding_cloudinit_get_serialize( authorization=authorization, - v1_groups_put_request=v1_groups_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90149,7 +92080,7 @@ def v1_groups_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1OnboardingCloudinitGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90163,10 +92094,9 @@ def v1_groups_put( @validate_call - def v1_groups_put_with_http_info( + def v1_onboarding_cloudinit_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_groups_put_request: V1GroupsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90179,15 +92109,13 @@ def v1_groups_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_groups_put + ) -> ApiResponse[V1OnboardingCloudinitGetResponse]: + """v1_onboarding_cloudinit_get - Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). + Get all the onboarding tokens :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_groups_put_request: (required) - :type v1_groups_put_request: V1GroupsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90210,9 +92138,8 @@ def v1_groups_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_put_serialize( + _param = self._v1_onboarding_cloudinit_get_serialize( authorization=authorization, - v1_groups_put_request=v1_groups_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90220,7 +92147,7 @@ def v1_groups_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1OnboardingCloudinitGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90234,10 +92161,9 @@ def v1_groups_put_with_http_info( @validate_call - def v1_groups_put_without_preload_content( + def v1_onboarding_cloudinit_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_groups_put_request: V1GroupsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90251,14 +92177,12 @@ def v1_groups_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_put + """v1_onboarding_cloudinit_get - Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). + Get all the onboarding tokens :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_groups_put_request: (required) - :type v1_groups_put_request: V1GroupsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90281,9 +92205,8 @@ def v1_groups_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_put_serialize( + _param = self._v1_onboarding_cloudinit_get_serialize( authorization=authorization, - v1_groups_put_request=v1_groups_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90291,7 +92214,7 @@ def v1_groups_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1OnboardingCloudinitGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90300,10 +92223,9 @@ def v1_groups_put_without_preload_content( return response_data.response - def _v1_groups_put_serialize( + def _v1_onboarding_cloudinit_get_serialize( self, authorization, - v1_groups_put_request, _request_auth, _content_type, _headers, @@ -90331,24 +92253,16 @@ def _v1_groups_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_groups_put_request is not None: - _body_params = v1_groups_put_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -90356,8 +92270,8 @@ def _v1_groups_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/groups', + method='GET', + resource_path='/v1/onboarding/cloudinit', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -90374,9 +92288,10 @@ def _v1_groups_put_serialize( @validate_call - def v1_groups_root_get( + def v1_onboarding_cloudinit_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90389,13 +92304,15 @@ def v1_groups_root_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsRootGetResponse: - """v1_groups_root_get + ) -> object: + """v1_onboarding_cloudinit_post - Get all root-level groups. + Create a onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_onboarding_cloudinit_post_request: (required) + :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90418,8 +92335,9 @@ def v1_groups_root_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_root_get_serialize( + _param = self._v1_onboarding_cloudinit_post_serialize( authorization=authorization, + v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90427,7 +92345,7 @@ def v1_groups_root_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsRootGetResponse", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -90441,9 +92359,10 @@ def v1_groups_root_get( @validate_call - def v1_groups_root_get_with_http_info( + def v1_onboarding_cloudinit_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90456,13 +92375,15 @@ def v1_groups_root_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsRootGetResponse]: - """v1_groups_root_get + ) -> ApiResponse[object]: + """v1_onboarding_cloudinit_post - Get all root-level groups. + Create a onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_onboarding_cloudinit_post_request: (required) + :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90485,8 +92406,9 @@ def v1_groups_root_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_root_get_serialize( + _param = self._v1_onboarding_cloudinit_post_serialize( authorization=authorization, + v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90494,7 +92416,7 @@ def v1_groups_root_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsRootGetResponse", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -90508,9 +92430,10 @@ def v1_groups_root_get_with_http_info( @validate_call - def v1_groups_root_get_without_preload_content( + def v1_onboarding_cloudinit_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90524,12 +92447,14 @@ def v1_groups_root_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_groups_root_get + """v1_onboarding_cloudinit_post - Get all root-level groups. + Create a onboarding token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_onboarding_cloudinit_post_request: (required) + :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90552,8 +92477,9 @@ def v1_groups_root_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_groups_root_get_serialize( + _param = self._v1_onboarding_cloudinit_post_serialize( authorization=authorization, + v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90561,7 +92487,7 @@ def v1_groups_root_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GroupsRootGetResponse", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -90570,9 +92496,10 @@ def v1_groups_root_get_without_preload_content( return response_data.response - def _v1_groups_root_get_serialize( + def _v1_onboarding_cloudinit_post_serialize( self, authorization, + v1_onboarding_cloudinit_post_request, _request_auth, _content_type, _headers, @@ -90600,6 +92527,8 @@ def _v1_groups_root_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_onboarding_cloudinit_post_request is not None: + _body_params = v1_onboarding_cloudinit_post_request # set the HTTP header `Accept` @@ -90610,6 +92539,19 @@ def _v1_groups_root_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -90617,8 +92559,8 @@ def _v1_groups_root_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/groups/root', + method='POST', + resource_path='/v1/onboarding/cloudinit', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -90635,10 +92577,9 @@ def _v1_groups_root_get_serialize( @validate_call - def v1_invitation_email_post( + def v1_policy_applications_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90651,15 +92592,13 @@ def v1_invitation_email_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_invitation_email_post + ) -> V1PolicyApplicationsGetResponse: + """v1_policy_applications_get - Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. + Get a list of builtin DPI applications :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_invitation_email_post_request: (required) - :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90682,9 +92621,8 @@ def v1_invitation_email_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_invitation_email_post_serialize( + _param = self._v1_policy_applications_get_serialize( authorization=authorization, - v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90692,7 +92630,7 @@ def v1_invitation_email_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1PolicyApplicationsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90706,10 +92644,9 @@ def v1_invitation_email_post( @validate_call - def v1_invitation_email_post_with_http_info( + def v1_policy_applications_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90722,15 +92659,13 @@ def v1_invitation_email_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_invitation_email_post + ) -> ApiResponse[V1PolicyApplicationsGetResponse]: + """v1_policy_applications_get - Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. + Get a list of builtin DPI applications :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_invitation_email_post_request: (required) - :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90753,9 +92688,8 @@ def v1_invitation_email_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_invitation_email_post_serialize( + _param = self._v1_policy_applications_get_serialize( authorization=authorization, - v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90763,7 +92697,7 @@ def v1_invitation_email_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1PolicyApplicationsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90777,10 +92711,9 @@ def v1_invitation_email_post_with_http_info( @validate_call - def v1_invitation_email_post_without_preload_content( + def v1_policy_applications_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_invitation_email_post_request: V1InvitationEmailPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90794,14 +92727,12 @@ def v1_invitation_email_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_invitation_email_post + """v1_policy_applications_get - Send invitation emails for B2B data exchange service connections. For non-Graphiant enterprises, sends invite to all admin users in the proxy tenant desiganted by your msp. For Graphiant, sends to specified admin email. + Get a list of builtin DPI applications :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_invitation_email_post_request: (required) - :type v1_invitation_email_post_request: V1InvitationEmailPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90824,9 +92755,8 @@ def v1_invitation_email_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_invitation_email_post_serialize( + _param = self._v1_policy_applications_get_serialize( authorization=authorization, - v1_invitation_email_post_request=v1_invitation_email_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90834,7 +92764,7 @@ def v1_invitation_email_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1PolicyApplicationsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -90843,10 +92773,9 @@ def v1_invitation_email_post_without_preload_content( return response_data.response - def _v1_invitation_email_post_serialize( + def _v1_policy_applications_get_serialize( self, authorization, - v1_invitation_email_post_request, _request_auth, _content_type, _headers, @@ -90874,8 +92803,6 @@ def _v1_invitation_email_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_invitation_email_post_request is not None: - _body_params = v1_invitation_email_post_request # set the HTTP header `Accept` @@ -90886,19 +92813,6 @@ def _v1_invitation_email_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -90906,8 +92820,8 @@ def _v1_invitation_email_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/invitation/email', + method='GET', + resource_path='/v1/policy/applications', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -90924,9 +92838,11 @@ def _v1_invitation_email_post_serialize( @validate_call - def v1_lan_segments_get( + def v1_policy_route_tag_sets_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -90939,13 +92855,17 @@ def v1_lan_segments_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1LanSegmentsGetResponse: - """v1_lan_segments_get + ) -> V1PolicyRouteTagSetsIdDeleteResponse: + """v1_policy_route_tag_sets_id_delete - Get LAN Segments for the current enterprise + Create a new route-tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int + :param level: + :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -90968,8 +92888,10 @@ def v1_lan_segments_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lan_segments_get_serialize( + _param = self._v1_policy_route_tag_sets_id_delete_serialize( authorization=authorization, + id=id, + level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -90977,7 +92899,7 @@ def v1_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LanSegmentsGetResponse", + '200': "V1PolicyRouteTagSetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -90991,9 +92913,11 @@ def v1_lan_segments_get( @validate_call - def v1_lan_segments_get_with_http_info( + def v1_policy_route_tag_sets_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91006,13 +92930,17 @@ def v1_lan_segments_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1LanSegmentsGetResponse]: - """v1_lan_segments_get + ) -> ApiResponse[V1PolicyRouteTagSetsIdDeleteResponse]: + """v1_policy_route_tag_sets_id_delete - Get LAN Segments for the current enterprise + Create a new route-tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int + :param level: + :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91035,8 +92963,10 @@ def v1_lan_segments_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lan_segments_get_serialize( + _param = self._v1_policy_route_tag_sets_id_delete_serialize( authorization=authorization, + id=id, + level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91044,7 +92974,7 @@ def v1_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LanSegmentsGetResponse", + '200': "V1PolicyRouteTagSetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -91058,9 +92988,11 @@ def v1_lan_segments_get_with_http_info( @validate_call - def v1_lan_segments_get_without_preload_content( + def v1_policy_route_tag_sets_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91074,12 +93006,16 @@ def v1_lan_segments_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_lan_segments_get + """v1_policy_route_tag_sets_id_delete - Get LAN Segments for the current enterprise + Create a new route-tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int + :param level: + :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91102,8 +93038,10 @@ def v1_lan_segments_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lan_segments_get_serialize( + _param = self._v1_policy_route_tag_sets_id_delete_serialize( authorization=authorization, + id=id, + level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91111,7 +93049,7 @@ def v1_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LanSegmentsGetResponse", + '200': "V1PolicyRouteTagSetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -91120,9 +93058,11 @@ def v1_lan_segments_get_without_preload_content( return response_data.response - def _v1_lan_segments_get_serialize( + def _v1_policy_route_tag_sets_id_delete_serialize( self, authorization, + id, + level, _request_auth, _content_type, _headers, @@ -91144,7 +93084,13 @@ def _v1_lan_segments_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters + if level is not None: + + _query_params.append(('level', level)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -91167,8 +93113,8 @@ def _v1_lan_segments_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/lan-segments', + method='DELETE', + resource_path='/v1/policy/route-tag-sets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -91185,10 +93131,10 @@ def _v1_lan_segments_get_serialize( @validate_call - def v1_lldp_interface_id_neighbors_get( + def v1_policy_route_tag_sets_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, + v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91201,15 +93147,15 @@ def v1_lldp_interface_id_neighbors_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1LldpInterfaceIdNeighborsGetResponse: - """v1_lldp_interface_id_neighbors_get + ) -> V1PolicyRouteTagSetsPostResponse: + """v1_policy_route_tag_sets_post - Get the LLDP neighbors for an interface and optionally for a specific vendor + Create a new route tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int + :param v1_policy_route_tag_sets_post_request: (required) + :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91232,9 +93178,9 @@ def v1_lldp_interface_id_neighbors_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_neighbors_get_serialize( + _param = self._v1_policy_route_tag_sets_post_serialize( authorization=authorization, - interface_id=interface_id, + v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91242,7 +93188,7 @@ def v1_lldp_interface_id_neighbors_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdNeighborsGetResponse", + '200': "V1PolicyRouteTagSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -91256,10 +93202,10 @@ def v1_lldp_interface_id_neighbors_get( @validate_call - def v1_lldp_interface_id_neighbors_get_with_http_info( + def v1_policy_route_tag_sets_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, + v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91272,15 +93218,15 @@ def v1_lldp_interface_id_neighbors_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1LldpInterfaceIdNeighborsGetResponse]: - """v1_lldp_interface_id_neighbors_get + ) -> ApiResponse[V1PolicyRouteTagSetsPostResponse]: + """v1_policy_route_tag_sets_post - Get the LLDP neighbors for an interface and optionally for a specific vendor + Create a new route tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int + :param v1_policy_route_tag_sets_post_request: (required) + :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91303,9 +93249,9 @@ def v1_lldp_interface_id_neighbors_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_neighbors_get_serialize( + _param = self._v1_policy_route_tag_sets_post_serialize( authorization=authorization, - interface_id=interface_id, + v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91313,7 +93259,7 @@ def v1_lldp_interface_id_neighbors_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdNeighborsGetResponse", + '200': "V1PolicyRouteTagSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -91327,10 +93273,10 @@ def v1_lldp_interface_id_neighbors_get_with_http_info( @validate_call - def v1_lldp_interface_id_neighbors_get_without_preload_content( + def v1_policy_route_tag_sets_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, + v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91344,14 +93290,14 @@ def v1_lldp_interface_id_neighbors_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_lldp_interface_id_neighbors_get + """v1_policy_route_tag_sets_post - Get the LLDP neighbors for an interface and optionally for a specific vendor + Create a new route tag scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int + :param v1_policy_route_tag_sets_post_request: (required) + :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91374,9 +93320,9 @@ def v1_lldp_interface_id_neighbors_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_neighbors_get_serialize( + _param = self._v1_policy_route_tag_sets_post_serialize( authorization=authorization, - interface_id=interface_id, + v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91384,7 +93330,7 @@ def v1_lldp_interface_id_neighbors_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdNeighborsGetResponse", + '200': "V1PolicyRouteTagSetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -91393,10 +93339,10 @@ def v1_lldp_interface_id_neighbors_get_without_preload_content( return response_data.response - def _v1_lldp_interface_id_neighbors_get_serialize( + def _v1_policy_route_tag_sets_post_serialize( self, authorization, - interface_id, + v1_policy_route_tag_sets_post_request, _request_auth, _content_type, _headers, @@ -91418,14 +93364,14 @@ def _v1_lldp_interface_id_neighbors_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if interface_id is not None: - _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_policy_route_tag_sets_post_request is not None: + _body_params = v1_policy_route_tag_sets_post_request # set the HTTP header `Accept` @@ -91436,6 +93382,19 @@ def _v1_lldp_interface_id_neighbors_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -91443,8 +93402,8 @@ def _v1_lldp_interface_id_neighbors_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/lldp/{interfaceId}/neighbors', + method='POST', + resource_path='/v1/policy/route-tag-sets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -91461,10 +93420,9 @@ def _v1_lldp_interface_id_neighbors_get_serialize( @validate_call - def v1_lldp_interface_id_summary_get( + def v1_policy_route_tag_sets_tag_detail_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91477,15 +93435,13 @@ def v1_lldp_interface_id_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1LldpInterfaceIdSummaryGetResponse: - """v1_lldp_interface_id_summary_get + ) -> V1PolicyRouteTagSetsTagDetailGetResponse: + """v1_policy_route_tag_sets_tag_detail_get - Get the summary of LLDP neighbors for an interface + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91508,9 +93464,8 @@ def v1_lldp_interface_id_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_summary_get_serialize( + _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91518,7 +93473,7 @@ def v1_lldp_interface_id_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdSummaryGetResponse", + '200': "V1PolicyRouteTagSetsTagDetailGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91532,10 +93487,9 @@ def v1_lldp_interface_id_summary_get( @validate_call - def v1_lldp_interface_id_summary_get_with_http_info( + def v1_policy_route_tag_sets_tag_detail_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91548,15 +93502,13 @@ def v1_lldp_interface_id_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1LldpInterfaceIdSummaryGetResponse]: - """v1_lldp_interface_id_summary_get + ) -> ApiResponse[V1PolicyRouteTagSetsTagDetailGetResponse]: + """v1_policy_route_tag_sets_tag_detail_get - Get the summary of LLDP neighbors for an interface + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91579,9 +93531,8 @@ def v1_lldp_interface_id_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_summary_get_serialize( + _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91589,7 +93540,7 @@ def v1_lldp_interface_id_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdSummaryGetResponse", + '200': "V1PolicyRouteTagSetsTagDetailGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91603,10 +93554,9 @@ def v1_lldp_interface_id_summary_get_with_http_info( @validate_call - def v1_lldp_interface_id_summary_get_without_preload_content( + def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91620,14 +93570,12 @@ def v1_lldp_interface_id_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_lldp_interface_id_summary_get + """v1_policy_route_tag_sets_tag_detail_get - Get the summary of LLDP neighbors for an interface + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91650,9 +93598,8 @@ def v1_lldp_interface_id_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_summary_get_serialize( + _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91660,7 +93607,7 @@ def v1_lldp_interface_id_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdSummaryGetResponse", + '200': "V1PolicyRouteTagSetsTagDetailGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91669,10 +93616,9 @@ def v1_lldp_interface_id_summary_get_without_preload_content( return response_data.response - def _v1_lldp_interface_id_summary_get_serialize( + def _v1_policy_route_tag_sets_tag_detail_get_serialize( self, authorization, - interface_id, _request_auth, _content_type, _headers, @@ -91694,8 +93640,6 @@ def _v1_lldp_interface_id_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if interface_id is not None: - _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: @@ -91720,7 +93664,7 @@ def _v1_lldp_interface_id_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/lldp/{interfaceId}/summary', + resource_path='/v1/policy/route-tag-sets/tag-detail', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -91737,10 +93681,9 @@ def _v1_lldp_interface_id_summary_get_serialize( @validate_call - def v1_lldp_interface_id_vendors_get( + def v1_policy_route_tag_sets_tags_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91753,15 +93696,13 @@ def v1_lldp_interface_id_vendors_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1LldpInterfaceIdVendorsGetResponse: - """v1_lldp_interface_id_vendors_get + ) -> V1PolicyRouteTagSetsTagsGetResponse: + """v1_policy_route_tag_sets_tags_get - Get the list LLDP vendors for an interface + Get all the route tags for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91784,9 +93725,8 @@ def v1_lldp_interface_id_vendors_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_vendors_get_serialize( + _param = self._v1_policy_route_tag_sets_tags_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91794,7 +93734,7 @@ def v1_lldp_interface_id_vendors_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdVendorsGetResponse", + '200': "V1PolicyRouteTagSetsTagsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91808,10 +93748,9 @@ def v1_lldp_interface_id_vendors_get( @validate_call - def v1_lldp_interface_id_vendors_get_with_http_info( + def v1_policy_route_tag_sets_tags_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91824,15 +93763,13 @@ def v1_lldp_interface_id_vendors_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1LldpInterfaceIdVendorsGetResponse]: - """v1_lldp_interface_id_vendors_get + ) -> ApiResponse[V1PolicyRouteTagSetsTagsGetResponse]: + """v1_policy_route_tag_sets_tags_get - Get the list LLDP vendors for an interface + Get all the route tags for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91855,9 +93792,8 @@ def v1_lldp_interface_id_vendors_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_vendors_get_serialize( + _param = self._v1_policy_route_tag_sets_tags_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91865,7 +93801,7 @@ def v1_lldp_interface_id_vendors_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdVendorsGetResponse", + '200': "V1PolicyRouteTagSetsTagsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91879,10 +93815,9 @@ def v1_lldp_interface_id_vendors_get_with_http_info( @validate_call - def v1_lldp_interface_id_vendors_get_without_preload_content( + def v1_policy_route_tag_sets_tags_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - interface_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -91896,14 +93831,12 @@ def v1_lldp_interface_id_vendors_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_lldp_interface_id_vendors_get + """v1_policy_route_tag_sets_tags_get - Get the list LLDP vendors for an interface + Get all the route tags for the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param interface_id: (required) - :type interface_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91926,9 +93859,8 @@ def v1_lldp_interface_id_vendors_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_lldp_interface_id_vendors_get_serialize( + _param = self._v1_policy_route_tag_sets_tags_get_serialize( authorization=authorization, - interface_id=interface_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91936,7 +93868,7 @@ def v1_lldp_interface_id_vendors_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LldpInterfaceIdVendorsGetResponse", + '200': "V1PolicyRouteTagSetsTagsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -91945,10 +93877,9 @@ def v1_lldp_interface_id_vendors_get_without_preload_content( return response_data.response - def _v1_lldp_interface_id_vendors_get_serialize( + def _v1_policy_route_tag_sets_tags_get_serialize( self, authorization, - interface_id, _request_auth, _content_type, _headers, @@ -91970,8 +93901,6 @@ def _v1_lldp_interface_id_vendors_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if interface_id is not None: - _path_params['interfaceId'] = interface_id # process the query parameters # process the header parameters if authorization is not None: @@ -91996,7 +93925,7 @@ def _v1_lldp_interface_id_vendors_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/lldp/{interfaceId}/vendors', + resource_path='/v1/policy/route-tag-sets/tags', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -92013,10 +93942,9 @@ def _v1_lldp_interface_id_vendors_get_serialize( @validate_call - def v1_logs_post( + def v1_policy_route_tag_sets_tags_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92029,14 +93957,13 @@ def v1_logs_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1LogsPostResponse: - """v1_logs_post + ) -> V1PolicyRouteTagSetsTagsSummaryGetResponse: + """v1_policy_route_tag_sets_tags_summary_get + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_logs_post_request: (required) - :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92059,9 +93986,8 @@ def v1_logs_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_logs_post_serialize( + _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( authorization=authorization, - v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92069,7 +93995,7 @@ def v1_logs_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LogsPostResponse", + '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92083,10 +94009,9 @@ def v1_logs_post( @validate_call - def v1_logs_post_with_http_info( + def v1_policy_route_tag_sets_tags_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92099,14 +94024,13 @@ def v1_logs_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1LogsPostResponse]: - """v1_logs_post + ) -> ApiResponse[V1PolicyRouteTagSetsTagsSummaryGetResponse]: + """v1_policy_route_tag_sets_tags_summary_get + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_logs_post_request: (required) - :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92129,9 +94053,8 @@ def v1_logs_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_logs_post_serialize( + _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( authorization=authorization, - v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92139,7 +94062,7 @@ def v1_logs_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LogsPostResponse", + '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92153,10 +94076,9 @@ def v1_logs_post_with_http_info( @validate_call - def v1_logs_post_without_preload_content( + def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_logs_post_request: V1LogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92170,13 +94092,12 @@ def v1_logs_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_logs_post + """v1_policy_route_tag_sets_tags_summary_get + Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_logs_post_request: (required) - :type v1_logs_post_request: V1LogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92199,9 +94120,8 @@ def v1_logs_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_logs_post_serialize( + _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( authorization=authorization, - v1_logs_post_request=v1_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92209,7 +94129,7 @@ def v1_logs_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1LogsPostResponse", + '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92218,10 +94138,9 @@ def v1_logs_post_without_preload_content( return response_data.response - def _v1_logs_post_serialize( + def _v1_policy_route_tag_sets_tags_summary_get_serialize( self, authorization, - v1_logs_post_request, _request_auth, _content_type, _headers, @@ -92249,8 +94168,6 @@ def _v1_logs_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_logs_post_request is not None: - _body_params = v1_logs_post_request # set the HTTP header `Accept` @@ -92261,19 +94178,6 @@ def _v1_logs_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -92281,8 +94185,8 @@ def _v1_logs_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/logs', + method='GET', + resource_path='/v1/policy/route-tag-sets/tags-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -92299,7 +94203,7 @@ def _v1_logs_post_serialize( @validate_call - def v1_msp_managed_enterprise_contract_info_get( + def v1_presharedkey_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -92314,10 +94218,10 @@ def v1_msp_managed_enterprise_contract_info_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1MspManagedEnterpriseContractInfoGetResponse: - """v1_msp_managed_enterprise_contract_info_get + ) -> V1PresharedkeyGetResponse: + """v1_presharedkey_get - Managed enterprises under the MSP with contract and credit allocation details for the requested month + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -92343,7 +94247,7 @@ def v1_msp_managed_enterprise_contract_info_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( + _param = self._v1_presharedkey_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -92352,7 +94256,7 @@ def v1_msp_managed_enterprise_contract_info_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1MspManagedEnterpriseContractInfoGetResponse", + '200': "V1PresharedkeyGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92366,7 +94270,7 @@ def v1_msp_managed_enterprise_contract_info_get( @validate_call - def v1_msp_managed_enterprise_contract_info_get_with_http_info( + def v1_presharedkey_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -92381,10 +94285,10 @@ def v1_msp_managed_enterprise_contract_info_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1MspManagedEnterpriseContractInfoGetResponse]: - """v1_msp_managed_enterprise_contract_info_get + ) -> ApiResponse[V1PresharedkeyGetResponse]: + """v1_presharedkey_get - Managed enterprises under the MSP with contract and credit allocation details for the requested month + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -92410,7 +94314,7 @@ def v1_msp_managed_enterprise_contract_info_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( + _param = self._v1_presharedkey_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -92419,7 +94323,7 @@ def v1_msp_managed_enterprise_contract_info_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1MspManagedEnterpriseContractInfoGetResponse", + '200': "V1PresharedkeyGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92433,7 +94337,7 @@ def v1_msp_managed_enterprise_contract_info_get_with_http_info( @validate_call - def v1_msp_managed_enterprise_contract_info_get_without_preload_content( + def v1_presharedkey_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -92449,9 +94353,9 @@ def v1_msp_managed_enterprise_contract_info_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_msp_managed_enterprise_contract_info_get + """v1_presharedkey_get - Managed enterprises under the MSP with contract and credit allocation details for the requested month + Get all domain categories from the DPI engine :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -92477,7 +94381,7 @@ def v1_msp_managed_enterprise_contract_info_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_msp_managed_enterprise_contract_info_get_serialize( + _param = self._v1_presharedkey_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -92486,7 +94390,7 @@ def v1_msp_managed_enterprise_contract_info_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1MspManagedEnterpriseContractInfoGetResponse", + '200': "V1PresharedkeyGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92495,7 +94399,7 @@ def v1_msp_managed_enterprise_contract_info_get_without_preload_content( return response_data.response - def _v1_msp_managed_enterprise_contract_info_get_serialize( + def _v1_presharedkey_get_serialize( self, authorization, _request_auth, @@ -92543,7 +94447,7 @@ def _v1_msp_managed_enterprise_contract_info_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/msp/managed-enterprise-contract-info', + resource_path='/v1/presharedkey', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -92560,10 +94464,10 @@ def _v1_msp_managed_enterprise_contract_info_get_serialize( @validate_call - def v1_nat_entries_device_id_get( + def v1_pvif_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92576,15 +94480,15 @@ def v1_nat_entries_device_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1NatEntriesDeviceIdGetResponse: - """v1_nat_entries_device_id_get + ) -> object: + """v1_pvif_id_delete - Get the NAT entries for the device + Delete a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92607,9 +94511,9 @@ def v1_nat_entries_device_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_entries_device_id_get_serialize( + _param = self._v1_pvif_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92617,7 +94521,7 @@ def v1_nat_entries_device_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatEntriesDeviceIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -92631,10 +94535,10 @@ def v1_nat_entries_device_id_get( @validate_call - def v1_nat_entries_device_id_get_with_http_info( + def v1_pvif_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92647,15 +94551,15 @@ def v1_nat_entries_device_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1NatEntriesDeviceIdGetResponse]: - """v1_nat_entries_device_id_get + ) -> ApiResponse[object]: + """v1_pvif_id_delete - Get the NAT entries for the device + Delete a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92678,9 +94582,9 @@ def v1_nat_entries_device_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_entries_device_id_get_serialize( + _param = self._v1_pvif_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92688,7 +94592,7 @@ def v1_nat_entries_device_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatEntriesDeviceIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -92702,10 +94606,10 @@ def v1_nat_entries_device_id_get_with_http_info( @validate_call - def v1_nat_entries_device_id_get_without_preload_content( + def v1_pvif_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92719,14 +94623,14 @@ def v1_nat_entries_device_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_nat_entries_device_id_get + """v1_pvif_id_delete - Get the NAT entries for the device + Delete a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92749,9 +94653,9 @@ def v1_nat_entries_device_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_entries_device_id_get_serialize( + _param = self._v1_pvif_id_delete_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92759,7 +94663,7 @@ def v1_nat_entries_device_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatEntriesDeviceIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -92768,10 +94672,10 @@ def v1_nat_entries_device_id_get_without_preload_content( return response_data.response - def _v1_nat_entries_device_id_get_serialize( + def _v1_pvif_id_delete_serialize( self, authorization, - device_id, + id, _request_auth, _content_type, _headers, @@ -92793,8 +94697,8 @@ def _v1_nat_entries_device_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -92818,8 +94722,8 @@ def _v1_nat_entries_device_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/nat/entries/{deviceId}', + method='DELETE', + resource_path='/v1/pvif/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -92836,10 +94740,10 @@ def _v1_nat_entries_device_id_get_serialize( @validate_call - def v1_nat_utilization_device_id_get( + def v1_pvif_id_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92852,15 +94756,15 @@ def v1_nat_utilization_device_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1NatUtilizationDeviceIdGetResponse: - """v1_nat_utilization_device_id_get + ) -> V1PvifIdDetailsGetResponse: + """v1_pvif_id_details_get - Get the NAT usage for the device + Get a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92883,9 +94787,9 @@ def v1_nat_utilization_device_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_utilization_device_id_get_serialize( + _param = self._v1_pvif_id_details_get_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92893,7 +94797,7 @@ def v1_nat_utilization_device_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatUtilizationDeviceIdGetResponse", + '200': "V1PvifIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92907,10 +94811,10 @@ def v1_nat_utilization_device_id_get( @validate_call - def v1_nat_utilization_device_id_get_with_http_info( + def v1_pvif_id_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92923,15 +94827,15 @@ def v1_nat_utilization_device_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1NatUtilizationDeviceIdGetResponse]: - """v1_nat_utilization_device_id_get + ) -> ApiResponse[V1PvifIdDetailsGetResponse]: + """v1_pvif_id_details_get - Get the NAT usage for the device + Get a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92954,9 +94858,9 @@ def v1_nat_utilization_device_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_utilization_device_id_get_serialize( + _param = self._v1_pvif_id_details_get_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -92964,7 +94868,7 @@ def v1_nat_utilization_device_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatUtilizationDeviceIdGetResponse", + '200': "V1PvifIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -92978,10 +94882,10 @@ def v1_nat_utilization_device_id_get_with_http_info( @validate_call - def v1_nat_utilization_device_id_get_without_preload_content( + def v1_pvif_id_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, + id: Annotated[StrictInt, Field(description="Producer service id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -92995,14 +94899,14 @@ def v1_nat_utilization_device_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_nat_utilization_device_id_get + """v1_pvif_id_details_get - Get the NAT usage for the device + Get a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int + :param id: Producer service id (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93025,9 +94929,9 @@ def v1_nat_utilization_device_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_nat_utilization_device_id_get_serialize( + _param = self._v1_pvif_id_details_get_serialize( authorization=authorization, - device_id=device_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93035,7 +94939,7 @@ def v1_nat_utilization_device_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1NatUtilizationDeviceIdGetResponse", + '200': "V1PvifIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -93044,10 +94948,10 @@ def v1_nat_utilization_device_id_get_without_preload_content( return response_data.response - def _v1_nat_utilization_device_id_get_serialize( + def _v1_pvif_id_details_get_serialize( self, authorization, - device_id, + id, _request_auth, _content_type, _headers, @@ -93069,8 +94973,8 @@ def _v1_nat_utilization_device_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -93095,7 +94999,7 @@ def _v1_nat_utilization_device_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/nat/utilization/{deviceId}', + resource_path='/v1/pvif/{id}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -93112,9 +95016,11 @@ def _v1_nat_utilization_device_id_get_serialize( @validate_call - def v1_onboarding_cloudinit_delete( + def v1_pvif_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Producer service id")], + v1_pvif_id_put_request: V1PvifIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93127,13 +95033,17 @@ def v1_onboarding_cloudinit_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_onboarding_cloudinit_delete + ) -> V1PvifIdPutResponse: + """v1_pvif_id_put - Delete the onboarding token + Update a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Producer service id (required) + :type id: int + :param v1_pvif_id_put_request: (required) + :type v1_pvif_id_put_request: V1PvifIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93156,8 +95066,10 @@ def v1_onboarding_cloudinit_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_delete_serialize( + _param = self._v1_pvif_id_put_serialize( authorization=authorization, + id=id, + v1_pvif_id_put_request=v1_pvif_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93165,7 +95077,7 @@ def v1_onboarding_cloudinit_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1PvifIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -93179,9 +95091,11 @@ def v1_onboarding_cloudinit_delete( @validate_call - def v1_onboarding_cloudinit_delete_with_http_info( + def v1_pvif_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Producer service id")], + v1_pvif_id_put_request: V1PvifIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93194,13 +95108,17 @@ def v1_onboarding_cloudinit_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_onboarding_cloudinit_delete + ) -> ApiResponse[V1PvifIdPutResponse]: + """v1_pvif_id_put - Delete the onboarding token + Update a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Producer service id (required) + :type id: int + :param v1_pvif_id_put_request: (required) + :type v1_pvif_id_put_request: V1PvifIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93223,8 +95141,10 @@ def v1_onboarding_cloudinit_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_delete_serialize( + _param = self._v1_pvif_id_put_serialize( authorization=authorization, + id=id, + v1_pvif_id_put_request=v1_pvif_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93232,7 +95152,7 @@ def v1_onboarding_cloudinit_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1PvifIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -93246,9 +95166,11 @@ def v1_onboarding_cloudinit_delete_with_http_info( @validate_call - def v1_onboarding_cloudinit_delete_without_preload_content( + def v1_pvif_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Producer service id")], + v1_pvif_id_put_request: V1PvifIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93262,12 +95184,16 @@ def v1_onboarding_cloudinit_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_onboarding_cloudinit_delete + """v1_pvif_id_put - Delete the onboarding token + Update a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Producer service id (required) + :type id: int + :param v1_pvif_id_put_request: (required) + :type v1_pvif_id_put_request: V1PvifIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93290,8 +95216,10 @@ def v1_onboarding_cloudinit_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_delete_serialize( + _param = self._v1_pvif_id_put_serialize( authorization=authorization, + id=id, + v1_pvif_id_put_request=v1_pvif_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93299,7 +95227,7 @@ def v1_onboarding_cloudinit_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1PvifIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -93308,9 +95236,11 @@ def v1_onboarding_cloudinit_delete_without_preload_content( return response_data.response - def _v1_onboarding_cloudinit_delete_serialize( + def _v1_pvif_id_put_serialize( self, authorization, + id, + v1_pvif_id_put_request, _request_auth, _content_type, _headers, @@ -93332,15 +95262,39 @@ def _v1_onboarding_cloudinit_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_pvif_id_put_request is not None: + _body_params = v1_pvif_id_put_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -93348,8 +95302,8 @@ def _v1_onboarding_cloudinit_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/onboarding/cloudinit', + method='PUT', + resource_path='/v1/pvif/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -93366,9 +95320,10 @@ def _v1_onboarding_cloudinit_delete_serialize( @validate_call - def v1_onboarding_cloudinit_get( + def v1_pvif_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_pvif_post_request: V1PvifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93381,13 +95336,15 @@ def v1_onboarding_cloudinit_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1OnboardingCloudinitGetResponse: - """v1_onboarding_cloudinit_get + ) -> V1PvifPostResponse: + """v1_pvif_post - Get all the onboarding tokens + Create a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_pvif_post_request: (required) + :type v1_pvif_post_request: V1PvifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93410,8 +95367,9 @@ def v1_onboarding_cloudinit_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_get_serialize( + _param = self._v1_pvif_post_serialize( authorization=authorization, + v1_pvif_post_request=v1_pvif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93419,7 +95377,7 @@ def v1_onboarding_cloudinit_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1OnboardingCloudinitGetResponse", + '200': "V1PvifPostResponse", } response_data = self.api_client.call_api( *_param, @@ -93433,9 +95391,10 @@ def v1_onboarding_cloudinit_get( @validate_call - def v1_onboarding_cloudinit_get_with_http_info( + def v1_pvif_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_pvif_post_request: V1PvifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93448,13 +95407,15 @@ def v1_onboarding_cloudinit_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1OnboardingCloudinitGetResponse]: - """v1_onboarding_cloudinit_get + ) -> ApiResponse[V1PvifPostResponse]: + """v1_pvif_post - Get all the onboarding tokens + Create a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_pvif_post_request: (required) + :type v1_pvif_post_request: V1PvifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93477,8 +95438,9 @@ def v1_onboarding_cloudinit_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_get_serialize( + _param = self._v1_pvif_post_serialize( authorization=authorization, + v1_pvif_post_request=v1_pvif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93486,7 +95448,7 @@ def v1_onboarding_cloudinit_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1OnboardingCloudinitGetResponse", + '200': "V1PvifPostResponse", } response_data = self.api_client.call_api( *_param, @@ -93500,9 +95462,10 @@ def v1_onboarding_cloudinit_get_with_http_info( @validate_call - def v1_onboarding_cloudinit_get_without_preload_content( + def v1_pvif_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_pvif_post_request: V1PvifPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93516,12 +95479,14 @@ def v1_onboarding_cloudinit_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_onboarding_cloudinit_get + """v1_pvif_post - Get all the onboarding tokens + Create a gateway Public VIF service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_pvif_post_request: (required) + :type v1_pvif_post_request: V1PvifPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93544,8 +95509,9 @@ def v1_onboarding_cloudinit_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_get_serialize( + _param = self._v1_pvif_post_serialize( authorization=authorization, + v1_pvif_post_request=v1_pvif_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93553,7 +95519,7 @@ def v1_onboarding_cloudinit_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1OnboardingCloudinitGetResponse", + '200': "V1PvifPostResponse", } response_data = self.api_client.call_api( *_param, @@ -93562,9 +95528,10 @@ def v1_onboarding_cloudinit_get_without_preload_content( return response_data.response - def _v1_onboarding_cloudinit_get_serialize( + def _v1_pvif_post_serialize( self, authorization, + v1_pvif_post_request, _request_auth, _content_type, _headers, @@ -93592,6 +95559,8 @@ def _v1_onboarding_cloudinit_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_pvif_post_request is not None: + _body_params = v1_pvif_post_request # set the HTTP header `Accept` @@ -93602,6 +95571,19 @@ def _v1_onboarding_cloudinit_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -93609,8 +95591,8 @@ def _v1_onboarding_cloudinit_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/onboarding/cloudinit', + method='POST', + resource_path='/v1/pvif', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -93627,10 +95609,9 @@ def _v1_onboarding_cloudinit_get_serialize( @validate_call - def v1_onboarding_cloudinit_post( + def v1_pvif_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93643,15 +95624,13 @@ def v1_onboarding_cloudinit_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_onboarding_cloudinit_post + ) -> V1PvifSummaryGetResponse: + """v1_pvif_summary_get - Create a onboarding token + List gateway Public VIF services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_onboarding_cloudinit_post_request: (required) - :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93674,9 +95653,8 @@ def v1_onboarding_cloudinit_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_post_serialize( + _param = self._v1_pvif_summary_get_serialize( authorization=authorization, - v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93684,7 +95662,7 @@ def v1_onboarding_cloudinit_post( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1PvifSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -93698,10 +95676,9 @@ def v1_onboarding_cloudinit_post( @validate_call - def v1_onboarding_cloudinit_post_with_http_info( + def v1_pvif_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93714,15 +95691,13 @@ def v1_onboarding_cloudinit_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_onboarding_cloudinit_post + ) -> ApiResponse[V1PvifSummaryGetResponse]: + """v1_pvif_summary_get - Create a onboarding token + List gateway Public VIF services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_onboarding_cloudinit_post_request: (required) - :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93745,9 +95720,8 @@ def v1_onboarding_cloudinit_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_post_serialize( + _param = self._v1_pvif_summary_get_serialize( authorization=authorization, - v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93755,7 +95729,7 @@ def v1_onboarding_cloudinit_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1PvifSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -93769,10 +95743,9 @@ def v1_onboarding_cloudinit_post_with_http_info( @validate_call - def v1_onboarding_cloudinit_post_without_preload_content( + def v1_pvif_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -93786,14 +95759,12 @@ def v1_onboarding_cloudinit_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_onboarding_cloudinit_post + """v1_pvif_summary_get - Create a onboarding token + List gateway Public VIF services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_onboarding_cloudinit_post_request: (required) - :type v1_onboarding_cloudinit_post_request: V1OnboardingCloudinitPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93816,9 +95787,8 @@ def v1_onboarding_cloudinit_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_onboarding_cloudinit_post_serialize( + _param = self._v1_pvif_summary_get_serialize( authorization=authorization, - v1_onboarding_cloudinit_post_request=v1_onboarding_cloudinit_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -93826,7 +95796,7 @@ def v1_onboarding_cloudinit_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1PvifSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -93835,10 +95805,9 @@ def v1_onboarding_cloudinit_post_without_preload_content( return response_data.response - def _v1_onboarding_cloudinit_post_serialize( + def _v1_pvif_summary_get_serialize( self, authorization, - v1_onboarding_cloudinit_post_request, _request_auth, _content_type, _headers, @@ -93866,8 +95835,6 @@ def _v1_onboarding_cloudinit_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_onboarding_cloudinit_post_request is not None: - _body_params = v1_onboarding_cloudinit_post_request # set the HTTP header `Accept` @@ -93878,19 +95845,6 @@ def _v1_onboarding_cloudinit_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -93898,8 +95852,8 @@ def _v1_onboarding_cloudinit_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/onboarding/cloudinit', + method='GET', + resource_path='/v1/pvif/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -93916,7 +95870,7 @@ def _v1_onboarding_cloudinit_post_serialize( @validate_call - def v1_policy_applications_get( + def v1_qos_circuit_profiles_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -93931,10 +95885,10 @@ def v1_policy_applications_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyApplicationsGetResponse: - """v1_policy_applications_get + ) -> V1QosCircuitProfilesGetResponse: + """v1_qos_circuit_profiles_get - Get a list of builtin DPI applications + Returns a list of QoS profiles for circuits with associated queues & attributes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -93960,7 +95914,7 @@ def v1_policy_applications_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_applications_get_serialize( + _param = self._v1_qos_circuit_profiles_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -93969,7 +95923,7 @@ def v1_policy_applications_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyApplicationsGetResponse", + '200': "V1QosCircuitProfilesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -93983,7 +95937,7 @@ def v1_policy_applications_get( @validate_call - def v1_policy_applications_get_with_http_info( + def v1_qos_circuit_profiles_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -93998,10 +95952,10 @@ def v1_policy_applications_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyApplicationsGetResponse]: - """v1_policy_applications_get + ) -> ApiResponse[V1QosCircuitProfilesGetResponse]: + """v1_qos_circuit_profiles_get - Get a list of builtin DPI applications + Returns a list of QoS profiles for circuits with associated queues & attributes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -94027,7 +95981,7 @@ def v1_policy_applications_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_applications_get_serialize( + _param = self._v1_qos_circuit_profiles_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -94036,7 +95990,7 @@ def v1_policy_applications_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyApplicationsGetResponse", + '200': "V1QosCircuitProfilesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94050,7 +96004,7 @@ def v1_policy_applications_get_with_http_info( @validate_call - def v1_policy_applications_get_without_preload_content( + def v1_qos_circuit_profiles_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -94066,9 +96020,9 @@ def v1_policy_applications_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_applications_get + """v1_qos_circuit_profiles_get - Get a list of builtin DPI applications + Returns a list of QoS profiles for circuits with associated queues & attributes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -94094,7 +96048,7 @@ def v1_policy_applications_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_applications_get_serialize( + _param = self._v1_qos_circuit_profiles_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -94103,7 +96057,7 @@ def v1_policy_applications_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyApplicationsGetResponse", + '200': "V1QosCircuitProfilesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94112,7 +96066,7 @@ def v1_policy_applications_get_without_preload_content( return response_data.response - def _v1_policy_applications_get_serialize( + def _v1_qos_circuit_profiles_get_serialize( self, authorization, _request_auth, @@ -94160,7 +96114,7 @@ def _v1_policy_applications_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/policy/applications', + resource_path='/v1/qos/circuit-profiles', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -94177,11 +96131,9 @@ def _v1_policy_applications_get_serialize( @validate_call - def v1_policy_route_tag_sets_id_delete( + def v1_regions_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94194,17 +96146,13 @@ def v1_policy_route_tag_sets_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyRouteTagSetsIdDeleteResponse: - """v1_policy_route_tag_sets_id_delete + ) -> V1RegionsGetResponse: + """v1_regions_get - Create a new route-tag scoped to the enterprise + Get regions used for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param level: - :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94227,10 +96175,8 @@ def v1_policy_route_tag_sets_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_id_delete_serialize( + _param = self._v1_regions_get_serialize( authorization=authorization, - id=id, - level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94238,7 +96184,7 @@ def v1_policy_route_tag_sets_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsIdDeleteResponse", + '200': "V1RegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94252,11 +96198,9 @@ def v1_policy_route_tag_sets_id_delete( @validate_call - def v1_policy_route_tag_sets_id_delete_with_http_info( + def v1_regions_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94269,17 +96213,13 @@ def v1_policy_route_tag_sets_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyRouteTagSetsIdDeleteResponse]: - """v1_policy_route_tag_sets_id_delete + ) -> ApiResponse[V1RegionsGetResponse]: + """v1_regions_get - Create a new route-tag scoped to the enterprise + Get regions used for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param level: - :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94302,10 +96242,8 @@ def v1_policy_route_tag_sets_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_id_delete_serialize( + _param = self._v1_regions_get_serialize( authorization=authorization, - id=id, - level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94313,7 +96251,7 @@ def v1_policy_route_tag_sets_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsIdDeleteResponse", + '200': "V1RegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94327,11 +96265,9 @@ def v1_policy_route_tag_sets_id_delete_with_http_info( @validate_call - def v1_policy_route_tag_sets_id_delete_without_preload_content( + def v1_regions_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - level: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94345,16 +96281,12 @@ def v1_policy_route_tag_sets_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_route_tag_sets_id_delete + """v1_regions_get - Create a new route-tag scoped to the enterprise + Get regions used for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param level: - :type level: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94377,10 +96309,8 @@ def v1_policy_route_tag_sets_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_id_delete_serialize( + _param = self._v1_regions_get_serialize( authorization=authorization, - id=id, - level=level, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94388,7 +96318,7 @@ def v1_policy_route_tag_sets_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsIdDeleteResponse", + '200': "V1RegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94397,11 +96327,9 @@ def v1_policy_route_tag_sets_id_delete_without_preload_content( return response_data.response - def _v1_policy_route_tag_sets_id_delete_serialize( + def _v1_regions_get_serialize( self, authorization, - id, - level, _request_auth, _content_type, _headers, @@ -94423,13 +96351,7 @@ def _v1_policy_route_tag_sets_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters - if level is not None: - - _query_params.append(('level', level)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -94452,8 +96374,8 @@ def _v1_policy_route_tag_sets_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/policy/route-tag-sets/{id}', + method='GET', + resource_path='/v1/regions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -94470,10 +96392,11 @@ def _v1_policy_route_tag_sets_id_delete_serialize( @validate_call - def v1_policy_route_tag_sets_post( + def v1_regions_region_id_gateways_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, + region_id: Annotated[StrictInt, Field(description="Graphiant region id")], + storage_provider: Annotated[StrictStr, Field(description="Storage provider; only gateways with a LAN interface for this provider are returned")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94486,15 +96409,17 @@ def v1_policy_route_tag_sets_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyRouteTagSetsPostResponse: - """v1_policy_route_tag_sets_post + ) -> V1RegionsRegionIdGatewaysGetResponse: + """v1_regions_region_id_gateways_get - Create a new route tag scoped to the enterprise + List gateway appliances in a region with at least one LAN interface for the given storage provider :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_policy_route_tag_sets_post_request: (required) - :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest + :param region_id: Graphiant region id (required) + :type region_id: int + :param storage_provider: Storage provider; only gateways with a LAN interface for this provider are returned (required) + :type storage_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94517,9 +96442,10 @@ def v1_policy_route_tag_sets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_post_serialize( + _param = self._v1_regions_region_id_gateways_get_serialize( authorization=authorization, - v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, + region_id=region_id, + storage_provider=storage_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94527,7 +96453,7 @@ def v1_policy_route_tag_sets_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsPostResponse", + '200': "V1RegionsRegionIdGatewaysGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94541,10 +96467,11 @@ def v1_policy_route_tag_sets_post( @validate_call - def v1_policy_route_tag_sets_post_with_http_info( + def v1_regions_region_id_gateways_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, + region_id: Annotated[StrictInt, Field(description="Graphiant region id")], + storage_provider: Annotated[StrictStr, Field(description="Storage provider; only gateways with a LAN interface for this provider are returned")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94557,15 +96484,17 @@ def v1_policy_route_tag_sets_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyRouteTagSetsPostResponse]: - """v1_policy_route_tag_sets_post + ) -> ApiResponse[V1RegionsRegionIdGatewaysGetResponse]: + """v1_regions_region_id_gateways_get - Create a new route tag scoped to the enterprise + List gateway appliances in a region with at least one LAN interface for the given storage provider :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_policy_route_tag_sets_post_request: (required) - :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest + :param region_id: Graphiant region id (required) + :type region_id: int + :param storage_provider: Storage provider; only gateways with a LAN interface for this provider are returned (required) + :type storage_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94588,9 +96517,10 @@ def v1_policy_route_tag_sets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_post_serialize( + _param = self._v1_regions_region_id_gateways_get_serialize( authorization=authorization, - v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, + region_id=region_id, + storage_provider=storage_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94598,7 +96528,7 @@ def v1_policy_route_tag_sets_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsPostResponse", + '200': "V1RegionsRegionIdGatewaysGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94612,10 +96542,11 @@ def v1_policy_route_tag_sets_post_with_http_info( @validate_call - def v1_policy_route_tag_sets_post_without_preload_content( + def v1_regions_region_id_gateways_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest, + region_id: Annotated[StrictInt, Field(description="Graphiant region id")], + storage_provider: Annotated[StrictStr, Field(description="Storage provider; only gateways with a LAN interface for this provider are returned")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94629,14 +96560,16 @@ def v1_policy_route_tag_sets_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_route_tag_sets_post + """v1_regions_region_id_gateways_get - Create a new route tag scoped to the enterprise + List gateway appliances in a region with at least one LAN interface for the given storage provider :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_policy_route_tag_sets_post_request: (required) - :type v1_policy_route_tag_sets_post_request: V1PolicyRouteTagSetsPostRequest + :param region_id: Graphiant region id (required) + :type region_id: int + :param storage_provider: Storage provider; only gateways with a LAN interface for this provider are returned (required) + :type storage_provider: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94659,9 +96592,10 @@ def v1_policy_route_tag_sets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_post_serialize( + _param = self._v1_regions_region_id_gateways_get_serialize( authorization=authorization, - v1_policy_route_tag_sets_post_request=v1_policy_route_tag_sets_post_request, + region_id=region_id, + storage_provider=storage_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94669,7 +96603,7 @@ def v1_policy_route_tag_sets_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsPostResponse", + '200': "V1RegionsRegionIdGatewaysGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94678,10 +96612,11 @@ def v1_policy_route_tag_sets_post_without_preload_content( return response_data.response - def _v1_policy_route_tag_sets_post_serialize( + def _v1_regions_region_id_gateways_get_serialize( self, authorization, - v1_policy_route_tag_sets_post_request, + region_id, + storage_provider, _request_auth, _content_type, _headers, @@ -94703,14 +96638,18 @@ def _v1_policy_route_tag_sets_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if region_id is not None: + _path_params['regionId'] = region_id # process the query parameters + if storage_provider is not None: + + _query_params.append(('storageProvider', storage_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_policy_route_tag_sets_post_request is not None: - _body_params = v1_policy_route_tag_sets_post_request # set the HTTP header `Accept` @@ -94721,19 +96660,6 @@ def _v1_policy_route_tag_sets_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -94741,8 +96667,8 @@ def _v1_policy_route_tag_sets_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/policy/route-tag-sets', + method='GET', + resource_path='/v1/regions/{regionId}/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -94759,9 +96685,11 @@ def _v1_policy_route_tag_sets_post_serialize( @validate_call - def v1_policy_route_tag_sets_tag_detail_get( + def v1_search_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94774,13 +96702,16 @@ def v1_policy_route_tag_sets_tag_detail_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyRouteTagSetsTagDetailGetResponse: - """v1_policy_route_tag_sets_tag_detail_get + ) -> V1SearchGetResponse: + """v1_search_get - Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94803,8 +96734,10 @@ def v1_policy_route_tag_sets_tag_detail_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94812,7 +96745,7 @@ def v1_policy_route_tag_sets_tag_detail_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagDetailGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94826,9 +96759,11 @@ def v1_policy_route_tag_sets_tag_detail_get( @validate_call - def v1_policy_route_tag_sets_tag_detail_get_with_http_info( + def v1_search_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94841,13 +96776,16 @@ def v1_policy_route_tag_sets_tag_detail_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyRouteTagSetsTagDetailGetResponse]: - """v1_policy_route_tag_sets_tag_detail_get + ) -> ApiResponse[V1SearchGetResponse]: + """v1_search_get - Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94870,8 +96808,10 @@ def v1_policy_route_tag_sets_tag_detail_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94879,7 +96819,7 @@ def v1_policy_route_tag_sets_tag_detail_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagDetailGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94893,9 +96833,11 @@ def v1_policy_route_tag_sets_tag_detail_get_with_http_info( @validate_call - def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( + def v1_search_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -94909,12 +96851,15 @@ def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_route_tag_sets_tag_detail_get + """v1_search_get - Get all the route tags summary for the the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -94937,8 +96882,10 @@ def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tag_detail_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -94946,7 +96893,7 @@ def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagDetailGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -94955,9 +96902,11 @@ def v1_policy_route_tag_sets_tag_detail_get_without_preload_content( return response_data.response - def _v1_policy_route_tag_sets_tag_detail_get_serialize( + def _v1_search_get_serialize( self, authorization, + max_results, + search, _request_auth, _content_type, _headers, @@ -94980,6 +96929,14 @@ def _v1_policy_route_tag_sets_tag_detail_get_serialize( # process the path parameters # process the query parameters + if max_results is not None: + + _query_params.append(('maxResults', max_results)) + + if search is not None: + + _query_params.append(('search', search)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -95003,7 +96960,7 @@ def _v1_policy_route_tag_sets_tag_detail_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/policy/route-tag-sets/tag-detail', + resource_path='/v1/search', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -95020,9 +96977,10 @@ def _v1_policy_route_tag_sets_tag_detail_get_serialize( @validate_call - def v1_policy_route_tag_sets_tags_get( + def v1_site_details_sitelists_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95035,13 +96993,15 @@ def v1_policy_route_tag_sets_tags_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyRouteTagSetsTagsGetResponse: - """v1_policy_route_tag_sets_tags_get + ) -> V1SiteDetailsSitelistsPostResponse: + """v1_site_details_sitelists_post - Get all the route tags for the enterprise + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95064,8 +97024,9 @@ def v1_policy_route_tag_sets_tags_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_get_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95073,7 +97034,7 @@ def v1_policy_route_tag_sets_tags_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsGetResponse", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -95087,9 +97048,10 @@ def v1_policy_route_tag_sets_tags_get( @validate_call - def v1_policy_route_tag_sets_tags_get_with_http_info( + def v1_site_details_sitelists_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95102,13 +97064,15 @@ def v1_policy_route_tag_sets_tags_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyRouteTagSetsTagsGetResponse]: - """v1_policy_route_tag_sets_tags_get + ) -> ApiResponse[V1SiteDetailsSitelistsPostResponse]: + """v1_site_details_sitelists_post - Get all the route tags for the enterprise + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95131,8 +97095,9 @@ def v1_policy_route_tag_sets_tags_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_get_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95140,7 +97105,7 @@ def v1_policy_route_tag_sets_tags_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsGetResponse", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -95154,9 +97119,10 @@ def v1_policy_route_tag_sets_tags_get_with_http_info( @validate_call - def v1_policy_route_tag_sets_tags_get_without_preload_content( + def v1_site_details_sitelists_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95170,12 +97136,14 @@ def v1_policy_route_tag_sets_tags_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_route_tag_sets_tags_get + """v1_site_details_sitelists_post - Get all the route tags for the enterprise + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95198,8 +97166,9 @@ def v1_policy_route_tag_sets_tags_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_get_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95207,7 +97176,7 @@ def v1_policy_route_tag_sets_tags_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsGetResponse", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -95216,9 +97185,10 @@ def v1_policy_route_tag_sets_tags_get_without_preload_content( return response_data.response - def _v1_policy_route_tag_sets_tags_get_serialize( + def _v1_site_details_sitelists_post_serialize( self, authorization, + v1_site_details_sitelists_post_request, _request_auth, _content_type, _headers, @@ -95246,6 +97216,8 @@ def _v1_policy_route_tag_sets_tags_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_site_details_sitelists_post_request is not None: + _body_params = v1_site_details_sitelists_post_request # set the HTTP header `Accept` @@ -95256,6 +97228,19 @@ def _v1_policy_route_tag_sets_tags_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -95263,8 +97248,8 @@ def _v1_policy_route_tag_sets_tags_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/policy/route-tag-sets/tags', + method='POST', + resource_path='/v1/site/details/sitelists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -95281,9 +97266,10 @@ def _v1_policy_route_tag_sets_tags_get_serialize( @validate_call - def v1_policy_route_tag_sets_tags_summary_get( + def v1_site_id_details_interfaces_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95296,13 +97282,15 @@ def v1_policy_route_tag_sets_tags_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PolicyRouteTagSetsTagsSummaryGetResponse: - """v1_policy_route_tag_sets_tags_summary_get + ) -> V1SiteIdDetailsInterfacesGetResponse: + """v1_site_id_details_interfaces_get - Get all the route tags summary for the the enterprise + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95325,8 +97313,9 @@ def v1_policy_route_tag_sets_tags_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95334,7 +97323,7 @@ def v1_policy_route_tag_sets_tags_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95348,9 +97337,10 @@ def v1_policy_route_tag_sets_tags_summary_get( @validate_call - def v1_policy_route_tag_sets_tags_summary_get_with_http_info( + def v1_site_id_details_interfaces_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95363,13 +97353,15 @@ def v1_policy_route_tag_sets_tags_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PolicyRouteTagSetsTagsSummaryGetResponse]: - """v1_policy_route_tag_sets_tags_summary_get + ) -> ApiResponse[V1SiteIdDetailsInterfacesGetResponse]: + """v1_site_id_details_interfaces_get - Get all the route tags summary for the the enterprise + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95392,8 +97384,9 @@ def v1_policy_route_tag_sets_tags_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95401,7 +97394,7 @@ def v1_policy_route_tag_sets_tags_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95415,9 +97408,10 @@ def v1_policy_route_tag_sets_tags_summary_get_with_http_info( @validate_call - def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( + def v1_site_id_details_interfaces_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -95431,12 +97425,14 @@ def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_policy_route_tag_sets_tags_summary_get + """v1_site_id_details_interfaces_get - Get all the route tags summary for the the enterprise + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -95459,8 +97455,9 @@ def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_policy_route_tag_sets_tags_summary_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95468,7 +97465,7 @@ def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PolicyRouteTagSetsTagsSummaryGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95477,9 +97474,10 @@ def v1_policy_route_tag_sets_tags_summary_get_without_preload_content( return response_data.response - def _v1_policy_route_tag_sets_tags_summary_get_serialize( + def _v1_site_id_details_interfaces_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -95501,6 +97499,8 @@ def _v1_policy_route_tag_sets_tags_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -95525,7 +97525,7 @@ def _v1_policy_route_tag_sets_tags_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/policy/route-tag-sets/tags-summary', + resource_path='/v1/site/{id}/details/interfaces', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -95542,7 +97542,7 @@ def _v1_policy_route_tag_sets_tags_summary_get_serialize( @validate_call - def v1_presharedkey_get( + def v1_sites_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95557,10 +97557,10 @@ def v1_presharedkey_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1PresharedkeyGetResponse: - """v1_presharedkey_get + ) -> V1SitesDetailsGetResponse: + """v1_sites_details_get - Get all domain categories from the DPI engine + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95586,7 +97586,7 @@ def v1_presharedkey_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_presharedkey_get_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95595,7 +97595,7 @@ def v1_presharedkey_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PresharedkeyGetResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95609,7 +97609,7 @@ def v1_presharedkey_get( @validate_call - def v1_presharedkey_get_with_http_info( + def v1_sites_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95624,10 +97624,10 @@ def v1_presharedkey_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1PresharedkeyGetResponse]: - """v1_presharedkey_get + ) -> ApiResponse[V1SitesDetailsGetResponse]: + """v1_sites_details_get - Get all domain categories from the DPI engine + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95653,7 +97653,7 @@ def v1_presharedkey_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_presharedkey_get_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95662,7 +97662,7 @@ def v1_presharedkey_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PresharedkeyGetResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95676,7 +97676,7 @@ def v1_presharedkey_get_with_http_info( @validate_call - def v1_presharedkey_get_without_preload_content( + def v1_sites_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95692,9 +97692,9 @@ def v1_presharedkey_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_presharedkey_get + """v1_sites_details_get - Get all domain categories from the DPI engine + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95720,7 +97720,7 @@ def v1_presharedkey_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_presharedkey_get_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95729,7 +97729,7 @@ def v1_presharedkey_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1PresharedkeyGetResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95738,7 +97738,7 @@ def v1_presharedkey_get_without_preload_content( return response_data.response - def _v1_presharedkey_get_serialize( + def _v1_sites_details_get_serialize( self, authorization, _request_auth, @@ -95786,7 +97786,7 @@ def _v1_presharedkey_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/presharedkey', + resource_path='/v1/sites/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -95803,7 +97803,7 @@ def _v1_presharedkey_get_serialize( @validate_call - def v1_qos_circuit_profiles_get( + def v1_sites_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95818,10 +97818,10 @@ def v1_qos_circuit_profiles_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1QosCircuitProfilesGetResponse: - """v1_qos_circuit_profiles_get + ) -> V1SitesGetResponse: + """v1_sites_get - Returns a list of QoS profiles for circuits with associated queues & attributes + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95847,7 +97847,7 @@ def v1_qos_circuit_profiles_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_qos_circuit_profiles_get_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95856,7 +97856,7 @@ def v1_qos_circuit_profiles_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1QosCircuitProfilesGetResponse", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95870,7 +97870,7 @@ def v1_qos_circuit_profiles_get( @validate_call - def v1_qos_circuit_profiles_get_with_http_info( + def v1_sites_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95885,10 +97885,10 @@ def v1_qos_circuit_profiles_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1QosCircuitProfilesGetResponse]: - """v1_qos_circuit_profiles_get + ) -> ApiResponse[V1SitesGetResponse]: + """v1_sites_get - Returns a list of QoS profiles for circuits with associated queues & attributes + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95914,7 +97914,7 @@ def v1_qos_circuit_profiles_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_qos_circuit_profiles_get_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95923,7 +97923,7 @@ def v1_qos_circuit_profiles_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1QosCircuitProfilesGetResponse", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95937,7 +97937,7 @@ def v1_qos_circuit_profiles_get_with_http_info( @validate_call - def v1_qos_circuit_profiles_get_without_preload_content( + def v1_sites_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -95953,9 +97953,9 @@ def v1_qos_circuit_profiles_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_qos_circuit_profiles_get + """v1_sites_get - Returns a list of QoS profiles for circuits with associated queues & attributes + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -95981,7 +97981,7 @@ def v1_qos_circuit_profiles_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_qos_circuit_profiles_get_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -95990,7 +97990,7 @@ def v1_qos_circuit_profiles_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1QosCircuitProfilesGetResponse", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -95999,7 +97999,7 @@ def v1_qos_circuit_profiles_get_without_preload_content( return response_data.response - def _v1_qos_circuit_profiles_get_serialize( + def _v1_sites_get_serialize( self, authorization, _request_auth, @@ -96047,7 +98047,7 @@ def _v1_qos_circuit_profiles_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/qos/circuit-profiles', + resource_path='/v1/sites', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -96064,9 +98064,12 @@ def _v1_qos_circuit_profiles_get_serialize( @validate_call - def v1_regions_get( + def v1_sites_map_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96079,13 +98082,19 @@ def v1_regions_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1RegionsGetResponse: - """v1_regions_get + ) -> V1SitesMapDetailsGetResponse: + """v1_sites_map_details_get - Get regions used for the current enterprise + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96108,8 +98117,11 @@ def v1_regions_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_regions_get_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96117,7 +98129,7 @@ def v1_regions_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1RegionsGetResponse", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96131,9 +98143,12 @@ def v1_regions_get( @validate_call - def v1_regions_get_with_http_info( + def v1_sites_map_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96146,13 +98161,19 @@ def v1_regions_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1RegionsGetResponse]: - """v1_regions_get + ) -> ApiResponse[V1SitesMapDetailsGetResponse]: + """v1_sites_map_details_get - Get regions used for the current enterprise + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96175,8 +98196,11 @@ def v1_regions_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_regions_get_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96184,7 +98208,7 @@ def v1_regions_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1RegionsGetResponse", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96198,9 +98222,12 @@ def v1_regions_get_with_http_info( @validate_call - def v1_regions_get_without_preload_content( + def v1_sites_map_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96214,12 +98241,18 @@ def v1_regions_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_regions_get + """v1_sites_map_details_get - Get regions used for the current enterprise + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96242,8 +98275,11 @@ def v1_regions_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_regions_get_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96251,7 +98287,7 @@ def v1_regions_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1RegionsGetResponse", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96260,9 +98296,12 @@ def v1_regions_get_without_preload_content( return response_data.response - def _v1_regions_get_serialize( + def _v1_sites_map_details_get_serialize( self, authorization, + lan_segment_ids, + site_ids, + site_list_ids, _request_auth, _content_type, _headers, @@ -96272,6 +98311,9 @@ def _v1_regions_get_serialize( _host = None _collection_formats: Dict[str, str] = { + 'lanSegmentIds': 'multi', + 'siteIds': 'multi', + 'siteListIds': 'multi', } _path_params: Dict[str, str] = {} @@ -96285,6 +98327,18 @@ def _v1_regions_get_serialize( # process the path parameters # process the query parameters + if lan_segment_ids is not None: + + _query_params.append(('lanSegmentIds', lan_segment_ids)) + + if site_ids is not None: + + _query_params.append(('siteIds', site_ids)) + + if site_list_ids is not None: + + _query_params.append(('siteListIds', site_list_ids)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -96308,7 +98362,7 @@ def _v1_regions_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/regions', + resource_path='/v1/sites/map/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -96325,11 +98379,10 @@ def _v1_regions_get_serialize( @validate_call - def v1_search_get( + def v1_sites_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96342,16 +98395,15 @@ def v1_search_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SearchGetResponse: - """v1_search_get + ) -> V1SitesPostResponse: + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96374,10 +98426,9 @@ def v1_search_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - max_results=max_results, - search=search, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96385,7 +98436,7 @@ def v1_search_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -96399,11 +98450,10 @@ def v1_search_get( @validate_call - def v1_search_get_with_http_info( + def v1_sites_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96416,16 +98466,15 @@ def v1_search_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SearchGetResponse]: - """v1_search_get + ) -> ApiResponse[V1SitesPostResponse]: + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96448,10 +98497,9 @@ def v1_search_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - max_results=max_results, - search=search, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96459,7 +98507,7 @@ def v1_search_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -96473,11 +98521,10 @@ def v1_search_get_with_http_info( @validate_call - def v1_search_get_without_preload_content( + def v1_sites_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96491,15 +98538,14 @@ def v1_search_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_search_get + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96522,10 +98568,9 @@ def v1_search_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - max_results=max_results, - search=search, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96533,7 +98578,7 @@ def v1_search_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -96542,11 +98587,10 @@ def v1_search_get_without_preload_content( return response_data.response - def _v1_search_get_serialize( + def _v1_sites_post_serialize( self, authorization, - max_results, - search, + v1_sites_post_request, _request_auth, _content_type, _headers, @@ -96569,19 +98613,13 @@ def _v1_search_get_serialize( # process the path parameters # process the query parameters - if max_results is not None: - - _query_params.append(('maxResults', max_results)) - - if search is not None: - - _query_params.append(('search', search)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sites_post_request is not None: + _body_params = v1_sites_post_request # set the HTTP header `Accept` @@ -96592,6 +98630,19 @@ def _v1_search_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -96599,8 +98650,8 @@ def _v1_search_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/search', + method='POST', + resource_path='/v1/sites', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -96617,10 +98668,10 @@ def _v1_search_get_serialize( @validate_call - def v1_site_details_sitelists_post( + def v1_sites_site_id_circuits_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96633,15 +98684,15 @@ def v1_site_details_sitelists_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SiteDetailsSitelistsPostResponse: - """v1_site_details_sitelists_post + ) -> V1SitesSiteIdCircuitsGetResponse: + """v1_sites_site_id_circuits_get - Get a list of site list references for a site + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96664,9 +98715,9 @@ def v1_site_details_sitelists_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96674,7 +98725,7 @@ def v1_site_details_sitelists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96688,10 +98739,10 @@ def v1_site_details_sitelists_post( @validate_call - def v1_site_details_sitelists_post_with_http_info( + def v1_sites_site_id_circuits_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96704,15 +98755,15 @@ def v1_site_details_sitelists_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SiteDetailsSitelistsPostResponse]: - """v1_site_details_sitelists_post + ) -> ApiResponse[V1SitesSiteIdCircuitsGetResponse]: + """v1_sites_site_id_circuits_get - Get a list of site list references for a site + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96735,9 +98786,9 @@ def v1_site_details_sitelists_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96745,7 +98796,7 @@ def v1_site_details_sitelists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96759,10 +98810,10 @@ def v1_site_details_sitelists_post_with_http_info( @validate_call - def v1_site_details_sitelists_post_without_preload_content( + def v1_sites_site_id_circuits_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96776,14 +98827,14 @@ def v1_site_details_sitelists_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_site_details_sitelists_post + """v1_sites_site_id_circuits_get - Get a list of site list references for a site + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96806,9 +98857,9 @@ def v1_site_details_sitelists_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96816,7 +98867,7 @@ def v1_site_details_sitelists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -96825,10 +98876,10 @@ def v1_site_details_sitelists_post_without_preload_content( return response_data.response - def _v1_site_details_sitelists_post_serialize( + def _v1_sites_site_id_circuits_get_serialize( self, authorization, - v1_site_details_sitelists_post_request, + site_id, _request_auth, _content_type, _headers, @@ -96850,14 +98901,14 @@ def _v1_site_details_sitelists_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_site_details_sitelists_post_request is not None: - _body_params = v1_site_details_sitelists_post_request # set the HTTP header `Accept` @@ -96868,19 +98919,6 @@ def _v1_site_details_sitelists_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -96888,8 +98926,8 @@ def _v1_site_details_sitelists_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/site/details/sitelists', + method='GET', + resource_path='/v1/sites/{siteId}/circuits', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -96906,10 +98944,10 @@ def _v1_site_details_sitelists_post_serialize( @validate_call - def v1_site_id_details_interfaces_get( + def v1_sites_site_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96922,15 +98960,15 @@ def v1_site_id_details_interfaces_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SiteIdDetailsInterfacesGetResponse: - """v1_site_id_details_interfaces_get + ) -> None: + """v1_sites_site_id_delete - Get a list of a site's interfaces, loopback listed first + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96953,9 +98991,9 @@ def v1_site_id_details_interfaces_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - id=id, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -96963,7 +99001,7 @@ def v1_site_id_details_interfaces_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -96977,10 +99015,10 @@ def v1_site_id_details_interfaces_get( @validate_call - def v1_site_id_details_interfaces_get_with_http_info( + def v1_sites_site_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -96993,15 +99031,15 @@ def v1_site_id_details_interfaces_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SiteIdDetailsInterfacesGetResponse]: - """v1_site_id_details_interfaces_get + ) -> ApiResponse[None]: + """v1_sites_site_id_delete - Get a list of a site's interfaces, loopback listed first + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97024,9 +99062,9 @@ def v1_site_id_details_interfaces_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - id=id, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97034,7 +99072,7 @@ def v1_site_id_details_interfaces_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -97048,10 +99086,10 @@ def v1_site_id_details_interfaces_get_with_http_info( @validate_call - def v1_site_id_details_interfaces_get_without_preload_content( + def v1_sites_site_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97065,14 +99103,14 @@ def v1_site_id_details_interfaces_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_site_id_details_interfaces_get + """v1_sites_site_id_delete - Get a list of a site's interfaces, loopback listed first + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97095,9 +99133,9 @@ def v1_site_id_details_interfaces_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - id=id, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97105,7 +99143,7 @@ def v1_site_id_details_interfaces_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -97114,10 +99152,10 @@ def v1_site_id_details_interfaces_get_without_preload_content( return response_data.response - def _v1_site_id_details_interfaces_get_serialize( + def _v1_sites_site_id_delete_serialize( self, authorization, - id, + site_id, _request_auth, _content_type, _headers, @@ -97139,8 +99177,8 @@ def _v1_site_id_details_interfaces_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: @@ -97149,13 +99187,6 @@ def _v1_site_id_details_interfaces_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -97164,8 +99195,8 @@ def _v1_site_id_details_interfaces_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/site/{id}/details/interfaces', + method='DELETE', + resource_path='/v1/sites/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -97182,9 +99213,10 @@ def _v1_site_id_details_interfaces_get_serialize( @validate_call - def v1_sites_details_get( + def v1_sites_site_id_devices_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97197,13 +99229,15 @@ def v1_sites_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesDetailsGetResponse: - """v1_sites_details_get + ) -> V1SitesSiteIdDevicesGetResponse: + """v1_sites_site_id_devices_get - Get a list of sites with aggregated values and site wide status + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97226,8 +99260,9 @@ def v1_sites_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97235,7 +99270,7 @@ def v1_sites_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97249,9 +99284,10 @@ def v1_sites_details_get( @validate_call - def v1_sites_details_get_with_http_info( + def v1_sites_site_id_devices_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97264,13 +99300,15 @@ def v1_sites_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesDetailsGetResponse]: - """v1_sites_details_get + ) -> ApiResponse[V1SitesSiteIdDevicesGetResponse]: + """v1_sites_site_id_devices_get - Get a list of sites with aggregated values and site wide status + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97293,8 +99331,9 @@ def v1_sites_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97302,7 +99341,7 @@ def v1_sites_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97316,9 +99355,10 @@ def v1_sites_details_get_with_http_info( @validate_call - def v1_sites_details_get_without_preload_content( + def v1_sites_site_id_devices_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97332,12 +99372,14 @@ def v1_sites_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_details_get + """v1_sites_site_id_devices_get - Get a list of sites with aggregated values and site wide status + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97360,8 +99402,9 @@ def v1_sites_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97369,7 +99412,7 @@ def v1_sites_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97378,9 +99421,10 @@ def v1_sites_details_get_without_preload_content( return response_data.response - def _v1_sites_details_get_serialize( + def _v1_sites_site_id_devices_get_serialize( self, authorization, + site_id, _request_auth, _content_type, _headers, @@ -97402,6 +99446,8 @@ def _v1_sites_details_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: @@ -97426,7 +99472,7 @@ def _v1_sites_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/sites/details', + resource_path='/v1/sites/{siteId}/devices', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -97443,9 +99489,11 @@ def _v1_sites_details_get_serialize( @validate_call - def v1_sites_get( + def v1_sites_site_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97458,13 +99506,17 @@ def v1_sites_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesGetResponse: - """v1_sites_get + ) -> V1SitesSiteIdPostResponse: + """v1_sites_site_id_post - Get sites for the current enterprise + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97487,8 +99539,10 @@ def v1_sites_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97496,7 +99550,7 @@ def v1_sites_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -97510,9 +99564,11 @@ def v1_sites_get( @validate_call - def v1_sites_get_with_http_info( + def v1_sites_site_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97525,13 +99581,17 @@ def v1_sites_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesGetResponse]: - """v1_sites_get + ) -> ApiResponse[V1SitesSiteIdPostResponse]: + """v1_sites_site_id_post - Get sites for the current enterprise + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97554,8 +99614,10 @@ def v1_sites_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97563,7 +99625,7 @@ def v1_sites_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -97577,9 +99639,11 @@ def v1_sites_get_with_http_info( @validate_call - def v1_sites_get_without_preload_content( + def v1_sites_site_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97593,12 +99657,16 @@ def v1_sites_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_get + """v1_sites_site_id_post - Get sites for the current enterprise + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97621,8 +99689,10 @@ def v1_sites_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97630,7 +99700,7 @@ def v1_sites_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -97639,9 +99709,11 @@ def v1_sites_get_without_preload_content( return response_data.response - def _v1_sites_get_serialize( + def _v1_sites_site_id_post_serialize( self, authorization, + site_id, + v1_sites_site_id_post_request, _request_auth, _content_type, _headers, @@ -97663,12 +99735,16 @@ def _v1_sites_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sites_site_id_post_request is not None: + _body_params = v1_sites_site_id_post_request # set the HTTP header `Accept` @@ -97679,6 +99755,19 @@ def _v1_sites_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -97686,8 +99775,8 @@ def _v1_sites_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/sites', + method='POST', + resource_path='/v1/sites/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -97704,12 +99793,9 @@ def _v1_sites_get_serialize( @validate_call - def v1_sites_map_details_get( + def v1_software_auto_upgrade_default_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97722,19 +99808,12 @@ def v1_sites_map_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesMapDetailsGetResponse: - """v1_sites_map_details_get + ) -> V1SoftwareAutoUpgradeDefaultGetResponse: + """v1_software_auto_upgrade_default_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97757,11 +99836,8 @@ def v1_sites_map_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97769,7 +99845,7 @@ def v1_sites_map_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97783,12 +99859,9 @@ def v1_sites_map_details_get( @validate_call - def v1_sites_map_details_get_with_http_info( + def v1_software_auto_upgrade_default_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97801,19 +99874,12 @@ def v1_sites_map_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesMapDetailsGetResponse]: - """v1_sites_map_details_get + ) -> ApiResponse[V1SoftwareAutoUpgradeDefaultGetResponse]: + """v1_software_auto_upgrade_default_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97836,11 +99902,8 @@ def v1_sites_map_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97848,7 +99911,7 @@ def v1_sites_map_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97862,12 +99925,9 @@ def v1_sites_map_details_get_with_http_info( @validate_call - def v1_sites_map_details_get_without_preload_content( + def v1_software_auto_upgrade_default_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -97881,18 +99941,11 @@ def v1_sites_map_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_map_details_get + """v1_software_auto_upgrade_default_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -97915,11 +99968,8 @@ def v1_sites_map_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -97927,7 +99977,7 @@ def v1_sites_map_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -97936,12 +99986,9 @@ def v1_sites_map_details_get_without_preload_content( return response_data.response - def _v1_sites_map_details_get_serialize( + def _v1_software_auto_upgrade_default_get_serialize( self, authorization, - lan_segment_ids, - site_ids, - site_list_ids, _request_auth, _content_type, _headers, @@ -97951,9 +99998,6 @@ def _v1_sites_map_details_get_serialize( _host = None _collection_formats: Dict[str, str] = { - 'lanSegmentIds': 'multi', - 'siteIds': 'multi', - 'siteListIds': 'multi', } _path_params: Dict[str, str] = {} @@ -97967,18 +100011,6 @@ def _v1_sites_map_details_get_serialize( # process the path parameters # process the query parameters - if lan_segment_ids is not None: - - _query_params.append(('lanSegmentIds', lan_segment_ids)) - - if site_ids is not None: - - _query_params.append(('siteIds', site_ids)) - - if site_list_ids is not None: - - _query_params.append(('siteListIds', site_list_ids)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -98002,7 +100034,7 @@ def _v1_sites_map_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/sites/map/details', + resource_path='/v1/software/auto-upgrade/default', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -98019,10 +100051,10 @@ def _v1_sites_map_details_get_serialize( @validate_call - def v1_sites_post( + def v1_software_auto_upgrade_default_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98035,15 +100067,14 @@ def v1_sites_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesPostResponse: - """v1_sites_post + ) -> None: + """v1_software_auto_upgrade_default_put - Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98066,9 +100097,9 @@ def v1_sites_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98076,7 +100107,7 @@ def v1_sites_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -98090,10 +100121,10 @@ def v1_sites_post( @validate_call - def v1_sites_post_with_http_info( + def v1_software_auto_upgrade_default_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98106,15 +100137,14 @@ def v1_sites_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesPostResponse]: - """v1_sites_post + ) -> ApiResponse[None]: + """v1_software_auto_upgrade_default_put - Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98137,9 +100167,9 @@ def v1_sites_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98147,7 +100177,7 @@ def v1_sites_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -98161,10 +100191,10 @@ def v1_sites_post_with_http_info( @validate_call - def v1_sites_post_without_preload_content( + def v1_software_auto_upgrade_default_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98178,14 +100208,13 @@ def v1_sites_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_post + """v1_software_auto_upgrade_default_put - Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98208,9 +100237,9 @@ def v1_sites_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98218,7 +100247,7 @@ def v1_sites_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -98227,10 +100256,10 @@ def v1_sites_post_without_preload_content( return response_data.response - def _v1_sites_post_serialize( + def _v1_software_auto_upgrade_default_put_serialize( self, authorization, - v1_sites_post_request, + v1_software_auto_upgrade_default_put_request, _request_auth, _content_type, _headers, @@ -98258,17 +100287,10 @@ def _v1_sites_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_sites_post_request is not None: - _body_params = v1_sites_post_request + if v1_software_auto_upgrade_default_put_request is not None: + _body_params = v1_software_auto_upgrade_default_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -98290,8 +100312,8 @@ def _v1_sites_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/sites', + method='PUT', + resource_path='/v1/software/auto-upgrade/default', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -98308,10 +100330,10 @@ def _v1_sites_post_serialize( @validate_call - def v1_sites_site_id_circuits_get( + def v1_software_gcsrelease_upload_notes_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98324,15 +100346,14 @@ def v1_sites_site_id_circuits_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdCircuitsGetResponse: - """v1_sites_site_id_circuits_get + ) -> object: + """v1_software_gcsrelease_upload_notes_post - Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98355,9 +100376,9 @@ def v1_sites_site_id_circuits_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, - site_id=site_id, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98365,7 +100386,7 @@ def v1_sites_site_id_circuits_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -98379,10 +100400,10 @@ def v1_sites_site_id_circuits_get( @validate_call - def v1_sites_site_id_circuits_get_with_http_info( + def v1_software_gcsrelease_upload_notes_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98395,15 +100416,14 @@ def v1_sites_site_id_circuits_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdCircuitsGetResponse]: - """v1_sites_site_id_circuits_get + ) -> ApiResponse[object]: + """v1_software_gcsrelease_upload_notes_post - Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98426,9 +100446,9 @@ def v1_sites_site_id_circuits_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, - site_id=site_id, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98436,7 +100456,7 @@ def v1_sites_site_id_circuits_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -98450,10 +100470,10 @@ def v1_sites_site_id_circuits_get_with_http_info( @validate_call - def v1_sites_site_id_circuits_get_without_preload_content( + def v1_software_gcsrelease_upload_notes_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98467,14 +100487,13 @@ def v1_sites_site_id_circuits_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_circuits_get + """v1_software_gcsrelease_upload_notes_post - Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98497,9 +100516,9 @@ def v1_sites_site_id_circuits_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, - site_id=site_id, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98507,7 +100526,7 @@ def v1_sites_site_id_circuits_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -98516,10 +100535,10 @@ def v1_sites_site_id_circuits_get_without_preload_content( return response_data.response - def _v1_sites_site_id_circuits_get_serialize( + def _v1_software_gcsrelease_upload_notes_post_serialize( self, authorization, - site_id, + v1_software_gcsrelease_upload_notes_post_request, _request_auth, _content_type, _headers, @@ -98541,14 +100560,14 @@ def _v1_sites_site_id_circuits_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_gcsrelease_upload_notes_post_request is not None: + _body_params = v1_software_gcsrelease_upload_notes_post_request # set the HTTP header `Accept` @@ -98559,6 +100578,19 @@ def _v1_sites_site_id_circuits_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -98566,8 +100598,8 @@ def _v1_sites_site_id_circuits_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/sites/{siteId}/circuits', + method='POST', + resource_path='/v1/software/gcsrelease/upload/notes', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -98584,10 +100616,11 @@ def _v1_sites_site_id_circuits_get_serialize( @validate_call - def v1_sites_site_id_delete( + def v1_software_releases_download_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98600,15 +100633,16 @@ def v1_sites_site_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_sites_site_id_delete + ) -> V1SoftwareReleasesDownloadGetResponse: + """v1_software_releases_download_get - Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98631,9 +100665,10 @@ def v1_sites_site_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, - site_id=site_id, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98641,7 +100676,7 @@ def v1_sites_site_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -98655,10 +100690,11 @@ def v1_sites_site_id_delete( @validate_call - def v1_sites_site_id_delete_with_http_info( + def v1_software_releases_download_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98671,15 +100707,16 @@ def v1_sites_site_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_sites_site_id_delete + ) -> ApiResponse[V1SoftwareReleasesDownloadGetResponse]: + """v1_software_releases_download_get - Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98702,9 +100739,10 @@ def v1_sites_site_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, - site_id=site_id, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98712,7 +100750,7 @@ def v1_sites_site_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -98726,10 +100764,11 @@ def v1_sites_site_id_delete_with_http_info( @validate_call - def v1_sites_site_id_delete_without_preload_content( + def v1_software_releases_download_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98743,14 +100782,15 @@ def v1_sites_site_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_delete + """v1_software_releases_download_get - Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98773,9 +100813,10 @@ def v1_sites_site_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, - site_id=site_id, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98783,7 +100824,7 @@ def v1_sites_site_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -98792,10 +100833,11 @@ def v1_sites_site_id_delete_without_preload_content( return response_data.response - def _v1_sites_site_id_delete_serialize( + def _v1_software_releases_download_get_serialize( self, authorization, - site_id, + image_ext, + version, _request_auth, _content_type, _headers, @@ -98817,9 +100859,15 @@ def _v1_sites_site_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters + if image_ext is not None: + + _query_params.append(('imageExt', image_ext)) + + if version is not None: + + _query_params.append(('version', version)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -98827,6 +100875,13 @@ def _v1_sites_site_id_delete_serialize( # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -98835,8 +100890,8 @@ def _v1_sites_site_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/sites/{siteId}', + method='GET', + resource_path='/v1/software/releases/download', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -98853,10 +100908,9 @@ def _v1_sites_site_id_delete_serialize( @validate_call - def v1_sites_site_id_devices_get( + def v1_software_releases_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98869,15 +100923,12 @@ def v1_sites_site_id_devices_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdDevicesGetResponse: - """v1_sites_site_id_devices_get + ) -> V1SoftwareReleasesSummaryGetResponse: + """v1_software_releases_summary_get - Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98900,9 +100951,8 @@ def v1_sites_site_id_devices_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98910,7 +100960,7 @@ def v1_sites_site_id_devices_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -98924,10 +100974,9 @@ def v1_sites_site_id_devices_get( @validate_call - def v1_sites_site_id_devices_get_with_http_info( + def v1_software_releases_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -98940,15 +100989,12 @@ def v1_sites_site_id_devices_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdDevicesGetResponse]: - """v1_sites_site_id_devices_get + ) -> ApiResponse[V1SoftwareReleasesSummaryGetResponse]: + """v1_software_releases_summary_get - Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -98971,9 +101017,8 @@ def v1_sites_site_id_devices_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -98981,7 +101026,7 @@ def v1_sites_site_id_devices_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -98995,10 +101040,9 @@ def v1_sites_site_id_devices_get_with_http_info( @validate_call - def v1_sites_site_id_devices_get_without_preload_content( + def v1_software_releases_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99012,14 +101056,11 @@ def v1_sites_site_id_devices_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_devices_get + """v1_software_releases_summary_get - Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99042,9 +101083,8 @@ def v1_sites_site_id_devices_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99052,7 +101092,7 @@ def v1_sites_site_id_devices_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99061,10 +101101,9 @@ def v1_sites_site_id_devices_get_without_preload_content( return response_data.response - def _v1_sites_site_id_devices_get_serialize( + def _v1_software_releases_summary_get_serialize( self, authorization, - site_id, _request_auth, _content_type, _headers, @@ -99086,8 +101125,6 @@ def _v1_sites_site_id_devices_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: @@ -99112,7 +101149,7 @@ def _v1_sites_site_id_devices_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/sites/{siteId}/devices', + resource_path='/v1/software/releases/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -99129,11 +101166,9 @@ def _v1_sites_site_id_devices_get_serialize( @validate_call - def v1_sites_site_id_post( + def v1_software_rollouts_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99146,17 +101181,13 @@ def v1_sites_site_id_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdPostResponse: - """v1_sites_site_id_post + ) -> V1SoftwareRolloutsGetResponse: + """v1_software_rollouts_get - Update a site + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99179,10 +101210,8 @@ def v1_sites_site_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99190,7 +101219,7 @@ def v1_sites_site_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99204,11 +101233,9 @@ def v1_sites_site_id_post( @validate_call - def v1_sites_site_id_post_with_http_info( + def v1_software_rollouts_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99221,17 +101248,13 @@ def v1_sites_site_id_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdPostResponse]: - """v1_sites_site_id_post + ) -> ApiResponse[V1SoftwareRolloutsGetResponse]: + """v1_software_rollouts_get - Update a site + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99254,10 +101277,8 @@ def v1_sites_site_id_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99265,7 +101286,7 @@ def v1_sites_site_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99279,11 +101300,9 @@ def v1_sites_site_id_post_with_http_info( @validate_call - def v1_sites_site_id_post_without_preload_content( + def v1_software_rollouts_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99297,16 +101316,12 @@ def v1_sites_site_id_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_post + """v1_software_rollouts_get - Update a site + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99329,10 +101344,8 @@ def v1_sites_site_id_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99340,7 +101353,7 @@ def v1_sites_site_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99349,11 +101362,9 @@ def v1_sites_site_id_post_without_preload_content( return response_data.response - def _v1_sites_site_id_post_serialize( + def _v1_software_rollouts_get_serialize( self, authorization, - site_id, - v1_sites_site_id_post_request, _request_auth, _content_type, _headers, @@ -99375,16 +101386,12 @@ def _v1_sites_site_id_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_sites_site_id_post_request is not None: - _body_params = v1_sites_site_id_post_request # set the HTTP header `Accept` @@ -99395,19 +101402,6 @@ def _v1_sites_site_id_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -99415,8 +101409,8 @@ def _v1_sites_site_id_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/sites/{siteId}', + method='GET', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -99433,9 +101427,10 @@ def _v1_sites_site_id_post_serialize( @validate_call - def v1_software_auto_upgrade_default_get( + def v1_software_rollouts_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99448,12 +101443,15 @@ def v1_software_auto_upgrade_default_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareAutoUpgradeDefaultGetResponse: - """v1_software_auto_upgrade_default_get + ) -> object: + """v1_software_rollouts_id_delete + Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99476,8 +101474,9 @@ def v1_software_auto_upgrade_default_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_software_rollouts_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99485,7 +101484,7 @@ def v1_software_auto_upgrade_default_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -99499,9 +101498,10 @@ def v1_software_auto_upgrade_default_get( @validate_call - def v1_software_auto_upgrade_default_get_with_http_info( + def v1_software_rollouts_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99514,12 +101514,15 @@ def v1_software_auto_upgrade_default_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareAutoUpgradeDefaultGetResponse]: - """v1_software_auto_upgrade_default_get + ) -> ApiResponse[object]: + """v1_software_rollouts_id_delete + Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99542,8 +101545,9 @@ def v1_software_auto_upgrade_default_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_software_rollouts_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99551,7 +101555,7 @@ def v1_software_auto_upgrade_default_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -99565,9 +101569,10 @@ def v1_software_auto_upgrade_default_get_with_http_info( @validate_call - def v1_software_auto_upgrade_default_get_without_preload_content( + def v1_software_rollouts_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99581,11 +101586,14 @@ def v1_software_auto_upgrade_default_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_auto_upgrade_default_get + """v1_software_rollouts_id_delete + Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99608,8 +101616,9 @@ def v1_software_auto_upgrade_default_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_software_rollouts_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99617,7 +101626,7 @@ def v1_software_auto_upgrade_default_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -99626,9 +101635,10 @@ def v1_software_auto_upgrade_default_get_without_preload_content( return response_data.response - def _v1_software_auto_upgrade_default_get_serialize( + def _v1_software_rollouts_id_delete_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -99650,6 +101660,8 @@ def _v1_software_auto_upgrade_default_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -99673,8 +101685,8 @@ def _v1_software_auto_upgrade_default_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/auto-upgrade/default', + method='DELETE', + resource_path='/v1/software/rollouts/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -99691,10 +101703,10 @@ def _v1_software_auto_upgrade_default_get_serialize( @validate_call - def v1_software_auto_upgrade_default_put( + def v1_software_rollouts_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99707,14 +101719,15 @@ def v1_software_auto_upgrade_default_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_software_auto_upgrade_default_put + ) -> V1SoftwareRolloutsIdGetResponse: + """v1_software_rollouts_id_get + Returns details about given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99737,9 +101750,9 @@ def v1_software_auto_upgrade_default_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_software_rollouts_id_get_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99747,7 +101760,7 @@ def v1_software_auto_upgrade_default_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99761,10 +101774,10 @@ def v1_software_auto_upgrade_default_put( @validate_call - def v1_software_auto_upgrade_default_put_with_http_info( + def v1_software_rollouts_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99777,14 +101790,15 @@ def v1_software_auto_upgrade_default_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_software_auto_upgrade_default_put + ) -> ApiResponse[V1SoftwareRolloutsIdGetResponse]: + """v1_software_rollouts_id_get + Returns details about given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99807,9 +101821,9 @@ def v1_software_auto_upgrade_default_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_software_rollouts_id_get_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99817,7 +101831,7 @@ def v1_software_auto_upgrade_default_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99831,10 +101845,10 @@ def v1_software_auto_upgrade_default_put_with_http_info( @validate_call - def v1_software_auto_upgrade_default_put_without_preload_content( + def v1_software_rollouts_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99848,13 +101862,14 @@ def v1_software_auto_upgrade_default_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_auto_upgrade_default_put + """v1_software_rollouts_id_get + Returns details about given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99877,9 +101892,9 @@ def v1_software_auto_upgrade_default_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_software_rollouts_id_get_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99887,7 +101902,7 @@ def v1_software_auto_upgrade_default_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -99896,10 +101911,10 @@ def v1_software_auto_upgrade_default_put_without_preload_content( return response_data.response - def _v1_software_auto_upgrade_default_put_serialize( + def _v1_software_rollouts_id_get_serialize( self, authorization, - v1_software_auto_upgrade_default_put_request, + id, _request_auth, _content_type, _headers, @@ -99921,30 +101936,24 @@ def _v1_software_auto_upgrade_default_put_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_auto_upgrade_default_put_request is not None: - _body_params = v1_software_auto_upgrade_default_put_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -99952,8 +101961,8 @@ def _v1_software_auto_upgrade_default_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/software/auto-upgrade/default', + method='GET', + resource_path='/v1/software/rollouts/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -99970,10 +101979,10 @@ def _v1_software_auto_upgrade_default_put_serialize( @validate_call - def v1_software_gcsrelease_upload_notes_post( + def v1_software_rollouts_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -99986,14 +101995,15 @@ def v1_software_gcsrelease_upload_notes_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_gcsrelease_upload_notes_post + ) -> V1SoftwareRolloutsPostResponse: + """v1_software_rollouts_post + Create upgrade rollout and returns rollout identifier :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100016,9 +102026,9 @@ def v1_software_gcsrelease_upload_notes_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_software_rollouts_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100026,7 +102036,7 @@ def v1_software_gcsrelease_upload_notes_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -100040,10 +102050,10 @@ def v1_software_gcsrelease_upload_notes_post( @validate_call - def v1_software_gcsrelease_upload_notes_post_with_http_info( + def v1_software_rollouts_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100056,14 +102066,15 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_gcsrelease_upload_notes_post + ) -> ApiResponse[V1SoftwareRolloutsPostResponse]: + """v1_software_rollouts_post + Create upgrade rollout and returns rollout identifier :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100086,9 +102097,9 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_software_rollouts_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100096,7 +102107,7 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -100110,10 +102121,10 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( @validate_call - def v1_software_gcsrelease_upload_notes_post_without_preload_content( + def v1_software_rollouts_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100127,13 +102138,14 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_gcsrelease_upload_notes_post + """v1_software_rollouts_post + Create upgrade rollout and returns rollout identifier :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100156,9 +102168,9 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_software_rollouts_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100166,7 +102178,7 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -100175,10 +102187,10 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( return response_data.response - def _v1_software_gcsrelease_upload_notes_post_serialize( + def _v1_software_rollouts_post_serialize( self, authorization, - v1_software_gcsrelease_upload_notes_post_request, + v1_software_rollouts_post_request, _request_auth, _content_type, _headers, @@ -100206,8 +102218,8 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_gcsrelease_upload_notes_post_request is not None: - _body_params = v1_software_gcsrelease_upload_notes_post_request + if v1_software_rollouts_post_request is not None: + _body_params = v1_software_rollouts_post_request # set the HTTP header `Accept` @@ -100239,7 +102251,7 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/software/gcsrelease/upload/notes', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -100256,11 +102268,10 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( @validate_call - def v1_software_releases_download_get( + def v1_software_rollouts_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100273,16 +102284,15 @@ def v1_software_releases_download_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareReleasesDownloadGetResponse: - """v1_software_releases_download_get + ) -> object: + """v1_software_rollouts_put + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100305,10 +102315,9 @@ def v1_software_releases_download_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100316,7 +102325,7 @@ def v1_software_releases_download_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100330,11 +102339,10 @@ def v1_software_releases_download_get( @validate_call - def v1_software_releases_download_get_with_http_info( + def v1_software_rollouts_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100347,16 +102355,15 @@ def v1_software_releases_download_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareReleasesDownloadGetResponse]: - """v1_software_releases_download_get + ) -> ApiResponse[object]: + """v1_software_rollouts_put + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100379,10 +102386,9 @@ def v1_software_releases_download_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100390,7 +102396,7 @@ def v1_software_releases_download_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100404,11 +102410,10 @@ def v1_software_releases_download_get_with_http_info( @validate_call - def v1_software_releases_download_get_without_preload_content( + def v1_software_rollouts_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100422,15 +102427,14 @@ def v1_software_releases_download_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_releases_download_get + """v1_software_rollouts_put + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100453,10 +102457,9 @@ def v1_software_releases_download_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100464,7 +102467,7 @@ def v1_software_releases_download_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100473,11 +102476,10 @@ def v1_software_releases_download_get_without_preload_content( return response_data.response - def _v1_software_releases_download_get_serialize( + def _v1_software_rollouts_put_serialize( self, authorization, - image_ext, - version, + v1_software_rollouts_put_request, _request_auth, _content_type, _headers, @@ -100500,19 +102502,13 @@ def _v1_software_releases_download_get_serialize( # process the path parameters # process the query parameters - if image_ext is not None: - - _query_params.append(('imageExt', image_ext)) - - if version is not None: - - _query_params.append(('version', version)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_rollouts_put_request is not None: + _body_params = v1_software_rollouts_put_request # set the HTTP header `Accept` @@ -100523,6 +102519,19 @@ def _v1_software_releases_download_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -100530,8 +102539,8 @@ def _v1_software_releases_download_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/releases/download', + method='PUT', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -100548,9 +102557,10 @@ def _v1_software_releases_download_get_serialize( @validate_call - def v1_software_releases_summary_get( + def v1_software_rollouts_schedule_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100563,12 +102573,15 @@ def v1_software_releases_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareReleasesSummaryGetResponse: - """v1_software_releases_summary_get + ) -> object: + """v1_software_rollouts_schedule_post + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100591,8 +102604,9 @@ def v1_software_releases_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100600,7 +102614,7 @@ def v1_software_releases_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100614,9 +102628,10 @@ def v1_software_releases_summary_get( @validate_call - def v1_software_releases_summary_get_with_http_info( + def v1_software_rollouts_schedule_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100629,12 +102644,15 @@ def v1_software_releases_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareReleasesSummaryGetResponse]: - """v1_software_releases_summary_get + ) -> ApiResponse[object]: + """v1_software_rollouts_schedule_post + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100657,8 +102675,9 @@ def v1_software_releases_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100666,7 +102685,7 @@ def v1_software_releases_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100680,9 +102699,10 @@ def v1_software_releases_summary_get_with_http_info( @validate_call - def v1_software_releases_summary_get_without_preload_content( + def v1_software_rollouts_schedule_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100696,11 +102716,14 @@ def v1_software_releases_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_releases_summary_get + """v1_software_rollouts_schedule_post + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100723,8 +102746,9 @@ def v1_software_releases_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100732,7 +102756,7 @@ def v1_software_releases_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -100741,9 +102765,10 @@ def v1_software_releases_summary_get_without_preload_content( return response_data.response - def _v1_software_releases_summary_get_serialize( + def _v1_software_rollouts_schedule_post_serialize( self, authorization, + v1_software_rollouts_schedule_post_request, _request_auth, _content_type, _headers, @@ -100771,6 +102796,8 @@ def _v1_software_releases_summary_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_rollouts_schedule_post_request is not None: + _body_params = v1_software_rollouts_schedule_post_request # set the HTTP header `Accept` @@ -100781,6 +102808,19 @@ def _v1_software_releases_summary_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -100788,8 +102828,8 @@ def _v1_software_releases_summary_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/releases/summary', + method='POST', + resource_path='/v1/software/rollouts/schedule', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -100806,9 +102846,10 @@ def _v1_software_releases_summary_get_serialize( @validate_call - def v1_software_rollouts_get( + def v1_software_running_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100821,13 +102862,14 @@ def v1_software_rollouts_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsGetResponse: - """v1_software_rollouts_get + ) -> V1SoftwareRunningDetailsGetResponse: + """v1_software_running_details_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100850,8 +102892,9 @@ def v1_software_rollouts_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100859,7 +102902,7 @@ def v1_software_rollouts_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -100873,9 +102916,10 @@ def v1_software_rollouts_get( @validate_call - def v1_software_rollouts_get_with_http_info( + def v1_software_running_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100888,13 +102932,14 @@ def v1_software_rollouts_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsGetResponse]: - """v1_software_rollouts_get + ) -> ApiResponse[V1SoftwareRunningDetailsGetResponse]: + """v1_software_running_details_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100917,8 +102962,9 @@ def v1_software_rollouts_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100926,7 +102972,7 @@ def v1_software_rollouts_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -100940,9 +102986,10 @@ def v1_software_rollouts_get_with_http_info( @validate_call - def v1_software_rollouts_get_without_preload_content( + def v1_software_running_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -100956,12 +103003,13 @@ def v1_software_rollouts_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_get + """v1_software_running_details_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100984,8 +103032,9 @@ def v1_software_rollouts_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100993,7 +103042,7 @@ def v1_software_rollouts_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -101002,9 +103051,10 @@ def v1_software_rollouts_get_without_preload_content( return response_data.response - def _v1_software_rollouts_get_serialize( + def _v1_software_running_details_get_serialize( self, authorization, + running_version, _request_auth, _content_type, _headers, @@ -101027,6 +103077,10 @@ def _v1_software_rollouts_get_serialize( # process the path parameters # process the query parameters + if running_version is not None: + + _query_params.append(('runningVersion', running_version)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -101050,7 +103104,7 @@ def _v1_software_rollouts_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/rollouts', + resource_path='/v1/software/running/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -101067,10 +103121,9 @@ def _v1_software_rollouts_get_serialize( @validate_call - def v1_software_rollouts_id_delete( + def v1_software_running_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101083,15 +103136,12 @@ def v1_software_rollouts_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_rollouts_id_delete + ) -> V1SoftwareRunningSummaryGetResponse: + """v1_software_running_summary_get - Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101114,9 +103164,8 @@ def v1_software_rollouts_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101124,7 +103173,7 @@ def v1_software_rollouts_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -101138,10 +103187,9 @@ def v1_software_rollouts_id_delete( @validate_call - def v1_software_rollouts_id_delete_with_http_info( + def v1_software_running_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101154,15 +103202,12 @@ def v1_software_rollouts_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_rollouts_id_delete + ) -> ApiResponse[V1SoftwareRunningSummaryGetResponse]: + """v1_software_running_summary_get - Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101185,9 +103230,8 @@ def v1_software_rollouts_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101195,7 +103239,7 @@ def v1_software_rollouts_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -101209,10 +103253,9 @@ def v1_software_rollouts_id_delete_with_http_info( @validate_call - def v1_software_rollouts_id_delete_without_preload_content( + def v1_software_running_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101226,14 +103269,11 @@ def v1_software_rollouts_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_id_delete + """v1_software_running_summary_get - Delete given upgrade rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101256,9 +103296,8 @@ def v1_software_rollouts_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101266,7 +103305,7 @@ def v1_software_rollouts_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -101275,10 +103314,9 @@ def v1_software_rollouts_id_delete_without_preload_content( return response_data.response - def _v1_software_rollouts_id_delete_serialize( + def _v1_software_running_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -101300,8 +103338,6 @@ def _v1_software_rollouts_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -101325,8 +103361,8 @@ def _v1_software_rollouts_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/software/rollouts/{id}', + method='GET', + resource_path='/v1/software/running/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -101343,10 +103379,11 @@ def _v1_software_rollouts_id_delete_serialize( @validate_call - def v1_software_rollouts_id_get( + def v1_talkers_device_device_id_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101359,15 +103396,17 @@ def v1_software_rollouts_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsIdGetResponse: - """v1_software_rollouts_id_get + ) -> V1TalkersDeviceDeviceIdTopPostResponse: + """v1_talkers_device_device_id_top_post - Returns details about given upgrade rollout + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) - :type id: int + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101390,9 +103429,10 @@ def v1_software_rollouts_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101400,7 +103440,7 @@ def v1_software_rollouts_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101414,10 +103454,11 @@ def v1_software_rollouts_id_get( @validate_call - def v1_software_rollouts_id_get_with_http_info( + def v1_talkers_device_device_id_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101430,15 +103471,17 @@ def v1_software_rollouts_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsIdGetResponse]: - """v1_software_rollouts_id_get + ) -> ApiResponse[V1TalkersDeviceDeviceIdTopPostResponse]: + """v1_talkers_device_device_id_top_post - Returns details about given upgrade rollout + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) - :type id: int + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101461,9 +103504,10 @@ def v1_software_rollouts_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101471,7 +103515,7 @@ def v1_software_rollouts_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101485,10 +103529,11 @@ def v1_software_rollouts_id_get_with_http_info( @validate_call - def v1_software_rollouts_id_get_without_preload_content( + def v1_talkers_device_device_id_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101502,14 +103547,16 @@ def v1_software_rollouts_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_id_get + """v1_talkers_device_device_id_top_post - Returns details about given upgrade rollout + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) - :type id: int + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101532,9 +103579,10 @@ def v1_software_rollouts_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101542,7 +103590,7 @@ def v1_software_rollouts_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101551,10 +103599,11 @@ def v1_software_rollouts_id_get_without_preload_content( return response_data.response - def _v1_software_rollouts_id_get_serialize( + def _v1_talkers_device_device_id_top_post_serialize( self, authorization, - id, + device_id, + v1_talkers_device_device_id_top_post_request, _request_auth, _content_type, _headers, @@ -101576,14 +103625,16 @@ def _v1_software_rollouts_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_talkers_device_device_id_top_post_request is not None: + _body_params = v1_talkers_device_device_id_top_post_request # set the HTTP header `Accept` @@ -101594,6 +103645,19 @@ def _v1_software_rollouts_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -101601,8 +103665,8 @@ def _v1_software_rollouts_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/rollouts/{id}', + method='POST', + resource_path='/v1/talkers/device/{deviceId}/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -101619,10 +103683,11 @@ def _v1_software_rollouts_id_get_serialize( @validate_call - def v1_software_rollouts_post( + def v1_talkers_site_site_id_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101635,15 +103700,17 @@ def v1_software_rollouts_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsPostResponse: - """v1_software_rollouts_post + ) -> V1TalkersSiteSiteIdTopPostResponse: + """v1_talkers_site_site_id_top_post - Create upgrade rollout and returns rollout identifier + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101666,9 +103733,10 @@ def v1_software_rollouts_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101676,7 +103744,7 @@ def v1_software_rollouts_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101690,10 +103758,11 @@ def v1_software_rollouts_post( @validate_call - def v1_software_rollouts_post_with_http_info( + def v1_talkers_site_site_id_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101706,15 +103775,17 @@ def v1_software_rollouts_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsPostResponse]: - """v1_software_rollouts_post + ) -> ApiResponse[V1TalkersSiteSiteIdTopPostResponse]: + """v1_talkers_site_site_id_top_post - Create upgrade rollout and returns rollout identifier + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101737,9 +103808,10 @@ def v1_software_rollouts_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101747,7 +103819,7 @@ def v1_software_rollouts_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101761,10 +103833,11 @@ def v1_software_rollouts_post_with_http_info( @validate_call - def v1_software_rollouts_post_without_preload_content( + def v1_talkers_site_site_id_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101778,14 +103851,16 @@ def v1_software_rollouts_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_post + """v1_talkers_site_site_id_top_post - Create upgrade rollout and returns rollout identifier + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101808,9 +103883,10 @@ def v1_software_rollouts_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101818,7 +103894,7 @@ def v1_software_rollouts_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -101827,10 +103903,11 @@ def v1_software_rollouts_post_without_preload_content( return response_data.response - def _v1_software_rollouts_post_serialize( + def _v1_talkers_site_site_id_top_post_serialize( self, authorization, - v1_software_rollouts_post_request, + site_id, + v1_talkers_site_site_id_top_post_request, _request_auth, _content_type, _headers, @@ -101852,14 +103929,16 @@ def _v1_software_rollouts_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_post_request is not None: - _body_params = v1_software_rollouts_post_request + if v1_talkers_site_site_id_top_post_request is not None: + _body_params = v1_talkers_site_site_id_top_post_request # set the HTTP header `Accept` @@ -101891,7 +103970,7 @@ def _v1_software_rollouts_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/software/rollouts', + resource_path='/v1/talkers/site/{siteId}/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -101908,10 +103987,10 @@ def _v1_software_rollouts_post_serialize( @validate_call - def v1_software_rollouts_put( + def v1_temp_password_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101925,14 +104004,14 @@ def v1_software_rollouts_put( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_software_rollouts_put + """v1_temp_password_put - Modify update rollout + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101955,9 +104034,9 @@ def v1_software_rollouts_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101965,7 +104044,7 @@ def v1_software_rollouts_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -101979,10 +104058,10 @@ def v1_software_rollouts_put( @validate_call - def v1_software_rollouts_put_with_http_info( + def v1_temp_password_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -101996,14 +104075,14 @@ def v1_software_rollouts_put_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_software_rollouts_put + """v1_temp_password_put - Modify update rollout + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102026,9 +104105,9 @@ def v1_software_rollouts_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102036,7 +104115,7 @@ def v1_software_rollouts_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -102050,10 +104129,10 @@ def v1_software_rollouts_put_with_http_info( @validate_call - def v1_software_rollouts_put_without_preload_content( + def v1_temp_password_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102067,14 +104146,14 @@ def v1_software_rollouts_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_put + """v1_temp_password_put - Modify update rollout + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102097,9 +104176,9 @@ def v1_software_rollouts_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102107,7 +104186,7 @@ def v1_software_rollouts_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -102116,10 +104195,10 @@ def v1_software_rollouts_put_without_preload_content( return response_data.response - def _v1_software_rollouts_put_serialize( + def _v1_temp_password_put_serialize( self, authorization, - v1_software_rollouts_put_request, + v1_temp_password_put_request, _request_auth, _content_type, _headers, @@ -102147,8 +104226,8 @@ def _v1_software_rollouts_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_put_request is not None: - _body_params = v1_software_rollouts_put_request + if v1_temp_password_put_request is not None: + _body_params = v1_temp_password_put_request # set the HTTP header `Accept` @@ -102180,7 +104259,7 @@ def _v1_software_rollouts_put_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/v1/software/rollouts', + resource_path='/v1/temp/password', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -102197,10 +104276,11 @@ def _v1_software_rollouts_put_serialize( @validate_call - def v1_software_rollouts_schedule_post( + def v1_troubleshooting_device_device_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102213,15 +104293,16 @@ def v1_software_rollouts_schedule_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_rollouts_schedule_post + ) -> V1TroubleshootingDeviceDeviceIdPostResponse: + """v1_troubleshooting_device_device_id_post - Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102244,9 +104325,10 @@ def v1_software_rollouts_schedule_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102254,7 +104336,7 @@ def v1_software_rollouts_schedule_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -102268,10 +104350,11 @@ def v1_software_rollouts_schedule_post( @validate_call - def v1_software_rollouts_schedule_post_with_http_info( + def v1_troubleshooting_device_device_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102284,15 +104367,16 @@ def v1_software_rollouts_schedule_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_rollouts_schedule_post + ) -> ApiResponse[V1TroubleshootingDeviceDeviceIdPostResponse]: + """v1_troubleshooting_device_device_id_post - Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102315,9 +104399,10 @@ def v1_software_rollouts_schedule_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102325,7 +104410,7 @@ def v1_software_rollouts_schedule_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -102339,10 +104424,11 @@ def v1_software_rollouts_schedule_post_with_http_info( @validate_call - def v1_software_rollouts_schedule_post_without_preload_content( + def v1_troubleshooting_device_device_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102356,14 +104442,15 @@ def v1_software_rollouts_schedule_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_schedule_post + """v1_troubleshooting_device_device_id_post - Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102386,9 +104473,10 @@ def v1_software_rollouts_schedule_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102396,7 +104484,7 @@ def v1_software_rollouts_schedule_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -102405,10 +104493,11 @@ def v1_software_rollouts_schedule_post_without_preload_content( return response_data.response - def _v1_software_rollouts_schedule_post_serialize( + def _v1_troubleshooting_device_device_id_post_serialize( self, authorization, - v1_software_rollouts_schedule_post_request, + device_id, + v1_troubleshooting_device_device_id_post_request, _request_auth, _content_type, _headers, @@ -102430,14 +104519,16 @@ def _v1_software_rollouts_schedule_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_schedule_post_request is not None: - _body_params = v1_software_rollouts_schedule_post_request + if v1_troubleshooting_device_device_id_post_request is not None: + _body_params = v1_troubleshooting_device_device_id_post_request # set the HTTP header `Accept` @@ -102469,7 +104560,7 @@ def _v1_software_rollouts_schedule_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/software/rollouts/schedule', + resource_path='/v1/troubleshooting/device/{deviceId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -102486,10 +104577,10 @@ def _v1_software_rollouts_schedule_post_serialize( @validate_call - def v1_software_running_details_get( + def v1_troubleshooting_enterprise_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102502,14 +104593,14 @@ def v1_software_running_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRunningDetailsGetResponse: - """v1_software_running_details_get + ) -> V1TroubleshootingEnterprisePostResponse: + """v1_troubleshooting_enterprise_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102532,9 +104623,9 @@ def v1_software_running_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - running_version=running_version, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102542,7 +104633,7 @@ def v1_software_running_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -102556,10 +104647,10 @@ def v1_software_running_details_get( @validate_call - def v1_software_running_details_get_with_http_info( + def v1_troubleshooting_enterprise_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102572,14 +104663,14 @@ def v1_software_running_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRunningDetailsGetResponse]: - """v1_software_running_details_get + ) -> ApiResponse[V1TroubleshootingEnterprisePostResponse]: + """v1_troubleshooting_enterprise_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102602,9 +104693,9 @@ def v1_software_running_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - running_version=running_version, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102612,7 +104703,7 @@ def v1_software_running_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -102626,10 +104717,10 @@ def v1_software_running_details_get_with_http_info( @validate_call - def v1_software_running_details_get_without_preload_content( + def v1_troubleshooting_enterprise_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -102643,13 +104734,13 @@ def v1_software_running_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_running_details_get + """v1_troubleshooting_enterprise_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -102672,9 +104763,9 @@ def v1_software_running_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - running_version=running_version, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -102682,7 +104773,7 @@ def v1_software_running_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -102691,10 +104782,10 @@ def v1_software_running_details_get_without_preload_content( return response_data.response - def _v1_software_running_details_get_serialize( + def _v1_troubleshooting_enterprise_post_serialize( self, authorization, - running_version, + v1_troubleshooting_enterprise_post_request, _request_auth, _content_type, _headers, @@ -102717,15 +104808,13 @@ def _v1_software_running_details_get_serialize( # process the path parameters # process the query parameters - if running_version is not None: - - _query_params.append(('runningVersion', running_version)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_troubleshooting_enterprise_post_request is not None: + _body_params = v1_troubleshooting_enterprise_post_request # set the HTTP header `Accept` @@ -102736,6 +104825,19 @@ def _v1_software_running_details_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -102743,8 +104845,8 @@ def _v1_software_running_details_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/running/details', + method='POST', + resource_path='/v1/troubleshooting/enterprise', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -102761,7 +104863,7 @@ def _v1_software_running_details_get_serialize( @validate_call - def v1_software_running_summary_get( + def v1_troubleshooting_filter_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -102776,8 +104878,8 @@ def v1_software_running_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRunningSummaryGetResponse: - """v1_software_running_summary_get + ) -> V1TroubleshootingFilterGetResponse: + """v1_troubleshooting_filter_get :param authorization: Bearer token. Format: Bearer (required) @@ -102804,7 +104906,7 @@ def v1_software_running_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -102813,7 +104915,7 @@ def v1_software_running_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -102827,7 +104929,7 @@ def v1_software_running_summary_get( @validate_call - def v1_software_running_summary_get_with_http_info( + def v1_troubleshooting_filter_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -102842,8 +104944,8 @@ def v1_software_running_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRunningSummaryGetResponse]: - """v1_software_running_summary_get + ) -> ApiResponse[V1TroubleshootingFilterGetResponse]: + """v1_troubleshooting_filter_get :param authorization: Bearer token. Format: Bearer (required) @@ -102870,7 +104972,7 @@ def v1_software_running_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -102879,7 +104981,7 @@ def v1_software_running_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -102893,7 +104995,7 @@ def v1_software_running_summary_get_with_http_info( @validate_call - def v1_software_running_summary_get_without_preload_content( + def v1_troubleshooting_filter_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -102909,7 +105011,7 @@ def v1_software_running_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_running_summary_get + """v1_troubleshooting_filter_get :param authorization: Bearer token. Format: Bearer (required) @@ -102936,7 +105038,7 @@ def v1_software_running_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -102945,7 +105047,7 @@ def v1_software_running_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -102954,7 +105056,7 @@ def v1_software_running_summary_get_without_preload_content( return response_data.response - def _v1_software_running_summary_get_serialize( + def _v1_troubleshooting_filter_get_serialize( self, authorization, _request_auth, @@ -103002,7 +105104,7 @@ def _v1_software_running_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/running/summary', + resource_path='/v1/troubleshooting/filter', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -103019,11 +105121,9 @@ def _v1_software_running_summary_get_serialize( @validate_call - def v1_talkers_device_device_id_top_post( + def v1_troubleshooting_site_connectivity_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103036,17 +105136,12 @@ def v1_talkers_device_device_id_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TalkersDeviceDeviceIdTopPostResponse: - """v1_talkers_device_device_id_top_post + ) -> V1TroubleshootingSiteConnectivityStatusGetResponse: + """v1_troubleshooting_site_connectivity_status_get - Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103069,10 +105164,8 @@ def v1_talkers_device_device_id_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103080,7 +105173,7 @@ def v1_talkers_device_device_id_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103094,11 +105187,9 @@ def v1_talkers_device_device_id_top_post( @validate_call - def v1_talkers_device_device_id_top_post_with_http_info( + def v1_troubleshooting_site_connectivity_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103111,17 +105202,12 @@ def v1_talkers_device_device_id_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TalkersDeviceDeviceIdTopPostResponse]: - """v1_talkers_device_device_id_top_post + ) -> ApiResponse[V1TroubleshootingSiteConnectivityStatusGetResponse]: + """v1_troubleshooting_site_connectivity_status_get - Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103144,10 +105230,8 @@ def v1_talkers_device_device_id_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103155,7 +105239,7 @@ def v1_talkers_device_device_id_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103169,11 +105253,9 @@ def v1_talkers_device_device_id_top_post_with_http_info( @validate_call - def v1_talkers_device_device_id_top_post_without_preload_content( + def v1_troubleshooting_site_connectivity_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103187,16 +105269,11 @@ def v1_talkers_device_device_id_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_talkers_device_device_id_top_post + """v1_troubleshooting_site_connectivity_status_get - Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103219,10 +105296,8 @@ def v1_talkers_device_device_id_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103230,7 +105305,7 @@ def v1_talkers_device_device_id_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103239,11 +105314,9 @@ def v1_talkers_device_device_id_top_post_without_preload_content( return response_data.response - def _v1_talkers_device_device_id_top_post_serialize( + def _v1_troubleshooting_site_connectivity_status_get_serialize( self, authorization, - device_id, - v1_talkers_device_device_id_top_post_request, _request_auth, _content_type, _headers, @@ -103265,16 +105338,12 @@ def _v1_talkers_device_device_id_top_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_talkers_device_device_id_top_post_request is not None: - _body_params = v1_talkers_device_device_id_top_post_request # set the HTTP header `Accept` @@ -103285,19 +105354,6 @@ def _v1_talkers_device_device_id_top_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -103305,8 +105361,8 @@ def _v1_talkers_device_device_id_top_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/talkers/device/{deviceId}/top', + method='GET', + resource_path='/v1/troubleshooting/site-connectivity-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -103323,11 +105379,10 @@ def _v1_talkers_device_device_id_top_post_serialize( @validate_call - def v1_talkers_site_site_id_top_post( + def v1_troubleshooting_site_site_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103340,17 +105395,14 @@ def v1_talkers_site_site_id_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TalkersSiteSiteIdTopPostResponse: - """v1_talkers_site_site_id_top_post + ) -> V1TroubleshootingSiteSiteIdGetResponse: + """v1_troubleshooting_site_site_id_get - Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103373,10 +105425,9 @@ def v1_talkers_site_site_id_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103384,7 +105435,7 @@ def v1_talkers_site_site_id_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103398,11 +105449,10 @@ def v1_talkers_site_site_id_top_post( @validate_call - def v1_talkers_site_site_id_top_post_with_http_info( + def v1_troubleshooting_site_site_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103415,17 +105465,14 @@ def v1_talkers_site_site_id_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TalkersSiteSiteIdTopPostResponse]: - """v1_talkers_site_site_id_top_post + ) -> ApiResponse[V1TroubleshootingSiteSiteIdGetResponse]: + """v1_troubleshooting_site_site_id_get - Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103448,10 +105495,9 @@ def v1_talkers_site_site_id_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103459,7 +105505,7 @@ def v1_talkers_site_site_id_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103473,11 +105519,10 @@ def v1_talkers_site_site_id_top_post_with_http_info( @validate_call - def v1_talkers_site_site_id_top_post_without_preload_content( + def v1_troubleshooting_site_site_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103491,16 +105536,13 @@ def v1_talkers_site_site_id_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_talkers_site_site_id_top_post + """v1_troubleshooting_site_site_id_get - Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103523,10 +105565,9 @@ def v1_talkers_site_site_id_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103534,7 +105575,7 @@ def v1_talkers_site_site_id_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -103543,11 +105584,10 @@ def v1_talkers_site_site_id_top_post_without_preload_content( return response_data.response - def _v1_talkers_site_site_id_top_post_serialize( + def _v1_troubleshooting_site_site_id_get_serialize( self, authorization, site_id, - v1_talkers_site_site_id_top_post_request, _request_auth, _content_type, _headers, @@ -103577,8 +105617,6 @@ def _v1_talkers_site_site_id_top_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_talkers_site_site_id_top_post_request is not None: - _body_params = v1_talkers_site_site_id_top_post_request # set the HTTP header `Accept` @@ -103589,19 +105627,6 @@ def _v1_talkers_site_site_id_top_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -103609,8 +105634,8 @@ def _v1_talkers_site_site_id_top_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/talkers/site/{siteId}/top', + method='GET', + resource_path='/v1/troubleshooting/site/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -103627,10 +105652,10 @@ def _v1_talkers_site_site_id_top_post_serialize( @validate_call - def v1_temp_password_put( + def v1_troubleshooting_top_sites_by_alerts_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103643,15 +105668,14 @@ def v1_temp_password_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_temp_password_put + ) -> V1TroubleshootingTopSitesByAlertsPostResponse: + """v1_troubleshooting_top_sites_by_alerts_post - Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103674,9 +105698,9 @@ def v1_temp_password_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103684,7 +105708,7 @@ def v1_temp_password_put( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -103698,10 +105722,10 @@ def v1_temp_password_put( @validate_call - def v1_temp_password_put_with_http_info( + def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103714,15 +105738,14 @@ def v1_temp_password_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_temp_password_put + ) -> ApiResponse[V1TroubleshootingTopSitesByAlertsPostResponse]: + """v1_troubleshooting_top_sites_by_alerts_post - Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103745,9 +105768,9 @@ def v1_temp_password_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103755,7 +105778,7 @@ def v1_temp_password_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -103769,10 +105792,10 @@ def v1_temp_password_put_with_http_info( @validate_call - def v1_temp_password_put_without_preload_content( + def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103786,14 +105809,13 @@ def v1_temp_password_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_temp_password_put + """v1_troubleshooting_top_sites_by_alerts_post - Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103816,9 +105838,9 @@ def v1_temp_password_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103826,7 +105848,7 @@ def v1_temp_password_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -103835,10 +105857,10 @@ def v1_temp_password_put_without_preload_content( return response_data.response - def _v1_temp_password_put_serialize( + def _v1_troubleshooting_top_sites_by_alerts_post_serialize( self, authorization, - v1_temp_password_put_request, + v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth, _content_type, _headers, @@ -103866,8 +105888,8 @@ def _v1_temp_password_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_temp_password_put_request is not None: - _body_params = v1_temp_password_put_request + if v1_troubleshooting_top_sites_by_alerts_post_request is not None: + _body_params = v1_troubleshooting_top_sites_by_alerts_post_request # set the HTTP header `Accept` @@ -103898,8 +105920,8 @@ def _v1_temp_password_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/temp/password', + method='POST', + resource_path='/v1/troubleshooting/top-sites-by-alerts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -103916,11 +105938,11 @@ def _v1_temp_password_put_serialize( @validate_call - def v1_troubleshooting_device_device_id_post( + def v1_users_email_password_patch( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -103933,16 +105955,17 @@ def v1_troubleshooting_device_device_id_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingDeviceDeviceIdPostResponse: - """v1_troubleshooting_device_device_id_post + ) -> None: + """v1_users_email_password_patch + Change password for a user using email and token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -103965,10 +105988,10 @@ def v1_troubleshooting_device_device_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( - authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -103976,7 +105999,10 @@ def v1_troubleshooting_device_device_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -103990,11 +106016,11 @@ def v1_troubleshooting_device_device_id_post( @validate_call - def v1_troubleshooting_device_device_id_post_with_http_info( + def v1_users_email_password_patch_with_http_info( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104007,16 +106033,17 @@ def v1_troubleshooting_device_device_id_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingDeviceDeviceIdPostResponse]: - """v1_troubleshooting_device_device_id_post + ) -> ApiResponse[None]: + """v1_users_email_password_patch + Change password for a user using email and token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104039,10 +106066,10 @@ def v1_troubleshooting_device_device_id_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( - authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104050,7 +106077,10 @@ def v1_troubleshooting_device_device_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104064,11 +106094,11 @@ def v1_troubleshooting_device_device_id_post_with_http_info( @validate_call - def v1_troubleshooting_device_device_id_post_without_preload_content( + def v1_users_email_password_patch_without_preload_content( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104082,15 +106112,16 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_device_device_id_post + """v1_users_email_password_patch + Change password for a user using email and token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104113,10 +106144,10 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( - authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104124,7 +106155,10 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104133,11 +106167,11 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( return response_data.response - def _v1_troubleshooting_device_device_id_post_serialize( + def _v1_users_email_password_patch_serialize( self, - authorization, - device_id, - v1_troubleshooting_device_device_id_post_request, + email, + token, + v1_users_email_password_patch_request, _request_auth, _content_type, _headers, @@ -104159,25 +106193,20 @@ def _v1_troubleshooting_device_device_id_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id + if email is not None: + _path_params['email'] = email # process the query parameters + if token is not None: + + _query_params.append(('token', token)) + # process the header parameters - if authorization is not None: - _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_device_device_id_post_request is not None: - _body_params = v1_troubleshooting_device_device_id_post_request + if v1_users_email_password_patch_request is not None: + _body_params = v1_users_email_password_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -104199,8 +106228,8 @@ def _v1_troubleshooting_device_device_id_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/device/{deviceId}', + method='PATCH', + resource_path='/v1/users/{email}/password', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -104217,10 +106246,9 @@ def _v1_troubleshooting_device_device_id_post_serialize( @validate_call - def v1_troubleshooting_enterprise_post( + def v1_users_email_recovery_get( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + email: Annotated[StrictStr, Field(description="User email address")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104233,14 +106261,13 @@ def v1_troubleshooting_enterprise_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingEnterprisePostResponse: - """v1_troubleshooting_enterprise_post + ) -> None: + """v1_users_email_recovery_get + Send password recovery email to user - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param email: User email address (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104263,9 +106290,8 @@ def v1_troubleshooting_enterprise_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( - authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + _param = self._v1_users_email_recovery_get_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104273,7 +106299,9 @@ def v1_troubleshooting_enterprise_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '200': None, + '400': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104287,10 +106315,9 @@ def v1_troubleshooting_enterprise_post( @validate_call - def v1_troubleshooting_enterprise_post_with_http_info( + def v1_users_email_recovery_get_with_http_info( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + email: Annotated[StrictStr, Field(description="User email address")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104303,14 +106330,13 @@ def v1_troubleshooting_enterprise_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingEnterprisePostResponse]: - """v1_troubleshooting_enterprise_post + ) -> ApiResponse[None]: + """v1_users_email_recovery_get + Send password recovery email to user - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param email: User email address (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104333,9 +106359,8 @@ def v1_troubleshooting_enterprise_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( - authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + _param = self._v1_users_email_recovery_get_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104343,7 +106368,9 @@ def v1_troubleshooting_enterprise_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '200': None, + '400': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104357,10 +106384,9 @@ def v1_troubleshooting_enterprise_post_with_http_info( @validate_call - def v1_troubleshooting_enterprise_post_without_preload_content( + def v1_users_email_recovery_get_without_preload_content( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + email: Annotated[StrictStr, Field(description="User email address")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104374,13 +106400,12 @@ def v1_troubleshooting_enterprise_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_enterprise_post + """v1_users_email_recovery_get + Send password recovery email to user - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param email: User email address (required) + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104403,9 +106428,8 @@ def v1_troubleshooting_enterprise_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( - authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + _param = self._v1_users_email_recovery_get_serialize( + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104413,7 +106437,9 @@ def v1_troubleshooting_enterprise_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '200': None, + '400': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104422,10 +106448,9 @@ def v1_troubleshooting_enterprise_post_without_preload_content( return response_data.response - def _v1_troubleshooting_enterprise_post_serialize( + def _v1_users_email_recovery_get_serialize( self, - authorization, - v1_troubleshooting_enterprise_post_request, + email, _request_auth, _content_type, _headers, @@ -104447,37 +106472,15 @@ def _v1_troubleshooting_enterprise_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if email is not None: + _path_params['email'] = email # process the query parameters # process the header parameters - if authorization is not None: - _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_enterprise_post_request is not None: - _body_params = v1_troubleshooting_enterprise_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -104485,8 +106488,8 @@ def _v1_troubleshooting_enterprise_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/enterprise', + method='GET', + resource_path='/v1/users/{email}/recovery', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -104503,9 +106506,10 @@ def _v1_troubleshooting_enterprise_post_serialize( @validate_call - def v1_troubleshooting_filter_get( + def v1_users_email_verified_patch( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104518,12 +106522,15 @@ def v1_troubleshooting_filter_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingFilterGetResponse: - """v1_troubleshooting_filter_get + ) -> None: + """v1_users_email_verified_patch + Verify user email using verification token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104546,8 +106553,9 @@ def v1_troubleshooting_filter_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( - authorization=authorization, + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104555,7 +106563,10 @@ def v1_troubleshooting_filter_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104569,9 +106580,10 @@ def v1_troubleshooting_filter_get( @validate_call - def v1_troubleshooting_filter_get_with_http_info( + def v1_users_email_verified_patch_with_http_info( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104584,12 +106596,15 @@ def v1_troubleshooting_filter_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingFilterGetResponse]: - """v1_troubleshooting_filter_get + ) -> ApiResponse[None]: + """v1_users_email_verified_patch + Verify user email using verification token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104612,8 +106627,9 @@ def v1_troubleshooting_filter_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( - authorization=authorization, + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104621,7 +106637,10 @@ def v1_troubleshooting_filter_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104635,9 +106654,10 @@ def v1_troubleshooting_filter_get_with_http_info( @validate_call - def v1_troubleshooting_filter_get_without_preload_content( + def v1_users_email_verified_patch_without_preload_content( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104651,11 +106671,14 @@ def v1_troubleshooting_filter_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_filter_get + """v1_users_email_verified_patch + Verify user email using verification token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104678,8 +106701,9 @@ def v1_troubleshooting_filter_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( - authorization=authorization, + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104687,7 +106711,10 @@ def v1_troubleshooting_filter_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -104696,9 +106723,10 @@ def v1_troubleshooting_filter_get_without_preload_content( return response_data.response - def _v1_troubleshooting_filter_get_serialize( + def _v1_users_email_verified_patch_serialize( self, - authorization, + email, + token, _request_auth, _content_type, _headers, @@ -104720,21 +106748,18 @@ def _v1_troubleshooting_filter_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if email is not None: + _path_params['email'] = email # process the query parameters + if token is not None: + + _query_params.append(('token', token)) + # process the header parameters - if authorization is not None: - _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -104743,8 +106768,8 @@ def _v1_troubleshooting_filter_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/troubleshooting/filter', + method='PATCH', + resource_path='/v1/users/{email}/verified', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -104761,9 +106786,10 @@ def _v1_troubleshooting_filter_get_serialize( @validate_call - def v1_troubleshooting_site_connectivity_status_get( + def v1_users_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104776,12 +106802,15 @@ def v1_troubleshooting_site_connectivity_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingSiteConnectivityStatusGetResponse: - """v1_troubleshooting_site_connectivity_status_get + ) -> V1UsersGetResponse: + """v1_users_get + Get user information by user IDs with detailed profile data. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104804,8 +106833,9 @@ def v1_troubleshooting_site_connectivity_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_users_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104813,7 +106843,7 @@ def v1_troubleshooting_site_connectivity_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1UsersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -104827,9 +106857,10 @@ def v1_troubleshooting_site_connectivity_status_get( @validate_call - def v1_troubleshooting_site_connectivity_status_get_with_http_info( + def v1_users_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104842,12 +106873,15 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingSiteConnectivityStatusGetResponse]: - """v1_troubleshooting_site_connectivity_status_get + ) -> ApiResponse[V1UsersGetResponse]: + """v1_users_get + Get user information by user IDs with detailed profile data. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104870,8 +106904,9 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_users_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104879,7 +106914,7 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1UsersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -104893,9 +106928,10 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( @validate_call - def v1_troubleshooting_site_connectivity_status_get_without_preload_content( + def v1_users_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -104909,11 +106945,14 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_site_connectivity_status_get + """v1_users_get + Get user information by user IDs with detailed profile data. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -104936,8 +106975,9 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_users_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104945,7 +106985,7 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1UsersGetResponse", } response_data = self.api_client.call_api( *_param, @@ -104954,9 +106994,10 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( return response_data.response - def _v1_troubleshooting_site_connectivity_status_get_serialize( + def _v1_users_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -104979,6 +107020,10 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -105002,7 +107047,7 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/troubleshooting/site-connectivity-status', + resource_path='/v1/users', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -105019,10 +107064,10 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( @validate_call - def v1_troubleshooting_site_site_id_get( + def v1_users_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105035,14 +107080,15 @@ def v1_troubleshooting_site_site_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingSiteSiteIdGetResponse: - """v1_troubleshooting_site_site_id_get + ) -> None: + """v1_users_id_delete + Delete user account. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105065,9 +107111,9 @@ def v1_troubleshooting_site_site_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_users_id_delete_serialize( authorization=authorization, - site_id=site_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105075,7 +107121,7 @@ def v1_troubleshooting_site_site_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -105089,10 +107135,10 @@ def v1_troubleshooting_site_site_id_get( @validate_call - def v1_troubleshooting_site_site_id_get_with_http_info( + def v1_users_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105105,14 +107151,15 @@ def v1_troubleshooting_site_site_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingSiteSiteIdGetResponse]: - """v1_troubleshooting_site_site_id_get + ) -> ApiResponse[None]: + """v1_users_id_delete + Delete user account. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105135,9 +107182,9 @@ def v1_troubleshooting_site_site_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_users_id_delete_serialize( authorization=authorization, - site_id=site_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105145,7 +107192,7 @@ def v1_troubleshooting_site_site_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -105159,10 +107206,10 @@ def v1_troubleshooting_site_site_id_get_with_http_info( @validate_call - def v1_troubleshooting_site_site_id_get_without_preload_content( + def v1_users_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105176,13 +107223,14 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_site_site_id_get + """v1_users_id_delete + Delete user account. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param id: (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105205,9 +107253,9 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_users_id_delete_serialize( authorization=authorization, - site_id=site_id, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105215,7 +107263,7 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -105224,10 +107272,10 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( return response_data.response - def _v1_troubleshooting_site_site_id_get_serialize( + def _v1_users_id_delete_serialize( self, authorization, - site_id, + id, _request_auth, _content_type, _headers, @@ -105249,8 +107297,8 @@ def _v1_troubleshooting_site_site_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -105259,13 +107307,6 @@ def _v1_troubleshooting_site_site_id_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -105274,8 +107315,8 @@ def _v1_troubleshooting_site_site_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/troubleshooting/site/{siteId}', + method='DELETE', + resource_path='/v1/users/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -105292,10 +107333,10 @@ def _v1_troubleshooting_site_site_id_get_serialize( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post( + def v1_users_id_enterprises_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105308,14 +107349,15 @@ def v1_troubleshooting_top_sites_by_alerts_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingTopSitesByAlertsPostResponse: - """v1_troubleshooting_top_sites_by_alerts_post + ) -> V1UsersIdEnterprisesGetResponse: + """v1_users_id_enterprises_get + Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105338,9 +107380,9 @@ def v1_troubleshooting_top_sites_by_alerts_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_users_id_enterprises_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105348,7 +107390,7 @@ def v1_troubleshooting_top_sites_by_alerts_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1UsersIdEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105362,10 +107404,10 @@ def v1_troubleshooting_top_sites_by_alerts_post( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( + def v1_users_id_enterprises_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105378,14 +107420,15 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingTopSitesByAlertsPostResponse]: - """v1_troubleshooting_top_sites_by_alerts_post + ) -> ApiResponse[V1UsersIdEnterprisesGetResponse]: + """v1_users_id_enterprises_get + Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105408,9 +107451,9 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_users_id_enterprises_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105418,7 +107461,7 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1UsersIdEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105432,10 +107475,10 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( + def v1_users_id_enterprises_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105449,13 +107492,14 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_top_sites_by_alerts_post + """v1_users_id_enterprises_get + Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105478,9 +107522,9 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_users_id_enterprises_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105488,7 +107532,7 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1UsersIdEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105497,10 +107541,10 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( return response_data.response - def _v1_troubleshooting_top_sites_by_alerts_post_serialize( + def _v1_users_id_enterprises_get_serialize( self, authorization, - v1_troubleshooting_top_sites_by_alerts_post_request, + id, _request_auth, _content_type, _headers, @@ -105522,14 +107566,14 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_top_sites_by_alerts_post_request is not None: - _body_params = v1_troubleshooting_top_sites_by_alerts_post_request # set the HTTP header `Accept` @@ -105540,19 +107584,6 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -105560,8 +107591,8 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/top-sites-by-alerts', + method='GET', + resource_path='/v1/users/{id}/enterprises', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -105578,11 +107609,10 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( @validate_call - def v1_users_email_password_patch( + def v1_users_id_groups_enterprises_get( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105595,17 +107625,15 @@ def v1_users_email_password_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_password_patch + ) -> V1UsersIdGroupsEnterprisesGetResponse: + """v1_users_id_groups_enterprises_get - Change password for a user using email and token + Get enterprise-specific groups for a user. - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105628,10 +107656,9 @@ def v1_users_email_password_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105639,10 +107666,7 @@ def v1_users_email_password_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105656,11 +107680,10 @@ def v1_users_email_password_patch( @validate_call - def v1_users_email_password_patch_with_http_info( + def v1_users_id_groups_enterprises_get_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105673,17 +107696,15 @@ def v1_users_email_password_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_password_patch + ) -> ApiResponse[V1UsersIdGroupsEnterprisesGetResponse]: + """v1_users_id_groups_enterprises_get - Change password for a user using email and token + Get enterprise-specific groups for a user. - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105706,10 +107727,9 @@ def v1_users_email_password_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105717,10 +107737,7 @@ def v1_users_email_password_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105734,11 +107751,10 @@ def v1_users_email_password_patch_with_http_info( @validate_call - def v1_users_email_password_patch_without_preload_content( + def v1_users_id_groups_enterprises_get_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105752,16 +107768,14 @@ def v1_users_email_password_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_password_patch + """v1_users_id_groups_enterprises_get - Change password for a user using email and token + Get enterprise-specific groups for a user. - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105784,10 +107798,9 @@ def v1_users_email_password_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105795,10 +107808,7 @@ def v1_users_email_password_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsEnterprisesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105807,11 +107817,10 @@ def v1_users_email_password_patch_without_preload_content( return response_data.response - def _v1_users_email_password_patch_serialize( + def _v1_users_id_groups_enterprises_get_serialize( self, - email, - token, - v1_users_email_password_patch_request, + authorization, + id, _request_auth, _content_type, _headers, @@ -105833,34 +107842,24 @@ def _v1_users_email_password_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email + if id is not None: + _path_params['id'] = id # process the query parameters - if token is not None: - - _query_params.append(('token', token)) - # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_email_password_patch_request is not None: - _body_params = v1_users_email_password_patch_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -105868,8 +107867,8 @@ def _v1_users_email_password_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{email}/password', + method='GET', + resource_path='/v1/users/{id}/groups/enterprises', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -105886,9 +107885,10 @@ def _v1_users_email_password_patch_serialize( @validate_call - def v1_users_email_recovery_get( + def v1_users_id_groups_get( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105901,13 +107901,15 @@ def v1_users_email_recovery_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_recovery_get + ) -> V1UsersIdGroupsGetResponse: + """v1_users_id_groups_get - Send password recovery email to user + Get all groups that a specific user belongs to. - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105930,8 +107932,9 @@ def v1_users_email_recovery_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -105939,9 +107942,7 @@ def v1_users_email_recovery_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1UsersIdGroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -105955,9 +107956,10 @@ def v1_users_email_recovery_get( @validate_call - def v1_users_email_recovery_get_with_http_info( + def v1_users_id_groups_get_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -105970,13 +107972,15 @@ def v1_users_email_recovery_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_recovery_get + ) -> ApiResponse[V1UsersIdGroupsGetResponse]: + """v1_users_id_groups_get - Send password recovery email to user + Get all groups that a specific user belongs to. - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -105999,8 +108003,9 @@ def v1_users_email_recovery_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106008,9 +108013,7 @@ def v1_users_email_recovery_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1UsersIdGroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106024,9 +108027,10 @@ def v1_users_email_recovery_get_with_http_info( @validate_call - def v1_users_email_recovery_get_without_preload_content( + def v1_users_id_groups_get_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106040,12 +108044,14 @@ def v1_users_email_recovery_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_recovery_get + """v1_users_id_groups_get - Send password recovery email to user + Get all groups that a specific user belongs to. - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106068,8 +108074,9 @@ def v1_users_email_recovery_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106077,9 +108084,7 @@ def v1_users_email_recovery_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1UsersIdGroupsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106088,9 +108093,10 @@ def v1_users_email_recovery_get_without_preload_content( return response_data.response - def _v1_users_email_recovery_get_serialize( + def _v1_users_id_groups_get_serialize( self, - email, + authorization, + id, _request_auth, _content_type, _headers, @@ -106112,14 +108118,23 @@ def _v1_users_email_recovery_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -106129,7 +108144,7 @@ def _v1_users_email_recovery_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{email}/recovery', + resource_path='/v1/users/{id}/groups', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106146,10 +108161,10 @@ def _v1_users_email_recovery_get_serialize( @validate_call - def v1_users_email_verified_patch( + def v1_users_id_groups_root_get( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106162,15 +108177,15 @@ def v1_users_email_verified_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_verified_patch + ) -> V1UsersIdGroupsRootGetResponse: + """v1_users_id_groups_root_get - Verify user email using verification token + Get root-level groups for a user. - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106193,9 +108208,9 @@ def v1_users_email_verified_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106203,10 +108218,7 @@ def v1_users_email_verified_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106220,10 +108232,10 @@ def v1_users_email_verified_patch( @validate_call - def v1_users_email_verified_patch_with_http_info( + def v1_users_id_groups_root_get_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106236,15 +108248,15 @@ def v1_users_email_verified_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_verified_patch + ) -> ApiResponse[V1UsersIdGroupsRootGetResponse]: + """v1_users_id_groups_root_get - Verify user email using verification token + Get root-level groups for a user. - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106267,9 +108279,9 @@ def v1_users_email_verified_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106277,10 +108289,7 @@ def v1_users_email_verified_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106294,10 +108303,10 @@ def v1_users_email_verified_patch_with_http_info( @validate_call - def v1_users_email_verified_patch_without_preload_content( + def v1_users_id_groups_root_get_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106311,14 +108320,14 @@ def v1_users_email_verified_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_verified_patch + """v1_users_id_groups_root_get - Verify user email using verification token + Get root-level groups for a user. - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106341,9 +108350,9 @@ def v1_users_email_verified_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106351,10 +108360,7 @@ def v1_users_email_verified_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1UsersIdGroupsRootGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106363,10 +108369,10 @@ def v1_users_email_verified_patch_without_preload_content( return response_data.response - def _v1_users_email_verified_patch_serialize( + def _v1_users_id_groups_root_get_serialize( self, - email, - token, + authorization, + id, _request_auth, _content_type, _headers, @@ -106388,18 +108394,23 @@ def _v1_users_email_verified_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email + if id is not None: + _path_params['id'] = id # process the query parameters - if token is not None: - - _query_params.append(('token', token)) - # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -106408,8 +108419,8 @@ def _v1_users_email_verified_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{email}/verified', + method='GET', + resource_path='/v1/users/{id}/groups/root', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106426,10 +108437,11 @@ def _v1_users_email_verified_patch_serialize( @validate_call - def v1_users_get( + def v1_users_id_verify_patch( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + id: StrictStr, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106442,15 +108454,17 @@ def v1_users_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersGetResponse: - """v1_users_get + ) -> None: + """v1_users_id_verify_patch - Get user information by user IDs with detailed profile data. + Resend account verification email to user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: + :param id: (required) :type id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106473,9 +108487,10 @@ def v1_users_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_users_id_verify_patch_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106483,7 +108498,7 @@ def v1_users_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106497,10 +108512,11 @@ def v1_users_get( @validate_call - def v1_users_get_with_http_info( + def v1_users_id_verify_patch_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + id: StrictStr, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106513,15 +108529,17 @@ def v1_users_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersGetResponse]: - """v1_users_get + ) -> ApiResponse[None]: + """v1_users_id_verify_patch - Get user information by user IDs with detailed profile data. + Resend account verification email to user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: + :param id: (required) :type id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106544,9 +108562,10 @@ def v1_users_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_users_id_verify_patch_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106554,7 +108573,7 @@ def v1_users_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106568,10 +108587,11 @@ def v1_users_get_with_http_info( @validate_call - def v1_users_get_without_preload_content( + def v1_users_id_verify_patch_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + id: StrictStr, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106585,14 +108605,16 @@ def v1_users_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_get + """v1_users_id_verify_patch - Get user information by user IDs with detailed profile data. + Resend account verification email to user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: + :param id: (required) :type id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106615,9 +108637,10 @@ def v1_users_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_users_id_verify_patch_serialize( authorization=authorization, id=id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106625,7 +108648,7 @@ def v1_users_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106634,10 +108657,11 @@ def v1_users_get_without_preload_content( return response_data.response - def _v1_users_get_serialize( + def _v1_users_id_verify_patch_serialize( self, authorization, id, + body, _request_auth, _content_type, _headers, @@ -106659,26 +108683,32 @@ def _v1_users_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - # process the query parameters if id is not None: - - _query_params.append(('id', id)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if body is not None: + _body_params = body - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -106686,8 +108716,8 @@ def _v1_users_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users', + method='PATCH', + resource_path='/v1/users/{id}/verify', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106704,10 +108734,10 @@ def _v1_users_get_serialize( @validate_call - def v1_users_id_delete( + def v1_users_passwords_expire_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106720,15 +108750,15 @@ def v1_users_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_id_delete + ) -> V1UsersPasswordsExpirePostResponse: + """v1_users_passwords_expire_post - Delete user account. + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106751,9 +108781,9 @@ def v1_users_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_users_passwords_expire_post_serialize( authorization=authorization, - id=id, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106761,7 +108791,7 @@ def v1_users_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1UsersPasswordsExpirePostResponse", } response_data = self.api_client.call_api( *_param, @@ -106775,10 +108805,10 @@ def v1_users_id_delete( @validate_call - def v1_users_id_delete_with_http_info( + def v1_users_passwords_expire_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106791,15 +108821,15 @@ def v1_users_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_id_delete + ) -> ApiResponse[V1UsersPasswordsExpirePostResponse]: + """v1_users_passwords_expire_post - Delete user account. + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106822,9 +108852,9 @@ def v1_users_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_users_passwords_expire_post_serialize( authorization=authorization, - id=id, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106832,7 +108862,7 @@ def v1_users_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1UsersPasswordsExpirePostResponse", } response_data = self.api_client.call_api( *_param, @@ -106846,10 +108876,10 @@ def v1_users_id_delete_with_http_info( @validate_call - def v1_users_id_delete_without_preload_content( + def v1_users_passwords_expire_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106863,14 +108893,14 @@ def v1_users_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_delete + """v1_users_passwords_expire_post - Delete user account. + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106893,9 +108923,9 @@ def v1_users_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_users_passwords_expire_post_serialize( authorization=authorization, - id=id, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106903,7 +108933,7 @@ def v1_users_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1UsersPasswordsExpirePostResponse", } response_data = self.api_client.call_api( *_param, @@ -106912,10 +108942,10 @@ def v1_users_id_delete_without_preload_content( return response_data.response - def _v1_users_id_delete_serialize( + def _v1_users_passwords_expire_post_serialize( self, authorization, - id, + v1_users_passwords_expire_post_request, _request_auth, _content_type, _headers, @@ -106937,17 +108967,37 @@ def _v1_users_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_users_passwords_expire_post_request is not None: + _body_params = v1_users_passwords_expire_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -106955,8 +109005,8 @@ def _v1_users_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/users/{id}', + method='POST', + resource_path='/v1/users/passwords/expire', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106973,10 +109023,10 @@ def _v1_users_id_delete_serialize( @validate_call - def v1_users_id_enterprises_get( + def v1_users_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_users_put_request: V1UsersPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106989,15 +109039,15 @@ def v1_users_id_enterprises_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdEnterprisesGetResponse: - """v1_users_id_enterprises_get + ) -> None: + """v1_users_put - Get all enterprises a specific user can access. + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107020,9 +109070,9 @@ def v1_users_id_enterprises_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_users_put_serialize( authorization=authorization, - id=id, + v1_users_put_request=v1_users_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107030,7 +109080,7 @@ def v1_users_id_enterprises_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107044,10 +109094,10 @@ def v1_users_id_enterprises_get( @validate_call - def v1_users_id_enterprises_get_with_http_info( + def v1_users_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_users_put_request: V1UsersPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107060,15 +109110,15 @@ def v1_users_id_enterprises_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdEnterprisesGetResponse]: - """v1_users_id_enterprises_get + ) -> ApiResponse[None]: + """v1_users_put - Get all enterprises a specific user can access. + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107091,9 +109141,9 @@ def v1_users_id_enterprises_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_users_put_serialize( authorization=authorization, - id=id, + v1_users_put_request=v1_users_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107101,7 +109151,7 @@ def v1_users_id_enterprises_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107115,10 +109165,10 @@ def v1_users_id_enterprises_get_with_http_info( @validate_call - def v1_users_id_enterprises_get_without_preload_content( + def v1_users_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_users_put_request: V1UsersPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107132,14 +109182,14 @@ def v1_users_id_enterprises_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_enterprises_get + """v1_users_put - Get all enterprises a specific user can access. + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107162,9 +109212,9 @@ def v1_users_id_enterprises_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_users_put_serialize( authorization=authorization, - id=id, + v1_users_put_request=v1_users_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107172,7 +109222,7 @@ def v1_users_id_enterprises_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107181,10 +109231,10 @@ def v1_users_id_enterprises_get_without_preload_content( return response_data.response - def _v1_users_id_enterprises_get_serialize( + def _v1_users_put_serialize( self, authorization, - id, + v1_users_put_request, _request_auth, _content_type, _headers, @@ -107206,24 +109256,30 @@ def _v1_users_id_enterprises_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_users_put_request is not None: + _body_params = v1_users_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -107231,8 +109287,8 @@ def _v1_users_id_enterprises_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users/{id}/enterprises', + method='PUT', + resource_path='/v1/users', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107249,10 +109305,10 @@ def _v1_users_id_enterprises_get_serialize( @validate_call - def v1_users_id_groups_enterprises_get( + def v1_version_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107265,15 +109321,15 @@ def v1_users_id_groups_enterprises_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsEnterprisesGetResponse: - """v1_users_id_groups_enterprises_get + ) -> V1VersionPostResponse: + """v1_version_post - Get enterprise-specific groups for a user. + Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107296,9 +109352,9 @@ def v1_users_id_groups_enterprises_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_version_post_serialize( authorization=authorization, - id=id, + v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107306,7 +109362,7 @@ def v1_users_id_groups_enterprises_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1VersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -107320,10 +109376,10 @@ def v1_users_id_groups_enterprises_get( @validate_call - def v1_users_id_groups_enterprises_get_with_http_info( + def v1_version_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107336,15 +109392,15 @@ def v1_users_id_groups_enterprises_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsEnterprisesGetResponse]: - """v1_users_id_groups_enterprises_get + ) -> ApiResponse[V1VersionPostResponse]: + """v1_version_post - Get enterprise-specific groups for a user. + Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107367,9 +109423,9 @@ def v1_users_id_groups_enterprises_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_version_post_serialize( authorization=authorization, - id=id, + v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107377,7 +109433,7 @@ def v1_users_id_groups_enterprises_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1VersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -107391,10 +109447,10 @@ def v1_users_id_groups_enterprises_get_with_http_info( @validate_call - def v1_users_id_groups_enterprises_get_without_preload_content( + def v1_version_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107408,14 +109464,14 @@ def v1_users_id_groups_enterprises_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_enterprises_get + """v1_version_post - Get enterprise-specific groups for a user. + Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107438,9 +109494,9 @@ def v1_users_id_groups_enterprises_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_version_post_serialize( authorization=authorization, - id=id, + v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107448,7 +109504,7 @@ def v1_users_id_groups_enterprises_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1VersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -107457,10 +109513,10 @@ def v1_users_id_groups_enterprises_get_without_preload_content( return response_data.response - def _v1_users_id_groups_enterprises_get_serialize( + def _v1_version_post_serialize( self, authorization, - id, + v1_version_post_request, _request_auth, _content_type, _headers, @@ -107482,14 +109538,14 @@ def _v1_users_id_groups_enterprises_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_version_post_request is not None: + _body_params = v1_version_post_request # set the HTTP header `Accept` @@ -107500,6 +109556,19 @@ def _v1_users_id_groups_enterprises_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -107507,8 +109576,8 @@ def _v1_users_id_groups_enterprises_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users/{id}/groups/enterprises', + method='POST', + resource_path='/v1/version', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107525,10 +109594,9 @@ def _v1_users_id_groups_enterprises_get_serialize( @validate_call - def v1_users_id_groups_get( + def v1_zones_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107541,15 +109609,13 @@ def v1_users_id_groups_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsGetResponse: - """v1_users_id_groups_get + ) -> V1ZonesGetResponse: + """v1_zones_get - Get all groups that a specific user belongs to. + Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107572,9 +109638,8 @@ def v1_users_id_groups_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_zones_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107582,7 +109647,7 @@ def v1_users_id_groups_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1ZonesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107596,10 +109661,9 @@ def v1_users_id_groups_get( @validate_call - def v1_users_id_groups_get_with_http_info( + def v1_zones_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107612,15 +109676,13 @@ def v1_users_id_groups_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsGetResponse]: - """v1_users_id_groups_get + ) -> ApiResponse[V1ZonesGetResponse]: + """v1_zones_get - Get all groups that a specific user belongs to. + Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107643,9 +109705,8 @@ def v1_users_id_groups_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_zones_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107653,7 +109714,7 @@ def v1_users_id_groups_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1ZonesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107667,10 +109728,9 @@ def v1_users_id_groups_get_with_http_info( @validate_call - def v1_users_id_groups_get_without_preload_content( + def v1_zones_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107684,14 +109744,12 @@ def v1_users_id_groups_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_get + """v1_zones_get - Get all groups that a specific user belongs to. + Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107714,9 +109772,8 @@ def v1_users_id_groups_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_zones_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107724,7 +109781,7 @@ def v1_users_id_groups_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1ZonesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107733,10 +109790,9 @@ def v1_users_id_groups_get_without_preload_content( return response_data.response - def _v1_users_id_groups_get_serialize( + def _v1_zones_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -107758,8 +109814,6 @@ def _v1_users_id_groups_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -107784,7 +109838,7 @@ def _v1_users_id_groups_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{id}/groups', + resource_path='/v1/zones', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107801,10 +109855,19 @@ def _v1_users_id_groups_get_serialize( @validate_call - def v1_users_id_groups_root_get( + def v1_ztagent_agents_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107817,15 +109880,33 @@ def v1_users_id_groups_root_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsRootGetResponse: - """v1_users_id_groups_root_get + ) -> V1ZtagentAgentsGetResponse: + """v1_ztagent_agents_get - Get root-level groups for a user. + List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107848,9 +109929,18 @@ def v1_users_id_groups_root_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_ztagent_agents_get_serialize( authorization=authorization, - id=id, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107858,7 +109948,7 @@ def v1_users_id_groups_root_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1ZtagentAgentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107872,10 +109962,19 @@ def v1_users_id_groups_root_get( @validate_call - def v1_users_id_groups_root_get_with_http_info( + def v1_ztagent_agents_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107888,15 +109987,33 @@ def v1_users_id_groups_root_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsRootGetResponse]: - """v1_users_id_groups_root_get + ) -> ApiResponse[V1ZtagentAgentsGetResponse]: + """v1_ztagent_agents_get - Get root-level groups for a user. + List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107919,9 +110036,18 @@ def v1_users_id_groups_root_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_ztagent_agents_get_serialize( authorization=authorization, - id=id, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107929,7 +110055,7 @@ def v1_users_id_groups_root_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1ZtagentAgentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107943,10 +110069,19 @@ def v1_users_id_groups_root_get_with_http_info( @validate_call - def v1_users_id_groups_root_get_without_preload_content( + def v1_ztagent_agents_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107960,14 +110095,32 @@ def v1_users_id_groups_root_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_root_get + """v1_ztagent_agents_get - Get root-level groups for a user. + List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107990,9 +110143,18 @@ def v1_users_id_groups_root_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_ztagent_agents_get_serialize( authorization=authorization, - id=id, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108000,7 +110162,7 @@ def v1_users_id_groups_root_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1ZtagentAgentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108009,10 +110171,19 @@ def v1_users_id_groups_root_get_without_preload_content( return response_data.response - def _v1_users_id_groups_root_get_serialize( + def _v1_ztagent_agents_get_serialize( self, authorization, - id, + created_date_end, + created_date_start, + endpoints, + hostname, + limit, + machine_id, + page, + tenant_id, + updated_date_end, + updated_date_start, _request_auth, _content_type, _headers, @@ -108022,6 +110193,7 @@ def _v1_users_id_groups_root_get_serialize( _host = None _collection_formats: Dict[str, str] = { + 'endpoints': 'multi', } _path_params: Dict[str, str] = {} @@ -108034,9 +110206,47 @@ def _v1_users_id_groups_root_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if created_date_end is not None: + + _query_params.append(('createdDateEnd', created_date_end)) + + if created_date_start is not None: + + _query_params.append(('createdDateStart', created_date_start)) + + if endpoints is not None: + + _query_params.append(('endpoints', endpoints)) + + if hostname is not None: + + _query_params.append(('hostname', hostname)) + + if limit is not None: + + _query_params.append(('limit', limit)) + + if machine_id is not None: + + _query_params.append(('machineId', machine_id)) + + if page is not None: + + _query_params.append(('page', page)) + + if tenant_id is not None: + + _query_params.append(('tenantId', tenant_id)) + + if updated_date_end is not None: + + _query_params.append(('updatedDateEnd', updated_date_end)) + + if updated_date_start is not None: + + _query_params.append(('updatedDateStart', updated_date_start)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -108060,7 +110270,7 @@ def _v1_users_id_groups_root_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{id}/groups/root', + resource_path='/v1/ztagent/agents', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108077,11 +110287,10 @@ def _v1_users_id_groups_root_get_serialize( @validate_call - def v1_users_id_verify_patch( + def v1_ztagent_bindings_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108094,17 +110303,15 @@ def v1_users_id_verify_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_id_verify_patch + ) -> V1ZtagentBindingsGetResponse: + """v1_ztagent_bindings_get - Resend account verification email to user. + Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param enterprise_id: + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108127,10 +110334,9 @@ def v1_users_id_verify_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_ztagent_bindings_get_serialize( authorization=authorization, - id=id, - body=body, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108138,7 +110344,7 @@ def v1_users_id_verify_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1ZtagentBindingsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108152,11 +110358,10 @@ def v1_users_id_verify_patch( @validate_call - def v1_users_id_verify_patch_with_http_info( + def v1_ztagent_bindings_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108169,17 +110374,15 @@ def v1_users_id_verify_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_id_verify_patch + ) -> ApiResponse[V1ZtagentBindingsGetResponse]: + """v1_ztagent_bindings_get - Resend account verification email to user. + Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param enterprise_id: + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108202,10 +110405,9 @@ def v1_users_id_verify_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_ztagent_bindings_get_serialize( authorization=authorization, - id=id, - body=body, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108213,7 +110415,7 @@ def v1_users_id_verify_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1ZtagentBindingsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108227,11 +110429,10 @@ def v1_users_id_verify_patch_with_http_info( @validate_call - def v1_users_id_verify_patch_without_preload_content( + def v1_ztagent_bindings_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108245,16 +110446,14 @@ def v1_users_id_verify_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_verify_patch + """v1_ztagent_bindings_get - Resend account verification email to user. + Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param enterprise_id: + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108277,10 +110476,9 @@ def v1_users_id_verify_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_ztagent_bindings_get_serialize( authorization=authorization, - id=id, - body=body, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108288,7 +110486,7 @@ def v1_users_id_verify_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1ZtagentBindingsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108297,11 +110495,10 @@ def v1_users_id_verify_patch_without_preload_content( return response_data.response - def _v1_users_id_verify_patch_serialize( + def _v1_ztagent_bindings_get_serialize( self, authorization, - id, - body, + enterprise_id, _request_auth, _content_type, _headers, @@ -108323,32 +110520,26 @@ def _v1_users_id_verify_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if enterprise_id is not None: + + _query_params.append(('enterpriseId', enterprise_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if body is not None: - _body_params = body - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -108356,8 +110547,8 @@ def _v1_users_id_verify_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{id}/verify', + method='GET', + resource_path='/v1/ztagent/bindings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108374,10 +110565,10 @@ def _v1_users_id_verify_patch_serialize( @validate_call - def v1_users_passwords_expire_post( + def v1_ztagent_bindings_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108390,15 +110581,15 @@ def v1_users_passwords_expire_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersPasswordsExpirePostResponse: - """v1_users_passwords_expire_post + ) -> object: + """v1_ztagent_bindings_put - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param v1_ztagent_bindings_put_request: (required) + :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108421,9 +110612,9 @@ def v1_users_passwords_expire_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_ztagent_bindings_put_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108431,7 +110622,7 @@ def v1_users_passwords_expire_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108445,10 +110636,10 @@ def v1_users_passwords_expire_post( @validate_call - def v1_users_passwords_expire_post_with_http_info( + def v1_ztagent_bindings_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108461,15 +110652,15 @@ def v1_users_passwords_expire_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersPasswordsExpirePostResponse]: - """v1_users_passwords_expire_post + ) -> ApiResponse[object]: + """v1_ztagent_bindings_put - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param v1_ztagent_bindings_put_request: (required) + :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108492,9 +110683,9 @@ def v1_users_passwords_expire_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_ztagent_bindings_put_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108502,7 +110693,7 @@ def v1_users_passwords_expire_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108516,10 +110707,10 @@ def v1_users_passwords_expire_post_with_http_info( @validate_call - def v1_users_passwords_expire_post_without_preload_content( + def v1_ztagent_bindings_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108533,14 +110724,14 @@ def v1_users_passwords_expire_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_passwords_expire_post + """v1_ztagent_bindings_put - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param v1_ztagent_bindings_put_request: (required) + :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108563,9 +110754,9 @@ def v1_users_passwords_expire_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_ztagent_bindings_put_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108573,7 +110764,7 @@ def v1_users_passwords_expire_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108582,10 +110773,10 @@ def v1_users_passwords_expire_post_without_preload_content( return response_data.response - def _v1_users_passwords_expire_post_serialize( + def _v1_ztagent_bindings_put_serialize( self, authorization, - v1_users_passwords_expire_post_request, + v1_ztagent_bindings_put_request, _request_auth, _content_type, _headers, @@ -108613,8 +110804,8 @@ def _v1_users_passwords_expire_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_passwords_expire_post_request is not None: - _body_params = v1_users_passwords_expire_post_request + if v1_ztagent_bindings_put_request is not None: + _body_params = v1_ztagent_bindings_put_request # set the HTTP header `Accept` @@ -108645,8 +110836,8 @@ def _v1_users_passwords_expire_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/users/passwords/expire', + method='PUT', + resource_path='/v1/ztagent/bindings', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108663,10 +110854,10 @@ def _v1_users_passwords_expire_post_serialize( @validate_call - def v1_users_put( + def v2_ack_createupdate_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108679,15 +110870,14 @@ def v1_users_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_put + ) -> object: + """v2_ack_createupdate_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v2_ack_createupdate_post_request: (required) + :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108710,9 +110900,9 @@ def v1_users_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v2_ack_createupdate_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108720,7 +110910,7 @@ def v1_users_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108734,10 +110924,10 @@ def v1_users_put( @validate_call - def v1_users_put_with_http_info( + def v2_ack_createupdate_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108750,15 +110940,14 @@ def v1_users_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_put + ) -> ApiResponse[object]: + """v2_ack_createupdate_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v2_ack_createupdate_post_request: (required) + :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108781,9 +110970,9 @@ def v1_users_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v2_ack_createupdate_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108791,7 +110980,7 @@ def v1_users_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108805,10 +110994,10 @@ def v1_users_put_with_http_info( @validate_call - def v1_users_put_without_preload_content( + def v2_ack_createupdate_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108822,14 +111011,13 @@ def v1_users_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_put + """v2_ack_createupdate_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v2_ack_createupdate_post_request: (required) + :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108852,9 +111040,9 @@ def v1_users_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v2_ack_createupdate_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108862,7 +111050,7 @@ def v1_users_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -108871,10 +111059,10 @@ def v1_users_put_without_preload_content( return response_data.response - def _v1_users_put_serialize( + def _v2_ack_createupdate_post_serialize( self, authorization, - v1_users_put_request, + v2_ack_createupdate_post_request, _request_auth, _content_type, _headers, @@ -108902,10 +111090,17 @@ def _v1_users_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_put_request is not None: - _body_params = v1_users_put_request + if v2_ack_createupdate_post_request is not None: + _body_params = v2_ack_createupdate_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -108927,8 +111122,8 @@ def _v1_users_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/users', + method='POST', + resource_path='/v2/ack/createupdate', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108945,10 +111140,10 @@ def _v1_users_put_serialize( @validate_call - def v1_version_post( + def v2_aggregated_notification_enable_disable_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108961,15 +111156,14 @@ def v1_version_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VersionPostResponse: - """v1_version_post + ) -> object: + """v2_aggregated_notification_enable_disable_post - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108992,9 +111186,9 @@ def v1_version_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v2_aggregated_notification_enable_disable_post_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109002,7 +111196,7 @@ def v1_version_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -109016,10 +111210,10 @@ def v1_version_post( @validate_call - def v1_version_post_with_http_info( + def v2_aggregated_notification_enable_disable_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109032,15 +111226,14 @@ def v1_version_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1VersionPostResponse]: - """v1_version_post + ) -> ApiResponse[object]: + """v2_aggregated_notification_enable_disable_post - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109063,9 +111256,9 @@ def v1_version_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v2_aggregated_notification_enable_disable_post_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109073,7 +111266,7 @@ def v1_version_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -109087,10 +111280,10 @@ def v1_version_post_with_http_info( @validate_call - def v1_version_post_without_preload_content( + def v2_aggregated_notification_enable_disable_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109104,14 +111297,13 @@ def v1_version_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_version_post + """v2_aggregated_notification_enable_disable_post - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109134,9 +111326,9 @@ def v1_version_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v2_aggregated_notification_enable_disable_post_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109144,7 +111336,7 @@ def v1_version_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -109153,10 +111345,10 @@ def v1_version_post_without_preload_content( return response_data.response - def _v1_version_post_serialize( + def _v2_aggregated_notification_enable_disable_post_serialize( self, authorization, - v1_version_post_request, + v2_aggregated_notification_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -109184,8 +111376,8 @@ def _v1_version_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_version_post_request is not None: - _body_params = v1_version_post_request + if v2_aggregated_notification_enable_disable_post_request is not None: + _body_params = v2_aggregated_notification_enable_disable_post_request # set the HTTP header `Accept` @@ -109217,7 +111409,7 @@ def _v1_version_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/version', + resource_path='/v2/aggregated-notification/enable-disable', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109234,7 +111426,7 @@ def _v1_version_post_serialize( @validate_call - def v1_zones_get( + def v2_aggregated_notification_get_state_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -109249,10 +111441,9 @@ def v1_zones_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ZonesGetResponse: - """v1_zones_get + ) -> V2AggregatedNotificationGetStateGetResponse: + """v2_aggregated_notification_get_state_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -109278,7 +111469,7 @@ def v1_zones_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -109287,7 +111478,7 @@ def v1_zones_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109301,7 +111492,7 @@ def v1_zones_get( @validate_call - def v1_zones_get_with_http_info( + def v2_aggregated_notification_get_state_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -109316,10 +111507,9 @@ def v1_zones_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ZonesGetResponse]: - """v1_zones_get + ) -> ApiResponse[V2AggregatedNotificationGetStateGetResponse]: + """v2_aggregated_notification_get_state_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -109345,7 +111535,7 @@ def v1_zones_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -109354,7 +111544,7 @@ def v1_zones_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109368,7 +111558,7 @@ def v1_zones_get_with_http_info( @validate_call - def v1_zones_get_without_preload_content( + def v2_aggregated_notification_get_state_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -109384,9 +111574,8 @@ def v1_zones_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_zones_get + """v2_aggregated_notification_get_state_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -109412,7 +111601,7 @@ def v1_zones_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -109421,7 +111610,7 @@ def v1_zones_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109430,7 +111619,7 @@ def v1_zones_get_without_preload_content( return response_data.response - def _v1_zones_get_serialize( + def _v2_aggregated_notification_get_state_get_serialize( self, authorization, _request_auth, @@ -109478,7 +111667,7 @@ def _v1_zones_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/zones', + resource_path='/v2/aggregated-notification/get-state', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109495,10 +111684,9 @@ def _v1_zones_get_serialize( @validate_call - def v1_ztagent_bindings_get( + def v2_allowlist_by_enterprise_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109511,15 +111699,12 @@ def v1_ztagent_bindings_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ZtagentBindingsGetResponse: - """v1_ztagent_bindings_get + ) -> V2AllowlistByEnterpriseGetResponse: + """v2_allowlist_by_enterprise_get - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109542,9 +111727,8 @@ def v1_ztagent_bindings_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109552,7 +111736,7 @@ def v1_ztagent_bindings_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109566,10 +111750,9 @@ def v1_ztagent_bindings_get( @validate_call - def v1_ztagent_bindings_get_with_http_info( + def v2_allowlist_by_enterprise_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109582,15 +111765,12 @@ def v1_ztagent_bindings_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ZtagentBindingsGetResponse]: - """v1_ztagent_bindings_get + ) -> ApiResponse[V2AllowlistByEnterpriseGetResponse]: + """v2_allowlist_by_enterprise_get - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109613,9 +111793,8 @@ def v1_ztagent_bindings_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109623,7 +111802,7 @@ def v1_ztagent_bindings_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109637,10 +111816,9 @@ def v1_ztagent_bindings_get_with_http_info( @validate_call - def v1_ztagent_bindings_get_without_preload_content( + def v2_allowlist_by_enterprise_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109654,14 +111832,11 @@ def v1_ztagent_bindings_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_ztagent_bindings_get + """v2_allowlist_by_enterprise_get - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109684,9 +111859,8 @@ def v1_ztagent_bindings_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, - enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109694,7 +111868,7 @@ def v1_ztagent_bindings_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109703,10 +111877,9 @@ def v1_ztagent_bindings_get_without_preload_content( return response_data.response - def _v1_ztagent_bindings_get_serialize( + def _v2_allowlist_by_enterprise_get_serialize( self, authorization, - enterprise_id, _request_auth, _content_type, _headers, @@ -109729,10 +111902,6 @@ def _v1_ztagent_bindings_get_serialize( # process the path parameters # process the query parameters - if enterprise_id is not None: - - _query_params.append(('enterpriseId', enterprise_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -109756,7 +111925,7 @@ def _v1_ztagent_bindings_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/ztagent/bindings', + resource_path='/v2/allowlist-by-enterprise', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109773,10 +111942,10 @@ def _v1_ztagent_bindings_get_serialize( @validate_call - def v1_ztagent_bindings_put( + def v2_allowlist_create_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109790,14 +111959,13 @@ def v1_ztagent_bindings_put( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_ztagent_bindings_put + """v2_allowlist_create_post - Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_ztagent_bindings_put_request: (required) - :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109820,9 +111988,9 @@ def v1_ztagent_bindings_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_put_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, - v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109844,10 +112012,10 @@ def v1_ztagent_bindings_put( @validate_call - def v1_ztagent_bindings_put_with_http_info( + def v2_allowlist_create_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109861,14 +112029,13 @@ def v1_ztagent_bindings_put_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_ztagent_bindings_put + """v2_allowlist_create_post - Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_ztagent_bindings_put_request: (required) - :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109891,9 +112058,9 @@ def v1_ztagent_bindings_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_put_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, - v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109915,10 +112082,10 @@ def v1_ztagent_bindings_put_with_http_info( @validate_call - def v1_ztagent_bindings_put_without_preload_content( + def v2_allowlist_create_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109932,14 +112099,13 @@ def v1_ztagent_bindings_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_ztagent_bindings_put + """v2_allowlist_create_post - Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_ztagent_bindings_put_request: (required) - :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109962,9 +112128,9 @@ def v1_ztagent_bindings_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_put_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, - v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109981,10 +112147,10 @@ def v1_ztagent_bindings_put_without_preload_content( return response_data.response - def _v1_ztagent_bindings_put_serialize( + def _v2_allowlist_create_post_serialize( self, authorization, - v1_ztagent_bindings_put_request, + v2_allowlist_create_post_request, _request_auth, _content_type, _headers, @@ -110012,8 +112178,8 @@ def _v1_ztagent_bindings_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_ztagent_bindings_put_request is not None: - _body_params = v1_ztagent_bindings_put_request + if v2_allowlist_create_post_request is not None: + _body_params = v2_allowlist_create_post_request # set the HTTP header `Accept` @@ -110044,8 +112210,8 @@ def _v1_ztagent_bindings_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/ztagent/bindings', + method='POST', + resource_path='/v2/allowlist/create', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110062,10 +112228,10 @@ def _v1_ztagent_bindings_put_serialize( @validate_call - def v2_ack_createupdate_post( + def v2_allowlist_deletebyalertid_alert_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110079,13 +112245,13 @@ def v2_ack_createupdate_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_ack_createupdate_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_ack_createupdate_post_request: (required) - :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110108,9 +112274,9 @@ def v2_ack_createupdate_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_ack_createupdate_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110132,10 +112298,10 @@ def v2_ack_createupdate_post( @validate_call - def v2_ack_createupdate_post_with_http_info( + def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110149,13 +112315,13 @@ def v2_ack_createupdate_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_ack_createupdate_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_ack_createupdate_post_request: (required) - :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110178,9 +112344,9 @@ def v2_ack_createupdate_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_ack_createupdate_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110202,10 +112368,10 @@ def v2_ack_createupdate_post_with_http_info( @validate_call - def v2_ack_createupdate_post_without_preload_content( + def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110219,13 +112385,13 @@ def v2_ack_createupdate_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_ack_createupdate_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_ack_createupdate_post_request: (required) - :type v2_ack_createupdate_post_request: V2AckCreateupdatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110248,9 +112414,9 @@ def v2_ack_createupdate_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_ack_createupdate_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110267,10 +112433,10 @@ def v2_ack_createupdate_post_without_preload_content( return response_data.response - def _v2_ack_createupdate_post_serialize( + def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( self, authorization, - v2_ack_createupdate_post_request, + alert_id, _request_auth, _content_type, _headers, @@ -110292,14 +112458,14 @@ def _v2_ack_createupdate_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_ack_createupdate_post_request is not None: - _body_params = v2_ack_createupdate_post_request # set the HTTP header `Accept` @@ -110310,19 +112476,6 @@ def _v2_ack_createupdate_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -110330,8 +112483,8 @@ def _v2_ack_createupdate_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/ack/createupdate', + method='DELETE', + resource_path='/v2/allowlist/deletebyalertid/{alertId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110348,10 +112501,10 @@ def _v2_ack_createupdate_post_serialize( @validate_call - def v2_aggregated_notification_enable_disable_post( + def v2_allowlist_deletebyentityid_entity_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110365,13 +112518,13 @@ def v2_aggregated_notification_enable_disable_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_aggregated_notification_enable_disable_post + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110394,9 +112547,9 @@ def v2_aggregated_notification_enable_disable_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110418,10 +112571,10 @@ def v2_aggregated_notification_enable_disable_post( @validate_call - def v2_aggregated_notification_enable_disable_post_with_http_info( + def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110435,13 +112588,13 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_aggregated_notification_enable_disable_post + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110464,9 +112617,9 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110488,10 +112641,10 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( @validate_call - def v2_aggregated_notification_enable_disable_post_without_preload_content( + def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110505,13 +112658,13 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_aggregated_notification_enable_disable_post + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110534,9 +112687,9 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110553,10 +112706,10 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( return response_data.response - def _v2_aggregated_notification_enable_disable_post_serialize( + def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( self, authorization, - v2_aggregated_notification_enable_disable_post_request, + entity_id, _request_auth, _content_type, _headers, @@ -110578,14 +112731,14 @@ def _v2_aggregated_notification_enable_disable_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if entity_id is not None: + _path_params['entityId'] = entity_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_aggregated_notification_enable_disable_post_request is not None: - _body_params = v2_aggregated_notification_enable_disable_post_request # set the HTTP header `Accept` @@ -110596,19 +112749,6 @@ def _v2_aggregated_notification_enable_disable_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -110616,8 +112756,8 @@ def _v2_aggregated_notification_enable_disable_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/aggregated-notification/enable-disable', + method='DELETE', + resource_path='/v2/allowlist/deletebyentityid/{entityId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110634,9 +112774,10 @@ def _v2_aggregated_notification_enable_disable_post_serialize( @validate_call - def v2_aggregated_notification_get_state_get( + def v2_allowlist_rule_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110649,12 +112790,14 @@ def v2_aggregated_notification_get_state_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AggregatedNotificationGetStateGetResponse: - """v2_aggregated_notification_get_state_get + ) -> V2AllowlistRuleIdGetResponse: + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110677,8 +112820,9 @@ def v2_aggregated_notification_get_state_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110686,7 +112830,7 @@ def v2_aggregated_notification_get_state_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110700,9 +112844,10 @@ def v2_aggregated_notification_get_state_get( @validate_call - def v2_aggregated_notification_get_state_get_with_http_info( + def v2_allowlist_rule_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110715,12 +112860,14 @@ def v2_aggregated_notification_get_state_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AggregatedNotificationGetStateGetResponse]: - """v2_aggregated_notification_get_state_get + ) -> ApiResponse[V2AllowlistRuleIdGetResponse]: + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110743,8 +112890,9 @@ def v2_aggregated_notification_get_state_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110752,7 +112900,7 @@ def v2_aggregated_notification_get_state_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110766,9 +112914,10 @@ def v2_aggregated_notification_get_state_get_with_http_info( @validate_call - def v2_aggregated_notification_get_state_get_without_preload_content( + def v2_allowlist_rule_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110782,11 +112931,13 @@ def v2_aggregated_notification_get_state_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_aggregated_notification_get_state_get + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110809,8 +112960,9 @@ def v2_aggregated_notification_get_state_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110818,7 +112970,7 @@ def v2_aggregated_notification_get_state_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110827,9 +112979,10 @@ def v2_aggregated_notification_get_state_get_without_preload_content( return response_data.response - def _v2_aggregated_notification_get_state_get_serialize( + def _v2_allowlist_rule_id_get_serialize( self, authorization, + rule_id, _request_auth, _content_type, _headers, @@ -110851,6 +113004,8 @@ def _v2_aggregated_notification_get_state_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if rule_id is not None: + _path_params['ruleId'] = rule_id # process the query parameters # process the header parameters if authorization is not None: @@ -110875,7 +113030,7 @@ def _v2_aggregated_notification_get_state_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/aggregated-notification/get-state', + resource_path='/v2/allowlist/{ruleId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110892,9 +113047,10 @@ def _v2_aggregated_notification_get_state_get_serialize( @validate_call - def v2_allowlist_by_enterprise_get( + def v2_assistant_add_to_conversation_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110907,12 +113063,14 @@ def v2_allowlist_by_enterprise_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AllowlistByEnterpriseGetResponse: - """v2_allowlist_by_enterprise_get + ) -> V2AssistantAddToConversationPostResponse: + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110935,8 +113093,9 @@ def v2_allowlist_by_enterprise_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110944,7 +113103,7 @@ def v2_allowlist_by_enterprise_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -110958,9 +113117,10 @@ def v2_allowlist_by_enterprise_get( @validate_call - def v2_allowlist_by_enterprise_get_with_http_info( + def v2_assistant_add_to_conversation_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110973,12 +113133,14 @@ def v2_allowlist_by_enterprise_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AllowlistByEnterpriseGetResponse]: - """v2_allowlist_by_enterprise_get + ) -> ApiResponse[V2AssistantAddToConversationPostResponse]: + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111001,8 +113163,9 @@ def v2_allowlist_by_enterprise_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111010,7 +113173,7 @@ def v2_allowlist_by_enterprise_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -111024,9 +113187,10 @@ def v2_allowlist_by_enterprise_get_with_http_info( @validate_call - def v2_allowlist_by_enterprise_get_without_preload_content( + def v2_assistant_add_to_conversation_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111040,11 +113204,13 @@ def v2_allowlist_by_enterprise_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_by_enterprise_get + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111067,8 +113233,9 @@ def v2_allowlist_by_enterprise_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111076,7 +113243,7 @@ def v2_allowlist_by_enterprise_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -111085,9 +113252,10 @@ def v2_allowlist_by_enterprise_get_without_preload_content( return response_data.response - def _v2_allowlist_by_enterprise_get_serialize( + def _v2_assistant_add_to_conversation_post_serialize( self, authorization, + v2_assistant_add_to_conversation_post_request, _request_auth, _content_type, _headers, @@ -111115,6 +113283,8 @@ def _v2_allowlist_by_enterprise_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assistant_add_to_conversation_post_request is not None: + _body_params = v2_assistant_add_to_conversation_post_request # set the HTTP header `Accept` @@ -111125,6 +113295,19 @@ def _v2_allowlist_by_enterprise_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -111132,8 +113315,8 @@ def _v2_allowlist_by_enterprise_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/allowlist-by-enterprise', + method='POST', + resource_path='/v2/assistant/add-to-conversation', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111150,10 +113333,10 @@ def _v2_allowlist_by_enterprise_get_serialize( @validate_call - def v2_allowlist_create_post( + def v2_assistant_conversation_context_history_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111167,13 +113350,13 @@ def v2_allowlist_create_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_allowlist_create_post + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111196,9 +113379,9 @@ def v2_allowlist_create_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111220,10 +113403,10 @@ def v2_allowlist_create_post( @validate_call - def v2_allowlist_create_post_with_http_info( + def v2_assistant_conversation_context_history_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111237,13 +113420,13 @@ def v2_allowlist_create_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_allowlist_create_post + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111266,9 +113449,9 @@ def v2_allowlist_create_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111290,10 +113473,10 @@ def v2_allowlist_create_post_with_http_info( @validate_call - def v2_allowlist_create_post_without_preload_content( + def v2_assistant_conversation_context_history_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111307,13 +113490,13 @@ def v2_allowlist_create_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_create_post + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111336,9 +113519,9 @@ def v2_allowlist_create_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111355,10 +113538,10 @@ def v2_allowlist_create_post_without_preload_content( return response_data.response - def _v2_allowlist_create_post_serialize( + def _v2_assistant_conversation_context_history_post_serialize( self, authorization, - v2_allowlist_create_post_request, + v2_assistant_conversation_context_history_post_request, _request_auth, _content_type, _headers, @@ -111386,8 +113569,8 @@ def _v2_allowlist_create_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_allowlist_create_post_request is not None: - _body_params = v2_allowlist_create_post_request + if v2_assistant_conversation_context_history_post_request is not None: + _body_params = v2_assistant_conversation_context_history_post_request # set the HTTP header `Accept` @@ -111419,7 +113602,7 @@ def _v2_allowlist_create_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/allowlist/create', + resource_path='/v2/assistant/conversation-context-history/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111436,10 +113619,10 @@ def _v2_allowlist_create_post_serialize( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete( + def v2_assistant_conversation_interface_enable_disable_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111453,13 +113636,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111482,9 +113665,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - alert_id=alert_id, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111506,10 +113689,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( + def v2_assistant_conversation_interface_enable_disable_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111523,13 +113706,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111552,9 +113735,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - alert_id=alert_id, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111576,10 +113759,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( + def v2_assistant_conversation_interface_enable_disable_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111593,13 +113776,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111622,9 +113805,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - alert_id=alert_id, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111641,10 +113824,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( return response_data.response - def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( + def _v2_assistant_conversation_interface_enable_disable_post_serialize( self, authorization, - alert_id, + v2_assistant_conversation_interface_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -111666,14 +113849,14 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if alert_id is not None: - _path_params['alertId'] = alert_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assistant_conversation_interface_enable_disable_post_request is not None: + _body_params = v2_assistant_conversation_interface_enable_disable_post_request # set the HTTP header `Accept` @@ -111684,6 +113867,19 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -111691,8 +113887,8 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/allowlist/deletebyalertid/{alertId}', + method='POST', + resource_path='/v2/assistant/conversation-interface-enable-disable/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111709,10 +113905,9 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete( + def v2_assistant_conversation_interface_state_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111725,14 +113920,12 @@ def v2_allowlist_deletebyentityid_entity_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_allowlist_deletebyentityid_entity_id_delete + ) -> V2AssistantConversationInterfaceStateGetResponse: + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111755,9 +113948,8 @@ def v2_allowlist_deletebyentityid_entity_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111765,7 +113957,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111779,10 +113971,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( + def v2_assistant_conversation_interface_state_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111795,14 +113986,12 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_allowlist_deletebyentityid_entity_id_delete + ) -> ApiResponse[V2AssistantConversationInterfaceStateGetResponse]: + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111825,9 +114014,8 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111835,7 +114023,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111849,10 +114037,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( + def v2_assistant_conversation_interface_state_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111866,13 +114053,11 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_deletebyentityid_entity_id_delete + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111895,9 +114080,8 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111905,7 +114089,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111914,10 +114098,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( return response_data.response - def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( + def _v2_assistant_conversation_interface_state_get_serialize( self, authorization, - entity_id, _request_auth, _content_type, _headers, @@ -111939,8 +114122,6 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if entity_id is not None: - _path_params['entityId'] = entity_id # process the query parameters # process the header parameters if authorization is not None: @@ -111964,8 +114145,8 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/allowlist/deletebyentityid/{entityId}', + method='GET', + resource_path='/v2/assistant/conversation-interface-state/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111982,10 +114163,10 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( @validate_call - def v2_allowlist_rule_id_get( + def v2_assistant_delete_conversation_chat_conversation_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111998,14 +114179,14 @@ def v2_allowlist_rule_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AllowlistRuleIdGetResponse: - """v2_allowlist_rule_id_get + ) -> object: + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112028,9 +114209,9 @@ def v2_allowlist_rule_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, - rule_id=rule_id, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112038,7 +114219,7 @@ def v2_allowlist_rule_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -112052,10 +114233,10 @@ def v2_allowlist_rule_id_get( @validate_call - def v2_allowlist_rule_id_get_with_http_info( + def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112068,14 +114249,14 @@ def v2_allowlist_rule_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AllowlistRuleIdGetResponse]: - """v2_allowlist_rule_id_get + ) -> ApiResponse[object]: + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112098,9 +114279,9 @@ def v2_allowlist_rule_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, - rule_id=rule_id, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112108,7 +114289,7 @@ def v2_allowlist_rule_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -112122,10 +114303,10 @@ def v2_allowlist_rule_id_get_with_http_info( @validate_call - def v2_allowlist_rule_id_get_without_preload_content( + def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112139,13 +114320,13 @@ def v2_allowlist_rule_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_rule_id_get + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112168,9 +114349,9 @@ def v2_allowlist_rule_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, - rule_id=rule_id, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112178,7 +114359,7 @@ def v2_allowlist_rule_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -112187,10 +114368,10 @@ def v2_allowlist_rule_id_get_without_preload_content( return response_data.response - def _v2_allowlist_rule_id_get_serialize( + def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( self, authorization, - rule_id, + conversation_id, _request_auth, _content_type, _headers, @@ -112212,8 +114393,8 @@ def _v2_allowlist_rule_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if rule_id is not None: - _path_params['ruleId'] = rule_id + if conversation_id is not None: + _path_params['conversationId'] = conversation_id # process the query parameters # process the header parameters if authorization is not None: @@ -112237,8 +114418,8 @@ def _v2_allowlist_rule_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/allowlist/{ruleId}', + method='DELETE', + resource_path='/v2/assistant/delete-conversation-chat/{conversationId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112255,10 +114436,10 @@ def _v2_allowlist_rule_id_get_serialize( @validate_call - def v2_assistant_add_to_conversation_post( + def v2_assistant_get_conversation_details_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112271,14 +114452,14 @@ def v2_assistant_add_to_conversation_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantAddToConversationPostResponse: - """v2_assistant_add_to_conversation_post + ) -> V2AssistantGetConversationDetailsPostResponse: + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112301,9 +114482,9 @@ def v2_assistant_add_to_conversation_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112311,7 +114492,7 @@ def v2_assistant_add_to_conversation_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112325,10 +114506,10 @@ def v2_assistant_add_to_conversation_post( @validate_call - def v2_assistant_add_to_conversation_post_with_http_info( + def v2_assistant_get_conversation_details_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112341,14 +114522,14 @@ def v2_assistant_add_to_conversation_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantAddToConversationPostResponse]: - """v2_assistant_add_to_conversation_post + ) -> ApiResponse[V2AssistantGetConversationDetailsPostResponse]: + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112371,9 +114552,9 @@ def v2_assistant_add_to_conversation_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112381,7 +114562,7 @@ def v2_assistant_add_to_conversation_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112395,10 +114576,10 @@ def v2_assistant_add_to_conversation_post_with_http_info( @validate_call - def v2_assistant_add_to_conversation_post_without_preload_content( + def v2_assistant_get_conversation_details_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112412,13 +114593,13 @@ def v2_assistant_add_to_conversation_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_add_to_conversation_post + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112441,9 +114622,9 @@ def v2_assistant_add_to_conversation_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112451,7 +114632,7 @@ def v2_assistant_add_to_conversation_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112460,10 +114641,10 @@ def v2_assistant_add_to_conversation_post_without_preload_content( return response_data.response - def _v2_assistant_add_to_conversation_post_serialize( + def _v2_assistant_get_conversation_details_post_serialize( self, authorization, - v2_assistant_add_to_conversation_post_request, + v2_assistant_get_conversation_details_post_request, _request_auth, _content_type, _headers, @@ -112491,8 +114672,8 @@ def _v2_assistant_add_to_conversation_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_add_to_conversation_post_request is not None: - _body_params = v2_assistant_add_to_conversation_post_request + if v2_assistant_get_conversation_details_post_request is not None: + _body_params = v2_assistant_get_conversation_details_post_request # set the HTTP header `Accept` @@ -112524,7 +114705,7 @@ def _v2_assistant_add_to_conversation_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/add-to-conversation', + resource_path='/v2/assistant/get-conversation-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112541,10 +114722,10 @@ def _v2_assistant_add_to_conversation_post_serialize( @validate_call - def v2_assistant_conversation_context_history_post( + def v2_assistant_get_conversations_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112557,14 +114738,14 @@ def v2_assistant_conversation_context_history_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_conversation_context_history_post + ) -> V2AssistantGetConversationsPostResponse: + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112587,9 +114768,9 @@ def v2_assistant_conversation_context_history_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112597,7 +114778,7 @@ def v2_assistant_conversation_context_history_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112611,10 +114792,10 @@ def v2_assistant_conversation_context_history_post( @validate_call - def v2_assistant_conversation_context_history_post_with_http_info( + def v2_assistant_get_conversations_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112627,14 +114808,14 @@ def v2_assistant_conversation_context_history_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_conversation_context_history_post + ) -> ApiResponse[V2AssistantGetConversationsPostResponse]: + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112657,9 +114838,9 @@ def v2_assistant_conversation_context_history_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112667,7 +114848,7 @@ def v2_assistant_conversation_context_history_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112681,10 +114862,10 @@ def v2_assistant_conversation_context_history_post_with_http_info( @validate_call - def v2_assistant_conversation_context_history_post_without_preload_content( + def v2_assistant_get_conversations_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112698,13 +114879,13 @@ def v2_assistant_conversation_context_history_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_context_history_post + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112727,9 +114908,9 @@ def v2_assistant_conversation_context_history_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112737,7 +114918,7 @@ def v2_assistant_conversation_context_history_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112746,10 +114927,10 @@ def v2_assistant_conversation_context_history_post_without_preload_content( return response_data.response - def _v2_assistant_conversation_context_history_post_serialize( + def _v2_assistant_get_conversations_post_serialize( self, authorization, - v2_assistant_conversation_context_history_post_request, + v2_assistant_get_conversations_post_request, _request_auth, _content_type, _headers, @@ -112777,8 +114958,8 @@ def _v2_assistant_conversation_context_history_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_conversation_context_history_post_request is not None: - _body_params = v2_assistant_conversation_context_history_post_request + if v2_assistant_get_conversations_post_request is not None: + _body_params = v2_assistant_get_conversations_post_request # set the HTTP header `Accept` @@ -112810,7 +114991,7 @@ def _v2_assistant_conversation_context_history_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/conversation-context-history/', + resource_path='/v2/assistant/get-conversations', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112827,10 +115008,10 @@ def _v2_assistant_conversation_context_history_post_serialize( @validate_call - def v2_assistant_conversation_interface_enable_disable_post( + def v2_assistant_update_conversation_name_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112844,13 +115025,13 @@ def v2_assistant_conversation_interface_enable_disable_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assistant_conversation_interface_enable_disable_post + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112873,9 +115054,9 @@ def v2_assistant_conversation_interface_enable_disable_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112897,10 +115078,10 @@ def v2_assistant_conversation_interface_enable_disable_post( @validate_call - def v2_assistant_conversation_interface_enable_disable_post_with_http_info( + def v2_assistant_update_conversation_name_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112914,13 +115095,13 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assistant_conversation_interface_enable_disable_post + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112943,9 +115124,9 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112967,10 +115148,10 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( @validate_call - def v2_assistant_conversation_interface_enable_disable_post_without_preload_content( + def v2_assistant_update_conversation_name_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112984,13 +115165,13 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_interface_enable_disable_post + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113013,9 +115194,9 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113032,10 +115213,10 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont return response_data.response - def _v2_assistant_conversation_interface_enable_disable_post_serialize( + def _v2_assistant_update_conversation_name_post_serialize( self, authorization, - v2_assistant_conversation_interface_enable_disable_post_request, + v2_assistant_update_conversation_name_post_request, _request_auth, _content_type, _headers, @@ -113063,8 +115244,8 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_conversation_interface_enable_disable_post_request is not None: - _body_params = v2_assistant_conversation_interface_enable_disable_post_request + if v2_assistant_update_conversation_name_post_request is not None: + _body_params = v2_assistant_update_conversation_name_post_request # set the HTTP header `Accept` @@ -113096,7 +115277,7 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/conversation-interface-enable-disable/', + resource_path='/v2/assistant/update-conversation-name', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113113,9 +115294,10 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( @validate_call - def v2_assistant_conversation_interface_state_get( + def v2_assistant_version_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113128,12 +115310,14 @@ def v2_assistant_conversation_interface_state_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantConversationInterfaceStateGetResponse: - """v2_assistant_conversation_interface_state_get + ) -> V2AssistantVersionPostResponse: + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113156,8 +115340,9 @@ def v2_assistant_conversation_interface_state_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113165,7 +115350,7 @@ def v2_assistant_conversation_interface_state_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113179,9 +115364,10 @@ def v2_assistant_conversation_interface_state_get( @validate_call - def v2_assistant_conversation_interface_state_get_with_http_info( + def v2_assistant_version_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113194,12 +115380,14 @@ def v2_assistant_conversation_interface_state_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantConversationInterfaceStateGetResponse]: - """v2_assistant_conversation_interface_state_get + ) -> ApiResponse[V2AssistantVersionPostResponse]: + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113222,8 +115410,9 @@ def v2_assistant_conversation_interface_state_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113231,7 +115420,7 @@ def v2_assistant_conversation_interface_state_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113245,9 +115434,10 @@ def v2_assistant_conversation_interface_state_get_with_http_info( @validate_call - def v2_assistant_conversation_interface_state_get_without_preload_content( + def v2_assistant_version_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113261,11 +115451,13 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_interface_state_get + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113288,8 +115480,9 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113297,7 +115490,7 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113306,9 +115499,10 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( return response_data.response - def _v2_assistant_conversation_interface_state_get_serialize( + def _v2_assistant_version_post_serialize( self, authorization, + body, _request_auth, _content_type, _headers, @@ -113336,6 +115530,8 @@ def _v2_assistant_conversation_interface_state_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -113346,6 +115542,19 @@ def _v2_assistant_conversation_interface_state_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -113353,8 +115562,8 @@ def _v2_assistant_conversation_interface_state_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/assistant/conversation-interface-state/', + method='POST', + resource_path='/v2/assistant/version', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113371,10 +115580,10 @@ def _v2_assistant_conversation_interface_state_get_serialize( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete( + def v2_assurance_ai_adoption_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113387,14 +115596,14 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_delete_conversation_chat_conversation_id_delete + ) -> V2AssuranceAiAdoptionSummaryPostResponse: + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113417,9 +115626,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113427,7 +115636,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113441,10 +115650,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( + def v2_assurance_ai_adoption_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113457,14 +115666,14 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_delete_conversation_chat_conversation_id_delete + ) -> ApiResponse[V2AssuranceAiAdoptionSummaryPostResponse]: + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113487,9 +115696,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113497,7 +115706,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113511,10 +115720,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload_content( + def v2_assurance_ai_adoption_summary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113528,13 +115737,13 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_delete_conversation_chat_conversation_id_delete + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113557,9 +115766,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113567,7 +115776,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113576,10 +115785,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload return response_data.response - def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + def _v2_assurance_ai_adoption_summary_post_serialize( self, authorization, - conversation_id, + v2_assurance_ai_adoption_summary_post_request, _request_auth, _content_type, _headers, @@ -113601,14 +115810,14 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if conversation_id is not None: - _path_params['conversationId'] = conversation_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assurance_ai_adoption_summary_post_request is not None: + _body_params = v2_assurance_ai_adoption_summary_post_request # set the HTTP header `Accept` @@ -113619,6 +115828,19 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -113626,8 +115848,8 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/assistant/delete-conversation-chat/{conversationId}', + method='POST', + resource_path='/v2/assurance/ai-adoption-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113644,10 +115866,10 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( @validate_call - def v2_assistant_get_conversation_details_post( + def v2_assurance_applicationdetailsbyname_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113660,14 +115882,14 @@ def v2_assistant_get_conversation_details_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantGetConversationDetailsPostResponse: - """v2_assistant_get_conversation_details_post + ) -> V2AssuranceApplicationdetailsbynamePostResponse: + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113690,9 +115912,9 @@ def v2_assistant_get_conversation_details_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113700,7 +115922,7 @@ def v2_assistant_get_conversation_details_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -113714,10 +115936,10 @@ def v2_assistant_get_conversation_details_post( @validate_call - def v2_assistant_get_conversation_details_post_with_http_info( + def v2_assurance_applicationdetailsbyname_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113730,14 +115952,14 @@ def v2_assistant_get_conversation_details_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantGetConversationDetailsPostResponse]: - """v2_assistant_get_conversation_details_post + ) -> ApiResponse[V2AssuranceApplicationdetailsbynamePostResponse]: + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113760,9 +115982,9 @@ def v2_assistant_get_conversation_details_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113770,7 +115992,7 @@ def v2_assistant_get_conversation_details_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -113784,10 +116006,10 @@ def v2_assistant_get_conversation_details_post_with_http_info( @validate_call - def v2_assistant_get_conversation_details_post_without_preload_content( + def v2_assurance_applicationdetailsbyname_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113801,13 +116023,13 @@ def v2_assistant_get_conversation_details_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_get_conversation_details_post + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113830,9 +116052,9 @@ def v2_assistant_get_conversation_details_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113840,7 +116062,7 @@ def v2_assistant_get_conversation_details_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -113849,10 +116071,10 @@ def v2_assistant_get_conversation_details_post_without_preload_content( return response_data.response - def _v2_assistant_get_conversation_details_post_serialize( + def _v2_assurance_applicationdetailsbyname_post_serialize( self, authorization, - v2_assistant_get_conversation_details_post_request, + v2_assurance_applicationdetailsbyname_post_request, _request_auth, _content_type, _headers, @@ -113880,8 +116102,8 @@ def _v2_assistant_get_conversation_details_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_get_conversation_details_post_request is not None: - _body_params = v2_assistant_get_conversation_details_post_request + if v2_assurance_applicationdetailsbyname_post_request is not None: + _body_params = v2_assurance_applicationdetailsbyname_post_request # set the HTTP header `Accept` @@ -113913,7 +116135,7 @@ def _v2_assistant_get_conversation_details_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/get-conversation-details', + resource_path='/v2/assurance/applicationdetailsbyname', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113930,10 +116152,10 @@ def _v2_assistant_get_conversation_details_post_serialize( @validate_call - def v2_assistant_get_conversations_post( + def v2_assurance_applicationprofilesummary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113946,14 +116168,14 @@ def v2_assistant_get_conversations_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantGetConversationsPostResponse: - """v2_assistant_get_conversations_post + ) -> V2AssuranceApplicationprofilesummaryPostResponse: + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113976,9 +116198,9 @@ def v2_assistant_get_conversations_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113986,7 +116208,7 @@ def v2_assistant_get_conversations_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114000,10 +116222,10 @@ def v2_assistant_get_conversations_post( @validate_call - def v2_assistant_get_conversations_post_with_http_info( + def v2_assurance_applicationprofilesummary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114016,14 +116238,14 @@ def v2_assistant_get_conversations_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantGetConversationsPostResponse]: - """v2_assistant_get_conversations_post + ) -> ApiResponse[V2AssuranceApplicationprofilesummaryPostResponse]: + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114046,9 +116268,9 @@ def v2_assistant_get_conversations_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114056,7 +116278,7 @@ def v2_assistant_get_conversations_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114070,10 +116292,10 @@ def v2_assistant_get_conversations_post_with_http_info( @validate_call - def v2_assistant_get_conversations_post_without_preload_content( + def v2_assurance_applicationprofilesummary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114087,13 +116309,13 @@ def v2_assistant_get_conversations_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_get_conversations_post + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114116,9 +116338,9 @@ def v2_assistant_get_conversations_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114126,7 +116348,7 @@ def v2_assistant_get_conversations_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114135,10 +116357,10 @@ def v2_assistant_get_conversations_post_without_preload_content( return response_data.response - def _v2_assistant_get_conversations_post_serialize( + def _v2_assurance_applicationprofilesummary_post_serialize( self, authorization, - v2_assistant_get_conversations_post_request, + v2_assurance_applicationprofilesummary_post_request, _request_auth, _content_type, _headers, @@ -114166,8 +116388,8 @@ def _v2_assistant_get_conversations_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_get_conversations_post_request is not None: - _body_params = v2_assistant_get_conversations_post_request + if v2_assurance_applicationprofilesummary_post_request is not None: + _body_params = v2_assurance_applicationprofilesummary_post_request # set the HTTP header `Accept` @@ -114199,7 +116421,7 @@ def _v2_assistant_get_conversations_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/get-conversations', + resource_path='/v2/assurance/applicationprofilesummary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114216,10 +116438,10 @@ def _v2_assistant_get_conversations_post_serialize( @validate_call - def v2_assistant_update_conversation_name_post( + def v2_assurance_bucket_app_servers_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114232,14 +116454,14 @@ def v2_assistant_update_conversation_name_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_update_conversation_name_post + ) -> V2AssuranceBucketAppServersPostResponse: + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114262,9 +116484,9 @@ def v2_assistant_update_conversation_name_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114272,7 +116494,7 @@ def v2_assistant_update_conversation_name_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114286,10 +116508,10 @@ def v2_assistant_update_conversation_name_post( @validate_call - def v2_assistant_update_conversation_name_post_with_http_info( + def v2_assurance_bucket_app_servers_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114302,14 +116524,14 @@ def v2_assistant_update_conversation_name_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_update_conversation_name_post + ) -> ApiResponse[V2AssuranceBucketAppServersPostResponse]: + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114332,9 +116554,9 @@ def v2_assistant_update_conversation_name_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114342,7 +116564,7 @@ def v2_assistant_update_conversation_name_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114356,10 +116578,10 @@ def v2_assistant_update_conversation_name_post_with_http_info( @validate_call - def v2_assistant_update_conversation_name_post_without_preload_content( + def v2_assurance_bucket_app_servers_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114373,13 +116595,13 @@ def v2_assistant_update_conversation_name_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_update_conversation_name_post + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114402,9 +116624,9 @@ def v2_assistant_update_conversation_name_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114412,7 +116634,7 @@ def v2_assistant_update_conversation_name_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114421,10 +116643,10 @@ def v2_assistant_update_conversation_name_post_without_preload_content( return response_data.response - def _v2_assistant_update_conversation_name_post_serialize( + def _v2_assurance_bucket_app_servers_post_serialize( self, authorization, - v2_assistant_update_conversation_name_post_request, + v2_assurance_bucket_app_servers_post_request, _request_auth, _content_type, _headers, @@ -114452,8 +116674,8 @@ def _v2_assistant_update_conversation_name_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_update_conversation_name_post_request is not None: - _body_params = v2_assistant_update_conversation_name_post_request + if v2_assurance_bucket_app_servers_post_request is not None: + _body_params = v2_assurance_bucket_app_servers_post_request # set the HTTP header `Accept` @@ -114485,7 +116707,7 @@ def _v2_assistant_update_conversation_name_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/update-conversation-name', + resource_path='/v2/assurance/bucket-app-servers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114502,10 +116724,10 @@ def _v2_assistant_update_conversation_name_post_serialize( @validate_call - def v2_assistant_version_post( + def v2_assurance_bucket_apps_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114518,14 +116740,14 @@ def v2_assistant_version_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantVersionPostResponse: - """v2_assistant_version_post + ) -> V2AssuranceBucketAppsPostResponse: + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114548,9 +116770,9 @@ def v2_assistant_version_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - body=body, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114558,7 +116780,7 @@ def v2_assistant_version_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114572,10 +116794,10 @@ def v2_assistant_version_post( @validate_call - def v2_assistant_version_post_with_http_info( + def v2_assurance_bucket_apps_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114588,14 +116810,14 @@ def v2_assistant_version_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantVersionPostResponse]: - """v2_assistant_version_post + ) -> ApiResponse[V2AssuranceBucketAppsPostResponse]: + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114618,9 +116840,9 @@ def v2_assistant_version_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - body=body, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114628,7 +116850,7 @@ def v2_assistant_version_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114642,10 +116864,10 @@ def v2_assistant_version_post_with_http_info( @validate_call - def v2_assistant_version_post_without_preload_content( + def v2_assurance_bucket_apps_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114659,13 +116881,13 @@ def v2_assistant_version_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_version_post + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114688,9 +116910,9 @@ def v2_assistant_version_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - body=body, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114698,7 +116920,7 @@ def v2_assistant_version_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114707,10 +116929,10 @@ def v2_assistant_version_post_without_preload_content( return response_data.response - def _v2_assistant_version_post_serialize( + def _v2_assurance_bucket_apps_post_serialize( self, authorization, - body, + v2_assurance_bucket_apps_post_request, _request_auth, _content_type, _headers, @@ -114738,8 +116960,8 @@ def _v2_assistant_version_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if v2_assurance_bucket_apps_post_request is not None: + _body_params = v2_assurance_bucket_apps_post_request # set the HTTP header `Accept` @@ -114771,7 +116993,7 @@ def _v2_assistant_version_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/version', + resource_path='/v2/assurance/bucket-apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114788,10 +117010,10 @@ def _v2_assistant_version_post_serialize( @validate_call - def v2_assurance_applicationdetailsbyname_post( + def v2_assurance_bucket_services_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114804,14 +117026,14 @@ def v2_assurance_applicationdetailsbyname_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceApplicationdetailsbynamePostResponse: - """v2_assurance_applicationdetailsbyname_post + ) -> V2AssuranceBucketServicesPostResponse: + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114834,9 +117056,9 @@ def v2_assurance_applicationdetailsbyname_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114844,7 +117066,7 @@ def v2_assurance_applicationdetailsbyname_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114858,10 +117080,10 @@ def v2_assurance_applicationdetailsbyname_post( @validate_call - def v2_assurance_applicationdetailsbyname_post_with_http_info( + def v2_assurance_bucket_services_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114874,14 +117096,14 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceApplicationdetailsbynamePostResponse]: - """v2_assurance_applicationdetailsbyname_post + ) -> ApiResponse[V2AssuranceBucketServicesPostResponse]: + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114904,9 +117126,9 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114914,7 +117136,7 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114928,10 +117150,10 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( @validate_call - def v2_assurance_applicationdetailsbyname_post_without_preload_content( + def v2_assurance_bucket_services_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114945,13 +117167,13 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_applicationdetailsbyname_post + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114974,9 +117196,9 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114984,7 +117206,7 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -114993,10 +117215,10 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( return response_data.response - def _v2_assurance_applicationdetailsbyname_post_serialize( + def _v2_assurance_bucket_services_post_serialize( self, authorization, - v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_bucket_services_post_request, _request_auth, _content_type, _headers, @@ -115024,8 +117246,8 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_applicationdetailsbyname_post_request is not None: - _body_params = v2_assurance_applicationdetailsbyname_post_request + if v2_assurance_bucket_services_post_request is not None: + _body_params = v2_assurance_bucket_services_post_request # set the HTTP header `Accept` @@ -115057,7 +117279,7 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/applicationdetailsbyname', + resource_path='/v2/assurance/bucket-services', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115074,10 +117296,10 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( @validate_call - def v2_assurance_applicationprofilesummary_post( + def v2_assurance_bucket_topologies_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115090,14 +117312,14 @@ def v2_assurance_applicationprofilesummary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceApplicationprofilesummaryPostResponse: - """v2_assurance_applicationprofilesummary_post + ) -> V2AssuranceBucketTopologiesPostResponse: + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115120,9 +117342,9 @@ def v2_assurance_applicationprofilesummary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115130,7 +117352,7 @@ def v2_assurance_applicationprofilesummary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115144,10 +117366,10 @@ def v2_assurance_applicationprofilesummary_post( @validate_call - def v2_assurance_applicationprofilesummary_post_with_http_info( + def v2_assurance_bucket_topologies_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115160,14 +117382,14 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceApplicationprofilesummaryPostResponse]: - """v2_assurance_applicationprofilesummary_post + ) -> ApiResponse[V2AssuranceBucketTopologiesPostResponse]: + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115190,9 +117412,9 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115200,7 +117422,7 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115214,10 +117436,10 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( @validate_call - def v2_assurance_applicationprofilesummary_post_without_preload_content( + def v2_assurance_bucket_topologies_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115231,13 +117453,13 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_applicationprofilesummary_post + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115260,9 +117482,9 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115270,7 +117492,7 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115279,10 +117501,10 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( return response_data.response - def _v2_assurance_applicationprofilesummary_post_serialize( + def _v2_assurance_bucket_topologies_post_serialize( self, authorization, - v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_topologies_post_request, _request_auth, _content_type, _headers, @@ -115310,8 +117532,8 @@ def _v2_assurance_applicationprofilesummary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_applicationprofilesummary_post_request is not None: - _body_params = v2_assurance_applicationprofilesummary_post_request + if v2_assurance_bucket_topologies_post_request is not None: + _body_params = v2_assurance_bucket_topologies_post_request # set the HTTP header `Accept` @@ -115343,7 +117565,7 @@ def _v2_assurance_applicationprofilesummary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/applicationprofilesummary', + resource_path='/v2/assurance/bucket-topologies', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115360,10 +117582,10 @@ def _v2_assurance_applicationprofilesummary_post_serialize( @validate_call - def v2_assurance_bucket_app_servers_post( + def v2_assurance_bucketdetails_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115376,14 +117598,14 @@ def v2_assurance_bucket_app_servers_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketAppServersPostResponse: - """v2_assurance_bucket_app_servers_post + ) -> V2AssuranceBucketdetailsPostResponse: + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115406,9 +117628,9 @@ def v2_assurance_bucket_app_servers_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115416,7 +117638,7 @@ def v2_assurance_bucket_app_servers_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115430,10 +117652,10 @@ def v2_assurance_bucket_app_servers_post( @validate_call - def v2_assurance_bucket_app_servers_post_with_http_info( + def v2_assurance_bucketdetails_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115446,14 +117668,14 @@ def v2_assurance_bucket_app_servers_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketAppServersPostResponse]: - """v2_assurance_bucket_app_servers_post + ) -> ApiResponse[V2AssuranceBucketdetailsPostResponse]: + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115476,9 +117698,9 @@ def v2_assurance_bucket_app_servers_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115486,7 +117708,7 @@ def v2_assurance_bucket_app_servers_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115500,10 +117722,10 @@ def v2_assurance_bucket_app_servers_post_with_http_info( @validate_call - def v2_assurance_bucket_app_servers_post_without_preload_content( + def v2_assurance_bucketdetails_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115517,13 +117739,13 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_app_servers_post + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115546,9 +117768,9 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115556,7 +117778,7 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115565,10 +117787,10 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_app_servers_post_serialize( + def _v2_assurance_bucketdetails_post_serialize( self, authorization, - v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucketdetails_post_request, _request_auth, _content_type, _headers, @@ -115596,8 +117818,8 @@ def _v2_assurance_bucket_app_servers_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_app_servers_post_request is not None: - _body_params = v2_assurance_bucket_app_servers_post_request + if v2_assurance_bucketdetails_post_request is not None: + _body_params = v2_assurance_bucketdetails_post_request # set the HTTP header `Accept` @@ -115629,7 +117851,7 @@ def _v2_assurance_bucket_app_servers_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-app-servers', + resource_path='/v2/assurance/bucketdetails', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115646,10 +117868,10 @@ def _v2_assurance_bucket_app_servers_post_serialize( @validate_call - def v2_assurance_bucket_apps_post( + def v2_assurance_create_ai_adoption_approve_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115662,14 +117884,14 @@ def v2_assurance_bucket_apps_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketAppsPostResponse: - """v2_assurance_bucket_apps_post + ) -> V2AssuranceCreateAiAdoptionApproveEntryPostResponse: + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115692,9 +117914,9 @@ def v2_assurance_bucket_apps_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115702,7 +117924,7 @@ def v2_assurance_bucket_apps_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115716,10 +117938,10 @@ def v2_assurance_bucket_apps_post( @validate_call - def v2_assurance_bucket_apps_post_with_http_info( + def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115732,14 +117954,14 @@ def v2_assurance_bucket_apps_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketAppsPostResponse]: - """v2_assurance_bucket_apps_post + ) -> ApiResponse[V2AssuranceCreateAiAdoptionApproveEntryPostResponse]: + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115762,9 +117984,9 @@ def v2_assurance_bucket_apps_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115772,7 +117994,7 @@ def v2_assurance_bucket_apps_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115786,10 +118008,10 @@ def v2_assurance_bucket_apps_post_with_http_info( @validate_call - def v2_assurance_bucket_apps_post_without_preload_content( + def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115803,13 +118025,13 @@ def v2_assurance_bucket_apps_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_apps_post + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115832,9 +118054,9 @@ def v2_assurance_bucket_apps_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115842,7 +118064,7 @@ def v2_assurance_bucket_apps_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -115851,10 +118073,10 @@ def v2_assurance_bucket_apps_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_apps_post_serialize( + def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( self, authorization, - v2_assurance_bucket_apps_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth, _content_type, _headers, @@ -115882,8 +118104,8 @@ def _v2_assurance_bucket_apps_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_apps_post_request is not None: - _body_params = v2_assurance_bucket_apps_post_request + if v2_assurance_create_ai_adoption_approve_entry_post_request is not None: + _body_params = v2_assurance_create_ai_adoption_approve_entry_post_request # set the HTTP header `Accept` @@ -115915,7 +118137,7 @@ def _v2_assurance_bucket_apps_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-apps', + resource_path='/v2/assurance/create-ai-adoption-approve-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115932,10 +118154,10 @@ def _v2_assurance_bucket_apps_post_serialize( @validate_call - def v2_assurance_bucket_services_post( + def v2_assurance_create_dnsproxy_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115948,14 +118170,14 @@ def v2_assurance_bucket_services_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketServicesPostResponse: - """v2_assurance_bucket_services_post + ) -> V2AssuranceCreateDnsproxyEntryPostResponse: + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115978,9 +118200,9 @@ def v2_assurance_bucket_services_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115988,7 +118210,7 @@ def v2_assurance_bucket_services_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116002,10 +118224,10 @@ def v2_assurance_bucket_services_post( @validate_call - def v2_assurance_bucket_services_post_with_http_info( + def v2_assurance_create_dnsproxy_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116018,14 +118240,14 @@ def v2_assurance_bucket_services_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketServicesPostResponse]: - """v2_assurance_bucket_services_post + ) -> ApiResponse[V2AssuranceCreateDnsproxyEntryPostResponse]: + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116048,9 +118270,9 @@ def v2_assurance_bucket_services_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116058,7 +118280,7 @@ def v2_assurance_bucket_services_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116072,10 +118294,10 @@ def v2_assurance_bucket_services_post_with_http_info( @validate_call - def v2_assurance_bucket_services_post_without_preload_content( + def v2_assurance_create_dnsproxy_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116089,13 +118311,13 @@ def v2_assurance_bucket_services_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_services_post + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116118,9 +118340,9 @@ def v2_assurance_bucket_services_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116128,7 +118350,7 @@ def v2_assurance_bucket_services_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116137,10 +118359,10 @@ def v2_assurance_bucket_services_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_services_post_serialize( + def _v2_assurance_create_dnsproxy_entry_post_serialize( self, authorization, - v2_assurance_bucket_services_post_request, + v2_assurance_create_dnsproxy_entry_post_request, _request_auth, _content_type, _headers, @@ -116168,8 +118390,8 @@ def _v2_assurance_bucket_services_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_services_post_request is not None: - _body_params = v2_assurance_bucket_services_post_request + if v2_assurance_create_dnsproxy_entry_post_request is not None: + _body_params = v2_assurance_create_dnsproxy_entry_post_request # set the HTTP header `Accept` @@ -116201,7 +118423,7 @@ def _v2_assurance_bucket_services_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-services', + resource_path='/v2/assurance/create-dnsproxy-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116218,10 +118440,10 @@ def _v2_assurance_bucket_services_post_serialize( @validate_call - def v2_assurance_bucket_topologies_post( + def v2_assurance_create_user_report_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116234,14 +118456,14 @@ def v2_assurance_bucket_topologies_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketTopologiesPostResponse: - """v2_assurance_bucket_topologies_post + ) -> V2AssuranceCreateUserReportPostResponse: + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116264,9 +118486,9 @@ def v2_assurance_bucket_topologies_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116274,7 +118496,7 @@ def v2_assurance_bucket_topologies_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116288,10 +118510,10 @@ def v2_assurance_bucket_topologies_post( @validate_call - def v2_assurance_bucket_topologies_post_with_http_info( + def v2_assurance_create_user_report_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116304,14 +118526,14 @@ def v2_assurance_bucket_topologies_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketTopologiesPostResponse]: - """v2_assurance_bucket_topologies_post + ) -> ApiResponse[V2AssuranceCreateUserReportPostResponse]: + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116334,9 +118556,9 @@ def v2_assurance_bucket_topologies_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116344,7 +118566,7 @@ def v2_assurance_bucket_topologies_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116358,10 +118580,10 @@ def v2_assurance_bucket_topologies_post_with_http_info( @validate_call - def v2_assurance_bucket_topologies_post_without_preload_content( + def v2_assurance_create_user_report_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116375,13 +118597,13 @@ def v2_assurance_bucket_topologies_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_topologies_post + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116404,9 +118626,9 @@ def v2_assurance_bucket_topologies_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116414,7 +118636,7 @@ def v2_assurance_bucket_topologies_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116423,10 +118645,10 @@ def v2_assurance_bucket_topologies_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_topologies_post_serialize( + def _v2_assurance_create_user_report_post_serialize( self, authorization, - v2_assurance_bucket_topologies_post_request, + v2_assurance_create_user_report_post_request, _request_auth, _content_type, _headers, @@ -116454,8 +118676,8 @@ def _v2_assurance_bucket_topologies_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_topologies_post_request is not None: - _body_params = v2_assurance_bucket_topologies_post_request + if v2_assurance_create_user_report_post_request is not None: + _body_params = v2_assurance_create_user_report_post_request # set the HTTP header `Accept` @@ -116487,7 +118709,7 @@ def _v2_assurance_bucket_topologies_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-topologies', + resource_path='/v2/assurance/create-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116504,10 +118726,10 @@ def _v2_assurance_bucket_topologies_post_serialize( @validate_call - def v2_assurance_bucketdetails_post( + def v2_assurance_createclassifiedapplication_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116520,14 +118742,14 @@ def v2_assurance_bucketdetails_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketdetailsPostResponse: - """v2_assurance_bucketdetails_post + ) -> V2AssuranceCreateclassifiedapplicationPostResponse: + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116550,9 +118772,9 @@ def v2_assurance_bucketdetails_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116560,7 +118782,7 @@ def v2_assurance_bucketdetails_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116574,10 +118796,10 @@ def v2_assurance_bucketdetails_post( @validate_call - def v2_assurance_bucketdetails_post_with_http_info( + def v2_assurance_createclassifiedapplication_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116590,14 +118812,14 @@ def v2_assurance_bucketdetails_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketdetailsPostResponse]: - """v2_assurance_bucketdetails_post + ) -> ApiResponse[V2AssuranceCreateclassifiedapplicationPostResponse]: + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116620,9 +118842,9 @@ def v2_assurance_bucketdetails_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116630,7 +118852,7 @@ def v2_assurance_bucketdetails_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116644,10 +118866,10 @@ def v2_assurance_bucketdetails_post_with_http_info( @validate_call - def v2_assurance_bucketdetails_post_without_preload_content( + def v2_assurance_createclassifiedapplication_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116661,13 +118883,13 @@ def v2_assurance_bucketdetails_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucketdetails_post + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116690,9 +118912,9 @@ def v2_assurance_bucketdetails_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116700,7 +118922,7 @@ def v2_assurance_bucketdetails_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116709,10 +118931,10 @@ def v2_assurance_bucketdetails_post_without_preload_content( return response_data.response - def _v2_assurance_bucketdetails_post_serialize( + def _v2_assurance_createclassifiedapplication_post_serialize( self, authorization, - v2_assurance_bucketdetails_post_request, + v2_assurance_createclassifiedapplication_post_request, _request_auth, _content_type, _headers, @@ -116740,8 +118962,8 @@ def _v2_assurance_bucketdetails_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucketdetails_post_request is not None: - _body_params = v2_assurance_bucketdetails_post_request + if v2_assurance_createclassifiedapplication_post_request is not None: + _body_params = v2_assurance_createclassifiedapplication_post_request # set the HTTP header `Accept` @@ -116773,7 +118995,7 @@ def _v2_assurance_bucketdetails_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucketdetails', + resource_path='/v2/assurance/createclassifiedapplication', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116790,10 +119012,10 @@ def _v2_assurance_bucketdetails_post_serialize( @validate_call - def v2_assurance_create_dnsproxy_entry_post( + def v2_assurance_delete_ai_adoption_approve_entry_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116806,14 +119028,14 @@ def v2_assurance_create_dnsproxy_entry_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateDnsproxyEntryPostResponse: - """v2_assurance_create_dnsproxy_entry_post + ) -> object: + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116836,9 +119058,9 @@ def v2_assurance_create_dnsproxy_entry_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116846,7 +119068,7 @@ def v2_assurance_create_dnsproxy_entry_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116860,10 +119082,10 @@ def v2_assurance_create_dnsproxy_entry_post( @validate_call - def v2_assurance_create_dnsproxy_entry_post_with_http_info( + def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116876,14 +119098,14 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateDnsproxyEntryPostResponse]: - """v2_assurance_create_dnsproxy_entry_post + ) -> ApiResponse[object]: + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116906,9 +119128,9 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116916,7 +119138,7 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116930,10 +119152,10 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( @validate_call - def v2_assurance_create_dnsproxy_entry_post_without_preload_content( + def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116947,13 +119169,13 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_create_dnsproxy_entry_post + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116976,9 +119198,9 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116986,7 +119208,7 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116995,10 +119217,10 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( return response_data.response - def _v2_assurance_create_dnsproxy_entry_post_serialize( + def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( self, authorization, - v2_assurance_create_dnsproxy_entry_post_request, + id_list, _request_auth, _content_type, _headers, @@ -117008,6 +119230,7 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( _host = None _collection_formats: Dict[str, str] = { + 'idList': 'multi', } _path_params: Dict[str, str] = {} @@ -117021,13 +119244,15 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( # process the path parameters # process the query parameters + if id_list is not None: + + _query_params.append(('idList', id_list)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_create_dnsproxy_entry_post_request is not None: - _body_params = v2_assurance_create_dnsproxy_entry_post_request # set the HTTP header `Accept` @@ -117038,19 +119263,6 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -117058,8 +119270,8 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/create-dnsproxy-entry', + method='DELETE', + resource_path='/v2/assurance/delete-ai-adoption-approve-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117076,10 +119288,9 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( @validate_call - def v2_assurance_create_user_report_post( + def v2_assurance_delete_dnsproxy_entry_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117092,14 +119303,12 @@ def v2_assurance_create_user_report_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateUserReportPostResponse: - """v2_assurance_create_user_report_post + ) -> object: + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117122,9 +119331,8 @@ def v2_assurance_create_user_report_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117132,7 +119340,7 @@ def v2_assurance_create_user_report_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117146,10 +119354,9 @@ def v2_assurance_create_user_report_post( @validate_call - def v2_assurance_create_user_report_post_with_http_info( + def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117162,14 +119369,12 @@ def v2_assurance_create_user_report_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateUserReportPostResponse]: - """v2_assurance_create_user_report_post + ) -> ApiResponse[object]: + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117192,9 +119397,8 @@ def v2_assurance_create_user_report_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117202,7 +119406,7 @@ def v2_assurance_create_user_report_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117216,10 +119420,9 @@ def v2_assurance_create_user_report_post_with_http_info( @validate_call - def v2_assurance_create_user_report_post_without_preload_content( + def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117233,13 +119436,11 @@ def v2_assurance_create_user_report_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_create_user_report_post + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117262,9 +119463,8 @@ def v2_assurance_create_user_report_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117272,7 +119472,7 @@ def v2_assurance_create_user_report_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117281,10 +119481,9 @@ def v2_assurance_create_user_report_post_without_preload_content( return response_data.response - def _v2_assurance_create_user_report_post_serialize( + def _v2_assurance_delete_dnsproxy_entry_delete_serialize( self, authorization, - v2_assurance_create_user_report_post_request, _request_auth, _content_type, _headers, @@ -117312,8 +119511,6 @@ def _v2_assurance_create_user_report_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_create_user_report_post_request is not None: - _body_params = v2_assurance_create_user_report_post_request # set the HTTP header `Accept` @@ -117324,19 +119521,6 @@ def _v2_assurance_create_user_report_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -117344,8 +119528,8 @@ def _v2_assurance_create_user_report_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/create-user-report', + method='DELETE', + resource_path='/v2/assurance/delete-dnsproxy-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117362,10 +119546,10 @@ def _v2_assurance_create_user_report_post_serialize( @validate_call - def v2_assurance_createclassifiedapplication_post( + def v2_assurance_delete_user_report_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117378,14 +119562,14 @@ def v2_assurance_createclassifiedapplication_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateclassifiedapplicationPostResponse: - """v2_assurance_createclassifiedapplication_post + ) -> object: + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117408,9 +119592,9 @@ def v2_assurance_createclassifiedapplication_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117418,7 +119602,7 @@ def v2_assurance_createclassifiedapplication_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117432,10 +119616,10 @@ def v2_assurance_createclassifiedapplication_post( @validate_call - def v2_assurance_createclassifiedapplication_post_with_http_info( + def v2_assurance_delete_user_report_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117448,14 +119632,14 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateclassifiedapplicationPostResponse]: - """v2_assurance_createclassifiedapplication_post + ) -> ApiResponse[object]: + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117478,9 +119662,9 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117488,7 +119672,7 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117502,10 +119686,10 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( @validate_call - def v2_assurance_createclassifiedapplication_post_without_preload_content( + def v2_assurance_delete_user_report_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117519,13 +119703,13 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_createclassifiedapplication_post + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117548,9 +119732,9 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117558,7 +119742,7 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -117567,10 +119751,10 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( return response_data.response - def _v2_assurance_createclassifiedapplication_post_serialize( + def _v2_assurance_delete_user_report_delete_serialize( self, authorization, - v2_assurance_createclassifiedapplication_post_request, + report_id, _request_auth, _content_type, _headers, @@ -117593,13 +119777,15 @@ def _v2_assurance_createclassifiedapplication_post_serialize( # process the path parameters # process the query parameters + if report_id is not None: + + _query_params.append(('reportId', report_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_createclassifiedapplication_post_request is not None: - _body_params = v2_assurance_createclassifiedapplication_post_request # set the HTTP header `Accept` @@ -117610,19 +119796,6 @@ def _v2_assurance_createclassifiedapplication_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -117630,8 +119803,8 @@ def _v2_assurance_createclassifiedapplication_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/createclassifiedapplication', + method='DELETE', + resource_path='/v2/assurance/delete-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117648,9 +119821,10 @@ def _v2_assurance_createclassifiedapplication_post_serialize( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete( + def v2_assurance_deleteclassifiedapplication_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117664,11 +119838,13 @@ def v2_assurance_delete_dnsproxy_entry_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117691,8 +119867,9 @@ def v2_assurance_delete_dnsproxy_entry_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117714,9 +119891,10 @@ def v2_assurance_delete_dnsproxy_entry_delete( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( + def v2_assurance_deleteclassifiedapplication_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117730,11 +119908,13 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117757,8 +119937,9 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117780,9 +119961,10 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( + def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117796,11 +119978,13 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117823,8 +120007,9 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117841,9 +120026,10 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( return response_data.response - def _v2_assurance_delete_dnsproxy_entry_delete_serialize( + def _v2_assurance_deleteclassifiedapplication_delete_serialize( self, authorization, + classification_entry_id_list, _request_auth, _content_type, _headers, @@ -117853,6 +120039,7 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( _host = None _collection_formats: Dict[str, str] = { + 'classificationEntryIdList': 'multi', } _path_params: Dict[str, str] = {} @@ -117866,6 +120053,10 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( # process the path parameters # process the query parameters + if classification_entry_id_list is not None: + + _query_params.append(('classificationEntryIdList', classification_entry_id_list)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -117889,7 +120080,7 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2/assurance/delete-dnsproxy-entry', + resource_path='/v2/assurance/deleteclassifiedapplication', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117906,10 +120097,9 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( @validate_call - def v2_assurance_delete_user_report_delete( + def v2_assurance_download_user_report_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117922,14 +120112,12 @@ def v2_assurance_delete_user_report_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assurance_delete_user_report_delete + ) -> V2AssuranceDownloadUserReportGetResponse: + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117952,9 +120140,8 @@ def v2_assurance_delete_user_report_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117962,7 +120149,7 @@ def v2_assurance_delete_user_report_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117976,10 +120163,9 @@ def v2_assurance_delete_user_report_delete( @validate_call - def v2_assurance_delete_user_report_delete_with_http_info( + def v2_assurance_download_user_report_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117992,14 +120178,12 @@ def v2_assurance_delete_user_report_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assurance_delete_user_report_delete + ) -> ApiResponse[V2AssuranceDownloadUserReportGetResponse]: + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118022,9 +120206,8 @@ def v2_assurance_delete_user_report_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118032,7 +120215,7 @@ def v2_assurance_delete_user_report_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118046,10 +120229,9 @@ def v2_assurance_delete_user_report_delete_with_http_info( @validate_call - def v2_assurance_delete_user_report_delete_without_preload_content( + def v2_assurance_download_user_report_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118063,13 +120245,11 @@ def v2_assurance_delete_user_report_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_delete_user_report_delete + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118092,9 +120272,8 @@ def v2_assurance_delete_user_report_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118102,7 +120281,7 @@ def v2_assurance_delete_user_report_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118111,10 +120290,9 @@ def v2_assurance_delete_user_report_delete_without_preload_content( return response_data.response - def _v2_assurance_delete_user_report_delete_serialize( + def _v2_assurance_download_user_report_get_serialize( self, authorization, - report_id, _request_auth, _content_type, _headers, @@ -118137,10 +120315,6 @@ def _v2_assurance_delete_user_report_delete_serialize( # process the path parameters # process the query parameters - if report_id is not None: - - _query_params.append(('reportId', report_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -118163,8 +120337,8 @@ def _v2_assurance_delete_user_report_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/assurance/delete-user-report', + method='GET', + resource_path='/v2/assurance/download-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118181,10 +120355,10 @@ def _v2_assurance_delete_user_report_delete_serialize( @validate_call - def v2_assurance_deleteclassifiedapplication_delete( + def v2_assurance_enterprisesummary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118197,14 +120371,14 @@ def v2_assurance_deleteclassifiedapplication_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assurance_deleteclassifiedapplication_delete + ) -> V2AssuranceEnterprisesummaryPostResponse: + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118227,9 +120401,9 @@ def v2_assurance_deleteclassifiedapplication_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118237,7 +120411,7 @@ def v2_assurance_deleteclassifiedapplication_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118251,10 +120425,10 @@ def v2_assurance_deleteclassifiedapplication_delete( @validate_call - def v2_assurance_deleteclassifiedapplication_delete_with_http_info( + def v2_assurance_enterprisesummary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118267,14 +120441,14 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assurance_deleteclassifiedapplication_delete + ) -> ApiResponse[V2AssuranceEnterprisesummaryPostResponse]: + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118297,9 +120471,9 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118307,7 +120481,7 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118321,10 +120495,10 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( @validate_call - def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( + def v2_assurance_enterprisesummary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118338,13 +120512,13 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_deleteclassifiedapplication_delete + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118367,9 +120541,9 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118377,7 +120551,7 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118386,10 +120560,10 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( return response_data.response - def _v2_assurance_deleteclassifiedapplication_delete_serialize( + def _v2_assurance_enterprisesummary_post_serialize( self, authorization, - classification_entry_id_list, + v2_assurance_enterprisesummary_post_request, _request_auth, _content_type, _headers, @@ -118399,7 +120573,6 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( _host = None _collection_formats: Dict[str, str] = { - 'classificationEntryIdList': 'multi', } _path_params: Dict[str, str] = {} @@ -118413,15 +120586,13 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( # process the path parameters # process the query parameters - if classification_entry_id_list is not None: - - _query_params.append(('classificationEntryIdList', classification_entry_id_list)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assurance_enterprisesummary_post_request is not None: + _body_params = v2_assurance_enterprisesummary_post_request # set the HTTP header `Accept` @@ -118432,6 +120603,19 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -118439,8 +120623,8 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/assurance/deleteclassifiedapplication', + method='POST', + resource_path='/v2/assurance/enterprisesummary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118457,9 +120641,10 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( @validate_call - def v2_assurance_download_user_report_get( + def v2_assurance_get_app_names_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118472,12 +120657,14 @@ def v2_assurance_download_user_report_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceDownloadUserReportGetResponse: - """v2_assurance_download_user_report_get + ) -> V2AssuranceGetAppNamesPostResponse: + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118500,8 +120687,9 @@ def v2_assurance_download_user_report_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118509,7 +120697,7 @@ def v2_assurance_download_user_report_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118523,9 +120711,10 @@ def v2_assurance_download_user_report_get( @validate_call - def v2_assurance_download_user_report_get_with_http_info( + def v2_assurance_get_app_names_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118538,12 +120727,14 @@ def v2_assurance_download_user_report_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceDownloadUserReportGetResponse]: - """v2_assurance_download_user_report_get + ) -> ApiResponse[V2AssuranceGetAppNamesPostResponse]: + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118566,8 +120757,9 @@ def v2_assurance_download_user_report_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118575,7 +120767,7 @@ def v2_assurance_download_user_report_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118589,9 +120781,10 @@ def v2_assurance_download_user_report_get_with_http_info( @validate_call - def v2_assurance_download_user_report_get_without_preload_content( + def v2_assurance_get_app_names_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118605,11 +120798,13 @@ def v2_assurance_download_user_report_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_download_user_report_get + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118632,8 +120827,9 @@ def v2_assurance_download_user_report_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118641,7 +120837,7 @@ def v2_assurance_download_user_report_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118650,9 +120846,10 @@ def v2_assurance_download_user_report_get_without_preload_content( return response_data.response - def _v2_assurance_download_user_report_get_serialize( + def _v2_assurance_get_app_names_post_serialize( self, authorization, + v2_assurance_get_app_names_post_request, _request_auth, _content_type, _headers, @@ -118680,6 +120877,8 @@ def _v2_assurance_download_user_report_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assurance_get_app_names_post_request is not None: + _body_params = v2_assurance_get_app_names_post_request # set the HTTP header `Accept` @@ -118690,6 +120889,19 @@ def _v2_assurance_download_user_report_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -118697,8 +120909,8 @@ def _v2_assurance_download_user_report_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/assurance/download-user-report', + method='POST', + resource_path='/v2/assurance/get-app-names', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118715,10 +120927,9 @@ def _v2_assurance_download_user_report_get_serialize( @validate_call - def v2_assurance_enterprisesummary_post( + def v2_assurance_getclassifiedapplicationlist_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118731,14 +120942,12 @@ def v2_assurance_enterprisesummary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceEnterprisesummaryPostResponse: - """v2_assurance_enterprisesummary_post + ) -> V2AssuranceGetclassifiedapplicationlistGetResponse: + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118761,9 +120970,8 @@ def v2_assurance_enterprisesummary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118771,7 +120979,7 @@ def v2_assurance_enterprisesummary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118785,10 +120993,9 @@ def v2_assurance_enterprisesummary_post( @validate_call - def v2_assurance_enterprisesummary_post_with_http_info( + def v2_assurance_getclassifiedapplicationlist_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118801,14 +121008,12 @@ def v2_assurance_enterprisesummary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceEnterprisesummaryPostResponse]: - """v2_assurance_enterprisesummary_post + ) -> ApiResponse[V2AssuranceGetclassifiedapplicationlistGetResponse]: + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118831,9 +121036,8 @@ def v2_assurance_enterprisesummary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118841,7 +121045,7 @@ def v2_assurance_enterprisesummary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118855,10 +121059,9 @@ def v2_assurance_enterprisesummary_post_with_http_info( @validate_call - def v2_assurance_enterprisesummary_post_without_preload_content( + def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118872,13 +121075,11 @@ def v2_assurance_enterprisesummary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_enterprisesummary_post + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118901,9 +121102,8 @@ def v2_assurance_enterprisesummary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118911,7 +121111,7 @@ def v2_assurance_enterprisesummary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118920,10 +121120,9 @@ def v2_assurance_enterprisesummary_post_without_preload_content( return response_data.response - def _v2_assurance_enterprisesummary_post_serialize( + def _v2_assurance_getclassifiedapplicationlist_get_serialize( self, authorization, - v2_assurance_enterprisesummary_post_request, _request_auth, _content_type, _headers, @@ -118951,8 +121150,6 @@ def _v2_assurance_enterprisesummary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_enterprisesummary_post_request is not None: - _body_params = v2_assurance_enterprisesummary_post_request # set the HTTP header `Accept` @@ -118963,19 +121160,6 @@ def _v2_assurance_enterprisesummary_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -118983,8 +121167,8 @@ def _v2_assurance_enterprisesummary_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/enterprisesummary', + method='GET', + resource_path='/v2/assurance/getclassifiedapplicationlist', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -119001,7 +121185,7 @@ def _v2_assurance_enterprisesummary_post_serialize( @validate_call - def v2_assurance_getclassifiedapplicationlist_get( + def v2_assurance_read_ai_adoption_approve_entries_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119016,8 +121200,8 @@ def v2_assurance_getclassifiedapplicationlist_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceGetclassifiedapplicationlistGetResponse: - """v2_assurance_getclassifiedapplicationlist_get + ) -> V2AssuranceReadAiAdoptionApproveEntriesGetResponse: + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -119044,7 +121228,7 @@ def v2_assurance_getclassifiedapplicationlist_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119053,7 +121237,7 @@ def v2_assurance_getclassifiedapplicationlist_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119067,7 +121251,7 @@ def v2_assurance_getclassifiedapplicationlist_get( @validate_call - def v2_assurance_getclassifiedapplicationlist_get_with_http_info( + def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119082,8 +121266,8 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceGetclassifiedapplicationlistGetResponse]: - """v2_assurance_getclassifiedapplicationlist_get + ) -> ApiResponse[V2AssuranceReadAiAdoptionApproveEntriesGetResponse]: + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -119110,7 +121294,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119119,7 +121303,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119133,7 +121317,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( @validate_call - def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( + def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119149,7 +121333,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_getclassifiedapplicationlist_get + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -119176,7 +121360,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119185,7 +121369,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119194,7 +121378,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( return response_data.response - def _v2_assurance_getclassifiedapplicationlist_get_serialize( + def _v2_assurance_read_ai_adoption_approve_entries_get_serialize( self, authorization, _request_auth, @@ -119242,7 +121426,7 @@ def _v2_assurance_getclassifiedapplicationlist_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/assurance/getclassifiedapplicationlist', + resource_path='/v2/assurance/read-ai-adoption-approve-entries', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -122348,6 +124532,292 @@ def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( + @validate_call + def v2_assurance_update_ai_adoption_approve_entry_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """v2_assurance_update_ai_adoption_approve_entry_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + authorization=authorization, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """v2_assurance_update_ai_adoption_approve_entry_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + authorization=authorization, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v2_assurance_update_ai_adoption_approve_entry_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + authorization=authorization, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( + self, + authorization, + v2_assurance_update_ai_adoption_approve_entry_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v2_assurance_update_ai_adoption_approve_entry_post_request is not None: + _body_params = v2_assurance_update_ai_adoption_approve_entry_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v2/assurance/update-ai-adoption-approve-entry', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def v2_assurance_update_dnsproxy_entry_post( self, diff --git a/graphiant_sdk/api_client.py b/graphiant_sdk/api_client.py index 6c5d9f92..39df11bc 100644 --- a/graphiant_sdk/api_client.py +++ b/graphiant_sdk/api_client.py @@ -10,7 +10,6 @@ """ # noqa: E501 - import datetime from dateutil.parser import parse from enum import Enum @@ -33,15 +32,11 @@ from graphiant_sdk.exceptions import ( ApiValueError, ApiException, - BadRequestException, - UnauthorizedException, - ForbiddenException, - NotFoundException, - ServiceException ) RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] + class ApiClient: """Generic API client for OpenAPI client library builds. @@ -61,7 +56,7 @@ class ApiClient: PRIMITIVE_TYPES = (float, bool, bytes, str, int) NATIVE_TYPES_MAPPING = { 'int': int, - 'long': int, # TODO remove as only py3 is supported? + 'long': int, # TODO remove as only py3 is supported? 'float': float, 'str': str, 'bool': bool, @@ -91,7 +86,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/26.5.0/python' + self.user_agent = 'OpenAPI-Generator/26.6.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -112,7 +107,6 @@ def user_agent(self, value): def set_default_header(self, header_name, header_value): self.default_headers[header_name] = header_value - _default = None @classmethod @@ -153,7 +147,6 @@ def param_serialize( _host=None, _request_auth=None ) -> RequestSerialized: - """Builds the HTTP request params needed by the request. :param method: Method to call. :param resource_path: Path to method endpoint. @@ -186,7 +179,7 @@ def param_serialize( if header_params: header_params = self.sanitize_for_serialization(header_params) header_params = dict( - self.parameters_to_tuples(header_params,collection_formats) + self.parameters_to_tuples(header_params, collection_formats) ) # path parameters @@ -247,7 +240,6 @@ def param_serialize( return method, url, header_params, body, post_params - def call_api( self, method, @@ -286,7 +278,7 @@ def call_api( def response_deserialize( self, response_data: rest.RESTResponse, - response_types_map: Optional[Dict[str, ApiResponseT]]=None + response_types_map: Optional[Dict[str, ApiResponseT]] = None ) -> ApiResponse[ApiResponseT]: """Deserializes response into an object. :param response_data: RESTResponse object to be deserialized. @@ -298,7 +290,11 @@ def response_deserialize( assert response_data.data is not None, msg response_type = response_types_map.get(str(response_data.status), None) - if not response_type and isinstance(response_data.status, int) and 100 <= response_data.status <= 599: + if ( + not response_type + and isinstance(response_data.status, int) + and 100 <= response_data.status <= 599 + ): # if not found, look for '1XX', '2XX', etc. response_type = response_types_map.get(str(response_data.status)[0] + "XX", None) @@ -327,10 +323,10 @@ def response_deserialize( ) return ApiResponse( - status_code = response_data.status, - data = return_data, - headers = response_data.headers, - raw_data = response_data.data + status_code=response_data.status, + data=return_data, + headers=response_data.headers, + raw_data=response_data.data ) def sanitize_for_serialization(self, obj): @@ -389,7 +385,6 @@ def sanitize_for_serialization(self, obj): return self.sanitize_for_serialization(obj_dict) - def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]): """Deserializes response into an object. @@ -407,7 +402,11 @@ def deserialize(self, response_text: str, response_type: str, content_type: Opti data = json.loads(response_text) except ValueError: data = response_text - elif re.match(r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE): + elif re.match( + r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', + content_type, + re.IGNORECASE, + ): if response_text == "": data = "" else: diff --git a/graphiant_sdk/api_response.py b/graphiant_sdk/api_response.py index 9bc7c11f..d1132c03 100644 --- a/graphiant_sdk/api_response.py +++ b/graphiant_sdk/api_response.py @@ -6,6 +6,7 @@ T = TypeVar("T") + class ApiResponse(BaseModel, Generic[T]): """ API response object diff --git a/graphiant_sdk/configuration.py b/graphiant_sdk/configuration.py index 32747141..5ca2ecca 100644 --- a/graphiant_sdk/configuration.py +++ b/graphiant_sdk/configuration.py @@ -165,9 +165,12 @@ class Configuration: in PEM (str) or DER (bytes) format. :param cert_file: the path to a client certificate file, for mTLS. :param key_file: the path to a client key file, for mTLS. - :param assert_hostname: Set this to True/False to enable/disable SSL hostname verification. - :param tls_server_name: SSL/TLS Server Name Indication (SNI). Set this to the SNI value expected by the server. - :param connection_pool_maxsize: Connection pool max size. None in the constructor is coerced to 100 for async and cpu_count * 5 for sync. + :param assert_hostname: Set this to True/False to enable/disable SSL + hostname verification. + :param tls_server_name: SSL/TLS Server Name Indication (SNI). Set this to + the SNI value expected by the server. + :param connection_pool_maxsize: Connection pool max size. None in the + constructor is coerced to 100 for async and cpu_count * 5 for sync. :param proxy: Proxy URL. :param proxy_headers: Proxy headers. :param safe_chars_for_path_param: Safe characters for path parameter encoding. @@ -202,33 +205,33 @@ class Configuration: def __init__( self, - host: Optional[str]=None, - api_key: Optional[Dict[str, str]]=None, - api_key_prefix: Optional[Dict[str, str]]=None, - username: Optional[str]=None, - password: Optional[str]=None, - access_token: Optional[str]=None, - server_index: Optional[int]=None, - server_variables: Optional[ServerVariablesT]=None, - server_operation_index: Optional[Dict[int, int]]=None, - server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None, - ignore_operation_servers: bool=False, - ssl_ca_cert: Optional[str]=None, + host: Optional[str] = None, + api_key: Optional[Dict[str, str]] = None, + api_key_prefix: Optional[Dict[str, str]] = None, + username: Optional[str] = None, + password: Optional[str] = None, + access_token: Optional[str] = None, + server_index: Optional[int] = None, + server_variables: Optional[ServerVariablesT] = None, + server_operation_index: Optional[Dict[int, int]] = None, + server_operation_variables: Optional[Dict[int, ServerVariablesT]] = None, + ignore_operation_servers: bool = False, + ssl_ca_cert: Optional[str] = None, retries: Optional[Union[int, urllib3.util.retry.Retry]] = None, ca_cert_data: Optional[Union[str, bytes]] = None, - cert_file: Optional[str]=None, - key_file: Optional[str]=None, - verify_ssl: bool=True, - assert_hostname: Optional[bool]=None, - tls_server_name: Optional[str]=None, - connection_pool_maxsize: Optional[int]=None, - proxy: Optional[str]=None, - proxy_headers: Optional[Any]=None, - safe_chars_for_path_param: str='', - client_side_validation: bool=True, - socket_options: Optional[Any]=None, - datetime_format: str="%Y-%m-%dT%H:%M:%S.%f%z", - date_format: str="%Y-%m-%d", + cert_file: Optional[str] = None, + key_file: Optional[str] = None, + verify_ssl: bool = True, + assert_hostname: Optional[bool] = None, + tls_server_name: Optional[str] = None, + connection_pool_maxsize: Optional[int] = None, + proxy: Optional[str] = None, + proxy_headers: Optional[Any] = None, + safe_chars_for_path_param: str = '', + client_side_validation: bool = True, + socket_options: Optional[Any] = None, + datetime_format: str = "%Y-%m-%dT%H:%M:%S.%f%z", + date_format: str = "%Y-%m-%d", *, debug: Optional[bool] = None, ) -> None: @@ -324,7 +327,11 @@ def __init__( Set this to the SNI value expected by the server. """ - self.connection_pool_maxsize = connection_pool_maxsize if connection_pool_maxsize is not None else multiprocessing.cpu_count() * 5 + self.connection_pool_maxsize = ( + connection_pool_maxsize + if connection_pool_maxsize is not None + else multiprocessing.cpu_count() * 5 + ) """urllib3 connection pool's maximum number of connections saved per pool. None in the constructor is coerced to cpu_count * 5. """ @@ -493,7 +500,9 @@ def logger_format(self, value: str) -> None: self.__logger_format = value self.logger_formatter = logging.Formatter(self.__logger_format) - def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]: + def get_api_key_with_prefix( + self, identifier: str, alias: Optional[str] = None + ) -> Optional[str]: """Gets API key (with prefix if set). :param identifier: The identifier of apiKey. @@ -528,7 +537,7 @@ def get_basic_auth_token(self) -> Optional[str]: basic_auth=username + ':' + password ).get('authorization') - def auth_settings(self)-> AuthSettings: + def auth_settings(self) -> AuthSettings: """Gets Auth Settings dict for api client. :return: The Auth Settings information dict. @@ -554,7 +563,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 26.5.0".\ + "SDK Package Version: 26.6.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: @@ -572,8 +581,8 @@ def get_host_settings(self) -> List[HostSetting]: def get_host_from_settings( self, index: Optional[int], - variables: Optional[ServerVariablesT]=None, - servers: Optional[List[HostSetting]]=None, + variables: Optional[ServerVariablesT] = None, + servers: Optional[List[HostSetting]] = None, ) -> str: """Gets host URL based on the index and variables :param index: array index of the host settings diff --git a/graphiant_sdk/exceptions.py b/graphiant_sdk/exceptions.py index 94034552..d94789f1 100644 --- a/graphiant_sdk/exceptions.py +++ b/graphiant_sdk/exceptions.py @@ -13,6 +13,7 @@ from typing import Any, Optional from typing_extensions import Self + class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" @@ -103,9 +104,9 @@ def __init__(self, msg, path_to_item=None) -> None: class ApiException(OpenApiException): def __init__( - self, - status=None, - reason=None, + self, + status=None, + reason=None, http_resp=None, *, body: Optional[str] = None, @@ -131,10 +132,10 @@ def __init__( @classmethod def from_response( - cls, - *, - http_resp, - body: Optional[str], + cls, + *, + http_resp, + body: Optional[str], data: Optional[Any], ) -> Self: if http_resp.status == 400: diff --git a/graphiant_sdk/models/__init__.py b/graphiant_sdk/models/__init__.py index 31f31e21..06e8e929 100644 --- a/graphiant_sdk/models/__init__.py +++ b/graphiant_sdk/models/__init__.py @@ -33,6 +33,8 @@ from graphiant_sdk.models.assurance_app_id_record import AssuranceAppIdRecord from graphiant_sdk.models.assurance_app_name_record import AssuranceAppNameRecord from graphiant_sdk.models.assurance_application_profile_summary import AssuranceApplicationProfileSummary +from graphiant_sdk.models.assurance_approved_app_entry import AssuranceApprovedAppEntry +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest from graphiant_sdk.models.assurance_bucket_app import AssuranceBucketApp from graphiant_sdk.models.assurance_bucket_app_server import AssuranceBucketAppServer from graphiant_sdk.models.assurance_bucket_details import AssuranceBucketDetails @@ -52,11 +54,13 @@ from graphiant_sdk.models.assurance_exchange_service_identifier import AssuranceExchangeServiceIdentifier from graphiant_sdk.models.assurance_flex_algo_identifier import AssuranceFlexAlgoIdentifier from graphiant_sdk.models.assurance_geolocation import AssuranceGeolocation +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric from graphiant_sdk.models.assurance_region import AssuranceRegion from graphiant_sdk.models.assurance_score_bucket_count import AssuranceScoreBucketCount from graphiant_sdk.models.assurance_score_details import AssuranceScoreDetails from graphiant_sdk.models.assurance_site import AssuranceSite from graphiant_sdk.models.assurance_time_window import AssuranceTimeWindow +from graphiant_sdk.models.assurance_top_level_kpi import AssuranceTopLevelKpi from graphiant_sdk.models.assurance_topology import AssuranceTopology from graphiant_sdk.models.assurance_topology_edge import AssuranceTopologyEdge from graphiant_sdk.models.assurance_topology_edge_link_performance import AssuranceTopologyEdgeLinkPerformance @@ -64,7 +68,11 @@ from graphiant_sdk.models.assurance_topology_node import AssuranceTopologyNode from graphiant_sdk.models.assurance_topology_path import AssuranceTopologyPath from graphiant_sdk.models.assurance_trend_value import AssuranceTrendValue +from graphiant_sdk.models.assurance_user_definition import AssuranceUserDefinition from graphiant_sdk.models.assurance_user_report import AssuranceUserReport +from graphiant_sdk.models.assurance_what_widget import AssuranceWhatWidget +from graphiant_sdk.models.assurance_when_widget import AssuranceWhenWidget +from graphiant_sdk.models.assurance_where_widget import AssuranceWhereWidget from graphiant_sdk.models.audit_activity_item import AuditActivityItem from graphiant_sdk.models.audit_audit_entry import AuditAuditEntry from graphiant_sdk.models.audit_target import AuditTarget @@ -86,6 +94,7 @@ from graphiant_sdk.models.common_permissions import CommonPermissions from graphiant_sdk.models.common_user import CommonUser from graphiant_sdk.models.common_user_info import CommonUserInfo +from graphiant_sdk.models.conceal_agent import ConcealAgent from graphiant_sdk.models.config_worker_job_status import ConfigWorkerJobStatus from graphiant_sdk.models.diagnostic_tools_archive import DiagnosticToolsArchive from graphiant_sdk.models.diagnostic_tools_arp_entry import DiagnosticToolsArpEntry @@ -276,6 +285,8 @@ from graphiant_sdk.models.mana_v2_guest_consumer_site_to_site_vpn_config import ManaV2GuestConsumerSiteToSiteVpnConfig from graphiant_sdk.models.mana_v2_i_psec_bgp_route_config import ManaV2IPsecBgpRouteConfig from graphiant_sdk.models.mana_v2_i_psec_gateway_details import ManaV2IPsecGatewayDetails +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig +from graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer import ManaV2IPsecGatewayRemotePeer from graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details import ManaV2IPsecGatewayTunnelDetails from graphiant_sdk.models.mana_v2_i_psec_profile import ManaV2IPsecProfile from graphiant_sdk.models.mana_v2_i_psec_static_route_config import ManaV2IPsecStaticRouteConfig @@ -311,6 +322,8 @@ from graphiant_sdk.models.mana_v2_lacp_config import ManaV2LacpConfig from graphiant_sdk.models.mana_v2_lag_interface import ManaV2LagInterface from graphiant_sdk.models.mana_v2_lag_interface_config import ManaV2LagInterfaceConfig +from graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry import ManaV2LanSegmentPublicInterfaceEntry +from graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists import ManaV2LanSegmentPublicInterfacesLists from graphiant_sdk.models.mana_v2_lan_segment_sites_map import ManaV2LanSegmentSitesMap from graphiant_sdk.models.mana_v2_latency_bandwidth import ManaV2LatencyBandwidth from graphiant_sdk.models.mana_v2_lldp_neighbor import ManaV2LldpNeighbor @@ -475,17 +488,11 @@ from graphiant_sdk.models.mana_v2_prometheus_rule_group_config import ManaV2PrometheusRuleGroupConfig from graphiant_sdk.models.mana_v2_prometheus_sys_db_monitor_config import ManaV2PrometheusSysDbMonitorConfig from graphiant_sdk.models.mana_v2_psk_configuration import ManaV2PskConfiguration -from graphiant_sdk.models.mana_v2_public_vif import ManaV2PublicVif -from graphiant_sdk.models.mana_v2_public_vif_consumer_lan_segment import ManaV2PublicVifConsumerLanSegment -from graphiant_sdk.models.mana_v2_public_vif_consumer_lan_segment_response import ManaV2PublicVifConsumerLanSegmentResponse -from graphiant_sdk.models.mana_v2_public_vif_consumer_policy import ManaV2PublicVifConsumerPolicy -from graphiant_sdk.models.mana_v2_public_vif_consumer_policy_response import ManaV2PublicVifConsumerPolicyResponse -from graphiant_sdk.models.mana_v2_public_vif_device import ManaV2PublicVifDevice -from graphiant_sdk.models.mana_v2_public_vif_dynamic import ManaV2PublicVifDynamic -from graphiant_sdk.models.mana_v2_public_vif_fixed import ManaV2PublicVifFixed -from graphiant_sdk.models.mana_v2_public_vif_fixed_nat import ManaV2PublicVifFixedNat -from graphiant_sdk.models.mana_v2_public_vif_producer_policy import ManaV2PublicVifProducerPolicy -from graphiant_sdk.models.mana_v2_public_vif_producer_policy_response import ManaV2PublicVifProducerPolicyResponse +from graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat import ManaV2PublicVifGatewayCentralizedNat +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes import ManaV2PublicVifGatewayDecentralizedPrefixes +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_public_vif_gateway_write_request import ManaV2PublicVifGatewayWriteRequest from graphiant_sdk.models.mana_v2_public_vif_summary import ManaV2PublicVifSummary from graphiant_sdk.models.mana_v2_qo_s_profile import ManaV2QoSProfile from graphiant_sdk.models.mana_v2_qo_s_profile_queue import ManaV2QoSProfileQueue @@ -586,6 +593,7 @@ from graphiant_sdk.models.mana_v2_vrf_config import ManaV2VrfConfig from graphiant_sdk.models.mana_v2_vrrp_group import ManaV2VrrpGroup from graphiant_sdk.models.mana_v2_vrrp_group_config import ManaV2VrrpGroupConfig +from graphiant_sdk.models.mana_v2_zero_trust_consumption_summary import ManaV2ZeroTrustConsumptionSummary from graphiant_sdk.models.mana_v2_zone import ManaV2Zone from graphiant_sdk.models.mana_v2_zone_firewall_config import ManaV2ZoneFirewallConfig from graphiant_sdk.models.mana_v2_zone_firewall_ip_policy_config import ManaV2ZoneFirewallIpPolicyConfig @@ -989,14 +997,6 @@ from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_health_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest from graphiant_sdk.models.v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_response import V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_check_post_request import V1ExtranetPublicVifCheckPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_check_post_response import V1ExtranetPublicVifCheckPostResponse -from graphiant_sdk.models.v1_extranet_public_vif_get_response import V1ExtranetPublicVifGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_get_response import V1ExtranetPublicVifIdGetResponse -from graphiant_sdk.models.v1_extranet_public_vif_id_put_request import V1ExtranetPublicVifIdPutRequest -from graphiant_sdk.models.v1_extranet_public_vif_id_put_response import V1ExtranetPublicVifIdPutResponse -from graphiant_sdk.models.v1_extranet_public_vif_post_request import V1ExtranetPublicVifPostRequest -from graphiant_sdk.models.v1_extranet_public_vif_post_response import V1ExtranetPublicVifPostResponse from graphiant_sdk.models.v1_extranet_sites_usage_top_post_request import V1ExtranetSitesUsageTopPostRequest from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response import V1ExtranetSitesUsageTopPostResponse from graphiant_sdk.models.v1_extranet_sites_usage_top_post_response_site_usage import V1ExtranetSitesUsageTopPostResponseSiteUsage @@ -1167,6 +1167,7 @@ from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_response import V1LldpInterfaceIdNeighborsGetResponse from graphiant_sdk.models.v1_lldp_interface_id_summary_get_response import V1LldpInterfaceIdSummaryGetResponse from graphiant_sdk.models.v1_lldp_interface_id_vendors_get_response import V1LldpInterfaceIdVendorsGetResponse @@ -1186,8 +1187,16 @@ from graphiant_sdk.models.v1_policy_route_tag_sets_tags_get_response import V1PolicyRouteTagSetsTagsGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_summary_get_response import V1PolicyRouteTagSetsTagsSummaryGetResponse from graphiant_sdk.models.v1_presharedkey_get_response import V1PresharedkeyGetResponse +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse @@ -1248,6 +1257,7 @@ from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest @@ -1267,6 +1277,8 @@ from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest @@ -1281,6 +1293,8 @@ from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest @@ -1290,7 +1304,10 @@ from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest @@ -1316,6 +1333,7 @@ from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response_summary import V2AssuranceTopologySiteSummariesPostResponseSummary from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest diff --git a/graphiant_sdk/models/assurance_app_name_record.py b/graphiant_sdk/models/assurance_app_name_record.py index 9914bab9..640bbf4a 100644 --- a/graphiant_sdk/models/assurance_app_name_record.py +++ b/graphiant_sdk/models/assurance_app_name_record.py @@ -34,6 +34,7 @@ class AssuranceAppNameRecord(BaseModel): affected_regions: Optional[StrictInt] = Field(default=None, alias="affectedRegions", json_schema_extra={"examples": [1234567891011]}) affected_sites: Optional[StrictInt] = Field(default=None, alias="affectedSites", json_schema_extra={"examples": [1234567891011]}) affected_vrfs: Optional[StrictInt] = Field(default=None, alias="affectedVrfs", json_schema_extra={"examples": [1234567891011]}) + app_ai_tag: Optional[StrictStr] = Field(default=None, alias="appAiTag", json_schema_extra={"examples": ["ENUM_VALUE"]}) app_id: Optional[StrictInt] = Field(default=None, alias="appId", json_schema_extra={"examples": [1234567891011]}) app_id_records: Optional[List[AssuranceAppIdRecord]] = Field(default=None, alias="appIdRecords") app_name: Optional[StrictStr] = Field(default=None, alias="appName", json_schema_extra={"examples": ["example string"]}) @@ -46,7 +47,7 @@ class AssuranceAppNameRecord(BaseModel): recommendation: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) risk_status: Optional[StrictStr] = Field(default=None, alias="riskStatus", json_schema_extra={"examples": ["ENUM_VALUE"]}) threat_score: Optional[StrictInt] = Field(default=None, alias="threatScore", json_schema_extra={"examples": [1234567891011]}) - __properties: ClassVar[List[str]] = ["affectedHosts", "affectedRegions", "affectedSites", "affectedVrfs", "appId", "appIdRecords", "appName", "appType", "category", "daClassified", "exchangeService", "flexAlgo", "flowsAnalyzed", "recommendation", "riskStatus", "threatScore"] + __properties: ClassVar[List[str]] = ["affectedHosts", "affectedRegions", "affectedSites", "affectedVrfs", "appAiTag", "appId", "appIdRecords", "appName", "appType", "category", "daClassified", "exchangeService", "flexAlgo", "flowsAnalyzed", "recommendation", "riskStatus", "threatScore"] model_config = ConfigDict( validate_by_name=True, @@ -124,6 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "affectedRegions": obj.get("affectedRegions"), "affectedSites": obj.get("affectedSites"), "affectedVrfs": obj.get("affectedVrfs"), + "appAiTag": obj.get("appAiTag"), "appId": obj.get("appId"), "appIdRecords": [AssuranceAppIdRecord.from_dict(_item) for _item in obj["appIdRecords"]] if obj.get("appIdRecords") is not None else None, "appName": obj.get("appName"), diff --git a/graphiant_sdk/models/assurance_approved_app_entry.py b/graphiant_sdk/models/assurance_approved_app_entry.py new file mode 100644 index 00000000..c2c08bab --- /dev/null +++ b/graphiant_sdk/models/assurance_approved_app_entry.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceApprovedAppEntry(BaseModel): + """ + AssuranceApprovedAppEntry + """ # noqa: E501 + active_users: Optional[StrictInt] = Field(default=None, description="number of active users (required)", alias="activeUsers", json_schema_extra={"examples": [1234567891011]}) + category: Optional[StrictStr] = Field(default=None, description="approved AI tool category (required)", json_schema_extra={"examples": ["example string"]}) + data_sent_kbps: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="data sent in kbps (required)", alias="dataSentKbps", json_schema_extra={"examples": [123.45]}) + id: Optional[StrictStr] = Field(default=None, description="approved app entry identifier (required)", json_schema_extra={"examples": ["example string"]}) + tool: Optional[StrictStr] = Field(default=None, description="approved AI tool name (required)", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["activeUsers", "category", "dataSentKbps", "id", "tool"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceApprovedAppEntry from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceApprovedAppEntry from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activeUsers": obj.get("activeUsers"), + "category": obj.get("category"), + "dataSentKbps": obj.get("dataSentKbps"), + "id": obj.get("id"), + "tool": obj.get("tool") + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_approved_app_entry_request.py b/graphiant_sdk/models/assurance_approved_app_entry_request.py new file mode 100644 index 00000000..e3414f17 --- /dev/null +++ b/graphiant_sdk/models/assurance_approved_app_entry_request.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceApprovedAppEntryRequest(BaseModel): + """ + AssuranceApprovedAppEntryRequest + """ # noqa: E501 + app_name: StrictStr = Field(description="app name to approve (required)", alias="appName", json_schema_extra={"examples": ["example string"]}) + domain: Optional[StrictStr] = Field(default=None, description="app name to approve", json_schema_extra={"examples": ["example string"]}) + id: Optional[StrictStr] = Field(default=None, description="approved app entry identifier", json_schema_extra={"examples": ["example string"]}) + tag_requested: StrictStr = Field(description="resulting tag, approved or shadow (required)", alias="tagRequested", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["appName", "domain", "id", "tagRequested"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceApprovedAppEntryRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceApprovedAppEntryRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "appName": obj.get("appName"), + "domain": obj.get("domain"), + "id": obj.get("id"), + "tagRequested": obj.get("tagRequested") + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_kpi_metric.py b/graphiant_sdk/models/assurance_kpi_metric.py new file mode 100644 index 00000000..655df055 --- /dev/null +++ b/graphiant_sdk/models/assurance_kpi_metric.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceKpiMetric(BaseModel): + """ + AssuranceKpiMetric + """ # noqa: E501 + delta: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="delta value for the metric", json_schema_extra={"examples": [123.45]}) + name: Optional[StrictStr] = Field(default=None, description="name of the metric", json_schema_extra={"examples": ["example string"]}) + percent: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="AI adoption percent for the metric", json_schema_extra={"examples": [123.45]}) + tag: Optional[StrictStr] = Field(default=None, description="AI adoption tag for the metric", json_schema_extra={"examples": ["ENUM_VALUE"]}) + value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="metric value (required)", json_schema_extra={"examples": [123.45]}) + __properties: ClassVar[List[str]] = ["delta", "name", "percent", "tag", "value"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceKpiMetric from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceKpiMetric from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "delta": obj.get("delta"), + "name": obj.get("name"), + "percent": obj.get("percent"), + "tag": obj.get("tag"), + "value": obj.get("value") + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_top_level_kpi.py b/graphiant_sdk/models/assurance_top_level_kpi.py new file mode 100644 index 00000000..56f0841c --- /dev/null +++ b/graphiant_sdk/models/assurance_top_level_kpi.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceTopLevelKpi(BaseModel): + """ + AssuranceTopLevelKpi + """ # noqa: E501 + data_transferred_kbps_metric: Optional[AssuranceKpiMetric] = Field(default=None, alias="dataTransferredKbpsMetric") + shadow_ai_tools_metric: Optional[AssuranceKpiMetric] = Field(default=None, alias="shadowAiToolsMetric") + tools_metric: Optional[AssuranceKpiMetric] = Field(default=None, alias="toolsMetric") + users_metric: Optional[AssuranceKpiMetric] = Field(default=None, alias="usersMetric") + __properties: ClassVar[List[str]] = ["dataTransferredKbpsMetric", "shadowAiToolsMetric", "toolsMetric", "usersMetric"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceTopLevelKpi from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of data_transferred_kbps_metric + if self.data_transferred_kbps_metric: + _dict['dataTransferredKbpsMetric'] = self.data_transferred_kbps_metric.to_dict() + # override the default output from pydantic by calling `to_dict()` of shadow_ai_tools_metric + if self.shadow_ai_tools_metric: + _dict['shadowAiToolsMetric'] = self.shadow_ai_tools_metric.to_dict() + # override the default output from pydantic by calling `to_dict()` of tools_metric + if self.tools_metric: + _dict['toolsMetric'] = self.tools_metric.to_dict() + # override the default output from pydantic by calling `to_dict()` of users_metric + if self.users_metric: + _dict['usersMetric'] = self.users_metric.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceTopLevelKpi from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataTransferredKbpsMetric": AssuranceKpiMetric.from_dict(obj["dataTransferredKbpsMetric"]) if obj.get("dataTransferredKbpsMetric") is not None else None, + "shadowAiToolsMetric": AssuranceKpiMetric.from_dict(obj["shadowAiToolsMetric"]) if obj.get("shadowAiToolsMetric") is not None else None, + "toolsMetric": AssuranceKpiMetric.from_dict(obj["toolsMetric"]) if obj.get("toolsMetric") is not None else None, + "usersMetric": AssuranceKpiMetric.from_dict(obj["usersMetric"]) if obj.get("usersMetric") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_user_definition.py b/graphiant_sdk/models/assurance_user_definition.py new file mode 100644 index 00000000..fef796a9 --- /dev/null +++ b/graphiant_sdk/models/assurance_user_definition.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceUserDefinition(BaseModel): + """ + AssuranceUserDefinition + """ # noqa: E501 + data_sent: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="data sent by the user (required)", alias="dataSent", json_schema_extra={"examples": [123.45]}) + managed: Optional[StrictBool] = Field(default=None, description="whether the user is managed (required)", json_schema_extra={"examples": [True]}) + sessions_day: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="daily sessions for the user (required)", alias="sessionsDay", json_schema_extra={"examples": [123.45]}) + user: Optional[StrictStr] = Field(default=None, description="user identifier (required)", json_schema_extra={"examples": ["example string"]}) + vrf: Optional[StrictStr] = Field(default=None, description="VRF associated with the user (required)", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["dataSent", "managed", "sessionsDay", "user", "vrf"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceUserDefinition from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceUserDefinition from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataSent": obj.get("dataSent"), + "managed": obj.get("managed"), + "sessionsDay": obj.get("sessionsDay"), + "user": obj.get("user"), + "vrf": obj.get("vrf") + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_what_widget.py b/graphiant_sdk/models/assurance_what_widget.py new file mode 100644 index 00000000..5d96c502 --- /dev/null +++ b/graphiant_sdk/models/assurance_what_widget.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceWhatWidget(BaseModel): + """ + AssuranceWhatWidget + """ # noqa: E501 + bubble_categories: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="bubbleCategories") + top_tools_by_active_users: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="topToolsByActiveUsers") + top_tools_by_data_transferred: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="topToolsByDataTransferred") + __properties: ClassVar[List[str]] = ["bubbleCategories", "topToolsByActiveUsers", "topToolsByDataTransferred"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceWhatWidget from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in bubble_categories (list) + _items = [] + if self.bubble_categories: + for _item_bubble_categories in self.bubble_categories: + if _item_bubble_categories: + _items.append(_item_bubble_categories.to_dict()) + _dict['bubbleCategories'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in top_tools_by_active_users (list) + _items = [] + if self.top_tools_by_active_users: + for _item_top_tools_by_active_users in self.top_tools_by_active_users: + if _item_top_tools_by_active_users: + _items.append(_item_top_tools_by_active_users.to_dict()) + _dict['topToolsByActiveUsers'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in top_tools_by_data_transferred (list) + _items = [] + if self.top_tools_by_data_transferred: + for _item_top_tools_by_data_transferred in self.top_tools_by_data_transferred: + if _item_top_tools_by_data_transferred: + _items.append(_item_top_tools_by_data_transferred.to_dict()) + _dict['topToolsByDataTransferred'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceWhatWidget from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bubbleCategories": [AssuranceKpiMetric.from_dict(_item) for _item in obj["bubbleCategories"]] if obj.get("bubbleCategories") is not None else None, + "topToolsByActiveUsers": [AssuranceKpiMetric.from_dict(_item) for _item in obj["topToolsByActiveUsers"]] if obj.get("topToolsByActiveUsers") is not None else None, + "topToolsByDataTransferred": [AssuranceKpiMetric.from_dict(_item) for _item in obj["topToolsByDataTransferred"]] if obj.get("topToolsByDataTransferred") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_when_widget.py b/graphiant_sdk/models/assurance_when_widget.py new file mode 100644 index 00000000..e53fd20e --- /dev/null +++ b/graphiant_sdk/models/assurance_when_widget.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceWhenWidget(BaseModel): + """ + AssuranceWhenWidget + """ # noqa: E501 + day_of_week: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="dayOfWeek") + hour_of_day: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="hourOfDay") + monthly_active_users: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="monthlyActiveUsers") + monthly_bandwidth_transferred: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="monthlyBandwidthTransferred") + __properties: ClassVar[List[str]] = ["dayOfWeek", "hourOfDay", "monthlyActiveUsers", "monthlyBandwidthTransferred"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceWhenWidget from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in day_of_week (list) + _items = [] + if self.day_of_week: + for _item_day_of_week in self.day_of_week: + if _item_day_of_week: + _items.append(_item_day_of_week.to_dict()) + _dict['dayOfWeek'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in hour_of_day (list) + _items = [] + if self.hour_of_day: + for _item_hour_of_day in self.hour_of_day: + if _item_hour_of_day: + _items.append(_item_hour_of_day.to_dict()) + _dict['hourOfDay'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in monthly_active_users (list) + _items = [] + if self.monthly_active_users: + for _item_monthly_active_users in self.monthly_active_users: + if _item_monthly_active_users: + _items.append(_item_monthly_active_users.to_dict()) + _dict['monthlyActiveUsers'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in monthly_bandwidth_transferred (list) + _items = [] + if self.monthly_bandwidth_transferred: + for _item_monthly_bandwidth_transferred in self.monthly_bandwidth_transferred: + if _item_monthly_bandwidth_transferred: + _items.append(_item_monthly_bandwidth_transferred.to_dict()) + _dict['monthlyBandwidthTransferred'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceWhenWidget from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dayOfWeek": [AssuranceKpiMetric.from_dict(_item) for _item in obj["dayOfWeek"]] if obj.get("dayOfWeek") is not None else None, + "hourOfDay": [AssuranceKpiMetric.from_dict(_item) for _item in obj["hourOfDay"]] if obj.get("hourOfDay") is not None else None, + "monthlyActiveUsers": [AssuranceKpiMetric.from_dict(_item) for _item in obj["monthlyActiveUsers"]] if obj.get("monthlyActiveUsers") is not None else None, + "monthlyBandwidthTransferred": [AssuranceKpiMetric.from_dict(_item) for _item in obj["monthlyBandwidthTransferred"]] if obj.get("monthlyBandwidthTransferred") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/assurance_where_widget.py b/graphiant_sdk/models/assurance_where_widget.py new file mode 100644 index 00000000..9e8229da --- /dev/null +++ b/graphiant_sdk/models/assurance_where_widget.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric +from graphiant_sdk.models.assurance_user_definition import AssuranceUserDefinition +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class AssuranceWhereWidget(BaseModel): + """ + AssuranceWhereWidget + """ # noqa: E501 + top_sites_by_users: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="topSitesByUsers") + top_users_by_data_transferred: Optional[List[AssuranceUserDefinition]] = Field(default=None, alias="topUsersByDataTransferred") + top_vrfs_by_users: Optional[List[AssuranceKpiMetric]] = Field(default=None, alias="topVrfsByUsers") + __properties: ClassVar[List[str]] = ["topSitesByUsers", "topUsersByDataTransferred", "topVrfsByUsers"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssuranceWhereWidget from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in top_sites_by_users (list) + _items = [] + if self.top_sites_by_users: + for _item_top_sites_by_users in self.top_sites_by_users: + if _item_top_sites_by_users: + _items.append(_item_top_sites_by_users.to_dict()) + _dict['topSitesByUsers'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in top_users_by_data_transferred (list) + _items = [] + if self.top_users_by_data_transferred: + for _item_top_users_by_data_transferred in self.top_users_by_data_transferred: + if _item_top_users_by_data_transferred: + _items.append(_item_top_users_by_data_transferred.to_dict()) + _dict['topUsersByDataTransferred'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in top_vrfs_by_users (list) + _items = [] + if self.top_vrfs_by_users: + for _item_top_vrfs_by_users in self.top_vrfs_by_users: + if _item_top_vrfs_by_users: + _items.append(_item_top_vrfs_by_users.to_dict()) + _dict['topVrfsByUsers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssuranceWhereWidget from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "topSitesByUsers": [AssuranceKpiMetric.from_dict(_item) for _item in obj["topSitesByUsers"]] if obj.get("topSitesByUsers") is not None else None, + "topUsersByDataTransferred": [AssuranceUserDefinition.from_dict(_item) for _item in obj["topUsersByDataTransferred"]] if obj.get("topUsersByDataTransferred") is not None else None, + "topVrfsByUsers": [AssuranceKpiMetric.from_dict(_item) for _item in obj["topVrfsByUsers"]] if obj.get("topVrfsByUsers") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/conceal_agent.py b/graphiant_sdk/models/conceal_agent.py new file mode 100644 index 00000000..804d0254 --- /dev/null +++ b/graphiant_sdk/models/conceal_agent.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ConcealAgent(BaseModel): + """ + ConcealAgent + """ # noqa: E501 + created_at: Optional[StrictStr] = Field(default=None, alias="createdAt", json_schema_extra={"examples": ["example string"]}) + disabled: Optional[StrictBool] = Field(default=None, json_schema_extra={"examples": [True]}) + id: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + identifier: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + last_checkin: Optional[StrictStr] = Field(default=None, alias="lastCheckin", json_schema_extra={"examples": ["example string"]}) + machine: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["createdAt", "disabled", "id", "identifier", "lastCheckin", "machine"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConcealAgent from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConcealAgent from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "createdAt": obj.get("createdAt"), + "disabled": obj.get("disabled"), + "id": obj.get("id"), + "identifier": obj.get("identifier"), + "lastCheckin": obj.get("lastCheckin"), + "machine": obj.get("machine") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_guest_consumer_site_to_site_vpn_config.py b/graphiant_sdk/models/mana_v2_guest_consumer_site_to_site_vpn_config.py index 07f87f66..68080988 100644 --- a/graphiant_sdk/models/mana_v2_guest_consumer_site_to_site_vpn_config.py +++ b/graphiant_sdk/models/mana_v2_guest_consumer_site_to_site_vpn_config.py @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.mana_v2_i_psec_gateway_details import ManaV2IPsecGatewayDetails +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig from typing import Optional, Set from typing_extensions import Self from pydantic_core import to_jsonable_python @@ -30,8 +31,9 @@ class ManaV2GuestConsumerSiteToSiteVpnConfig(BaseModel): """ # noqa: E501 emails: Optional[List[StrictStr]] = None ipsec_gateway_details: Optional[ManaV2IPsecGatewayDetails] = Field(default=None, alias="ipsecGatewayDetails") + ipsec_gateway_peers: Optional[ManaV2IPsecGatewayPeersConfig] = Field(default=None, alias="ipsecGatewayPeers") region_id: Optional[StrictInt] = Field(default=None, alias="regionId", json_schema_extra={"examples": [123]}) - __properties: ClassVar[List[str]] = ["emails", "ipsecGatewayDetails", "regionId"] + __properties: ClassVar[List[str]] = ["emails", "ipsecGatewayDetails", "ipsecGatewayPeers", "regionId"] model_config = ConfigDict( validate_by_name=True, @@ -75,6 +77,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of ipsec_gateway_details if self.ipsec_gateway_details: _dict['ipsecGatewayDetails'] = self.ipsec_gateway_details.to_dict() + # override the default output from pydantic by calling `to_dict()` of ipsec_gateway_peers + if self.ipsec_gateway_peers: + _dict['ipsecGatewayPeers'] = self.ipsec_gateway_peers.to_dict() return _dict @classmethod @@ -89,6 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "emails": obj.get("emails"), "ipsecGatewayDetails": ManaV2IPsecGatewayDetails.from_dict(obj["ipsecGatewayDetails"]) if obj.get("ipsecGatewayDetails") is not None else None, + "ipsecGatewayPeers": ManaV2IPsecGatewayPeersConfig.from_dict(obj["ipsecGatewayPeers"]) if obj.get("ipsecGatewayPeers") is not None else None, "regionId": obj.get("regionId") }) return _obj diff --git a/graphiant_sdk/models/mana_v2_i_psec_gateway_peers_config.py b/graphiant_sdk/models/mana_v2_i_psec_gateway_peers_config.py new file mode 100644 index 00000000..0ee91494 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_i_psec_gateway_peers_config.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer import ManaV2IPsecGatewayRemotePeer +from graphiant_sdk.models.mana_v2_ipsec_routing_config import ManaV2IpsecRoutingConfig +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2IPsecGatewayPeersConfig(BaseModel): + """ + ManaV2IPsecGatewayPeersConfig + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="Name of the IPsec gateway service", json_schema_extra={"examples": ["example string"]}) + remote_peers: Optional[List[ManaV2IPsecGatewayRemotePeer]] = Field(default=None, alias="remotePeers") + routing: Optional[ManaV2IpsecRoutingConfig] = None + __properties: ClassVar[List[str]] = ["name", "remotePeers", "routing"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2IPsecGatewayPeersConfig from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in remote_peers (list) + _items = [] + if self.remote_peers: + for _item_remote_peers in self.remote_peers: + if _item_remote_peers: + _items.append(_item_remote_peers.to_dict()) + _dict['remotePeers'] = _items + # override the default output from pydantic by calling `to_dict()` of routing + if self.routing: + _dict['routing'] = self.routing.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2IPsecGatewayPeersConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "remotePeers": [ManaV2IPsecGatewayRemotePeer.from_dict(_item) for _item in obj["remotePeers"]] if obj.get("remotePeers") is not None else None, + "routing": ManaV2IpsecRoutingConfig.from_dict(obj["routing"]) if obj.get("routing") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_i_psec_gateway_remote_peer.py b/graphiant_sdk/models/mana_v2_i_psec_gateway_remote_peer.py new file mode 100644 index 00000000..b9ed5268 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_i_psec_gateway_remote_peer.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details import ManaV2IPsecGatewayTunnelDetails +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2IPsecGatewayRemotePeer(BaseModel): + """ + ManaV2IPsecGatewayRemotePeer + """ # noqa: E501 + destination_address: Optional[StrictStr] = Field(default=None, alias="destinationAddress", json_schema_extra={"examples": ["example string"]}) + ike_initiator: Optional[StrictBool] = Field(default=None, description="When true, Graphiant initiates IKE for this peer", alias="ikeInitiator", json_schema_extra={"examples": [True]}) + mtu: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, json_schema_extra={"examples": [123]}) + name: Optional[StrictStr] = Field(default=None, description="Optional display name or label for this peer; used when generating tunnel names", json_schema_extra={"examples": ["example string"]}) + remote_ike_peer_identity: Optional[StrictStr] = Field(default=None, description="IKE identity of the remote peer", alias="remoteIkePeerIdentity", json_schema_extra={"examples": ["example string"]}) + tcp_mss: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tcpMss", json_schema_extra={"examples": [123]}) + tunnel1: Optional[ManaV2IPsecGatewayTunnelDetails] = None + tunnel2: Optional[ManaV2IPsecGatewayTunnelDetails] = None + vpn_profile: Optional[StrictStr] = Field(default=None, description="Enterprise IPsec VPN profile name for this peer", alias="vpnProfile", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["destinationAddress", "ikeInitiator", "mtu", "name", "remoteIkePeerIdentity", "tcpMss", "tunnel1", "tunnel2", "vpnProfile"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2IPsecGatewayRemotePeer from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of tunnel1 + if self.tunnel1: + _dict['tunnel1'] = self.tunnel1.to_dict() + # override the default output from pydantic by calling `to_dict()` of tunnel2 + if self.tunnel2: + _dict['tunnel2'] = self.tunnel2.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2IPsecGatewayRemotePeer from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "destinationAddress": obj.get("destinationAddress"), + "ikeInitiator": obj.get("ikeInitiator"), + "mtu": obj.get("mtu"), + "name": obj.get("name"), + "remoteIkePeerIdentity": obj.get("remoteIkePeerIdentity"), + "tcpMss": obj.get("tcpMss"), + "tunnel1": ManaV2IPsecGatewayTunnelDetails.from_dict(obj["tunnel1"]) if obj.get("tunnel1") is not None else None, + "tunnel2": ManaV2IPsecGatewayTunnelDetails.from_dict(obj["tunnel2"]) if obj.get("tunnel2") is not None else None, + "vpnProfile": obj.get("vpnProfile") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_lan_segment_public_interface_entry.py b/graphiant_sdk/models/mana_v2_lan_segment_public_interface_entry.py new file mode 100644 index 00000000..1c071caa --- /dev/null +++ b/graphiant_sdk/models/mana_v2_lan_segment_public_interface_entry.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2LanSegmentPublicInterfaceEntry(BaseModel): + """ + ManaV2LanSegmentPublicInterfaceEntry + """ # noqa: E501 + interface_id: Optional[StrictInt] = Field(default=None, description="network.interface id (required)", alias="interfaceId", json_schema_extra={"examples": [1234567891011]}) + ipv4_addresses: Optional[List[StrictStr]] = Field(default=None, alias="ipv4Addresses") + name: Optional[StrictStr] = Field(default=None, description="Device interface name (BGP local_interface uses this) (required)", json_schema_extra={"examples": ["example string"]}) + storage_provider: Optional[StrictStr] = Field(default=None, description="Interface storage provider (cloud provider for gateway LAN interfaces)", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["interfaceId", "ipv4Addresses", "name", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2LanSegmentPublicInterfaceEntry from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2LanSegmentPublicInterfaceEntry from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "interfaceId": obj.get("interfaceId"), + "ipv4Addresses": obj.get("ipv4Addresses"), + "name": obj.get("name"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_lan_segment_public_interfaces_lists.py b/graphiant_sdk/models/mana_v2_lan_segment_public_interfaces_lists.py new file mode 100644 index 00000000..06e9168e --- /dev/null +++ b/graphiant_sdk/models/mana_v2_lan_segment_public_interfaces_lists.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry import ManaV2LanSegmentPublicInterfaceEntry +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2LanSegmentPublicInterfacesLists(BaseModel): + """ + ManaV2LanSegmentPublicInterfacesLists + """ # noqa: E501 + private_interfaces: Optional[List[ManaV2LanSegmentPublicInterfaceEntry]] = Field(default=None, alias="privateInterfaces") + public_interfaces: Optional[List[ManaV2LanSegmentPublicInterfaceEntry]] = Field(default=None, alias="publicInterfaces") + __properties: ClassVar[List[str]] = ["privateInterfaces", "publicInterfaces"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2LanSegmentPublicInterfacesLists from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in private_interfaces (list) + _items = [] + if self.private_interfaces: + for _item_private_interfaces in self.private_interfaces: + if _item_private_interfaces: + _items.append(_item_private_interfaces.to_dict()) + _dict['privateInterfaces'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in public_interfaces (list) + _items = [] + if self.public_interfaces: + for _item_public_interfaces in self.public_interfaces: + if _item_public_interfaces: + _items.append(_item_public_interfaces.to_dict()) + _dict['publicInterfaces'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2LanSegmentPublicInterfacesLists from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "privateInterfaces": [ManaV2LanSegmentPublicInterfaceEntry.from_dict(_item) for _item in obj["privateInterfaces"]] if obj.get("privateInterfaces") is not None else None, + "publicInterfaces": [ManaV2LanSegmentPublicInterfaceEntry.from_dict(_item) for _item in obj["publicInterfaces"]] if obj.get("publicInterfaces") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_centralized_nat.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_centralized_nat.py new file mode 100644 index 00000000..987cadbb --- /dev/null +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_centralized_nat.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2PublicVifGatewayCentralizedNat(BaseModel): + """ + ManaV2PublicVifGatewayCentralizedNat + """ # noqa: E501 + consumer_prefix: Dict[str, StrictStr] = Field(alias="consumerPrefix") + __properties: ClassVar[List[str]] = ["consumerPrefix"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayCentralizedNat from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayCentralizedNat from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerPrefix": obj.get("consumerPrefix") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_consumer_lan_devices.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_consumer_lan_devices.py new file mode 100644 index 00000000..a781ed67 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_consumer_lan_devices.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2PublicVifGatewayConsumerLanDevices(BaseModel): + """ + ManaV2PublicVifGatewayConsumerLanDevices + """ # noqa: E501 + consumer_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="consumerPrefixes") + __properties: ClassVar[List[str]] = ["consumerPrefixes"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayConsumerLanDevices from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayConsumerLanDevices from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "consumerPrefixes": obj.get("consumerPrefixes") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_decentralized_prefixes.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_decentralized_prefixes.py new file mode 100644 index 00000000..bbd931e9 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_decentralized_prefixes.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2PublicVifGatewayDecentralizedPrefixes(BaseModel): + """ + ManaV2PublicVifGatewayDecentralizedPrefixes + """ # noqa: E501 + prefixes: Dict[str, StrictStr] + __properties: ClassVar[List[str]] = ["prefixes"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayDecentralizedPrefixes from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayDecentralizedPrefixes from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "prefixes": obj.get("prefixes") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_nat_prefix_strategy.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_nat_prefix_strategy.py new file mode 100644 index 00000000..b9a5297c --- /dev/null +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_nat_prefix_strategy.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat import ManaV2PublicVifGatewayCentralizedNat +from graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes import ManaV2PublicVifGatewayDecentralizedPrefixes +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2PublicVifGatewayNatPrefixStrategy(BaseModel): + """ + ManaV2PublicVifGatewayNatPrefixStrategy + """ # noqa: E501 + centralized: Optional[ManaV2PublicVifGatewayCentralizedNat] = None + decentralized: Optional[ManaV2PublicVifGatewayDecentralizedPrefixes] = None + __properties: ClassVar[List[str]] = ["centralized", "decentralized"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayNatPrefixStrategy from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of centralized + if self.centralized: + _dict['centralized'] = self.centralized.to_dict() + # override the default output from pydantic by calling `to_dict()` of decentralized + if self.decentralized: + _dict['decentralized'] = self.decentralized.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayNatPrefixStrategy from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "centralized": ManaV2PublicVifGatewayCentralizedNat.from_dict(obj["centralized"]) if obj.get("centralized") is not None else None, + "decentralized": ManaV2PublicVifGatewayDecentralizedPrefixes.from_dict(obj["decentralized"]) if obj.get("decentralized") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py new file mode 100644 index 00000000..6efcab1d --- /dev/null +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_bgp_neighbor_config import ManaV2BgpNeighborConfig +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_site_information import ManaV2SiteInformation +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2PublicVifGatewayWriteRequest(BaseModel): + """ + ManaV2PublicVifGatewayWriteRequest + """ # noqa: E501 + advertisement: Optional[ManaV2SiteInformation] = None + consumer_lan_segments: Dict[str, ManaV2PublicVifGatewayConsumerLanDevices] = Field(alias="consumerLanSegments") + covering_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="coveringPrefixes") + gateway_bgp_neighbors: Dict[str, ManaV2BgpNeighborConfig] = Field(alias="gatewayBgpNeighbors") + lan_segment_id: StrictInt = Field(description="Producer LAN segment (VRF) on gateway appliances (required)", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) + nat_prefix_strategy: ManaV2PublicVifGatewayNatPrefixStrategy = Field(alias="natPrefixStrategy") + region_id: StrictInt = Field(description="Graphiant region for gateway appliances (required)", alias="regionId", json_schema_extra={"examples": [123]}) + service_name: StrictStr = Field(description="Service display name (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + storage_provider: StrictStr = Field(description="Storage provider; each gateway appliance must match region and provider (required)", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayWriteRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of advertisement + if self.advertisement: + _dict['advertisement'] = self.advertisement.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in consumer_lan_segments (dict) + _field_dict = {} + if self.consumer_lan_segments: + for _key_consumer_lan_segments in self.consumer_lan_segments: + if self.consumer_lan_segments[_key_consumer_lan_segments]: + _field_dict[_key_consumer_lan_segments] = self.consumer_lan_segments[_key_consumer_lan_segments].to_dict() + _dict['consumerLanSegments'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in gateway_bgp_neighbors (dict) + _field_dict = {} + if self.gateway_bgp_neighbors: + for _key_gateway_bgp_neighbors in self.gateway_bgp_neighbors: + if self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors]: + _field_dict[_key_gateway_bgp_neighbors] = self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors].to_dict() + _dict['gatewayBgpNeighbors'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_prefix_strategy + if self.nat_prefix_strategy: + _dict['natPrefixStrategy'] = self.nat_prefix_strategy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2PublicVifGatewayWriteRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "advertisement": ManaV2SiteInformation.from_dict(obj["advertisement"]) if obj.get("advertisement") is not None else None, + "consumerLanSegments": dict( + (_k, ManaV2PublicVifGatewayConsumerLanDevices.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "coveringPrefixes": obj.get("coveringPrefixes"), + "gatewayBgpNeighbors": dict( + (_k, ManaV2BgpNeighborConfig.from_dict(_v)) + for _k, _v in obj["gatewayBgpNeighbors"].items() + ) + if obj.get("gatewayBgpNeighbors") is not None + else None, + "lanSegmentId": obj.get("lanSegmentId"), + "natPrefixStrategy": ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(obj["natPrefixStrategy"]) if obj.get("natPrefixStrategy") is not None else None, + "regionId": obj.get("regionId"), + "serviceName": obj.get("serviceName"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_site_device_summary.py b/graphiant_sdk/models/mana_v2_site_device_summary.py index 6c245daf..2bdb14be 100644 --- a/graphiant_sdk/models/mana_v2_site_device_summary.py +++ b/graphiant_sdk/models/mana_v2_site_device_summary.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from typing import Optional, Set @@ -30,7 +30,8 @@ class ManaV2SiteDeviceSummary(BaseModel): """ # noqa: E501 device_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="deviceId", json_schema_extra={"examples": [12345678910]}) hostname: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) - __properties: ClassVar[List[str]] = ["deviceId", "hostname"] + site_id: Optional[StrictInt] = Field(default=None, alias="siteId", json_schema_extra={"examples": [1234567891011]}) + __properties: ClassVar[List[str]] = ["deviceId", "hostname", "siteId"] model_config = ConfigDict( validate_by_name=True, @@ -84,7 +85,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "deviceId": obj.get("deviceId"), - "hostname": obj.get("hostname") + "hostname": obj.get("hostname"), + "siteId": obj.get("siteId") }) return _obj diff --git a/graphiant_sdk/models/mana_v2_zero_trust_consumption_summary.py b/graphiant_sdk/models/mana_v2_zero_trust_consumption_summary.py new file mode 100644 index 00000000..e8bbeca3 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_zero_trust_consumption_summary.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class ManaV2ZeroTrustConsumptionSummary(BaseModel): + """ + ManaV2ZeroTrustConsumptionSummary + """ # noqa: E501 + user_agent_credits: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of devices that have been installed with the zero trust agent", alias="userAgentCredits", json_schema_extra={"examples": [12.34]}) + __properties: ClassVar[List[str]] = ["userAgentCredits"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2ZeroTrustConsumptionSummary from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2ZeroTrustConsumptionSummary from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userAgentCredits": obj.get("userAgentCredits") + }) + return _obj + + diff --git a/graphiant_sdk/models/upgrade_rollout.py b/graphiant_sdk/models/upgrade_rollout.py index 9936cb87..be043f77 100644 --- a/graphiant_sdk/models/upgrade_rollout.py +++ b/graphiant_sdk/models/upgrade_rollout.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp from graphiant_sdk.models.upgrade_rollout_config import UpgradeRolloutConfig @@ -37,7 +37,8 @@ class UpgradeRollout(BaseModel): next_run_ts: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="nextRunTs") num_devices: Optional[StrictInt] = Field(default=None, description="Count of devices associated with the rollout.", alias="numDevices", json_schema_extra={"examples": [3]}) rollout_config: Optional[UpgradeRolloutConfig] = Field(default=None, alias="rolloutConfig") - __properties: ClassVar[List[str]] = ["devices", "hasFailed", "id", "lastRunTs", "nextRunTs", "numDevices", "rolloutConfig"] + status: Optional[StrictStr] = Field(default=None, description="Status of the upgrade rollout group", json_schema_extra={"examples": ["idle"]}) + __properties: ClassVar[List[str]] = ["devices", "hasFailed", "id", "lastRunTs", "nextRunTs", "numDevices", "rolloutConfig", "status"] model_config = ConfigDict( validate_by_name=True, @@ -112,7 +113,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "lastRunTs": GoogleProtobufTimestamp.from_dict(obj["lastRunTs"]) if obj.get("lastRunTs") is not None else None, "nextRunTs": GoogleProtobufTimestamp.from_dict(obj["nextRunTs"]) if obj.get("nextRunTs") is not None else None, "numDevices": obj.get("numDevices"), - "rolloutConfig": UpgradeRolloutConfig.from_dict(obj["rolloutConfig"]) if obj.get("rolloutConfig") is not None else None + "rolloutConfig": UpgradeRolloutConfig.from_dict(obj["rolloutConfig"]) if obj.get("rolloutConfig") is not None else None, + "status": obj.get("status") }) return _obj diff --git a/graphiant_sdk/models/v1_enterprise_allocation_get_response.py b/graphiant_sdk/models/v1_enterprise_allocation_get_response.py index 341d4624..fe9c4407 100644 --- a/graphiant_sdk/models/v1_enterprise_allocation_get_response.py +++ b/graphiant_sdk/models/v1_enterprise_allocation_get_response.py @@ -22,6 +22,7 @@ from graphiant_sdk.models.mana_v2_allocation_conversion_holder import ManaV2AllocationConversionHolder from graphiant_sdk.models.mana_v2_bandwidth_consumption_summary import ManaV2BandwidthConsumptionSummary from graphiant_sdk.models.mana_v2_regional_allocation import ManaV2RegionalAllocation +from graphiant_sdk.models.mana_v2_zero_trust_consumption_summary import ManaV2ZeroTrustConsumptionSummary from typing import Optional, Set from typing_extensions import Self from pydantic_core import to_jsonable_python @@ -33,7 +34,8 @@ class V1EnterpriseAllocationGetResponse(BaseModel): consumption_summary: Optional[ManaV2BandwidthConsumptionSummary] = Field(default=None, alias="consumptionSummary") conversion_holders: Optional[Dict[str, ManaV2AllocationConversionHolder]] = Field(default=None, alias="conversionHolders") regional_allocations: Optional[List[ManaV2RegionalAllocation]] = Field(default=None, alias="regionalAllocations") - __properties: ClassVar[List[str]] = ["consumptionSummary", "conversionHolders", "regionalAllocations"] + zero_trust_summary: Optional[ManaV2ZeroTrustConsumptionSummary] = Field(default=None, alias="zeroTrustSummary") + __properties: ClassVar[List[str]] = ["consumptionSummary", "conversionHolders", "regionalAllocations", "zeroTrustSummary"] model_config = ConfigDict( validate_by_name=True, @@ -91,6 +93,9 @@ def to_dict(self) -> Dict[str, Any]: if _item_regional_allocations: _items.append(_item_regional_allocations.to_dict()) _dict['regionalAllocations'] = _items + # override the default output from pydantic by calling `to_dict()` of zero_trust_summary + if self.zero_trust_summary: + _dict['zeroTrustSummary'] = self.zero_trust_summary.to_dict() return _dict @classmethod @@ -110,7 +115,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: ) if obj.get("conversionHolders") is not None else None, - "regionalAllocations": [ManaV2RegionalAllocation.from_dict(_item) for _item in obj["regionalAllocations"]] if obj.get("regionalAllocations") is not None else None + "regionalAllocations": [ManaV2RegionalAllocation.from_dict(_item) for _item in obj["regionalAllocations"]] if obj.get("regionalAllocations") is not None else None, + "zeroTrustSummary": ManaV2ZeroTrustConsumptionSummary.from_dict(obj["zeroTrustSummary"]) if obj.get("zeroTrustSummary") is not None else None }) return _obj diff --git a/graphiant_sdk/models/v1_gateways_reference_consumer_get_response.py b/graphiant_sdk/models/v1_gateways_reference_consumer_get_response.py index f99dee88..e12cf5b2 100644 --- a/graphiant_sdk/models/v1_gateways_reference_consumer_get_response.py +++ b/graphiant_sdk/models/v1_gateways_reference_consumer_get_response.py @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.mana_v2_i_psec_gateway_details import ManaV2IPsecGatewayDetails +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig from typing import Optional, Set from typing_extensions import Self from pydantic_core import to_jsonable_python @@ -29,7 +30,8 @@ class V1GatewaysReferenceConsumerGetResponse(BaseModel): V1GatewaysReferenceConsumerGetResponse """ # noqa: E501 ipsec_gateway_details: Optional[ManaV2IPsecGatewayDetails] = Field(default=None, alias="ipsecGatewayDetails") - __properties: ClassVar[List[str]] = ["ipsecGatewayDetails"] + ipsec_gateway_peers: Optional[ManaV2IPsecGatewayPeersConfig] = Field(default=None, alias="ipsecGatewayPeers") + __properties: ClassVar[List[str]] = ["ipsecGatewayDetails", "ipsecGatewayPeers"] model_config = ConfigDict( validate_by_name=True, @@ -73,6 +75,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of ipsec_gateway_details if self.ipsec_gateway_details: _dict['ipsecGatewayDetails'] = self.ipsec_gateway_details.to_dict() + # override the default output from pydantic by calling `to_dict()` of ipsec_gateway_peers + if self.ipsec_gateway_peers: + _dict['ipsecGatewayPeers'] = self.ipsec_gateway_peers.to_dict() return _dict @classmethod @@ -85,7 +90,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "ipsecGatewayDetails": ManaV2IPsecGatewayDetails.from_dict(obj["ipsecGatewayDetails"]) if obj.get("ipsecGatewayDetails") is not None else None + "ipsecGatewayDetails": ManaV2IPsecGatewayDetails.from_dict(obj["ipsecGatewayDetails"]) if obj.get("ipsecGatewayDetails") is not None else None, + "ipsecGatewayPeers": ManaV2IPsecGatewayPeersConfig.from_dict(obj["ipsecGatewayPeers"]) if obj.get("ipsecGatewayPeers") is not None else None }) return _obj diff --git a/graphiant_sdk/models/v1_lan_segments_interfaces_public_get_response.py b/graphiant_sdk/models/v1_lan_segments_interfaces_public_get_response.py new file mode 100644 index 00000000..ce2dd080 --- /dev/null +++ b/graphiant_sdk/models/v1_lan_segments_interfaces_public_get_response.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists import ManaV2LanSegmentPublicInterfacesLists +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1LanSegmentsInterfacesPublicGetResponse(BaseModel): + """ + V1LanSegmentsInterfacesPublicGetResponse + """ # noqa: E501 + lan_segment_ids: Optional[Dict[str, ManaV2LanSegmentPublicInterfacesLists]] = Field(default=None, alias="lanSegmentIds") + __properties: ClassVar[List[str]] = ["lanSegmentIds"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1LanSegmentsInterfacesPublicGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each value in lan_segment_ids (dict) + _field_dict = {} + if self.lan_segment_ids: + for _key_lan_segment_ids in self.lan_segment_ids: + if self.lan_segment_ids[_key_lan_segment_ids]: + _field_dict[_key_lan_segment_ids] = self.lan_segment_ids[_key_lan_segment_ids].to_dict() + _dict['lanSegmentIds'] = _field_dict + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1LanSegmentsInterfacesPublicGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "lanSegmentIds": dict( + (_k, ManaV2LanSegmentPublicInterfacesLists.from_dict(_v)) + for _k, _v in obj["lanSegmentIds"].items() + ) + if obj.get("lanSegmentIds") is not None + else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_id_details_get_response.py b/graphiant_sdk/models/v1_pvif_id_details_get_response.py new file mode 100644 index 00000000..b90ec387 --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_id_details_get_response.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_bgp_neighbor import ManaV2BgpNeighbor +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_site_information import ManaV2SiteInformation +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifIdDetailsGetResponse(BaseModel): + """ + V1PvifIdDetailsGetResponse + """ # noqa: E501 + advertise_all_sites: Optional[StrictBool] = Field(default=None, description="True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists", alias="advertiseAllSites", json_schema_extra={"examples": [True]}) + advertisement: Optional[ManaV2SiteInformation] = None + consumer_lan_segments: Optional[Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]] = Field(default=None, alias="consumerLanSegments") + covering_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="coveringPrefixes") + gateway_bgp_neighbors: Optional[Dict[str, ManaV2BgpNeighbor]] = Field(default=None, alias="gatewayBgpNeighbors") + id: Optional[StrictInt] = Field(default=None, description="Producer service id", json_schema_extra={"examples": [1234567891011]}) + lan_segment_id: Optional[StrictInt] = Field(default=None, description="Producer LAN segment (VRF) id", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) + nat_prefix_strategy: Optional[ManaV2PublicVifGatewayNatPrefixStrategy] = Field(default=None, alias="natPrefixStrategy") + region_id: Optional[StrictInt] = Field(default=None, description="Graphiant region for gateway appliances", alias="regionId", json_schema_extra={"examples": [123]}) + service_name: Optional[StrictStr] = Field(default=None, description="Service display name", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + storage_provider: Optional[StrictStr] = Field(default=None, description="Storage provider for gateway appliances", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["advertiseAllSites", "advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "id", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifIdDetailsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of advertisement + if self.advertisement: + _dict['advertisement'] = self.advertisement.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in consumer_lan_segments (dict) + _field_dict = {} + if self.consumer_lan_segments: + for _key_consumer_lan_segments in self.consumer_lan_segments: + if self.consumer_lan_segments[_key_consumer_lan_segments]: + _field_dict[_key_consumer_lan_segments] = self.consumer_lan_segments[_key_consumer_lan_segments].to_dict() + _dict['consumerLanSegments'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in gateway_bgp_neighbors (dict) + _field_dict = {} + if self.gateway_bgp_neighbors: + for _key_gateway_bgp_neighbors in self.gateway_bgp_neighbors: + if self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors]: + _field_dict[_key_gateway_bgp_neighbors] = self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors].to_dict() + _dict['gatewayBgpNeighbors'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_prefix_strategy + if self.nat_prefix_strategy: + _dict['natPrefixStrategy'] = self.nat_prefix_strategy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifIdDetailsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "advertiseAllSites": obj.get("advertiseAllSites"), + "advertisement": ManaV2SiteInformation.from_dict(obj["advertisement"]) if obj.get("advertisement") is not None else None, + "consumerLanSegments": dict( + (_k, ManaV2PublicVifGatewayConsumerLanDevices.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "coveringPrefixes": obj.get("coveringPrefixes"), + "gatewayBgpNeighbors": dict( + (_k, ManaV2BgpNeighbor.from_dict(_v)) + for _k, _v in obj["gatewayBgpNeighbors"].items() + ) + if obj.get("gatewayBgpNeighbors") is not None + else None, + "id": obj.get("id"), + "lanSegmentId": obj.get("lanSegmentId"), + "natPrefixStrategy": ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(obj["natPrefixStrategy"]) if obj.get("natPrefixStrategy") is not None else None, + "regionId": obj.get("regionId"), + "serviceName": obj.get("serviceName"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_id_put_request.py b/graphiant_sdk/models/v1_pvif_id_put_request.py new file mode 100644 index 00000000..3f8c87ef --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_id_put_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.mana_v2_public_vif_gateway_write_request import ManaV2PublicVifGatewayWriteRequest +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifIdPutRequest(BaseModel): + """ + V1PvifIdPutRequest + """ # noqa: E501 + configuration: ManaV2PublicVifGatewayWriteRequest + __properties: ClassVar[List[str]] = ["configuration"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifIdPutRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of configuration + if self.configuration: + _dict['configuration'] = self.configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "configuration": ManaV2PublicVifGatewayWriteRequest.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_id_put_response.py b/graphiant_sdk/models/v1_pvif_id_put_response.py new file mode 100644 index 00000000..2a968acb --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_id_put_response.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_bgp_neighbor import ManaV2BgpNeighbor +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_site_information import ManaV2SiteInformation +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifIdPutResponse(BaseModel): + """ + V1PvifIdPutResponse + """ # noqa: E501 + advertise_all_sites: Optional[StrictBool] = Field(default=None, description="True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists", alias="advertiseAllSites", json_schema_extra={"examples": [True]}) + advertisement: Optional[ManaV2SiteInformation] = None + consumer_lan_segments: Optional[Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]] = Field(default=None, alias="consumerLanSegments") + covering_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="coveringPrefixes") + gateway_bgp_neighbors: Optional[Dict[str, ManaV2BgpNeighbor]] = Field(default=None, alias="gatewayBgpNeighbors") + id: Optional[StrictInt] = Field(default=None, description="Producer service id", json_schema_extra={"examples": [1234567891011]}) + lan_segment_id: Optional[StrictInt] = Field(default=None, description="Producer LAN segment (VRF) id", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) + nat_prefix_strategy: Optional[ManaV2PublicVifGatewayNatPrefixStrategy] = Field(default=None, alias="natPrefixStrategy") + region_id: Optional[StrictInt] = Field(default=None, description="Graphiant region for gateway appliances", alias="regionId", json_schema_extra={"examples": [123]}) + service_name: Optional[StrictStr] = Field(default=None, description="Service display name", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + storage_provider: Optional[StrictStr] = Field(default=None, description="Storage provider for gateway appliances", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["advertiseAllSites", "advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "id", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifIdPutResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of advertisement + if self.advertisement: + _dict['advertisement'] = self.advertisement.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in consumer_lan_segments (dict) + _field_dict = {} + if self.consumer_lan_segments: + for _key_consumer_lan_segments in self.consumer_lan_segments: + if self.consumer_lan_segments[_key_consumer_lan_segments]: + _field_dict[_key_consumer_lan_segments] = self.consumer_lan_segments[_key_consumer_lan_segments].to_dict() + _dict['consumerLanSegments'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in gateway_bgp_neighbors (dict) + _field_dict = {} + if self.gateway_bgp_neighbors: + for _key_gateway_bgp_neighbors in self.gateway_bgp_neighbors: + if self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors]: + _field_dict[_key_gateway_bgp_neighbors] = self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors].to_dict() + _dict['gatewayBgpNeighbors'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_prefix_strategy + if self.nat_prefix_strategy: + _dict['natPrefixStrategy'] = self.nat_prefix_strategy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifIdPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "advertiseAllSites": obj.get("advertiseAllSites"), + "advertisement": ManaV2SiteInformation.from_dict(obj["advertisement"]) if obj.get("advertisement") is not None else None, + "consumerLanSegments": dict( + (_k, ManaV2PublicVifGatewayConsumerLanDevices.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "coveringPrefixes": obj.get("coveringPrefixes"), + "gatewayBgpNeighbors": dict( + (_k, ManaV2BgpNeighbor.from_dict(_v)) + for _k, _v in obj["gatewayBgpNeighbors"].items() + ) + if obj.get("gatewayBgpNeighbors") is not None + else None, + "id": obj.get("id"), + "lanSegmentId": obj.get("lanSegmentId"), + "natPrefixStrategy": ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(obj["natPrefixStrategy"]) if obj.get("natPrefixStrategy") is not None else None, + "regionId": obj.get("regionId"), + "serviceName": obj.get("serviceName"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_post_request.py b/graphiant_sdk/models/v1_pvif_post_request.py new file mode 100644 index 00000000..cf365e41 --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_post_request.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_bgp_neighbor_config import ManaV2BgpNeighborConfig +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_site_information import ManaV2SiteInformation +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifPostRequest(BaseModel): + """ + V1PvifPostRequest + """ # noqa: E501 + advertisement: Optional[ManaV2SiteInformation] = None + consumer_lan_segments: Dict[str, ManaV2PublicVifGatewayConsumerLanDevices] = Field(alias="consumerLanSegments") + covering_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="coveringPrefixes") + gateway_bgp_neighbors: Dict[str, ManaV2BgpNeighborConfig] = Field(alias="gatewayBgpNeighbors") + lan_segment_id: StrictInt = Field(description="Producer LAN segment (VRF) on gateway appliances (required)", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) + nat_prefix_strategy: ManaV2PublicVifGatewayNatPrefixStrategy = Field(alias="natPrefixStrategy") + region_id: StrictInt = Field(description="Graphiant region for gateway appliances (required)", alias="regionId", json_schema_extra={"examples": [123]}) + service_name: StrictStr = Field(description="Service display name (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + storage_provider: StrictStr = Field(description="Storage provider; each gateway appliance must match region and provider (required)", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of advertisement + if self.advertisement: + _dict['advertisement'] = self.advertisement.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in consumer_lan_segments (dict) + _field_dict = {} + if self.consumer_lan_segments: + for _key_consumer_lan_segments in self.consumer_lan_segments: + if self.consumer_lan_segments[_key_consumer_lan_segments]: + _field_dict[_key_consumer_lan_segments] = self.consumer_lan_segments[_key_consumer_lan_segments].to_dict() + _dict['consumerLanSegments'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in gateway_bgp_neighbors (dict) + _field_dict = {} + if self.gateway_bgp_neighbors: + for _key_gateway_bgp_neighbors in self.gateway_bgp_neighbors: + if self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors]: + _field_dict[_key_gateway_bgp_neighbors] = self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors].to_dict() + _dict['gatewayBgpNeighbors'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_prefix_strategy + if self.nat_prefix_strategy: + _dict['natPrefixStrategy'] = self.nat_prefix_strategy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "advertisement": ManaV2SiteInformation.from_dict(obj["advertisement"]) if obj.get("advertisement") is not None else None, + "consumerLanSegments": dict( + (_k, ManaV2PublicVifGatewayConsumerLanDevices.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "coveringPrefixes": obj.get("coveringPrefixes"), + "gatewayBgpNeighbors": dict( + (_k, ManaV2BgpNeighborConfig.from_dict(_v)) + for _k, _v in obj["gatewayBgpNeighbors"].items() + ) + if obj.get("gatewayBgpNeighbors") is not None + else None, + "lanSegmentId": obj.get("lanSegmentId"), + "natPrefixStrategy": ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(obj["natPrefixStrategy"]) if obj.get("natPrefixStrategy") is not None else None, + "regionId": obj.get("regionId"), + "serviceName": obj.get("serviceName"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_post_response.py b/graphiant_sdk/models/v1_pvif_post_response.py new file mode 100644 index 00000000..842b9d28 --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_post_response.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_bgp_neighbor import ManaV2BgpNeighbor +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy +from graphiant_sdk.models.mana_v2_site_information import ManaV2SiteInformation +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifPostResponse(BaseModel): + """ + V1PvifPostResponse + """ # noqa: E501 + advertise_all_sites: Optional[StrictBool] = Field(default=None, description="True when consumer scope is all symmetric sites (snapshotted on create and update); false when advertisement lists explicit sites or site lists", alias="advertiseAllSites", json_schema_extra={"examples": [True]}) + advertisement: Optional[ManaV2SiteInformation] = None + consumer_lan_segments: Optional[Dict[str, ManaV2PublicVifGatewayConsumerLanDevices]] = Field(default=None, alias="consumerLanSegments") + covering_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="coveringPrefixes") + gateway_bgp_neighbors: Optional[Dict[str, ManaV2BgpNeighbor]] = Field(default=None, alias="gatewayBgpNeighbors") + id: Optional[StrictInt] = Field(default=None, description="Producer service id", json_schema_extra={"examples": [1234567891011]}) + lan_segment_id: Optional[StrictInt] = Field(default=None, description="Producer LAN segment (VRF) id", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) + nat_prefix_strategy: Optional[ManaV2PublicVifGatewayNatPrefixStrategy] = Field(default=None, alias="natPrefixStrategy") + region_id: Optional[StrictInt] = Field(default=None, description="Graphiant region for gateway appliances", alias="regionId", json_schema_extra={"examples": [123]}) + service_name: Optional[StrictStr] = Field(default=None, description="Service display name", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + storage_provider: Optional[StrictStr] = Field(default=None, description="Storage provider for gateway appliances", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["advertiseAllSites", "advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "id", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of advertisement + if self.advertisement: + _dict['advertisement'] = self.advertisement.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in consumer_lan_segments (dict) + _field_dict = {} + if self.consumer_lan_segments: + for _key_consumer_lan_segments in self.consumer_lan_segments: + if self.consumer_lan_segments[_key_consumer_lan_segments]: + _field_dict[_key_consumer_lan_segments] = self.consumer_lan_segments[_key_consumer_lan_segments].to_dict() + _dict['consumerLanSegments'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in gateway_bgp_neighbors (dict) + _field_dict = {} + if self.gateway_bgp_neighbors: + for _key_gateway_bgp_neighbors in self.gateway_bgp_neighbors: + if self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors]: + _field_dict[_key_gateway_bgp_neighbors] = self.gateway_bgp_neighbors[_key_gateway_bgp_neighbors].to_dict() + _dict['gatewayBgpNeighbors'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of nat_prefix_strategy + if self.nat_prefix_strategy: + _dict['natPrefixStrategy'] = self.nat_prefix_strategy.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "advertiseAllSites": obj.get("advertiseAllSites"), + "advertisement": ManaV2SiteInformation.from_dict(obj["advertisement"]) if obj.get("advertisement") is not None else None, + "consumerLanSegments": dict( + (_k, ManaV2PublicVifGatewayConsumerLanDevices.from_dict(_v)) + for _k, _v in obj["consumerLanSegments"].items() + ) + if obj.get("consumerLanSegments") is not None + else None, + "coveringPrefixes": obj.get("coveringPrefixes"), + "gatewayBgpNeighbors": dict( + (_k, ManaV2BgpNeighbor.from_dict(_v)) + for _k, _v in obj["gatewayBgpNeighbors"].items() + ) + if obj.get("gatewayBgpNeighbors") is not None + else None, + "id": obj.get("id"), + "lanSegmentId": obj.get("lanSegmentId"), + "natPrefixStrategy": ManaV2PublicVifGatewayNatPrefixStrategy.from_dict(obj["natPrefixStrategy"]) if obj.get("natPrefixStrategy") is not None else None, + "regionId": obj.get("regionId"), + "serviceName": obj.get("serviceName"), + "storageProvider": obj.get("storageProvider") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_pvif_summary_get_response.py b/graphiant_sdk/models/v1_pvif_summary_get_response.py new file mode 100644 index 00000000..8edc2095 --- /dev/null +++ b/graphiant_sdk/models/v1_pvif_summary_get_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_public_vif_summary import ManaV2PublicVifSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1PvifSummaryGetResponse(BaseModel): + """ + V1PvifSummaryGetResponse + """ # noqa: E501 + summary: Optional[List[ManaV2PublicVifSummary]] = None + __properties: ClassVar[List[str]] = ["summary"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1PvifSummaryGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in summary (list) + _items = [] + if self.summary: + for _item_summary in self.summary: + if _item_summary: + _items.append(_item_summary.to_dict()) + _dict['summary'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1PvifSummaryGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "summary": [ManaV2PublicVifSummary.from_dict(_item) for _item in obj["summary"]] if obj.get("summary") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_regions_region_id_gateways_get_response.py b/graphiant_sdk/models/v1_regions_region_id_gateways_get_response.py new file mode 100644 index 00000000..2a597f11 --- /dev/null +++ b/graphiant_sdk/models/v1_regions_region_id_gateways_get_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1RegionsRegionIdGatewaysGetResponse(BaseModel): + """ + V1RegionsRegionIdGatewaysGetResponse + """ # noqa: E501 + gateways: Optional[List[V1RegionsRegionIdGatewaysGetResponseGateway]] = None + __properties: ClassVar[List[str]] = ["gateways"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1RegionsRegionIdGatewaysGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in gateways (list) + _items = [] + if self.gateways: + for _item_gateways in self.gateways: + if _item_gateways: + _items.append(_item_gateways.to_dict()) + _dict['gateways'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1RegionsRegionIdGatewaysGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "gateways": [V1RegionsRegionIdGatewaysGetResponseGateway.from_dict(_item) for _item in obj["gateways"]] if obj.get("gateways") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_regions_region_id_gateways_get_response_gateway.py b/graphiant_sdk/models/v1_regions_region_id_gateways_get_response_gateway.py new file mode 100644 index 00000000..1307d1ed --- /dev/null +++ b/graphiant_sdk/models/v1_regions_region_id_gateways_get_response_gateway.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1RegionsRegionIdGatewaysGetResponseGateway(BaseModel): + """ + V1RegionsRegionIdGatewaysGetResponseGateway + """ # noqa: E501 + device_id: Optional[StrictInt] = Field(default=None, alias="deviceId", json_schema_extra={"examples": [1234567891011]}) + hostname: Optional[StrictStr] = Field(default=None, json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["deviceId", "hostname"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1RegionsRegionIdGatewaysGetResponseGateway from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1RegionsRegionIdGatewaysGetResponseGateway from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "deviceId": obj.get("deviceId"), + "hostname": obj.get("hostname") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_ztagent_agents_get_response.py b/graphiant_sdk/models/v1_ztagent_agents_get_response.py new file mode 100644 index 00000000..6e819898 --- /dev/null +++ b/graphiant_sdk/models/v1_ztagent_agents_get_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.conceal_agent import ConcealAgent +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1ZtagentAgentsGetResponse(BaseModel): + """ + V1ZtagentAgentsGetResponse + """ # noqa: E501 + agents: Optional[List[ConcealAgent]] = None + count: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [123]}) + __properties: ClassVar[List[str]] = ["agents", "count"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1ZtagentAgentsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in agents (list) + _items = [] + if self.agents: + for _item_agents in self.agents: + if _item_agents: + _items.append(_item_agents.to_dict()) + _dict['agents'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ZtagentAgentsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "agents": [ConcealAgent.from_dict(_item) for _item in obj["agents"]] if obj.get("agents") is not None else None, + "count": obj.get("count") + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_request.py b/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_request.py new file mode 100644 index 00000000..871cdd47 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_request.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.assurance_time_window import AssuranceTimeWindow +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceAiAdoptionSummaryPostRequest(BaseModel): + """ + V2AssuranceAiAdoptionSummaryPostRequest + """ # noqa: E501 + time_window: AssuranceTimeWindow = Field(alias="timeWindow") + user_list_size: StrictInt = Field(description="list size of user list in where widget (required)", alias="userListSize", json_schema_extra={"examples": [1234567891011]}) + __properties: ClassVar[List[str]] = ["timeWindow", "userListSize"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceAiAdoptionSummaryPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of time_window + if self.time_window: + _dict['timeWindow'] = self.time_window.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceAiAdoptionSummaryPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "timeWindow": AssuranceTimeWindow.from_dict(obj["timeWindow"]) if obj.get("timeWindow") is not None else None, + "userListSize": obj.get("userListSize") + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_response.py b/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_response.py new file mode 100644 index 00000000..39bfa87d --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_ai_adoption_summary_post_response.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_top_level_kpi import AssuranceTopLevelKpi +from graphiant_sdk.models.assurance_what_widget import AssuranceWhatWidget +from graphiant_sdk.models.assurance_when_widget import AssuranceWhenWidget +from graphiant_sdk.models.assurance_where_widget import AssuranceWhereWidget +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceAiAdoptionSummaryPostResponse(BaseModel): + """ + V2AssuranceAiAdoptionSummaryPostResponse + """ # noqa: E501 + top_level_kpi: Optional[AssuranceTopLevelKpi] = Field(default=None, alias="topLevelKpi") + what_widget: Optional[AssuranceWhatWidget] = Field(default=None, alias="whatWidget") + when_widget: Optional[AssuranceWhenWidget] = Field(default=None, alias="whenWidget") + where_widget: Optional[AssuranceWhereWidget] = Field(default=None, alias="whereWidget") + __properties: ClassVar[List[str]] = ["topLevelKpi", "whatWidget", "whenWidget", "whereWidget"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceAiAdoptionSummaryPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of top_level_kpi + if self.top_level_kpi: + _dict['topLevelKpi'] = self.top_level_kpi.to_dict() + # override the default output from pydantic by calling `to_dict()` of what_widget + if self.what_widget: + _dict['whatWidget'] = self.what_widget.to_dict() + # override the default output from pydantic by calling `to_dict()` of when_widget + if self.when_widget: + _dict['whenWidget'] = self.when_widget.to_dict() + # override the default output from pydantic by calling `to_dict()` of where_widget + if self.where_widget: + _dict['whereWidget'] = self.where_widget.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceAiAdoptionSummaryPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "topLevelKpi": AssuranceTopLevelKpi.from_dict(obj["topLevelKpi"]) if obj.get("topLevelKpi") is not None else None, + "whatWidget": AssuranceWhatWidget.from_dict(obj["whatWidget"]) if obj.get("whatWidget") is not None else None, + "whenWidget": AssuranceWhenWidget.from_dict(obj["whenWidget"]) if obj.get("whenWidget") is not None else None, + "whereWidget": AssuranceWhereWidget.from_dict(obj["whereWidget"]) if obj.get("whereWidget") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_request.py b/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_request.py new file mode 100644 index 00000000..6ecbeea7 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceCreateAiAdoptionApproveEntryPostRequest(BaseModel): + """ + V2AssuranceCreateAiAdoptionApproveEntryPostRequest + """ # noqa: E501 + approved_app_entry: AssuranceApprovedAppEntryRequest = Field(alias="approvedAppEntry") + __properties: ClassVar[List[str]] = ["approvedAppEntry"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of approved_app_entry + if self.approved_app_entry: + _dict['approvedAppEntry'] = self.approved_app_entry.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "approvedAppEntry": AssuranceApprovedAppEntryRequest.from_dict(obj["approvedAppEntry"]) if obj.get("approvedAppEntry") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_response.py b/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_response.py new file mode 100644 index 00000000..5efdfcda --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_create_ai_adoption_approve_entry_post_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceCreateAiAdoptionApproveEntryPostResponse(BaseModel): + """ + V2AssuranceCreateAiAdoptionApproveEntryPostResponse + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="identifier of the created approved app entry (required)", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["id"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceCreateAiAdoptionApproveEntryPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id") + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_get_app_names_post_request.py b/graphiant_sdk/models/v2_assurance_get_app_names_post_request.py new file mode 100644 index 00000000..f9ba3fd6 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_get_app_names_post_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceGetAppNamesPostRequest(BaseModel): + """ + V2AssuranceGetAppNamesPostRequest + """ # noqa: E501 + tags: List[StrictStr] + __properties: ClassVar[List[str]] = ["tags"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceGetAppNamesPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceGetAppNamesPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tags": obj.get("tags") + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_get_app_names_post_response.py b/graphiant_sdk/models/v2_assurance_get_app_names_post_response.py new file mode 100644 index 00000000..a1afb681 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_get_app_names_post_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceGetAppNamesPostResponse(BaseModel): + """ + V2AssuranceGetAppNamesPostResponse + """ # noqa: E501 + app_names: Optional[List[StrictStr]] = Field(default=None, alias="appNames") + __properties: ClassVar[List[str]] = ["appNames"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceGetAppNamesPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceGetAppNamesPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "appNames": obj.get("appNames") + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_read_ai_adoption_approve_entries_get_response.py b/graphiant_sdk/models/v2_assurance_read_ai_adoption_approve_entries_get_response.py new file mode 100644 index 00000000..a50799b3 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_read_ai_adoption_approve_entries_get_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.assurance_approved_app_entry import AssuranceApprovedAppEntry +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceReadAiAdoptionApproveEntriesGetResponse(BaseModel): + """ + V2AssuranceReadAiAdoptionApproveEntriesGetResponse + """ # noqa: E501 + approved_app_list: Optional[List[AssuranceApprovedAppEntry]] = Field(default=None, alias="approvedAppList") + __properties: ClassVar[List[str]] = ["approvedAppList"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceReadAiAdoptionApproveEntriesGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in approved_app_list (list) + _items = [] + if self.approved_app_list: + for _item_approved_app_list in self.approved_app_list: + if _item_approved_app_list: + _items.append(_item_approved_app_list.to_dict()) + _dict['approvedAppList'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceReadAiAdoptionApproveEntriesGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "approvedAppList": [AssuranceApprovedAppEntry.from_dict(_item) for _item in obj["approvedAppList"]] if obj.get("approvedAppList") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_assurance_update_ai_adoption_approve_entry_post_request.py b/graphiant_sdk/models/v2_assurance_update_ai_adoption_approve_entry_post_request.py new file mode 100644 index 00000000..18da7d56 --- /dev/null +++ b/graphiant_sdk/models/v2_assurance_update_ai_adoption_approve_entry_post_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2AssuranceUpdateAiAdoptionApproveEntryPostRequest(BaseModel): + """ + V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + """ # noqa: E501 + approved_app_entry: AssuranceApprovedAppEntryRequest = Field(alias="approvedAppEntry") + __properties: ClassVar[List[str]] = ["approvedAppEntry"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of approved_app_entry + if self.approved_app_entry: + _dict['approvedAppEntry'] = self.approved_app_entry.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "approvedAppEntry": AssuranceApprovedAppEntryRequest.from_dict(obj["approvedAppEntry"]) if obj.get("approvedAppEntry") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/rest.py b/graphiant_sdk/rest.py index 25055cc8..935b74f9 100644 --- a/graphiant_sdk/rest.py +++ b/graphiant_sdk/rest.py @@ -94,7 +94,6 @@ def __init__(self, configuration) -> None: if configuration.tls_server_name: pool_args['server_hostname'] = configuration.tls_server_name - if configuration.socket_options is not None: pool_args['socket_options'] = configuration.socket_options @@ -164,9 +163,9 @@ def request( if isinstance(_request_timeout, (int, float)): timeout = urllib3.Timeout(total=_request_timeout) elif ( - isinstance(_request_timeout, tuple) - and len(_request_timeout) == 2 - ): + isinstance(_request_timeout, tuple) + and len(_request_timeout) == 2 + ): timeout = urllib3.Timeout( connect=_request_timeout[0], read=_request_timeout[1] @@ -209,7 +208,8 @@ def request( # overwritten. del headers['Content-Type'] # Ensures that dict objects are serialized - post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params] + post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a, b) + for a, b in post_params] r = self.pool_manager.request( method, url, diff --git a/pyproject.toml b/pyproject.toml index c13565a7..d3541558 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphiant_sdk" -version = "26.5.0" +version = "26.6.0" description = "Graphiant APIs" authors = [ {name = "OpenAPI Generator Community",email = "team@openapitools.org"}, @@ -24,6 +24,20 @@ dependencies = [ [project.scripts] graphiant = "graphiant_cli.main:main" +[project.optional-dependencies] +dev = [ + "pytest>=9.0.3", + "pytest-cov>=2.8.1", + "tox>=3.9.0", + "flake8>=4.0.0", + "types-python-dateutil>=2.8.19.14", + "types-click>=7.1.8", + "mypy>=1.5", + "filelock>=3.20.3", + "build>=1.0.0", + "wheel", +] + [project.urls] Repository = "https://github.com/Graphiant-Inc/graphiant-sdk-python" diff --git a/scripts/generate.sh b/scripts/generate.sh index 93324c70..e48a852e 100755 --- a/scripts/generate.sh +++ b/scripts/generate.sh @@ -8,7 +8,7 @@ # # Usage: # bash scripts/generate.sh # uses api/openapi.yaml -# OPENAPI_SPEC=api/graphiant_api_docs_v26.5.0.json bash scripts/generate.sh +# OPENAPI_SPEC=api/graphiant_api_docs_v26.6.0.json bash scripts/generate.sh set -euo pipefail diff --git a/setup.cfg b/setup.cfg index 11433ee8..dcfd9725 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [flake8] -max-line-length=99 +max-line-length=127 diff --git a/setup.py b/setup.py index 0bc9bca5..60f80010 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "graphiant_sdk" -VERSION = "26.5.0" +VERSION = "26.6.0" PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test-requirements.txt b/test-requirements.txt index 9cb0629a..2d078618 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,4 +3,7 @@ pytest-cov >= 2.8.1 tox >= 3.9.0 flake8 >= 4.0.0 types-python-dateutil >= 2.8.19.14 +types-click >= 7.1.8 mypy >= 1.5 +build >= 1.0.0 +wheel diff --git a/test/test_assurance_approved_app_entry.py b/test/test_assurance_approved_app_entry.py new file mode 100644 index 00000000..05bb6cbb --- /dev/null +++ b/test/test_assurance_approved_app_entry.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_approved_app_entry import AssuranceApprovedAppEntry + +class TestAssuranceApprovedAppEntry(unittest.TestCase): + """AssuranceApprovedAppEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceApprovedAppEntry: + """Test AssuranceApprovedAppEntry + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceApprovedAppEntry` + """ + model = AssuranceApprovedAppEntry() + if include_optional: + return AssuranceApprovedAppEntry( + active_users = 1234567891011, + category = 'example string', + data_sent_kbps = 123.45, + id = 'example string', + tool = 'example string' + ) + else: + return AssuranceApprovedAppEntry( + ) + """ + + def testAssuranceApprovedAppEntry(self): + """Test AssuranceApprovedAppEntry""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_approved_app_entry_request.py b/test/test_assurance_approved_app_entry_request.py new file mode 100644 index 00000000..2a1a57d1 --- /dev/null +++ b/test/test_assurance_approved_app_entry_request.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_approved_app_entry_request import AssuranceApprovedAppEntryRequest + +class TestAssuranceApprovedAppEntryRequest(unittest.TestCase): + """AssuranceApprovedAppEntryRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceApprovedAppEntryRequest: + """Test AssuranceApprovedAppEntryRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceApprovedAppEntryRequest` + """ + model = AssuranceApprovedAppEntryRequest() + if include_optional: + return AssuranceApprovedAppEntryRequest( + app_name = 'example string', + domain = 'example string', + id = 'example string', + tag_requested = 'ENUM_VALUE' + ) + else: + return AssuranceApprovedAppEntryRequest( + app_name = 'example string', + tag_requested = 'ENUM_VALUE', + ) + """ + + def testAssuranceApprovedAppEntryRequest(self): + """Test AssuranceApprovedAppEntryRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_kpi_metric.py b/test/test_assurance_kpi_metric.py new file mode 100644 index 00000000..4b03a7f4 --- /dev/null +++ b/test/test_assurance_kpi_metric.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_kpi_metric import AssuranceKpiMetric + +class TestAssuranceKpiMetric(unittest.TestCase): + """AssuranceKpiMetric unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceKpiMetric: + """Test AssuranceKpiMetric + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceKpiMetric` + """ + model = AssuranceKpiMetric() + if include_optional: + return AssuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45 + ) + else: + return AssuranceKpiMetric( + ) + """ + + def testAssuranceKpiMetric(self): + """Test AssuranceKpiMetric""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_top_level_kpi.py b/test/test_assurance_top_level_kpi.py new file mode 100644 index 00000000..892dbf22 --- /dev/null +++ b/test/test_assurance_top_level_kpi.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_top_level_kpi import AssuranceTopLevelKpi + +class TestAssuranceTopLevelKpi(unittest.TestCase): + """AssuranceTopLevelKpi unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceTopLevelKpi: + """Test AssuranceTopLevelKpi + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceTopLevelKpi` + """ + model = AssuranceTopLevelKpi() + if include_optional: + return AssuranceTopLevelKpi( + data_transferred_kbps_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ), + shadow_ai_tools_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ), + tools_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ), + users_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ) + else: + return AssuranceTopLevelKpi( + ) + """ + + def testAssuranceTopLevelKpi(self): + """Test AssuranceTopLevelKpi""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_user_definition.py b/test/test_assurance_user_definition.py new file mode 100644 index 00000000..9eee2c3e --- /dev/null +++ b/test/test_assurance_user_definition.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_user_definition import AssuranceUserDefinition + +class TestAssuranceUserDefinition(unittest.TestCase): + """AssuranceUserDefinition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceUserDefinition: + """Test AssuranceUserDefinition + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceUserDefinition` + """ + model = AssuranceUserDefinition() + if include_optional: + return AssuranceUserDefinition( + data_sent = 123.45, + managed = True, + sessions_day = 123.45, + user = 'example string', + vrf = 'example string' + ) + else: + return AssuranceUserDefinition( + ) + """ + + def testAssuranceUserDefinition(self): + """Test AssuranceUserDefinition""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_what_widget.py b/test/test_assurance_what_widget.py new file mode 100644 index 00000000..e1f4cbd8 --- /dev/null +++ b/test/test_assurance_what_widget.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_what_widget import AssuranceWhatWidget + +class TestAssuranceWhatWidget(unittest.TestCase): + """AssuranceWhatWidget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceWhatWidget: + """Test AssuranceWhatWidget + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceWhatWidget` + """ + model = AssuranceWhatWidget() + if include_optional: + return AssuranceWhatWidget( + bubble_categories = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_tools_by_active_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_tools_by_data_transferred = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ] + ) + else: + return AssuranceWhatWidget( + ) + """ + + def testAssuranceWhatWidget(self): + """Test AssuranceWhatWidget""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_when_widget.py b/test/test_assurance_when_widget.py new file mode 100644 index 00000000..9b9a71dd --- /dev/null +++ b/test/test_assurance_when_widget.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_when_widget import AssuranceWhenWidget + +class TestAssuranceWhenWidget(unittest.TestCase): + """AssuranceWhenWidget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceWhenWidget: + """Test AssuranceWhenWidget + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceWhenWidget` + """ + model = AssuranceWhenWidget() + if include_optional: + return AssuranceWhenWidget( + day_of_week = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + hour_of_day = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + monthly_active_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + monthly_bandwidth_transferred = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ] + ) + else: + return AssuranceWhenWidget( + ) + """ + + def testAssuranceWhenWidget(self): + """Test AssuranceWhenWidget""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_assurance_where_widget.py b/test/test_assurance_where_widget.py new file mode 100644 index 00000000..b22d689b --- /dev/null +++ b/test/test_assurance_where_widget.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.assurance_where_widget import AssuranceWhereWidget + +class TestAssuranceWhereWidget(unittest.TestCase): + """AssuranceWhereWidget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssuranceWhereWidget: + """Test AssuranceWhereWidget + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AssuranceWhereWidget` + """ + model = AssuranceWhereWidget() + if include_optional: + return AssuranceWhereWidget( + top_sites_by_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_users_by_data_transferred = [ + graphiant_sdk.models.assurance_user_definition.assuranceUserDefinition( + data_sent = 123.45, + managed = True, + sessions_day = 123.45, + user = 'example string', + vrf = 'example string', ) + ], + top_vrfs_by_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ] + ) + else: + return AssuranceWhereWidget( + ) + """ + + def testAssuranceWhereWidget(self): + """Test AssuranceWhereWidget""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_conceal_agent.py b/test/test_conceal_agent.py new file mode 100644 index 00000000..afdfd5f3 --- /dev/null +++ b/test/test_conceal_agent.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.conceal_agent import ConcealAgent + +class TestConcealAgent(unittest.TestCase): + """ConcealAgent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConcealAgent: + """Test ConcealAgent + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ConcealAgent` + """ + model = ConcealAgent() + if include_optional: + return ConcealAgent( + created_at = 'example string', + disabled = True, + id = 'example string', + identifier = 'example string', + last_checkin = 'example string', + machine = 'example string' + ) + else: + return ConcealAgent( + ) + """ + + def testConcealAgent(self): + """Test ConcealAgent""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_i_psec_gateway_peers_config.py b/test/test_mana_v2_i_psec_gateway_peers_config.py new file mode 100644 index 00000000..9de216e0 --- /dev/null +++ b/test/test_mana_v2_i_psec_gateway_peers_config.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_i_psec_gateway_peers_config import ManaV2IPsecGatewayPeersConfig + +class TestManaV2IPsecGatewayPeersConfig(unittest.TestCase): + """ManaV2IPsecGatewayPeersConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2IPsecGatewayPeersConfig: + """Test ManaV2IPsecGatewayPeersConfig + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2IPsecGatewayPeersConfig` + """ + model = ManaV2IPsecGatewayPeersConfig() + if include_optional: + return ManaV2IPsecGatewayPeersConfig( + name = 'example string', + remote_peers = [ + graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer.manaV2IPsecGatewayRemotePeer( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = 'example string', + tcp_mss = 123, + tunnel1 = graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details.manaV2IPsecGatewayTunnelDetails( + inside_ipv4_cidr = 'example string', + inside_ipv6_cidr = 'example string', + local_ike_peer_identity = 'example string', + psk = 'example string', ), + tunnel2 = graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details.manaV2IPsecGatewayTunnelDetails( + inside_ipv4_cidr = 'example string', + inside_ipv6_cidr = 'example string', + local_ike_peer_identity = 'example string', + psk = 'example string', ), + vpn_profile = 'example string', ) + ], + routing = graphiant_sdk.models.mana_v2_ipsec_routing_config.manaV2IpsecRoutingConfig( + bgp = graphiant_sdk.models.mana_v2_i_psec_bgp_route_config.manaV2IPsecBgpRouteConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + hold_timer = 123, + keepalive_timer = 123, + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + send_community = True, ), + static = graphiant_sdk.models.mana_v2_i_psec_static_route_config.manaV2IPsecStaticRouteConfig( + destination_prefix = [ + 'example string' + ], ), ) + ) + else: + return ManaV2IPsecGatewayPeersConfig( + ) + """ + + def testManaV2IPsecGatewayPeersConfig(self): + """Test ManaV2IPsecGatewayPeersConfig""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_i_psec_gateway_remote_peer.py b/test/test_mana_v2_i_psec_gateway_remote_peer.py new file mode 100644 index 00000000..d6cfbc8f --- /dev/null +++ b/test/test_mana_v2_i_psec_gateway_remote_peer.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_i_psec_gateway_remote_peer import ManaV2IPsecGatewayRemotePeer + +class TestManaV2IPsecGatewayRemotePeer(unittest.TestCase): + """ManaV2IPsecGatewayRemotePeer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2IPsecGatewayRemotePeer: + """Test ManaV2IPsecGatewayRemotePeer + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2IPsecGatewayRemotePeer` + """ + model = ManaV2IPsecGatewayRemotePeer() + if include_optional: + return ManaV2IPsecGatewayRemotePeer( + destination_address = 'example string', + ike_initiator = True, + mtu = 123, + name = 'example string', + remote_ike_peer_identity = 'example string', + tcp_mss = 123, + tunnel1 = graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details.manaV2IPsecGatewayTunnelDetails( + inside_ipv4_cidr = 'example string', + inside_ipv6_cidr = 'example string', + local_ike_peer_identity = 'example string', + psk = 'example string', ), + tunnel2 = graphiant_sdk.models.mana_v2_i_psec_gateway_tunnel_details.manaV2IPsecGatewayTunnelDetails( + inside_ipv4_cidr = 'example string', + inside_ipv6_cidr = 'example string', + local_ike_peer_identity = 'example string', + psk = 'example string', ), + vpn_profile = 'example string' + ) + else: + return ManaV2IPsecGatewayRemotePeer( + ) + """ + + def testManaV2IPsecGatewayRemotePeer(self): + """Test ManaV2IPsecGatewayRemotePeer""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_lan_segment_public_interface_entry.py b/test/test_mana_v2_lan_segment_public_interface_entry.py new file mode 100644 index 00000000..434f23a5 --- /dev/null +++ b/test/test_mana_v2_lan_segment_public_interface_entry.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry import ManaV2LanSegmentPublicInterfaceEntry + +class TestManaV2LanSegmentPublicInterfaceEntry(unittest.TestCase): + """ManaV2LanSegmentPublicInterfaceEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2LanSegmentPublicInterfaceEntry: + """Test ManaV2LanSegmentPublicInterfaceEntry + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2LanSegmentPublicInterfaceEntry` + """ + model = ManaV2LanSegmentPublicInterfaceEntry() + if include_optional: + return ManaV2LanSegmentPublicInterfaceEntry( + interface_id = 1234567891011, + ipv4_addresses = [ + 'example string' + ], + name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return ManaV2LanSegmentPublicInterfaceEntry( + ) + """ + + def testManaV2LanSegmentPublicInterfaceEntry(self): + """Test ManaV2LanSegmentPublicInterfaceEntry""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_lan_segment_public_interfaces_lists.py b/test/test_mana_v2_lan_segment_public_interfaces_lists.py new file mode 100644 index 00000000..5c3b94ae --- /dev/null +++ b/test/test_mana_v2_lan_segment_public_interfaces_lists.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists import ManaV2LanSegmentPublicInterfacesLists + +class TestManaV2LanSegmentPublicInterfacesLists(unittest.TestCase): + """ManaV2LanSegmentPublicInterfacesLists unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2LanSegmentPublicInterfacesLists: + """Test ManaV2LanSegmentPublicInterfacesLists + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2LanSegmentPublicInterfacesLists` + """ + model = ManaV2LanSegmentPublicInterfacesLists() + if include_optional: + return ManaV2LanSegmentPublicInterfacesLists( + private_interfaces = [ + graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry.manaV2LanSegmentPublicInterfaceEntry( + interface_id = 1234567891011, + ipv4_addresses = [ + 'example string' + ], + name = 'example string', + storage_provider = 'ENUM_VALUE', ) + ], + public_interfaces = [ + graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry.manaV2LanSegmentPublicInterfaceEntry( + interface_id = 1234567891011, + ipv4_addresses = [ + 'example string' + ], + name = 'example string', + storage_provider = 'ENUM_VALUE', ) + ] + ) + else: + return ManaV2LanSegmentPublicInterfacesLists( + ) + """ + + def testManaV2LanSegmentPublicInterfacesLists(self): + """Test ManaV2LanSegmentPublicInterfacesLists""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_public_vif_gateway_centralized_nat.py b/test/test_mana_v2_public_vif_gateway_centralized_nat.py new file mode 100644 index 00000000..265b0d80 --- /dev/null +++ b/test/test_mana_v2_public_vif_gateway_centralized_nat.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat import ManaV2PublicVifGatewayCentralizedNat + +class TestManaV2PublicVifGatewayCentralizedNat(unittest.TestCase): + """ManaV2PublicVifGatewayCentralizedNat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2PublicVifGatewayCentralizedNat: + """Test ManaV2PublicVifGatewayCentralizedNat + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2PublicVifGatewayCentralizedNat` + """ + model = ManaV2PublicVifGatewayCentralizedNat() + if include_optional: + return ManaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + } + ) + else: + return ManaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, + ) + """ + + def testManaV2PublicVifGatewayCentralizedNat(self): + """Test ManaV2PublicVifGatewayCentralizedNat""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_public_vif_gateway_consumer_lan_devices.py b/test/test_mana_v2_public_vif_gateway_consumer_lan_devices.py new file mode 100644 index 00000000..0c725c36 --- /dev/null +++ b/test/test_mana_v2_public_vif_gateway_consumer_lan_devices.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices import ManaV2PublicVifGatewayConsumerLanDevices + +class TestManaV2PublicVifGatewayConsumerLanDevices(unittest.TestCase): + """ManaV2PublicVifGatewayConsumerLanDevices unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2PublicVifGatewayConsumerLanDevices: + """Test ManaV2PublicVifGatewayConsumerLanDevices + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2PublicVifGatewayConsumerLanDevices` + """ + model = ManaV2PublicVifGatewayConsumerLanDevices() + if include_optional: + return ManaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ] + ) + else: + return ManaV2PublicVifGatewayConsumerLanDevices( + ) + """ + + def testManaV2PublicVifGatewayConsumerLanDevices(self): + """Test ManaV2PublicVifGatewayConsumerLanDevices""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_public_vif_gateway_decentralized_prefixes.py b/test/test_mana_v2_public_vif_gateway_decentralized_prefixes.py new file mode 100644 index 00000000..1410ce48 --- /dev/null +++ b/test/test_mana_v2_public_vif_gateway_decentralized_prefixes.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes import ManaV2PublicVifGatewayDecentralizedPrefixes + +class TestManaV2PublicVifGatewayDecentralizedPrefixes(unittest.TestCase): + """ManaV2PublicVifGatewayDecentralizedPrefixes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2PublicVifGatewayDecentralizedPrefixes: + """Test ManaV2PublicVifGatewayDecentralizedPrefixes + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2PublicVifGatewayDecentralizedPrefixes` + """ + model = ManaV2PublicVifGatewayDecentralizedPrefixes() + if include_optional: + return ManaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + } + ) + else: + return ManaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, + ) + """ + + def testManaV2PublicVifGatewayDecentralizedPrefixes(self): + """Test ManaV2PublicVifGatewayDecentralizedPrefixes""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_public_vif_gateway_nat_prefix_strategy.py b/test/test_mana_v2_public_vif_gateway_nat_prefix_strategy.py new file mode 100644 index 00000000..82d1991d --- /dev/null +++ b/test/test_mana_v2_public_vif_gateway_nat_prefix_strategy.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy import ManaV2PublicVifGatewayNatPrefixStrategy + +class TestManaV2PublicVifGatewayNatPrefixStrategy(unittest.TestCase): + """ManaV2PublicVifGatewayNatPrefixStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2PublicVifGatewayNatPrefixStrategy: + """Test ManaV2PublicVifGatewayNatPrefixStrategy + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2PublicVifGatewayNatPrefixStrategy` + """ + model = ManaV2PublicVifGatewayNatPrefixStrategy() + if include_optional: + return ManaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ) + ) + else: + return ManaV2PublicVifGatewayNatPrefixStrategy( + ) + """ + + def testManaV2PublicVifGatewayNatPrefixStrategy(self): + """Test ManaV2PublicVifGatewayNatPrefixStrategy""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_public_vif_gateway_write_request.py b/test/test_mana_v2_public_vif_gateway_write_request.py new file mode 100644 index 00000000..2b8ad5b9 --- /dev/null +++ b/test/test_mana_v2_public_vif_gateway_write_request.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_public_vif_gateway_write_request import ManaV2PublicVifGatewayWriteRequest + +class TestManaV2PublicVifGatewayWriteRequest(unittest.TestCase): + """ManaV2PublicVifGatewayWriteRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2PublicVifGatewayWriteRequest: + """Test ManaV2PublicVifGatewayWriteRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2PublicVifGatewayWriteRequest` + """ + model = ManaV2PublicVifGatewayWriteRequest() + if include_optional: + return ManaV2PublicVifGatewayWriteRequest( + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return ManaV2PublicVifGatewayWriteRequest( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE', + ) + """ + + def testManaV2PublicVifGatewayWriteRequest(self): + """Test ManaV2PublicVifGatewayWriteRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_zero_trust_consumption_summary.py b/test/test_mana_v2_zero_trust_consumption_summary.py new file mode 100644 index 00000000..0a3972e7 --- /dev/null +++ b/test/test_mana_v2_zero_trust_consumption_summary.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_zero_trust_consumption_summary import ManaV2ZeroTrustConsumptionSummary + +class TestManaV2ZeroTrustConsumptionSummary(unittest.TestCase): + """ManaV2ZeroTrustConsumptionSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2ZeroTrustConsumptionSummary: + """Test ManaV2ZeroTrustConsumptionSummary + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2ZeroTrustConsumptionSummary` + """ + model = ManaV2ZeroTrustConsumptionSummary() + if include_optional: + return ManaV2ZeroTrustConsumptionSummary( + user_agent_credits = 12.34 + ) + else: + return ManaV2ZeroTrustConsumptionSummary( + ) + """ + + def testManaV2ZeroTrustConsumptionSummary(self): + """Test ManaV2ZeroTrustConsumptionSummary""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_lan_segments_interfaces_public_get_response.py b/test/test_v1_lan_segments_interfaces_public_get_response.py new file mode 100644 index 00000000..1b388180 --- /dev/null +++ b/test/test_v1_lan_segments_interfaces_public_get_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_lan_segments_interfaces_public_get_response import V1LanSegmentsInterfacesPublicGetResponse + +class TestV1LanSegmentsInterfacesPublicGetResponse(unittest.TestCase): + """V1LanSegmentsInterfacesPublicGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1LanSegmentsInterfacesPublicGetResponse: + """Test V1LanSegmentsInterfacesPublicGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1LanSegmentsInterfacesPublicGetResponse` + """ + model = V1LanSegmentsInterfacesPublicGetResponse() + if include_optional: + return V1LanSegmentsInterfacesPublicGetResponse( + lan_segment_ids = { + 'key' : graphiant_sdk.models.mana_v2_lan_segment_public_interfaces_lists.manaV2LanSegmentPublicInterfacesLists( + private_interfaces = [ + graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry.manaV2LanSegmentPublicInterfaceEntry( + interface_id = 1234567891011, + ipv4_addresses = [ + 'example string' + ], + name = 'example string', + storage_provider = 'ENUM_VALUE', ) + ], + public_interfaces = [ + graphiant_sdk.models.mana_v2_lan_segment_public_interface_entry.manaV2LanSegmentPublicInterfaceEntry( + interface_id = 1234567891011, + name = 'example string', + storage_provider = 'ENUM_VALUE', ) + ], ) + } + ) + else: + return V1LanSegmentsInterfacesPublicGetResponse( + ) + """ + + def testV1LanSegmentsInterfacesPublicGetResponse(self): + """Test V1LanSegmentsInterfacesPublicGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_id_details_get_response.py b/test/test_v1_pvif_id_details_get_response.py new file mode 100644 index 00000000..e17f47e4 --- /dev/null +++ b/test/test_v1_pvif_id_details_get_response.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_id_details_get_response import V1PvifIdDetailsGetResponse + +class TestV1PvifIdDetailsGetResponse(unittest.TestCase): + """V1PvifIdDetailsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifIdDetailsGetResponse: + """Test V1PvifIdDetailsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifIdDetailsGetResponse` + """ + model = V1PvifIdDetailsGetResponse() + if include_optional: + return V1PvifIdDetailsGetResponse( + advertise_all_sites = True, + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor.manaV2BgpNeighbor( + address_families = [ + graphiant_sdk.models.mana_v2_bgp_neighbor_address_family.manaV2BgpNeighborAddressFamily( + address_family = 'ENUM_VALUE', + id = 1234567891011, + inbound_policy = 'example string', + outbound_policy = 'example string', ) + ], + allow_as_in = 123, + as_override = True, + bfd = graphiant_sdk.models.mana_v2_bfd_instance.manaV2BfdInstance( + enabled = True, + minimum_interval = 123, + multiplier = 123, ), + bfd_neighbor = graphiant_sdk.models.mana_v2_bfd_neighbor.manaV2BfdNeighbor( + desired_minimum_tx_interval = 123, + if_index = 123, + interface = 'example string', + last_updated = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_diag = 'ENUM_VALUE', + peer_address = 'example string', + remote_diag = 'ENUM_VALUE', + required_minimum_rx_interval = 123, + segment_name = 'example string', + source_address = 'example string', + state = 'ENUM_VALUE', + time_in_state = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ), + bgp_type = 'ENUM_VALUE', + default_originate = 'ENUM_VALUE', + dynamic_neighbor_peers = [ + graphiant_sdk.models.mana_v2_bgp_dynamic_neighbor_oper_peer.manaV2BgpDynamicNeighborOperPeer( + last_oper_status_change = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_address = 'example string', + oper_status = True, + peer_asn = 123, + remote_address = 'example string', + state = 'ENUM_VALUE', ) + ], + enabled = True, + hold_timer = 123, + id = 1234567891011, + keepalive_timer = 123, + local_address = 'example string', + local_interface = 'example string', + max_prefix = 10000, + md5_password = 'example string', + multi_hop = 5, + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, + state = 'ENUM_VALUE', + time_since_last_oper_change = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ) + }, + id = 1234567891011, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return V1PvifIdDetailsGetResponse( + ) + """ + + def testV1PvifIdDetailsGetResponse(self): + """Test V1PvifIdDetailsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_id_put_request.py b/test/test_v1_pvif_id_put_request.py new file mode 100644 index 00000000..a881857a --- /dev/null +++ b/test/test_v1_pvif_id_put_request.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_id_put_request import V1PvifIdPutRequest + +class TestV1PvifIdPutRequest(unittest.TestCase): + """V1PvifIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifIdPutRequest: + """Test V1PvifIdPutRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifIdPutRequest` + """ + model = V1PvifIdPutRequest() + if include_optional: + return V1PvifIdPutRequest( + configuration = graphiant_sdk.models.mana_v2_public_vif_gateway_write_request.manaV2PublicVifGatewayWriteRequest( + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE', ) + ) + else: + return V1PvifIdPutRequest( + configuration = graphiant_sdk.models.mana_v2_public_vif_gateway_write_request.manaV2PublicVifGatewayWriteRequest( + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE', ), + ) + """ + + def testV1PvifIdPutRequest(self): + """Test V1PvifIdPutRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_id_put_response.py b/test/test_v1_pvif_id_put_response.py new file mode 100644 index 00000000..50272812 --- /dev/null +++ b/test/test_v1_pvif_id_put_response.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_id_put_response import V1PvifIdPutResponse + +class TestV1PvifIdPutResponse(unittest.TestCase): + """V1PvifIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifIdPutResponse: + """Test V1PvifIdPutResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifIdPutResponse` + """ + model = V1PvifIdPutResponse() + if include_optional: + return V1PvifIdPutResponse( + advertise_all_sites = True, + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor.manaV2BgpNeighbor( + address_families = [ + graphiant_sdk.models.mana_v2_bgp_neighbor_address_family.manaV2BgpNeighborAddressFamily( + address_family = 'ENUM_VALUE', + id = 1234567891011, + inbound_policy = 'example string', + outbound_policy = 'example string', ) + ], + allow_as_in = 123, + as_override = True, + bfd = graphiant_sdk.models.mana_v2_bfd_instance.manaV2BfdInstance( + enabled = True, + minimum_interval = 123, + multiplier = 123, ), + bfd_neighbor = graphiant_sdk.models.mana_v2_bfd_neighbor.manaV2BfdNeighbor( + desired_minimum_tx_interval = 123, + if_index = 123, + interface = 'example string', + last_updated = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_diag = 'ENUM_VALUE', + peer_address = 'example string', + remote_diag = 'ENUM_VALUE', + required_minimum_rx_interval = 123, + segment_name = 'example string', + source_address = 'example string', + state = 'ENUM_VALUE', + time_in_state = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ), + bgp_type = 'ENUM_VALUE', + default_originate = 'ENUM_VALUE', + dynamic_neighbor_peers = [ + graphiant_sdk.models.mana_v2_bgp_dynamic_neighbor_oper_peer.manaV2BgpDynamicNeighborOperPeer( + last_oper_status_change = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_address = 'example string', + oper_status = True, + peer_asn = 123, + remote_address = 'example string', + state = 'ENUM_VALUE', ) + ], + enabled = True, + hold_timer = 123, + id = 1234567891011, + keepalive_timer = 123, + local_address = 'example string', + local_interface = 'example string', + max_prefix = 10000, + md5_password = 'example string', + multi_hop = 5, + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, + state = 'ENUM_VALUE', + time_since_last_oper_change = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ) + }, + id = 1234567891011, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return V1PvifIdPutResponse( + ) + """ + + def testV1PvifIdPutResponse(self): + """Test V1PvifIdPutResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_post_request.py b/test/test_v1_pvif_post_request.py new file mode 100644 index 00000000..2f132803 --- /dev/null +++ b/test/test_v1_pvif_post_request.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_post_request import V1PvifPostRequest + +class TestV1PvifPostRequest(unittest.TestCase): + """V1PvifPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifPostRequest: + """Test V1PvifPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifPostRequest` + """ + model = V1PvifPostRequest() + if include_optional: + return V1PvifPostRequest( + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return V1PvifPostRequest( + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor_config.manaV2BgpNeighborConfig( + address_families = { + 'key' : graphiant_sdk.models.mana_v2_nullable_bgp_neighbor_address_family_config.manaV2NullableBgpNeighborAddressFamilyConfig( + family = graphiant_sdk.models.mana_v2_bgp_neighbor_address_family_config.manaV2BgpNeighborAddressFamilyConfig( + address_family = 'ENUM_VALUE', + inbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), + outbound_policy = graphiant_sdk.models.mana_v2_nullable_policy_name.manaV2NullablePolicyName( + policy = 'example string', ), ), ) + }, + allow_as_in = graphiant_sdk.models.mana_v2_nullable_allow_as_in.manaV2NullableAllowAsIn( + count = 123, ), + as_override = True, + bfd = graphiant_sdk.models.mana_v2_nullable_bfd_instance_config.manaV2NullableBfdInstanceConfig(), + default_originate = 'ENUM_VALUE', + ebgp_multihop_ttl = graphiant_sdk.models.mana_v2_nullable_ebgp_config.manaV2NullableEbgpConfig( + multi_hop = 123, ), + enabled = True, + hold_timer = 123, + hold_timer_value = graphiant_sdk.models.mana_v2_nullable_hold_timer.manaV2NullableHoldTimer( + timer = 123, ), + keepalive_timer = 123, + keepalive_timer_value = graphiant_sdk.models.mana_v2_nullable_keep_alive_timer.manaV2NullableKeepAliveTimer( + timer = 123, ), + local_address = 'example string', + local_interface = graphiant_sdk.models.mana_v2_nullable_interface_name.manaV2NullableInterfaceName( + interface = 'example string', ), + max_prefix_value = graphiant_sdk.models.mana_v2_nullable_max_prefix.manaV2NullableMaxPrefix( + max_prefix = 123, ), + md5_password = graphiant_sdk.models.mana_v2_nullable_md5_password.manaV2NullableMd5Password(), + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, ) + }, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE', + ) + """ + + def testV1PvifPostRequest(self): + """Test V1PvifPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_post_response.py b/test/test_v1_pvif_post_response.py new file mode 100644 index 00000000..97b0d3e7 --- /dev/null +++ b/test/test_v1_pvif_post_response.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_post_response import V1PvifPostResponse + +class TestV1PvifPostResponse(unittest.TestCase): + """V1PvifPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifPostResponse: + """Test V1PvifPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifPostResponse` + """ + model = V1PvifPostResponse() + if include_optional: + return V1PvifPostResponse( + advertise_all_sites = True, + advertisement = graphiant_sdk.models.mana_v2_site_information.manaV2SiteInformation( + site_lists = [ + 1234567891011 + ], + sites = [ + 1234567891011 + ], ), + consumer_lan_segments = { + 'key' : graphiant_sdk.models.mana_v2_public_vif_gateway_consumer_lan_devices.manaV2PublicVifGatewayConsumerLanDevices( + consumer_prefixes = [ + 'example string' + ], ) + }, + covering_prefixes = [ + 'example string' + ], + gateway_bgp_neighbors = { + 'key' : graphiant_sdk.models.mana_v2_bgp_neighbor.manaV2BgpNeighbor( + address_families = [ + graphiant_sdk.models.mana_v2_bgp_neighbor_address_family.manaV2BgpNeighborAddressFamily( + address_family = 'ENUM_VALUE', + id = 1234567891011, + inbound_policy = 'example string', + outbound_policy = 'example string', ) + ], + allow_as_in = 123, + as_override = True, + bfd = graphiant_sdk.models.mana_v2_bfd_instance.manaV2BfdInstance( + enabled = True, + minimum_interval = 123, + multiplier = 123, ), + bfd_neighbor = graphiant_sdk.models.mana_v2_bfd_neighbor.manaV2BfdNeighbor( + desired_minimum_tx_interval = 123, + if_index = 123, + interface = 'example string', + last_updated = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_diag = 'ENUM_VALUE', + peer_address = 'example string', + remote_diag = 'ENUM_VALUE', + required_minimum_rx_interval = 123, + segment_name = 'example string', + source_address = 'example string', + state = 'ENUM_VALUE', + time_in_state = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ), + bgp_type = 'ENUM_VALUE', + default_originate = 'ENUM_VALUE', + dynamic_neighbor_peers = [ + graphiant_sdk.models.mana_v2_bgp_dynamic_neighbor_oper_peer.manaV2BgpDynamicNeighborOperPeer( + last_oper_status_change = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + local_address = 'example string', + oper_status = True, + peer_asn = 123, + remote_address = 'example string', + state = 'ENUM_VALUE', ) + ], + enabled = True, + hold_timer = 123, + id = 1234567891011, + keepalive_timer = 123, + local_address = 'example string', + local_interface = 'example string', + max_prefix = 10000, + md5_password = 'example string', + multi_hop = 5, + peer_asn = 123, + remote_address = 'example string', + remove_private_as = True, + send_community = True, + state = 'ENUM_VALUE', + time_since_last_oper_change = graphiant_sdk.models.google_protobuf_duration.googleProtobufDuration( + nanos = 123, + seconds = 1234567891011, ), + up = True, ) + }, + id = 1234567891011, + lan_segment_id = 1234567891011, + nat_prefix_strategy = graphiant_sdk.models.mana_v2_public_vif_gateway_nat_prefix_strategy.manaV2PublicVifGatewayNatPrefixStrategy( + centralized = graphiant_sdk.models.mana_v2_public_vif_gateway_centralized_nat.manaV2PublicVifGatewayCentralizedNat( + consumer_prefix = { + 'key' : 'example string' + }, ), + decentralized = graphiant_sdk.models.mana_v2_public_vif_gateway_decentralized_prefixes.manaV2PublicVifGatewayDecentralizedPrefixes( + prefixes = { + 'key' : 'example string' + }, ), ), + region_id = 123, + service_name = 'example string', + storage_provider = 'ENUM_VALUE' + ) + else: + return V1PvifPostResponse( + ) + """ + + def testV1PvifPostResponse(self): + """Test V1PvifPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_pvif_summary_get_response.py b/test/test_v1_pvif_summary_get_response.py new file mode 100644 index 00000000..37c76492 --- /dev/null +++ b/test/test_v1_pvif_summary_get_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_pvif_summary_get_response import V1PvifSummaryGetResponse + +class TestV1PvifSummaryGetResponse(unittest.TestCase): + """V1PvifSummaryGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1PvifSummaryGetResponse: + """Test V1PvifSummaryGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1PvifSummaryGetResponse` + """ + model = V1PvifSummaryGetResponse() + if include_optional: + return V1PvifSummaryGetResponse( + summary = [ + graphiant_sdk.models.mana_v2_public_vif_summary.manaV2PublicVifSummary( + id = 1234567891011, + service_name = 'example string', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + user_name = 'example string', ) + ] + ) + else: + return V1PvifSummaryGetResponse( + ) + """ + + def testV1PvifSummaryGetResponse(self): + """Test V1PvifSummaryGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_regions_region_id_gateways_get_response.py b/test/test_v1_regions_region_id_gateways_get_response.py new file mode 100644 index 00000000..890a82d0 --- /dev/null +++ b/test/test_v1_regions_region_id_gateways_get_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse + +class TestV1RegionsRegionIdGatewaysGetResponse(unittest.TestCase): + """V1RegionsRegionIdGatewaysGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1RegionsRegionIdGatewaysGetResponse: + """Test V1RegionsRegionIdGatewaysGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1RegionsRegionIdGatewaysGetResponse` + """ + model = V1RegionsRegionIdGatewaysGetResponse() + if include_optional: + return V1RegionsRegionIdGatewaysGetResponse( + gateways = [ + graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway.v1RegionsRegionIdGatewaysGetResponseGateway( + device_id = 1234567891011, + hostname = 'example string', ) + ] + ) + else: + return V1RegionsRegionIdGatewaysGetResponse( + ) + """ + + def testV1RegionsRegionIdGatewaysGetResponse(self): + """Test V1RegionsRegionIdGatewaysGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_regions_region_id_gateways_get_response_gateway.py b/test/test_v1_regions_region_id_gateways_get_response_gateway.py new file mode 100644 index 00000000..459193be --- /dev/null +++ b/test/test_v1_regions_region_id_gateways_get_response_gateway.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway + +class TestV1RegionsRegionIdGatewaysGetResponseGateway(unittest.TestCase): + """V1RegionsRegionIdGatewaysGetResponseGateway unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1RegionsRegionIdGatewaysGetResponseGateway: + """Test V1RegionsRegionIdGatewaysGetResponseGateway + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1RegionsRegionIdGatewaysGetResponseGateway` + """ + model = V1RegionsRegionIdGatewaysGetResponseGateway() + if include_optional: + return V1RegionsRegionIdGatewaysGetResponseGateway( + device_id = 1234567891011, + hostname = 'example string' + ) + else: + return V1RegionsRegionIdGatewaysGetResponseGateway( + ) + """ + + def testV1RegionsRegionIdGatewaysGetResponseGateway(self): + """Test V1RegionsRegionIdGatewaysGetResponseGateway""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_ztagent_agents_get_response.py b/test/test_v1_ztagent_agents_get_response.py new file mode 100644 index 00000000..74cf8b66 --- /dev/null +++ b/test/test_v1_ztagent_agents_get_response.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse + +class TestV1ZtagentAgentsGetResponse(unittest.TestCase): + """V1ZtagentAgentsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ZtagentAgentsGetResponse: + """Test V1ZtagentAgentsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1ZtagentAgentsGetResponse` + """ + model = V1ZtagentAgentsGetResponse() + if include_optional: + return V1ZtagentAgentsGetResponse( + agents = [ + graphiant_sdk.models.conceal_agent.concealAgent( + created_at = 'example string', + disabled = True, + id = 'example string', + identifier = 'example string', + last_checkin = 'example string', + machine = 'example string', ) + ], + count = 123 + ) + else: + return V1ZtagentAgentsGetResponse( + ) + """ + + def testV1ZtagentAgentsGetResponse(self): + """Test V1ZtagentAgentsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_ai_adoption_summary_post_request.py b/test/test_v2_assurance_ai_adoption_summary_post_request.py new file mode 100644 index 00000000..c987c8f2 --- /dev/null +++ b/test/test_v2_assurance_ai_adoption_summary_post_request.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest + +class TestV2AssuranceAiAdoptionSummaryPostRequest(unittest.TestCase): + """V2AssuranceAiAdoptionSummaryPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceAiAdoptionSummaryPostRequest: + """Test V2AssuranceAiAdoptionSummaryPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceAiAdoptionSummaryPostRequest` + """ + model = V2AssuranceAiAdoptionSummaryPostRequest() + if include_optional: + return V2AssuranceAiAdoptionSummaryPostRequest( + time_window = graphiant_sdk.models.assurance_time_window.assuranceTimeWindow( + bucket_size_sec = 123, + old_ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + recent_ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ), + user_list_size = 1234567891011 + ) + else: + return V2AssuranceAiAdoptionSummaryPostRequest( + time_window = graphiant_sdk.models.assurance_time_window.assuranceTimeWindow( + bucket_size_sec = 123, + old_ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + recent_ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ), + user_list_size = 1234567891011, + ) + """ + + def testV2AssuranceAiAdoptionSummaryPostRequest(self): + """Test V2AssuranceAiAdoptionSummaryPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_ai_adoption_summary_post_response.py b/test/test_v2_assurance_ai_adoption_summary_post_response.py new file mode 100644 index 00000000..d27941b1 --- /dev/null +++ b/test/test_v2_assurance_ai_adoption_summary_post_response.py @@ -0,0 +1,133 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse + +class TestV2AssuranceAiAdoptionSummaryPostResponse(unittest.TestCase): + """V2AssuranceAiAdoptionSummaryPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceAiAdoptionSummaryPostResponse: + """Test V2AssuranceAiAdoptionSummaryPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceAiAdoptionSummaryPostResponse` + """ + model = V2AssuranceAiAdoptionSummaryPostResponse() + if include_optional: + return V2AssuranceAiAdoptionSummaryPostResponse( + top_level_kpi = graphiant_sdk.models.assurance_top_level_kpi.assuranceTopLevelKpi( + data_transferred_kbps_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ), + shadow_ai_tools_metric = graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ), + tools_metric = , + users_metric = , ), + what_widget = graphiant_sdk.models.assurance_what_widget.assuranceWhatWidget( + bubble_categories = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_tools_by_active_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_tools_by_data_transferred = [ + + ], ), + when_widget = graphiant_sdk.models.assurance_when_widget.assuranceWhenWidget( + day_of_week = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + hour_of_day = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + monthly_active_users = [ + + ], + monthly_bandwidth_transferred = [ + + ], ), + where_widget = graphiant_sdk.models.assurance_where_widget.assuranceWhereWidget( + top_sites_by_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], + top_users_by_data_transferred = [ + graphiant_sdk.models.assurance_user_definition.assuranceUserDefinition( + data_sent = 123.45, + managed = True, + sessions_day = 123.45, + user = 'example string', + vrf = 'example string', ) + ], + top_vrfs_by_users = [ + graphiant_sdk.models.assurance_kpi_metric.assuranceKpiMetric( + delta = 123.45, + name = 'example string', + percent = 123.45, + tag = 'ENUM_VALUE', + value = 123.45, ) + ], ) + ) + else: + return V2AssuranceAiAdoptionSummaryPostResponse( + ) + """ + + def testV2AssuranceAiAdoptionSummaryPostResponse(self): + """Test V2AssuranceAiAdoptionSummaryPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_create_ai_adoption_approve_entry_post_request.py b/test/test_v2_assurance_create_ai_adoption_approve_entry_post_request.py new file mode 100644 index 00000000..bc25a837 --- /dev/null +++ b/test/test_v2_assurance_create_ai_adoption_approve_entry_post_request.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest + +class TestV2AssuranceCreateAiAdoptionApproveEntryPostRequest(unittest.TestCase): + """V2AssuranceCreateAiAdoptionApproveEntryPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceCreateAiAdoptionApproveEntryPostRequest: + """Test V2AssuranceCreateAiAdoptionApproveEntryPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceCreateAiAdoptionApproveEntryPostRequest` + """ + model = V2AssuranceCreateAiAdoptionApproveEntryPostRequest() + if include_optional: + return V2AssuranceCreateAiAdoptionApproveEntryPostRequest( + approved_app_entry = graphiant_sdk.models.assurance_approved_app_entry_request.assuranceApprovedAppEntryRequest( + app_name = 'example string', + domain = 'example string', + id = 'example string', + tag_requested = 'ENUM_VALUE', ) + ) + else: + return V2AssuranceCreateAiAdoptionApproveEntryPostRequest( + approved_app_entry = graphiant_sdk.models.assurance_approved_app_entry_request.assuranceApprovedAppEntryRequest( + app_name = 'example string', + domain = 'example string', + id = 'example string', + tag_requested = 'ENUM_VALUE', ), + ) + """ + + def testV2AssuranceCreateAiAdoptionApproveEntryPostRequest(self): + """Test V2AssuranceCreateAiAdoptionApproveEntryPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_create_ai_adoption_approve_entry_post_response.py b/test/test_v2_assurance_create_ai_adoption_approve_entry_post_response.py new file mode 100644 index 00000000..1a620e41 --- /dev/null +++ b/test/test_v2_assurance_create_ai_adoption_approve_entry_post_response.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse + +class TestV2AssuranceCreateAiAdoptionApproveEntryPostResponse(unittest.TestCase): + """V2AssuranceCreateAiAdoptionApproveEntryPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceCreateAiAdoptionApproveEntryPostResponse: + """Test V2AssuranceCreateAiAdoptionApproveEntryPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceCreateAiAdoptionApproveEntryPostResponse` + """ + model = V2AssuranceCreateAiAdoptionApproveEntryPostResponse() + if include_optional: + return V2AssuranceCreateAiAdoptionApproveEntryPostResponse( + id = 'example string' + ) + else: + return V2AssuranceCreateAiAdoptionApproveEntryPostResponse( + ) + """ + + def testV2AssuranceCreateAiAdoptionApproveEntryPostResponse(self): + """Test V2AssuranceCreateAiAdoptionApproveEntryPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_get_app_names_post_request.py b/test/test_v2_assurance_get_app_names_post_request.py new file mode 100644 index 00000000..d819bf9c --- /dev/null +++ b/test/test_v2_assurance_get_app_names_post_request.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest + +class TestV2AssuranceGetAppNamesPostRequest(unittest.TestCase): + """V2AssuranceGetAppNamesPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceGetAppNamesPostRequest: + """Test V2AssuranceGetAppNamesPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceGetAppNamesPostRequest` + """ + model = V2AssuranceGetAppNamesPostRequest() + if include_optional: + return V2AssuranceGetAppNamesPostRequest( + tags = [ + 'ENUM_VALUE' + ] + ) + else: + return V2AssuranceGetAppNamesPostRequest( + tags = [ + 'ENUM_VALUE' + ], + ) + """ + + def testV2AssuranceGetAppNamesPostRequest(self): + """Test V2AssuranceGetAppNamesPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_get_app_names_post_response.py b/test/test_v2_assurance_get_app_names_post_response.py new file mode 100644 index 00000000..6b70174f --- /dev/null +++ b/test/test_v2_assurance_get_app_names_post_response.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse + +class TestV2AssuranceGetAppNamesPostResponse(unittest.TestCase): + """V2AssuranceGetAppNamesPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceGetAppNamesPostResponse: + """Test V2AssuranceGetAppNamesPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceGetAppNamesPostResponse` + """ + model = V2AssuranceGetAppNamesPostResponse() + if include_optional: + return V2AssuranceGetAppNamesPostResponse( + app_names = [ + 'example string' + ] + ) + else: + return V2AssuranceGetAppNamesPostResponse( + ) + """ + + def testV2AssuranceGetAppNamesPostResponse(self): + """Test V2AssuranceGetAppNamesPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_read_ai_adoption_approve_entries_get_response.py b/test/test_v2_assurance_read_ai_adoption_approve_entries_get_response.py new file mode 100644 index 00000000..eb482717 --- /dev/null +++ b/test/test_v2_assurance_read_ai_adoption_approve_entries_get_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse + +class TestV2AssuranceReadAiAdoptionApproveEntriesGetResponse(unittest.TestCase): + """V2AssuranceReadAiAdoptionApproveEntriesGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceReadAiAdoptionApproveEntriesGetResponse: + """Test V2AssuranceReadAiAdoptionApproveEntriesGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceReadAiAdoptionApproveEntriesGetResponse` + """ + model = V2AssuranceReadAiAdoptionApproveEntriesGetResponse() + if include_optional: + return V2AssuranceReadAiAdoptionApproveEntriesGetResponse( + approved_app_list = [ + graphiant_sdk.models.assurance_approved_app_entry.assuranceApprovedAppEntry( + active_users = 1234567891011, + category = 'example string', + data_sent_kbps = 123.45, + id = 'example string', + tool = 'example string', ) + ] + ) + else: + return V2AssuranceReadAiAdoptionApproveEntriesGetResponse( + ) + """ + + def testV2AssuranceReadAiAdoptionApproveEntriesGetResponse(self): + """Test V2AssuranceReadAiAdoptionApproveEntriesGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_assurance_update_ai_adoption_approve_entry_post_request.py b/test/test_v2_assurance_update_ai_adoption_approve_entry_post_request.py new file mode 100644 index 00000000..edcc8986 --- /dev/null +++ b/test/test_v2_assurance_update_ai_adoption_approve_entry_post_request.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + +class TestV2AssuranceUpdateAiAdoptionApproveEntryPostRequest(unittest.TestCase): + """V2AssuranceUpdateAiAdoptionApproveEntryPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2AssuranceUpdateAiAdoptionApproveEntryPostRequest: + """Test V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2AssuranceUpdateAiAdoptionApproveEntryPostRequest` + """ + model = V2AssuranceUpdateAiAdoptionApproveEntryPostRequest() + if include_optional: + return V2AssuranceUpdateAiAdoptionApproveEntryPostRequest( + approved_app_entry = graphiant_sdk.models.assurance_approved_app_entry_request.assuranceApprovedAppEntryRequest( + app_name = 'example string', + domain = 'example string', + id = 'example string', + tag_requested = 'ENUM_VALUE', ) + ) + else: + return V2AssuranceUpdateAiAdoptionApproveEntryPostRequest( + approved_app_entry = graphiant_sdk.models.assurance_approved_app_entry_request.assuranceApprovedAppEntryRequest( + app_name = 'example string', + domain = 'example string', + id = 'example string', + tag_requested = 'ENUM_VALUE', ), + ) + """ + + def testV2AssuranceUpdateAiAdoptionApproveEntryPostRequest(self): + """Test V2AssuranceUpdateAiAdoptionApproveEntryPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_portal_login.py b/tests/test_portal_login.py index 6e258e23..d8545374 100644 --- a/tests/test_portal_login.py +++ b/tests/test_portal_login.py @@ -24,7 +24,8 @@ def test_default_portal_constant() -> None: def test_portal_root_url() -> None: - assert portal_root_url("https://portal.graphiant.com/foo/bar") == "https://portal.graphiant.com/" + assert portal_root_url( + "https://portal.graphiant.com/foo/bar") == "https://portal.graphiant.com/" assert portal_root_url("https://portal.example.com") == "https://portal.example.com/" @@ -78,7 +79,7 @@ def test_extract_token_from_refresh_json_access_token_aliases() -> None: def test_extract_token_from_refresh_response_entry_point_uses_request_header() -> None: - """OpenAPI oneOf: refresh may return only entryPoint; bearer is still on the outgoing request.""" + """OpenAPI oneOf: refresh may return only entryPoint; bearer on the request.""" class _Req: headers = {"authorization": "Bearer gr-auth-from-req"} diff --git a/tests/test_sdk_invoke.py b/tests/test_sdk_invoke.py index 2a4d6143..bd7e9dd2 100644 --- a/tests/test_sdk_invoke.py +++ b/tests/test_sdk_invoke.py @@ -37,7 +37,8 @@ def test_list_api_method_rows_global_content_filters_and_rollouts() -> None: assert rows["v1_global_content_filters_post"][0] == "POST" roll = {n: (v, p) for n, v, p in list_api_method_rows("v1_software_rollouts")} assert roll["v1_software_rollouts_get"] == ("GET", "/v1/software/rollouts") - macsec = {n: (v, p) for n, v, p in list_api_method_rows("v2_monitoring_macsec_device_id_status")} + macsec = {n: (v, p) for n, v, p in list_api_method_rows( + "v2_monitoring_macsec_device_id_status")} assert macsec["v2_monitoring_macsec_device_id_status_get"] == ( "GET", "/v2/monitoring/macsec/{deviceId}/status",